joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453eec
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46fbb4]
cmp dword [eax + 0x30], 0
je 0x453f96
cmp dword [ebx + 0x94], 0
jne 0x453f90
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x453e7c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x453f90
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x453f56
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x453f90
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00416f74
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x453f65
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x454af8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x454b2d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004040f4
jmp 0x454b3a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404058
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x455c1c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x455c5d
mov eax, esi
call fcn.0043c410
test al, al
je 0x455c5d
mov eax, dword [ebx + 0x84]
call fcn.0043c138
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x455c5d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043c138
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x459324
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x459352
mov eax, ebx
call fcn.00459dd8
cmp dword [ebx + 0x40], 0
je 0x45934b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4593c3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4593b5
cmp dword [ebx + 8], 0
je 0x459374
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x459386
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4593b5
cmp dword [ebx + 8], 0
je 0x459367
cmp eax, 3
je 0x459399
dec eax
jne 0x459367
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x459367
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x459367
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4593e1
cmp dword [ebx + 0x14], 0xcc
je 0x4593e1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004593ec
pop ebx
ret
Function at 0x41008a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop edx
mov esi, eax
and esi, 1
dec esi
not esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x410092
mov dword [ecx*4 + 0x454140], eax
inc ecx
cmp ecx, 0x100
jb 0x41008d
mov edx, 0x800
jmp 0x4100df
mov eax, dword [ecx*4 + 0x453d40]
mov esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x454140]
inc ecx
mov dword [ecx*4 + 0x45413c], eax
cmp ecx, edx
jb 0x4100be
mov dword [0x450934], 0x43dba0
call fcn.00410293
test eax, eax
pop esi
jne 0x410101
mov dword [0x450934], 0x43dac0
ret
Function at 0x41cf59
Capabilities:
Hash data using crc32b

Disassembly:
xor ecx, ecx
mov eax, ecx
push 8
shl eax, 0x18
pop edx
test eax, eax
jns 0x41cf70
add eax, eax
xor eax, 0x4c11db7
jmp 0x41cf72
add eax, eax
dec edx
test edx, edx
jg 0x41cf63
mov dword [ecx*4 + 0x450938], eax
inc ecx
cmp ecx, 0x100
jb 0x41cf5b
ret
Function at 0x42b623
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
sub esp, 0xc
xor eax, eax
and edx, 7
cmp ecx, 5
push edi
mov edi, dword [ebp + 8]
jb 0x42b76f
add dword [ebp + 0xc], 5
or dword [ebp - 4], 0xffffffff
lea ecx, [edi + ecx - 4]
push ebx
mov dword [ebp - 8], ecx
push esi
lea esi, [eax + edi]
jmp 0x42b65f
mov al, byte [esi]
and al, 0xfe
cmp al, 0xe8
je 0x42b664
inc esi
cmp esi, dword [ebp - 8]
jb 0x42b656
mov eax, esi
sub eax, edi
cmp esi, dword [ebp - 8]
jae 0x42b750
mov ecx, eax
sub ecx, dword [ebp - 4]
cmp ecx, 3
jbe 0x42b6e3
xor edx, edx
mov cl, byte [esi + 4]
test cl, cl
mov dword [ebp - 4], eax
je 0x42b690
cmp cl, 0xff
jne 0x42b712
xor ebx, ebx
mov bh, cl
movzx ecx, byte [esi + 2]
mov bl, byte [esi + 3]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [esi + 1]
shl ebx, 8
or ebx, ecx
mov edi, ebx
sub edi, eax
sub edi, dword [ebp + 0xc]
test edx, edx
mov ebx, edi
mov dword [ebp - 0xc], ebx
je 0x42b723
movzx edi, byte [edx + 0x442ca8]
push 0x18
shl edi, 3
pop ecx
sub ecx, edi
shr ebx, cl
test bl, bl
je 0x42b6d3
cmp bl, 0xff
jne 0x42b720
push 0x20
pop ecx
sub ecx, edi
xor edi, edi
inc edi
shl edi, cl
dec edi
xor edi, dword [ebp - 0xc]
jmp 0x42b6ab
dec ecx
shl edx, cl
and edx, 7
je 0x42b67d
movzx ecx, byte [edx + 0x442ca8]
mov ebx, esi
sub ebx, ecx
cmp byte [edx + 0x442ca0], 0
mov cl, byte [ebx + 4]
je 0x42b70f
test cl, cl
je 0x42b70f
cmp cl, 0xff
jne 0x42b67d
mov dword [ebp - 4], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x42b651
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [esi + 2], cl
mov byte [esi + 1], bl
add eax, 5
jmp 0x42b651
mov esi, eax
sub esi, dword [ebp - 4]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
and ecx, edx
mov edx, dword [ebp + 0x10]
pop esi
mov dword [edx], ecx
pop ebx
pop edi
leave
ret

