joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449f20
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x449f53
push esi
call fcn.0044d030
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x449f4c
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 0x449fd9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x449fc2
mov eax, dword [esi + 8]
test eax, eax
je 0x449f77
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 0x449fbe
cmp eax, 2
je 0x449fc2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x449f6a
cmp eax, 3
je 0x449f9d
cmp eax, 1
jne 0x449f6a
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 0x449f6a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x449f6a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044a000
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x449fe8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044a000
add esp, 4
pop esi
ret

Function at 0x458420
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x490f58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.00458810
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x59809c
call fcn.00461c26
mov ecx, dword [0x561810]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00455b60
mov esi, 0x561868
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x4584c7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4584be
cmp al, 0xff
je 0x4584be
dec al
mov byte [ecx], al
jmp 0x4584c7
push ecx
call fcn.004826f8
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.0047eba0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x45850d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x458504
cmp al, 0xff
je 0x458504
dec al
mov byte [ecx], al
jmp 0x45850d
push ecx
call fcn.004826f8
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.00461cad
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x45c280
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 0x45c2e6
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 0x45c2e6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x45c2c7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x45ce80
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 0x45cec9
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 0x45d340
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x491230
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.0045cef0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0045cf70
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0045cf70
lea ecx, [esi + 0xc]
call fcn.00482919
lea ecx, [esi + 0x10]
call fcn.00482919
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0045e500
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0045e500
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0045e500
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0048298e
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0048298e
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x478ff0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x492380
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.0046e04a
mov eax, dword [0x564430]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.0046df7c
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.00479af0
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x479097
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x47908e
cmp al, 0xff
je 0x47908e
dec al
mov byte [ecx], al
jmp 0x479097
push ecx
call fcn.004826f8
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x4790c8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4790bf
cmp al, 0xff
je 0x4790bf
dec al
mov byte [ecx], al
jmp 0x4790c8
push ecx
call fcn.004826f8
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x484d5c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x484d94
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.00482de9
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00482dc1
jmp 0x484da0
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x486451
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 0x486493
call fcn.0048bfc6
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x486493
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48648a
xor eax, eax
jmp 0x48649b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004864a1
pop edi
pop esi
pop ebx
ret 4

Function at 0x48c4f6
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 0x48c524
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48c542
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048c45c
jmp 0x48c542
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48c542
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048c45c
test edi, edi
mov eax, edi
jne 0x48c52c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4027d1
Capabilities:
Get common file path

Disassembly:
sub esp, 0x400
push esi
push edi
xor esi, esi
xor edi, edi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp edi, 0x9f60fc3
jg 0x4027f7
inc edi
cmp edi, 0x1e70dee2
jl 0x4027dd
cmp dword [0x4520fc], 0x400
jne 0x402828
push esi
call fcn.00402a79
push esi
push esi
call fcn.00402ab3
pop ecx
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00402950
fstp st(0)
push esi
call fcn.00402c43
add esp, 0xc
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0x58bc6e
jg 0x402847
inc edi
cmp edi, 0xe52f
jl 0x40282a
mov eax, dword [0x44a0c4]
mov dword [0x4520fc], eax
call fcn.0040252b
mov edi, 0x3078f
cmp dword [0x4520fc], 0x51f
jne 0x402873
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
dec edi
jne 0x40285b
pop edi
xor eax, eax
pop esi
add esp, 0x400
ret 0x10

