joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f7e0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00429f90
test eax, eax
je 0x42f8cf
mov ecx, edi
call fcn.00429f90
mov ecx, eax
call fcn.00427610
test eax, eax
jne 0x42f8cf
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42f8cf
mov eax, dword [0x49a9a0]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x42f842
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.00429f90
mov ecx, eax
call fcn.00427840
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x42f8cf
cmp ebx, eax
jne 0x42f8cf
cmp dword [esp + 0x10], eax
jne 0x42f8b5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x432510
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46b528
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x432549
inc eax
mov dword [esi + 0x10], eax
jmp 0x43265c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43255d
mov eax, 0xffffffc7
jmp 0x43265e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43256e
cmp dword [esi + 8], eax
jne 0x43255d
cmp dword [esi + 8], eax
jne 0x432587
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x432587
mov eax, 0xffffffc7
jmp 0x43265e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43259b
push eax
mov ecx, ebx
call fcn.00431d40
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00405460
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4325cc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00405480
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004314b0
test eax, eax
mov dword [esp + 0x38], eax
je 0x4325ff
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46f220
call fcn.00405660
mov eax, dword [esp + 0x38]
jmp 0x43265e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00432370
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x432643
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00432390
mov esi, eax
test esi, esi
jne 0x432673
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00432370
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x432615
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46f220
call fcn.00405660
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46f220
call fcn.00405660
mov eax, esi
jmp 0x43265e

Function at 0x435780
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4357e0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4357e0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4357e0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4357e0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x435820
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43b970
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46bb58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004649e2
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043b310
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00464910
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004611cb
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004611cb
push 1
push 0
push 0
mov ecx, esi
call fcn.00461173
push 1
push 0
push 1
mov ecx, esi
call fcn.00461173
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00464a54
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43baf0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46bb78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004649e2
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043b310
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00464910
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43bbb4
cmp dword [esp + 0x40], 1
jne 0x43bbb2
cmp ecx, eax
jge 0x43bbb4
mov eax, ecx
cmp eax, 0xc8
jge 0x43bbc0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043b970
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00464a54
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43c330
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46bbe3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045f5ec
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00464c8a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004661a6
test eax, eax
je 0x43c44c
mov ecx, dword [esp + 0x3c]
call fcn.00464cb7
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43c410
push edi
mov ecx, esi
call fcn.00462315
mov ecx, esi
call fcn.0043c5b0
cmp dword [esp + 0x38], 1
jne 0x43c445
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00462450
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43ee70
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43eea3
push esi
call fcn.00441f60
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43ee9c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43ef29
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43ef12
mov eax, dword [esi + 8]
test eax, eax
je 0x43eec7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43ef0e
cmp eax, 2
je 0x43ef12
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43eeba
cmp eax, 3
je 0x43eeed
cmp eax, 1
jne 0x43eeba
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43eeba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43eeba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043ef50
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43ef38
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043ef50
add esp, 4
pop esi
ret
Function at 0x44aa70
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x44aab9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x44af30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46c090
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0044aae0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044ab60
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044ab60
lea ecx, [esi + 0xc]
call fcn.0045dfc8
lea ecx, [esi + 0x10]
call fcn.0045dfc8
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0044c100
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0044c100
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0044c100
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0045e03d
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0045e03d
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x44c2f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x44c356
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x44c356
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x44c337
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4603e1
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x460419
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045e498
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045e470
jmp 0x460425
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x461acf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x461b11
call fcn.00467650
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x461b11
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x461b08
xor eax, eax
jmp 0x461b19
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00461b1f
pop edi
pop esi
pop ebx
ret 4