Function at 0x42d613
Capabilities:
Hash data using sha256

Disassembly:
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
ret
Function at 0x42d8fa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
xor eax, eax
movzx ecx, byte [eax + 0x44d320]
mov byte [ecx + 0x452d38], al
inc eax
cmp eax, 0x100
jb 0x42d902
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], edi
mov esi, 0xff
movzx ebx, byte [edi + 0x44d320]
mov eax, ebx
and al, 0x80
neg al
lea ecx, [ebx + ebx]
sbb eax, eax
and eax, 0x1b
xor eax, ecx
and eax, esi
mov ecx, eax
mov edx, ecx
xor edx, ebx
mov dword [ebp - 8], edx
shl edx, 8
or edx, ebx
shl edx, 8
or edx, ebx
shl edx, 8
or edx, ecx
mov eax, edi
shl eax, 2
mov dword [eax + 0x450d38], edx
mov edx, ebx
shl edx, 8
mov edi, edx
or edi, ebx
or edx, ecx
shl edi, 8
or edi, ecx
shl edx, 8
or edx, dword [ebp - 8]
shl edi, 8
or edi, dword [ebp - 8]
shl ecx, 8
or ecx, dword [ebp - 8]
shl edx, 8
shl ecx, 8
mov dword [eax + 0x451138], edi
mov edi, dword [ebp - 0x10]
movzx ebx, byte [edi + 0x44d320]
or edx, ebx
or ecx, ebx
mov dword [eax + 0x451538], edx
shl ecx, 8
or ecx, ebx
mov dword [eax + 0x451938], ecx
movzx ecx, byte [edi + 0x452d38]
mov edx, ecx
and dl, 0x80
neg dl
lea ebx, [ecx + ecx]
mov dword [ebp - 0x18], ecx
sbb edx, edx
and edx, 0x1b
xor edx, ebx
and edx, esi
mov ebx, edx
and bl, 0x80
neg bl
mov dword [ebp - 0x10], edx
sbb ebx, ebx
and ebx, 0x1b
add edx, edx
xor ebx, edx
and ebx, esi
mov edx, ebx
and bl, 0x80
neg bl
mov dword [ebp - 0x14], edx
sbb ebx, ebx
add edx, edx
and ebx, 0x1b
xor ebx, edx
and ebx, esi
mov edx, ebx
xor edx, ecx
mov dword [ebp - 8], edx
mov edx, ebx
xor edx, dword [ebp - 0x10]
xor edx, ecx
mov dword [ebp - 0xc], edx
shl edx, 8
mov ecx, ebx
xor ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], ecx
xor ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ecx
or edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
xor ecx, dword [ebp - 0x10]
shl edx, 8
or edx, dword [ebp - 8]
shl edx, 8
or edx, ecx
mov dword [eax + 0x451d38], edx
mov edx, dword [ebp - 4]
shl edx, 8
or edx, dword [ebp - 8]
shl edx, 8
or edx, ecx
shl edx, 8
or edx, dword [ebp - 0xc]
mov dword [eax + 0x452138], edx
mov edx, dword [ebp - 8]
shl edx, 8
or edx, ecx
shl ecx, 8
or ecx, dword [ebp - 0xc]
shl edx, 8
or edx, dword [ebp - 0xc]
shl ecx, 8
or ecx, dword [ebp - 4]
shl edx, 8
or edx, dword [ebp - 4]
shl ecx, 8
or ecx, dword [ebp - 8]
inc edi
cmp edi, 0x100
mov dword [eax + 0x452538], edx
mov dword [eax + 0x452938], ecx
mov dword [ebp - 0x10], edi
jb 0x42d924
mov dword [0x454128], 0x42d86f
mov dword [0x454130], 0x42d8c8
mov dword [0x45412c], 0x42d94b
call fcn.00410350
test eax, eax
pop edi
pop esi
pop ebx
je 0x42dad4
mov dword [0x454128], 0x42e52f
mov dword [0x454130], 0x42e534
mov dword [0x45412c], 0x42e539
leave
ret
Function at 0x42eda5
Capabilities:
Create thread