Function at 0x406651
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x449340]
jne 0x40665b
repz ret
jmp fcn.0040889c
Function at 0x407143
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x449340]
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.00404033
and dword [ebp - 0x14], 0
cmp dword [0x44bd0c], 0
mov dword [ebp - 0x18], eax
jne 0x4071f6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40729e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40729e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x44bd0c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x44bd10], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44bd14], eax
call edi
push eax
call esi
mov dword [0x44bd1c], eax
test eax, eax
je 0x4071f6
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x44bd18], eax
mov eax, dword [0x44bd18]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40724f
cmp dword [0x44bd1c], ecx
je 0x40724f
push eax
call esi
push dword [0x44bd1c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40724f
test ebx, ebx
je 0x40724f
call edi
test eax, eax
je 0x407246
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407246
test byte [ebp - 8], 1
jne 0x40724f
or dword [ebp + 0x10], 0x200000
jmp 0x407282
mov eax, dword [0x44bd10]
cmp eax, dword [ebp - 0x18]
je 0x407282
push eax
call esi
test eax, eax
je 0x407282
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407282
mov eax, dword [0x44bd14]
cmp eax, dword [ebp - 0x18]
je 0x407282
push eax
call esi
test eax, eax
je 0x407282
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44bd0c]
call esi
test eax, eax
je 0x40729e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4072a0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406651
leave
ret
Function at 0xd20b90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x467000]
push edi
or ebp, 0xffffffff
jmp 0xd20bb2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xd20bb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd20ba8
mov eax, 1
add ebx, ebx
jne 0xd20bcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xd20bdc
jne 0xd20bec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd20bec
dec eax
add ebx, ebx
jne 0xd20be8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xd20bc0
xor ecx, ecx
sub eax, 3
jb 0xd20c04
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xd20c76
sar eax, 1
mov ebp, eax
jmp 0xd20c0f
add ebx, ebx
jne 0xd20c0f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0xd20c1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0xd20c40
inc ecx
add ebx, ebx
jne 0xd20c2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xd20c21
jne 0xd20c3d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xd20c21
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xd20c60
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xd20c51
jmp 0xd20bae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xd20c60
add edi, ecx
jmp 0xd20bae
pop esi
mov edi, esi
mov ecx, 0x121eb
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xd20c7e
cmp byte [edi], 0x92
jne 0xd20c7e
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0xd20c83
lea edi, [esi + 0x91c000]
mov eax, dword [edi]
or eax, eax
je 0xd20cfb
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x922440]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x92260c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xd20cb0
mov ecx, edi
jns 0xd20cdf
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x922610]
or eax, eax
je 0xd20cf5
mov dword [ebx], eax
add ebx, 4
jmp 0xd20ccd
call dword [esi + 0x922614]
popal
jmp 0x402520
Function at 0x41152e
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004116de
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x41162c
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x4115cf
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x411612
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x4115e6
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x411601
test al, 0x40
je 0x4115f8
mov ecx, dword [edi + 0x20]
jmp 0x4115ff
test al, 0x80
je 0x411612
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x411612
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x41159e
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x449470
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4eb00b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004df2fb
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4494f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004dc92d
mov eax, dword [eax]
push 0x53cea8
push eax
call fcn.004bc394
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004df586
test bl, bl
je 0x4494f2
push 0x53cea8
lea ecx, [esp + 0xc]
call fcn.004df916
push 0x53ceb4
lea ecx, [esp + 0xc]
call fcn.004df916
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x44952e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004df586
jmp 0x4495f9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4495b2
lea edx, [esp + 0x7c]
push 0x53ceb0
push edx
call fcn.004bc394
add esp, 8
test eax, eax
je 0x4495b2
lea eax, [esp + 0x7c]
push 0x53ceac
push eax
call fcn.004bc394
add esp, 8
test eax, eax
je 0x4495b2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x449542
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004df586
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x449e00
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x449e62
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x449e70
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4eb08b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5493c4]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x449fa8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x449ed6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004df586
xor eax, eax
jmp 0x44a01f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004df6c3
push esi
lea ecx, [esp + 0xc]
call fcn.004df952
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x53cee8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x449ffd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00449e00
test eax, eax
jne 0x449ffd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.00449e00
test eax, eax
jne 0x449ffd
lea eax, [esp + 0x14]
push 0x53cec4
push eax
call fcn.004bd580
mov esi, eax
add esp, 8
test esi, esi
jne 0x449fdc
lea ecx, [esp + 0x14]
push 0x53cec0
push ecx
call fcn.004bd500
mov esi, eax
add esp, 8
test esi, esi
jne 0x449fdc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x449fdf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004df673
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x449eee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004df586
xor eax, eax
jmp 0x44a01f
mov byte [esi], 0
push 0x53cebc
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004df586
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x45df00
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x45df6e
cmp si, 0x69
ja 0x45df6e
add esi, 0xffd0
cmp si, 0x11
je 0x45df3e
push 0x11
call edi
test ax, ax
jge 0x45df3e
or esi, 0x2000
cmp si, 0x10
je 0x45df53
push 0x10
call edi
test ax, ax
jge 0x45df53
or esi, 0x4000
cmp si, 0x12
je 0x45df68
push 0x12
call edi
test ax, ax
jge 0x45df68
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x45df7b
mov esi, 0xbd
jmp 0x45df2f
cmp si, 0x6e
jne 0x45df88
mov esi, 0xbe
jmp 0x45df2f
cmp si, 0x6f
jne 0x45df29
mov esi, 0xbf
jmp 0x45df2f

Function at 0x45f950
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x55ab40]
xor edx, edx
cmp eax, edx
jne 0x45f976
xor eax, eax
mov byte [eax + 0x55aa40], al
inc eax
cmp eax, 0x100
jl 0x45f95e
mov dword [0x55ab40], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x55aa40
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x45fa07
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x45f9da
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x45f9a8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x45fa80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x45fad3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x45faba
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret