joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41fae0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [edi]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
push esi
add eax, eax
lea edx, [ebp + 0xc]
push edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41fb4e
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x41fb1d
cmp eax, 2
jne 0x41fb38
mov eax, dword [ebp - 4]
test esi, esi
je 0x41fb48
test eax, eax
je 0x41fb43
test al, 1
jne 0x41fb38
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x41fb48
mov eax, 0xd
mov esp, ebp
pop ebp
ret 8
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x421150
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x45c070]
xor eax, esp
mov dword [esp + 0x228], eax
mov eax, dword [ecx]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x1c]
push ecx
xor ebx, ebx
push 0x2001f
push ebx
push edi
push eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x10]
mov esi, eax
cmp esi, ebx
jne 0x4211c4
xor eax, eax
cmp ecx, ebx
je 0x4211b6
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x10], ecx
cmp eax, ebx
je 0x4211d2
cmp ecx, ebx
je 0x42126b
push ecx
jmp 0x421265
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x28]
push edx
push ebx
push ebx
push ebx
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x44]
push edx
push ebx
push ecx
mov dword [esp + 0x2c], 0x100
call esi
test eax, eax
jne 0x42123e
lea ebx, [ebx]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
call fcn.00421150
mov edi, eax
cmp edi, ebx
jne 0x421284
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x44]
push eax
push ebx
push ecx
mov dword [esp + 0x2c], 0x100
call esi
test eax, eax
je 0x421200
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x421251
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebx
mov esi, dword [esp + 0x20]
call fcn.00421320
mov esi, eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x42126b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0042decf
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x421293
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x234]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042decf
mov esp, ebp
pop ebp
ret 4
Function at 0x421e70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447786
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x45c070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x424], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x430], edi
mov dword [ebp - 0x418], edi
push 2
push edi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x420], esi
cmp esi, edi
jne 0x421ef0
call fcn.00409020
mov edi, eax
jmp 0x42202d
mov eax, dword [ebp - 0x41c]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, edi
jne 0x421f0f
call fcn.00409020
jmp 0x422024
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x428], eax
cmp eax, edi
jne 0x421f2b
call fcn.00409020
jmp 0x422024
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea eax, [ebx + 1]
mov dword [ebp - 0x41c], ebx
cmp eax, ebx
jae 0x421f70
lea ecx, [ebp - 0x414]
cmp dword [ebp - 0x418], ecx
je 0x421f5b
lea eax, [ebp - 0x418]
call fcn.00420c40
lea esi, [ebp - 0x424]
call fcn.004227b0
mov eax, 0x8007000e
jmp 0x422048
xor ecx, ecx
shld ecx, eax, 1
add eax, eax
mov byte [ebp - 4], 2
cmp ecx, edi
ja 0x421f85
cmp eax, 0xffffffff
jbe 0x421f8f
push 0x80070057
call fcn.004036a0
cmp eax, 0x400
jbe 0x421fc1
lea edx, [ebp - 0x418]
push edx
call fcn.00420bc0
jmp 0x421fcd
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x418]
cmp eax, edi
jne 0x421fe5
mov edi, 0x8007000e
jmp 0x422026
mov ecx, dword [ebp - 0x428]
push ebx
push eax
push ebx
push ecx
push edi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
jne 0x422003
call fcn.00409020
jmp 0x422024
mov ecx, dword [ebp - 0x418]
xor edx, edx
mov word [ecx + eax*2], dx
mov edx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.00421cd0
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x422046
lea eax, [ebp - 0x418]
call fcn.00420c40
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042decf
mov esp, ebp
pop ebp
ret 0xc
Function at 0x422d10
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [ebx]
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
mov eax, dword [edi]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
sub edx, esi
or ecx, edx
jge 0x422d39
mov ecx, esi
mov eax, edi
call fcn.00403650
mov eax, dword [edi]
push esi
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, eax
cmp eax, 0xffffffff
jne 0x422d65
mov ecx, dword [edi]
test ecx, ecx
je 0x422d69
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x422d56
sub ecx, esi
sar ecx, 1
test ecx, ecx
js 0x422d7d
mov edx, dword [edi]
cmp ecx, dword [edx - 8]
jg 0x422d7d
mov dword [edx - 0xc], ecx
mov edx, dword [edi]
xor esi, esi
mov word [edx + ecx*2], si
pop esi
ret
push 0x80070057
call fcn.004036a0
int3
Function at 0x425380
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447bc8
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x45c070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea edi, [esi + 0x20]
push 1
mov eax, edi
call fcn.004259a0
test eax, eax
je 0x425440
test edi, edi
je 0x4253c5
lea eax, [edi - 0x20]
jmp 0x4253c7
xor eax, eax
mov eax, dword [eax + 4]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x400
push eax
call ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xf0
push eax
call esi
mov dword [0x45f370], eax
test edi, edi
je 0x4253f8
lea eax, [edi - 0x20]
jmp 0x4253fa
xor eax, eax
mov ecx, dword [eax + 4]
push 0x403
push ecx
call ebx
push 0
push 0
push 0xf0
push eax
call esi
mov dword [0x45f374], eax
test edi, edi
je 0x42541f
lea eax, [edi - 0x20]
jmp 0x425421
xor eax, eax
mov edx, dword [eax + 4]
push 0x404
push edx
call ebx
push 0
push 0
push 0xf0
push eax
call esi
mov esi, dword [ebp + 8]
mov dword [0x45d528], eax
lea ebx, [esi + 0x48]
mov edi, 0x460250
call fcn.00422d10
mov ax, word [ebp + 0xc]
cmp ax, 2
jne 0x425472
mov eax, dword [esi + 4]
push eax
call fcn.00422ed0
add esp, 4
test al, al
je 0x425527
push 3
jmp 0x42551d
cmp ax, 1
jne 0x425527
cmp dword [0x45f370], 0
je 0x42551b
mov ecx, dword [0x46024c]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x4254ab
cmp dword [0x45f36c], 5
je 0x42551b
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42551b
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
lea ebx, [eax + 0x10]
mov dword [ebp + 0xc], ebx
mov edi, 0xc4
mov dword [ebp - 4], 0
call fcn.004032e0
test eax, eax
je 0x4254e4
push eax
mov eax, edi
lea edi, [ebp + 0xc]
call fcn.00403490
mov ebx, dword [ebp + 0xc]
push 0
push 0x451920
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 4]
push ebx
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [ebx - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x425527
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x425527
push 1
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4259a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
test eax, eax
je 0x4259b9
lea esi, [eax - 0x20]
mov dword [esp + 0x10], esi
jmp 0x4259c5
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0x10]
cmp dword [ebp + 8], 0
mov dword [esp + 0x14], 1
je 0x425a8d
mov eax, dword [esi + 4]
push 0x401
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
mov eax, dword [0x46024c]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
sub edx, esi
or ecx, edx
jge 0x425a18
mov ecx, esi
mov eax, 0x46024c
call fcn.00403650
mov eax, dword [0x46024c]
test esi, esi
js 0x425a83
cmp esi, dword [eax - 8]
jg 0x425a83
mov dword [eax - 0xc], esi
mov edx, dword [0x46024c]
xor ecx, ecx
mov word [edx + esi*2], cx
lea ecx, [esi + 1]
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, dword [0x46024c]
mov ebx, eax
test edi, edi
jne 0x425a4c
xor ecx, ecx
jmp 0x425a62
mov ecx, edi
lea eax, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x425a51
sub ecx, eax
sar ecx, 1
js 0x425a83
cmp ecx, dword [edi - 8]
jg 0x425a83
mov dword [edi - 0xc], ecx
mov eax, dword [0x46024c]
xor edx, edx
mov word [eax + ecx*2], dx
cmp ebx, esi
jge 0x425ad5
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], edx
jmp 0x425aab
push 0x80070057
call fcn.004036a0
mov ecx, dword [0x46024c]
mov edx, dword [esi + 4]
push ecx
push 0x401
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x425ad5
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
add esi, 0x20
je 0x425abd
lea eax, [esi - 0x20]
jmp 0x425abf
xor eax, eax
mov eax, dword [eax + 4]
push 0x401
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x426f80
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Get socket status
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x45c070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
test esi, esi
jne 0x426fb5
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042decf
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
mov eax, 2
push ecx
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov edx, dword [ebp + 0xc]
push edx
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x22c]
push eax
push 0x8004667e
push esi
mov dword [ebp - 0x22c], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x42700f
mov byte [edi], 0
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042decf
mov esp, ebp
pop ebp
ret
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x42707b
lea edx, [ebp - 0x234]
push edx
push 0
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x120]
push ecx
push 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0x30d40
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x120], 1
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
setne dl
mov byte [edi], dl
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042decf
mov esp, ebp
pop ebp
ret
Function at 0x427090
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x45c070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push 0x3ff
lea ecx, [ebp - 0x407]
push 0
push ecx
mov dword [ebp - 0x41c], eax
mov word [ebp - 0x414], 0x124
mov dword [ebp - 0x412], 0x20009206
mov dword [ebp - 0x40e], 0
mov byte [ebp - 0x408], 0
call fcn.00431310
mov edx, dword [ebp + 8]
add esp, 0xc
push 0x443
push edx
lea edi, [ebp - 0x415]
call fcn.00426f80
mov esi, eax
add esp, 8
test esi, esi
jne 0x427119
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042decf
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 0x415], 0
je 0x42724b
push 0
push 0xa
lea eax, [ebp - 0x414]
push eax
push esi
mov byte [ebp - 0x415], 0
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x42724b
mov ebx, dword [sym.imp.WS2_32.dll_recv]
mov edi, 0xa
push 0
push 0x400
lea ecx, [ebp - 0x408]
push ecx
push esi
call ebx
cmp eax, 0xffffffff
jne 0x427185
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x427185
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, edi
dec edi
test edx, edx
jne 0x427153
test edi, edi
je 0x42724b
mov eax, dword [ebp - 0x408]
mov ecx, dword [ebp - 0x404]
mov dx, word [ebp - 0x400]
mov dword [ebp - 0x414], eax
mov dword [ebp - 0x410], ecx
mov word [ebp - 0x40c], dx
cmp al, 0x24
jne 0x42724b
mov eax, dword [ebp - 0x402]
test eax, eax
je 0x427222
cmp dword [ebp - 0x406], 0x55aa0000
jne 0x42724b
cmp eax, 0xd
je 0x4271e9
mov eax, dword [ebp - 0x41c]
push str.Old_version
push eax
mov ebx, 0xb
jmp 0x42723f
movzx ecx, word [ebp - 0x3fa]
mov edx, dword [ebp - 0x3fa]
movzx eax, word [ebp - 0x3fe]
mov edi, dword [ebp - 0x41c]
push ecx
mov ecx, dword [ebp - 0x3fe]
shr edx, 0x10
push edx
push eax
shr ecx, 0x10
push ecx
push str._d._d._d._d
call fcn.00403fa0
add esp, 0x14
jmp 0x427244
cmp dword [ebp - 0x406], 0x55aa0000
jne 0x42724b
mov edx, dword [ebp - 0x41c]
push str.Unknown
push edx
mov ebx, 7
call fcn.004036c0
mov byte [ebp - 0x415], 1
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x415]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042decf
mov esp, ebp
pop ebp
ret
Function at 0x427a70
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448628
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push edi
mov eax, dword [0x45c070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x50]
push eax
call fcn.0040a890
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
push eax
lea edi, [ebp - 0x50]
call fcn.00427eb0
cmp eax, 1
jne 0x427bca
mov ebx, dword [0x45f340]
sub ebx, dword [0x45f344]
lea edi, [esi + 0x74]
inc ebx
mov eax, ebx
call fcn.00428550
mov eax, dword [esi + 0x40]
push eax
lea edi, [esi + 0x94]
call fcn.00427f50
mov ecx, dword [esi + 0x98]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0xb4]
movzx edx, bx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
shl edx, 0x10
push edx
push 0
push 0x401
push eax
call ebx
cmp dword [esi + 0x78], 0
ja 0x427b1e
push 0x80070057
call fcn.004036a0
mov eax, dword [esi + 0x74]
mov ecx, dword [0x45f344]
mov dword [eax], ecx
cmp dword [esi + 0x78], 0
ja 0x427b39
push 0x80070057
call fcn.004036a0
mov edi, dword [esi + 0x74]
lea edi, [edi + 8]
mov eax, 0x45f398
call fcn.00403840
cmp dword [esi + 0x78], 0
ja 0x427b59
push 0x80070057
call fcn.004036a0
mov edi, dword [esi + 0x74]
lea edi, [edi + 0xc]
mov eax, 0x45f39c
call fcn.00403840
cmp dword [esi + 0x78], 0
ja 0x427b79
push 0x80070057
call fcn.004036a0
mov edi, dword [esi + 0x74]
lea edi, [edi + 0x10]
mov eax, 0x45f3a0
call fcn.00403840
mov edx, dword [esi + 0x40]
push 0xffff0000
push 0
push 0x1101
push edx
call ebx
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0
push 0
push 0x427a60
push 0
mov byte [esi + 0x64], 0
push 0
mov dword [esi + 0xbc], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x427bde
push eax
call fcn.004450bb
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b250
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [edi + 0x24]
push esi
mov esi, dword [edi + 0x34]
sub esi, dword [edi + 0x6c]
mov eax, dword [edi + 0x64]
mov ecx, dword [edi + 0x24]
lea edx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, edx
jb 0x42b2c9
mov eax, dword [edi + 0x30]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.00430fa0
mov edx, dword [edi + 0x44]
mov eax, dword [edi + 0x3c]
sub dword [edi + 0x68], ebx
sub dword [edi + 0x64], ebx
add esp, 0xc
sub dword [edi + 0x54], ebx
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x42b2a0
sub eax, ebx
jmp 0x42b2a2
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x42b291
mov ecx, dword [edi + 0x38]
mov edx, ebx
lea ecx, [ecx + ebx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x42b2bf
sub eax, ebx
jmp 0x42b2c1
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x42b2b0
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x42b323
mov edx, dword [edi + 0x6c]
add edx, dword [edi + 0x64]
mov ecx, esi
add edx, dword [edi + 0x30]
mov esi, eax
push edx
call fcn.0042afe0
add dword [edi + 0x6c], eax
mov edx, dword [edi + 0x6c]
add esp, 4
cmp edx, 3
jb 0x42b30f
mov esi, dword [edi + 0x64]
add esi, dword [edi + 0x30]
mov ecx, dword [edi + 0x50]
movzx eax, byte [esi]
mov dword [edi + 0x40], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [edi + 0x4c]
mov dword [edi + 0x40], eax
cmp edx, 0x106
jae 0x42b323
mov edx, dword [edi]
cmp dword [edx + 4], 0
jne 0x42b255
pop esi
pop ebx
ret
Function at 0x42c440
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
movzx ecx, di
shr edi, 0x10
test esi, esi
jne 0x42c45c
pop edi
lea eax, [esi + 1]
pop esi
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x42c567
jmp 0x42c470
mov eax, ebx
cmp ebx, 0x15b0
jb 0x42c47f
mov eax, 0x15b0
sub ebx, eax
mov dword [ebp + 0x10], ebx
cmp eax, 0x10
jl 0x42c52c
mov edx, eax
shr edx, 4
mov ebx, edx
neg ebx
shl ebx, 4
add eax, ebx
jmp 0x42c4a0
movzx ebx, byte [esi]
add ecx, ebx
movzx ebx, byte [esi + 1]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 2]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 3]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 4]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 5]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 6]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 7]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 8]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 9]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xa]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xb]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xc]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xd]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xe]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xf]
add edi, ecx
add ecx, ebx
add edi, ecx
add esi, 0x10
dec edx
jne 0x42c4a0
mov ebx, dword [ebp + 0x10]
test eax, eax
je 0x42c53b
movzx edx, byte [esi]
add ecx, edx
inc esi
add edi, ecx
dec eax
jne 0x42c530
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
test ebx, ebx
jne 0x42c470
mov eax, edi
pop ebx
shl eax, 0x10
pop edi
or eax, ecx
pop esi
pop ebp
ret