Function at 0x467b80
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x467bae
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x467bcc
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00467ae6
jmp 0x467bcc
mov eax, dword [esi + 0x14]
test eax, eax
je 0x467bcc
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00467ae6
test edi, edi
mov eax, edi
jne 0x467bb6
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x734d7a
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg dword [esp + 0xc], edi
mov eax, 0x343745c0
lea eax, [ebx + edi]
neg edx
sub esp, 0x16
shl dh, 3
jmp fcn.00734a2d
call fcn.00734d37
movsd dword es:[edi], dword [esi]
cmp al, 0xd2
mov ch, 0x44
not byte [ebp + 0xbf89909]
mov dh, 0x35
stosb byte es:[edi], al
cmp byte [edi - 0x56], bl
pop ds
dec ebx
loop 0x734d40
sub esp, 0x14
add esp, 0xb
push word [esp + 2]
lea esp, [esp + 3]
jmp 0x734acc
neg edx
jmp 0x734da0
add ebp, ecx
rol dword [eax], cl
add byte [eax], al
int1
xchg edx, eax
sub esp, 0x12
jns 0x734d09
js 0x734df3
sal byte [edx - 0x20], 1
xchg dword [edx - 0xb], esi
ja 0x734d73
xor byte [ecx - 0x40], 0xea
add eax, 0x20cea7b4
dec byte [ebx + 0x74ff2404]
and al, 0x18
ret 0x1c
xchg dword [esp], edx
call fcn.00734f18

Function at 0x7358ab
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop word [esp + 5]
jmp 0x735895
lea edx, [esi*4]
clc
jno 0x73583d
jo 0x735860
mov ss, word [edi]
xchg edx, esp
adc dword [edx + reloc.RASAPI32.dll_RasHangUpA], ebp
mov byte [edx - 0x46], cl
and eax, 0xec2fdcb5
aam 0x47
out dx, al

Function at 0x753d18
Capabilities:
Encrypt data using aes

Disassembly:
mov eax, dword [eax*4 + reloc.RASAPI32.dll_RasHangUpA]
bsr bx, cx
mov bl, byte [esp]
jmp 0x753d56
push esp
bswap edi
jmp 0x753d01
mov edi, edx
mov bx, 0x43ef
bswap ebp
mov bp, word [esp]
jmp 0x753da2
lea esp, [esp + 8]
xor eax, 0x1000000
inc bl
sub esp, 0x14
jmp 0x753d38
mov edi, dword [edi*4 + reloc.RASAPI32.dll_RasHangUpA]
xchg ebp, ebx
jmp 0x753e2d
and edi, esi
sub esp, 4
mov bp, word [esp + 2]
pop word [esp]
lea esp, [esp + 2]
jmp 0x753d66
shr edi, 8
sub esp, 0x14
mov dword [esp + 9], ebp
jmp 0x753d84
mov edi, edx
lea ebp, reloc.RASAPI32.dll_RasHangUpA
clc
add ebp, ebp
jmp 0x753e01
xor eax, edi
mov di, 0x29d1
jmp 0x753e13
mov ebx, dword [ecx + 4]
and eax, 0xff000000
lea ebp, [edi + ebp]
xor eax, edi
jmp 0x753dcc
shr edi, 0x18
clc
mov bp, word [esp]
movzx edi, byte [edi*4 + 0x7316c4]
jmp 0x753dd9
mov edi, edx
cmc
dec bp
mov ebp, 0xa7dac670
jmp 0x753ef5
lea esp, [esp + 0x28]
and edi, 0xff0000
mov ebx, 0xfb9f01e2
btc ebp, ebx
jmp 0x753df2
and edi, esi

Function at 0x860c9a
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
lea esp, [esp + 1]
mov dword [esp + 0x2c], edi
lea esp, [esp + 0x2c]
jmp 0x860c61
pop dword [esp + 1]
lea esp, [esp + 5]
jmp 0x860c7d

Function at 0x860d8c
Capabilities:
Parse pe header

Disassembly:
push word [esp + 1]
mov dword [esp + 5], ecx
mov dword [esp], esi
mov dword [esp + 2], eax
call fcn.00860c9a
push sp
mov byte [esp], bl
push word [esp]
mov dword [esp + 1], eax
lea esp, [esp]
mov dword [esp + 2], eax
jmp 0x860cc9
jmp 0x860d2f
Function at 0x401d90
Capabilities:
Timestomp file

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push esi
push 0
push 0x2000000
push 3
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x401e1e
lea ecx, [esp + 4]
lea edx, [esp + 0xc]
mov eax, 8
push ecx
push edx
mov word [esp + 0x14], 0x7d4
mov word [esp + 0x16], ax
mov word [esp + 0x1a], 0x10
mov word [esp + 0x1c], ax
mov word [esp + 0x1e], 0x27
mov word [esp + 0x20], 0
mov word [esp + 0x22], 0
mov word [esp + 0x18], 2
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [esp + 4]
lea ecx, [esp + 4]
push eax
lea edx, [esp + 8]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 0x18
ret

Function at 0x401e30
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x100
push ebx
push esi
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
push 0xff
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.DASeting.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x11c]
mov ecx, ebx
and ecx, 3
lea eax, [esp + 0xc]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x118]
push eax
mov eax, dword [esp + 0x118]
push 0x100
push ecx
mov ecx, dword [esp + 0x11c]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x100
ret

Function at 0x401ed0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x100
push ebx
push esi
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
push 0xff
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.DASeting.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x114]
mov ecx, ebx
and ecx, 3
lea eax, [esp + 0xc]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x118]
push eax
mov eax, dword [esp + 0x114]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0xc]
push ecx
call fcn.00401d90
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x100
ret
Function at 0x401f70
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x40a1db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b4
lea eax, [esp + 0x124]
push edi
push eax
push 2
call sub.WS2_32.dll_WSAStartup
mov ecx, 0x2f
xor eax, eax
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
lea ecx, [esp + 4]
stosb byte es:[edi], al
call fcn.00404cf0
lea ecx, [esp + 4]
mov dword [esp + 0x2c0], 0
call fcn.00404d30
test eax, eax
jne 0x401ff7
lea ecx, [esp + 4]
mov dword [esp + 0x2c0], 0xffffffff
call fcn.00404d20
or eax, 0xffffffff
pop edi
mov ecx, dword [esp + 0x2b4]
mov dword fs:[0], ecx
add esp, 0x2c0
ret
push 0x2710
lea ecx, [esp + 8]
call fcn.00404e50
mov ecx, dword [esp + 0x2c8]
push 0x3264
push ecx
lea ecx, [esp + 0xc]
call fcn.00404db0
test eax, eax
jne 0x402055
lea ecx, [esp + 4]
call fcn.00404d80
lea ecx, [esp + 4]
mov dword [esp + 0x2c0], 0xffffffff
call fcn.00404d20
or eax, 0xffffffff
pop edi
mov ecx, dword [esp + 0x2b4]
mov dword fs:[0], ecx
add esp, 0x2c0
ret
lea edx, [esp + 0x68]
lea ecx, [esp + 4]
push edx
push 0xbd
push 0x1064
call fcn.00404f60
test eax, eax
jne 0x4020a7
lea ecx, [esp + 4]
call fcn.00404d80
lea ecx, [esp + 4]
mov dword [esp + 0x2c0], 0xffffffff
call fcn.00404d20
or eax, 0xffffffff
pop edi
mov ecx, dword [esp + 0x2b4]
mov dword fs:[0], ecx
add esp, 0x2c0
ret
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x14]
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
push edx
lea ecx, [esp + 0x10]
call fcn.00404fa0
test eax, eax
lea ecx, [esp + 4]
jne 0x402107
call fcn.00404d80
lea ecx, [esp + 4]
mov dword [esp + 0x2c0], 0xffffffff
call fcn.00404d20
or eax, 0xffffffff
pop edi
mov ecx, dword [esp + 0x2b4]
mov dword fs:[0], ecx
add esp, 0x2c0
ret
call fcn.00404d80
lea ecx, [esp + 4]
mov dword [esp + 0x2c0], 0xffffffff
call fcn.00404d20
mov ecx, dword [esp + 0x2b8]
xor eax, eax
pop edi
mov dword fs:[0], ecx
add esp, 0x2c0
ret

Function at 0x402140
Capabilities:
Acquire debug privileges

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x18
lea eax, [esp + 0x1c]
push esi
push eax
push 0x28
push ecx
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4021ba
lea edx, [esp + 4]
push edx
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x4021af
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
push esi
push esi
lea edx, [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
push 0x10
push edx
push esi
push eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x4021af
mov esi, 1
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 0x18
ret
Function at 0x4021d0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x1c
lea eax, [esp]
push esi
push eax
push 0x28
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40224c
lea ecx, [esp + 8]
push ecx
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x402241
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
push esi
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0xc]
push 0x10
push ecx
push esi
push edx
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x402241
mov esi, 1
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 0x1c
ret