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

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43f603
push esi
call fcn.004426d0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43f5fc
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 0x43f689
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43f672
mov eax, dword [esi + 8]
test eax, eax
je 0x43f627
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 0x43f66e
cmp eax, 2
je 0x43f672
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43f61a
cmp eax, 3
je 0x43f64d
cmp eax, 1
jne 0x43f61a
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 0x43f61a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43f61a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043f6b0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43f698
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043f6b0
add esp, 4
pop esi
ret

Function at 0x44a9f0
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 0x44aa56
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 0x44aa56
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x44aa37
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x44bbc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46e490
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.0044b770
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044b7f0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044b7f0
lea ecx, [esi + 0xc]
call fcn.0045fe26
lea ecx, [esi + 0x10]
call fcn.0045fe26
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0044e020
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0044e020
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0044e020
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0045fe9b
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0045fe9b
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x44c868
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46e6b8
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x44c878
call fcn.0044cd90
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x44c95b
cmp byte [edi], 0
je 0x44c95b
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x44c89d
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0044b590
test eax, eax
jne 0x44c8bd
push 0x48e468
lea ecx, [esi + 0x38]
call fcn.0045ffd8
jmp 0x44c95b
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.0044b5e0
test eax, eax
jne 0x44c8ec
mov ecx, esi
call fcn.0044b6e0
push edi
add esi, 0x38
push 0x48e444
push esi
call fcn.0045de37
add esp, 0xc
jmp 0x44c95b
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.0044d610
test eax, eax
je 0x44c954
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0044ca30
test eax, eax
jne 0x44c970
push edi
lea eax, [esi + 0x38]
push 0x48e420
push eax
call fcn.0045de37
add esp, 0xc
mov ecx, esi
call fcn.0044cd90
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x44ca18
mov ecx, dword [0x48e6d8]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.0045de37
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.0044b690
test eax, eax
jne 0x44c9da
push 0x48e404
lea ecx, [esi + 0x38]
call fcn.0045ffd8
jmp 0x44c9ea
push 0xfa
mov ecx, esi
call fcn.0044d610
test eax, eax
jne 0x44ca07
mov ecx, esi
call fcn.0044cd90
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0045fe9b
jmp 0x44c95b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0045fe9b
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x46223f
Capabilities:
Get graphical window text

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

Function at 0x46392d
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 0x46396f
call fcn.004694ae
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46396f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x463966
xor eax, eax
jmp 0x463977
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046397d
pop edi
pop esi
pop ebx
ret 4