Function at 0x42decf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45c070]
jne 0x42ded9
repz ret
jmp fcn.00431c9d
Function at 0x43e04c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45c070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0043237c
and dword [ebp - 0x14], 0
cmp dword [0x45f058], 0
mov dword [ebp - 0x18], eax
jne 0x43e0ff
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x43e1a7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44ef00
push ebx
call edi
test eax, eax
je 0x43e1a7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x45f058], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x45f05c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x45f060], eax
call edi
push eax
call esi
mov dword [0x45f068], eax
test eax, eax
je 0x43e0ff
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x45f064], eax
mov eax, dword [0x45f064]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x43e158
cmp dword [0x45f068], ecx
je 0x43e158
push eax
call esi
push dword [0x45f068]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x43e158
test ebx, ebx
je 0x43e158
call edi
test eax, eax
je 0x43e14f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x43e14f
test byte [ebp - 8], 1
jne 0x43e158
or dword [ebp + 0x10], 0x200000
jmp 0x43e18b
mov eax, dword [0x45f05c]
cmp eax, dword [ebp - 0x18]
je 0x43e18b
push eax
call esi
test eax, eax
je 0x43e18b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x43e18b
mov eax, dword [0x45f060]
cmp eax, dword [ebp - 0x18]
je 0x43e18b
push eax
call esi
test eax, eax
je 0x43e18b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x45f058]
call esi
test eax, eax
je 0x43e1a7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x43e1a9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042decf
leave
ret