Disassembly:
push esi
mov esi, eax
push edi
lea edi, [esi + 4]
mov eax, edi
call fcn.00411488
test al, al
je 0x42edbc
pop edi
xor al, al
pop esi
ret
push 0xc
call fcn.00430189
test eax, eax
pop ecx
je 0x42edd7
push esi
push 0x42e158
mov esi, eax
call fcn.0040f329
jmp 0x42edd9
xor eax, eax
push ebx
mov ebx, eax
call fcn.0040c2de
mov eax, edi
call fcn.00415c75
pop ebx
pop edi
pop esi
jmp fcn.0040f3d4
Function at 0x405dcd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a94], 0
push esi
jne 0x405e04
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405dde
mov dword [ecx*4 + 0x422a90], eax
inc ecx
cmp ecx, 0x100
jl 0x405dd9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e35
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a90]
xor eax, esi
inc ecx
dec edx
jne 0x405e17
pop edi
not eax
pop esi
ret 0xc

Function at 0x412670
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x410015
lea edi, [esi - 0xf015]
push edi
jmp 0x41268a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x412691
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x412680
mov eax, 1
add ebx, ebx
jne 0x4126a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x412698
jne 0x4126b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412698
xor ecx, ecx
sub eax, 3
jb 0x4126c8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41273a
mov ebp, eax
add ebx, ebx
jne 0x4126d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4126e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x412704
inc ecx
add ebx, ebx
jne 0x4126f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4126e5
jne 0x412701
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4126e5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x412724
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x412715
jmp 0x412686
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x412724
add edi, ecx
jmp 0x412686
pop esi
mov edi, esi
mov ecx, 0x179
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x412742
cmp byte [edi], 0
jne 0x412742
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 al, bl
loop 0x412747
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x4127b6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x13d80]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x13df8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x412774
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x13dfc]
or eax, eax
je 0x4127b0
mov dword [ebx], eax
add ebx, 4
jmp 0x412791
call dword [esi + 0x13e0c]
mov ebp, dword [esi + 0x13e00]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4127ea
sub esp, 0xffffff80
jmp 0x401260
Function at 0x405b30
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folderscookies
push 0x80000301
push 0
push 3
push 3
mov ebx, 0x40bcd0
call fcn.00409209
add esp, 0x28
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x405b9c
push ebx
call fcn.004091fd
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x493718
push dword [ebp - 4]
mov ecx, 2
call fcn.00401239
add esp, 8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
push 1
push 0
push dword [ebp - 0x10]
mov eax, 0
call fcn.004091f7
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x405be6
push ebx
call fcn.004091fd
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x405bfa
push ebx
call fcn.004091fd
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 0
push 1
mov ebx, 0x40a210
call fcn.00409209
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
push dword [ebp - 8]
call fcn.00401004
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x405c4c
push ebx
call fcn.004091fd
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x405d49
push connect
push 0
push 0
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x405c83
mov eax, 0x4932d8
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x405c97
mov eax, 0x4932d8
push eax
push 4
mov ebx, 0x409850
call fcn.00409209
add esp, 0x34
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x405d0f
push dword [ebp - 8]
push 0x49371d
push dword [ebp - 4]
mov ecx, 3
call fcn.00401239
add esp, 0xc
mov dword [ebp - 0x10], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x405ce5
mov eax, 0x4932d8
push eax
push 1
mov ebx, 0x40a530
call fcn.00409209
add esp, 0x10
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x405d08
push ebx
call fcn.004091fd
add esp, 4
mov dword [ebp - 0xc], 1
lea eax, [ebp - 0x1c]
push eax
push 1
push 0
push 0
mov eax, 0
call fcn.004091f7
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x405d40
push ebx
call fcn.004091fd
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x405bfe
mov eax, dword [ebp - 0xc]
jmp 0x405d51
push eax
push dword [ebp - 0x1c]
mov eax, 1
call fcn.004091f7
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x405d72
push ebx
call fcn.004091fd
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x405d82
push ebx
call fcn.004091fd
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x413bf0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48d25b
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.00481bbe
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x413c72
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047fad5
mov eax, dword [eax]
push 0x4a61d4
push eax
call fcn.0046ee14
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00481e49
test bl, bl
je 0x413c72
push 0x4a61d4
lea ecx, [esp + 0xc]
call fcn.004821d9
push 0x4a9d54
lea ecx, [esp + 0xc]
call fcn.004821d9
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 0x413cae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00481e49
jmp 0x413d79
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 0x413d32
lea edx, [esp + 0x7c]
push 0x4a9d50
push edx
call fcn.0046ee14
add esp, 8
test eax, eax
je 0x413d32
lea eax, [esp + 0x7c]
push 0x4a9d4c
push eax
call fcn.0046ee14
add esp, 8
test eax, eax
je 0x413d32
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 0x413cc2
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.00481e49
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 0x414570
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 0x4145d2
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 0x4145e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48d2db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x55db58]
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 0x414718
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x414646
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00481e49
xor eax, eax
jmp 0x41478f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00481f86
push esi
lea ecx, [esp + 0xc]
call fcn.00482215
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41476d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push connect
call fcn.00414570
test eax, eax
jne 0x41476d
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 connect
mov ecx, edi
call fcn.00414570
test eax, eax
jne 0x41476d
lea eax, [esp + 0x14]
push 0x4a9d68
push eax
call fcn.0046ff80
mov esi, eax
add esp, 8
test esi, esi
jne 0x41474c
lea ecx, [esp + 0x14]
push 0x4a9d64
push ecx
call fcn.0046ff00
mov esi, eax
add esp, 8
test esi, esi
jne 0x41474c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41474f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00481f36
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41465e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00481e49
xor eax, eax
jmp 0x41478f
mov byte [esi], 0
push 0x4a9d60
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.00481e49
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 0x425070
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 0x4250de
cmp si, 0x69
ja 0x4250de
add esi, 0xffd0
cmp si, 0x11
je 0x4250ae
push 0x11
call edi
test ax, ax
jge 0x4250ae
or esi, 0x2000
cmp si, 0x10
je 0x4250c3
push 0x10
call edi
test ax, ax
jge 0x4250c3
or esi, 0x4000
cmp si, 0x12
je 0x4250d8
push 0x12
call edi
test ax, ax
jge 0x4250d8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4250eb
mov esi, 0xbd
jmp 0x42509f
cmp si, 0x6e
jne 0x4250f8
mov esi, 0xbe
jmp 0x42509f
cmp si, 0x6f
jne 0x425099
mov esi, 0xbf
jmp 0x42509f

Function at 0x4268a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x56e998]
xor edx, edx
cmp eax, edx
jne 0x4268c6
xor eax, eax
mov byte [eax + 0x56e898], al
inc eax
cmp eax, 0x100
jl 0x4268ae
mov dword [0x56e998], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x56e898
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x426957
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 0x42692a
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 0x4268f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4269d0
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 0x426a23
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 0x426a0a
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