Function at 0x4699de
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 0x469a0c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x469a2a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00469944
jmp 0x469a2a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x469a2a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00469944
test edi, edi
mov eax, edi
jne 0x469a14
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10010e1
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push 0x100109c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x1001123
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100107c
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call fcn.010010c8
jmp 0x1001143
push 0x1001074
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1001141
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1001050
jmp 0x1001105
call eax
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4386c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x23000]
push edi
or ebp, 0xffffffff
jmp 0x4386e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4386e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4386d8
mov eax, 1
add ebx, ebx
jne 0x4386fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4386f0
jne 0x43870c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4386f0
xor ecx, ecx
sub eax, 3
jb 0x438720
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x438792
mov ebp, eax
add ebx, ebx
jne 0x43872b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x438738
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43875c
inc ecx
add ebx, ebx
jne 0x438748
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43873d
jne 0x438759
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43873d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43877c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43876d
jmp 0x4386de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43877c
add edi, ecx
jmp 0x4386de
pop esi
mov edi, esi
mov ecx, 0x352
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43879a
cmp byte [edi], 1
jne 0x43879a
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 0x43879f
lea edi, [esi + 0x36000]
mov eax, dword [edi]
or eax, eax
je 0x438817
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3925c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x39310]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4387cc
mov ecx, edi
jns 0x4387fb
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 + 0x39314]
or eax, eax
je 0x438811
mov dword [ebx], eax
add ebx, 4
jmp 0x4387e9
call dword [esi + 0x3931c]
mov ebp, dword [esi + 0x39318]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x43884b
sub esp, 0xffffff80
jmp 0x40abd0
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
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 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
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 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40501c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x405028
push 0x405024
push 0x405020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x405028]
push dword [0x405024]
push dword [0x405020]
mov dword [0x405014], esp
call fcn.00401507
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret
Function at 0x405e8f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x7a122c], esi
push edi
jne 0x405ec9
mov ecx, 0x7a1228
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x405ea5
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x7a1628
jl 0x405ea0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x405efe
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a1228]
xor eax, esi
inc ecx
dec edx
jne 0x405ee1
pop edi
pop esi
not eax
ret 0xc

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x431072
mov ebx, 0x40915c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5104372b
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x431060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4310d2
mov ebx, 0x42f3f8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x27427cae
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x41a53c
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0041a6ec
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 0x41a63a
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 0x41a5dd
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x41a620
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x41a5f4
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x41a60f
test al, 0x40
je 0x41a606
mov ecx, dword [edi + 0x20]
jmp 0x41a60d
test al, 0x80
je 0x41a620
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x41a620
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 0x41a5ac
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x421720
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x421758
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x421746
mov al, 1
jmp 0x4217b7
cmp dword [ebx + 0x54], ecx
jne 0x42174f
mov al, 2
jmp 0x4217b7
cmp dword [ebx + 0x7c], ecx
jne 0x4217b7
mov al, 3
jmp 0x4217b7
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x42176d
mov al, 4
jmp 0x4217b7
cmp ecx, 5
jne 0x42178d
cmp ebx, 0
jne 0x42177b
mov al, 5
jmp 0x4217b7
cmp ebx, 1
jne 0x421784
mov al, 6
jmp 0x4217b7
cmp ebx, 2
jne 0x42178d
mov al, 7
jmp 0x4217b7
cmp ecx, 6
jne 0x4217b5
cmp ebx, 0
jne 0x42179b
mov al, 8
jmp 0x4217b7
cmp ebx, 1
jne 0x4217a2
mov al, 9
cmp ebx, 2
jne 0x4217a9
mov al, 0xa
cmp ebx, 3
jne 0x4217b0
mov al, 0xb
cmp ebx, 4
jne 0x4217b7
mov al, 0xc
pop ebx
leave
ret
Function at 0x447570
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f325b
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.004e7794
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4475f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004e4d5d
mov eax, dword [eax]
push 0x9f0ecc
push eax
call fcn.004c5544
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004e7a1f
test bl, bl
je 0x4475f2
push 0x9f0ecc
lea ecx, [esp + 0xc]
call fcn.004e7daf
push 0x9f0ed8
lea ecx, [esp + 0xc]
call fcn.004e7daf
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 0x44762e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004e7a1f
jmp 0x4476f9
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 0x4476b2
lea edx, [esp + 0x7c]
push 0x9f0ed4
push edx
call fcn.004c5544
add esp, 8
test eax, eax
je 0x4476b2
lea eax, [esp + 0x7c]
push 0x9f0ed0
push eax
call fcn.004c5544
add esp, 8
test eax, eax
je 0x4476b2
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 0x447642
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.004e7a1f
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 0x447ef0
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 0x447f52
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 0x447f60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f32db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xa02cb8]
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 0x448098
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x447fc6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e7a1f
xor eax, eax
jmp 0x44810f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004e7b5c
push esi
lea ecx, [esp + 0xc]
call fcn.004e7deb
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 0x4480ed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00447ef0
test eax, eax
jne 0x4480ed
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.00447ef0
test eax, eax
jne 0x4480ed
lea eax, [esp + 0x14]
push 0x9f0ee8
push eax
call fcn.004c66c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4480cc
lea ecx, [esp + 0x14]
push 0x9f0ee4
push ecx
call fcn.004c6640
mov esi, eax
add esp, 8
test esi, esi
jne 0x4480cc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4480cf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004e7b0c
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x447fde
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e7a1f
xor eax, eax
jmp 0x44810f
mov byte [esi], 0
push 0x9f0ee0
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.004e7a1f
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 0x45e090
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 0x45e0fe
cmp si, 0x69
ja 0x45e0fe
add esi, 0xffd0
cmp si, 0x11
je 0x45e0ce
push 0x11
call edi
test ax, ax
jge 0x45e0ce
or esi, 0x2000
cmp si, 0x10
je 0x45e0e3
push 0x10
call edi
test ax, ax
jge 0x45e0e3
or esi, 0x4000
cmp si, 0x12
je 0x45e0f8
push 0x12
call edi
test ax, ax
jge 0x45e0f8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x45e10b
mov esi, 0xbd
jmp 0x45e0bf
cmp si, 0x6e
jne 0x45e118
mov esi, 0xbe
jmp 0x45e0bf
cmp si, 0x6f
jne 0x45e0b9
mov esi, 0xbf
jmp 0x45e0bf

Function at 0x45fb20
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xa144b8]
xor edx, edx
cmp eax, edx
jne 0x45fb46
xor eax, eax
mov byte [eax + 0xa143b8], al
inc eax
cmp eax, 0x100
jl 0x45fb2e
mov dword [0xa144b8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xa143b8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x45fbd7
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 0x45fbaa
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 0x45fb78
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x45fc50
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 0x45fca3
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 0x45fc8a
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