joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b890
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov esi, dword [0x44c0fc]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
mov eax, dword [ebx]
test esi, esi
je 0x41b9d0
cmp eax, 1
je 0x41b8ee
mov eax, ebx
call fcn.0041a8c0
lea edi, [eax + 4]
mov dword [esp + 0x1c], eax
mov dword [esp], edi
call fcn.0041a1b0
mov ebp, dword [ebx]
test ebp, ebp
je 0x41b910
cmp ebp, 1
jne 0x41b9a0
mov dword [esp], edi
call fcn.0041a4e0
mov eax, dword [esp + 0x1c]
call fcn.0041ab50
xor eax, eax
mov edx, dword [esp + 0x2c]
sub edx, dword [0x44c0fc]
jne 0x41ba1a
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], 0x41ac10
mov dword [esp + 0x24], eax
call fcn.0041aec0
mov eax, dword [0x433120]
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esp], eax
call ebp
sub esp, 4
test eax, eax
je 0x41ba08
mov eax, dword [eax + 0xc]
mov dword [esp + 0x28], eax
lock or dword [esp], 0
call fcn.0041aec0
mov eax, dword [0x433120]
mov dword [esp], eax
call ebp
sub esp, 4
test eax, eax
je 0x41b9f0
lea ecx, [esp + 0x20]
mov dword [eax + 0xc], ecx
lock or dword [esp], 0
call esi
call fcn.0041aec0
mov eax, dword [0x433120]
mov dword [esp], eax
call ebp
sub esp, 4
test eax, eax
je 0x41b9e0
mov edx, dword [esp + 0x28]
mov dword [eax + 0xc], edx
mov dword [ebx], 1
jmp 0x41b8dd
mov dword [esp], 2
call dword [0x433108]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], ebx
mov dword [esp + 4], str._once__p_is__ld_n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x41b8dd
mov eax, 0x16
jmp 0x41b8f0
call fcn.0041af70
test eax, eax
jne 0x41b98a
jmp 0x431d3f
call fcn.0041af70
test eax, eax
jne 0x41b966
jmp 0x431d34
call fcn.0041af70
test eax, eax
jne 0x41b940
jmp 0x431d2d
call fcn.00413e20
nop
mov eax, dword [pe_dos_header]
ud2
lea eax, [esp + 0x20]
mov dword [0], eax
ud2
mov eax, dword [esp + 0x28]
mov dword [0], eax
ud2

Function at 0x41bc60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.0041aec0
mov eax, dword [0x433120]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x41bcd8
lea ebp, [ebx + 0x38]
xor edi, edi
mov dword [esp], ebp
call fcn.0041e6f0
mov eax, dword [ebx + 0x28]
cmp dword [esp + 0x30], eax
jae 0x41bcb4
mov eax, dword [ebx + 0x30]
mov edx, dword [esp + 0x30]
cmp byte [eax + edx], 0
je 0x41bcb4
mov eax, dword [ebx + 0x2c]
mov edi, dword [eax + edx*4]
mov dword [esp], ebp
call fcn.0041e740
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.0041af70
mov ebx, eax
jmp 0x41bc8b
Function at 0x41bcf0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
call fcn.0041aec0
mov eax, dword [0x433120]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x41be08
lea edi, [ebx + 0x38]
mov dword [esp], edi
call fcn.0041e6f0
mov edx, dword [ebx + 0x2c]
cmp esi, dword [ebx + 0x28]
jb 0x41bdd4
lea ebp, [esi + 1]
mov dword [esp], edx
lea eax, [ebp*4]
mov dword [esp + 4], eax
call sub.msvcrt.dll_realloc
test eax, eax
je 0x41be14
mov dword [esp + 0x1c], eax
mov dword [esp + 4], ebp
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call sub.msvcrt.dll_realloc
mov edx, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x18], eax
je 0x41be14
mov ecx, dword [ebx + 0x28]
mov eax, ebp
mov dword [esp + 4], 0
mov dword [esp + 0x1c], edx
sub eax, ecx
lea ecx, [edx + ecx*4]
shl eax, 2
mov dword [esp], ecx
mov dword [esp + 8], eax
call sub.msvcrt.dll_memset
mov eax, dword [ebx + 0x28]
mov edx, dword [esp + 0x18]
mov ecx, ebp
mov dword [esp + 4], 0
sub ecx, eax
add eax, edx
mov dword [esp + 8], ecx
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x28], ebp
mov dword [ebx + 0x2c], edx
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x44]
mov dword [edx + esi*4], eax
mov eax, dword [ebx + 0x30]
mov byte [eax + esi], 1
mov dword [esp], edi
call fcn.0041e740
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
sub esp, 4
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.0041af70
mov ebx, eax
jmp 0x41bd25
mov dword [esp], edi
call fcn.0041e740
mov eax, 0xc
jmp 0x41bdfc

Function at 0x41beb0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
call fcn.0041aec0
mov eax, dword [0x433120]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x41bed8
mov eax, dword [eax + 0x18]
add esp, 0x1c
ret
call fcn.0041af70
test eax, eax
jne 0x41becd
add esp, 0x1c
ret

Function at 0x41bf40
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
call fcn.0041aec0
mov eax, dword [0x433120]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x41bf68
add eax, 0xc
add esp, 0x1c
ret
call fcn.0041af70
test eax, eax
jne 0x41bf5d
jmp 0x41bf60
Function at 0x41bfa0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov esi, dword [esp + 0x20]
call fcn.0041b0a0
mov dword [eax + 4], esi
mov ebx, eax
mov eax, dword [eax + 0xb4]
test eax, eax
je 0x41bfc2
call fcn.0041b0d0
test byte [ebx + 0x20], 0x30
jne 0x41bfdc
add ebx, 0x70
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.msvcrt.dll_longjmp]
mov eax, dword [0x433120]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
push edx
test eax, eax
je 0x41c01d
cmp dword [ebx + 0x14], 0
mov eax, dword [eax + 0x18]
je 0x41c05d
mov dword [ebx + 0x68], 1
mov esi, dword [ebx + 4]
test eax, eax
je 0x41c012
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
xor eax, eax
mov dword [ebx + 0x18], eax
test byte [ebx + 0x24], 4
jne 0x41c026
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__endthreadex]
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
push ecx
mov dword [ebx + 0x14], eax
mov eax, ebx
call fcn.0041aea0
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [0x433120]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push edx
push edx
jmp 0x41c01d
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x41c071
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
xor eax, eax
mov esi, dword [ebx + 4]
mov dword [ebx + 0x18], eax
jmp 0x41c03e

Function at 0x41c080
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x44cafc]
test eax, eax
jne 0x41c090
xor eax, eax
ret
sub esp, 0x1c
call fcn.0041aec0
mov eax, dword [0x433120]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x41c0d0
mov edx, dword [eax + 0x10]
test edx, edx
jle 0x41c0c0
xor eax, eax
add esp, 0x1c
ret
test byte [eax + 0x20], 3
je 0x41c0b4
mov eax, dword [eax + 0x24]
and eax, 1
jmp 0x41c0b6
call fcn.0041af70
test eax, eax
je 0x41c0b4
jmp 0x41c0ad

Function at 0x41c0e0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
call fcn.0041aec0
mov eax, dword [0x433120]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x41c120
mov edx, dword [esp + 0x20]
test edx, edx
jle 0x41c110
lock add dword [eax + 0x10], 1
add esp, 0x1c
ret
lock sub dword [eax + 0x10], 1
add esp, 0x1c
ret
call fcn.0041af70
test eax, eax
jne 0x41c0fd
add esp, 0x1c
ret
Function at 0x41c220
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
call fcn.0041aec0
mov eax, dword [0x433120]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x41c290
test byte [ebx + 0x20], 0xc
jne 0x41c250
mov eax, dword [0x44cafc]
test eax, eax
jne 0x41c260
add esp, 0x14
pop ebx
pop esi
ret
lea esi, [ebx + 0x1c]
mov dword [esp], esi
call fcn.0041a1b0
movzx eax, byte [ebx + 0x20]
test al, 3
je 0x41c282
mov edx, dword [ebx + 0x24]
test dl, 1
je 0x41c282
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jle 0x41c2a1
mov dword [esp], esi
call fcn.0041a4e0
add esp, 0x14
pop ebx
pop esi
ret
call fcn.0041af70
mov ebx, eax
test eax, eax
jne 0x41c241
add esp, 0x14
pop ebx
pop esi
ret
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [ebx + 0x24], edx
mov byte [ebx + 0x20], al
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x41c2c1
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push eax
mov dword [esp], esi
call fcn.0041a4e0
call fcn.0041c130
nop
push esi
push ebx
sub esp, 0x14
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41c340
mov dword [esp], eax
call fcn.0041d650
xor ecx, ecx
mov ebx, edx
mov edx, 0xffffffff
cmp edx, eax
sbb ecx, ebx
cmovae edx, eax
mov ebx, edx
call fcn.0041aec0
mov eax, dword [0x433120]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x41c390
test ebx, ebx
je 0x41c35a
call fcn.0041c220
mov eax, dword [esi + 0x18]
test eax, eax
je 0x41c380
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0041d760
call fcn.0041c220
add esp, 0x14
xor eax, eax
pop ebx
pop esi
ret
call fcn.0041aec0
mov eax, dword [0x433120]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x41c3a0
call fcn.0041c220
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
call fcn.0041c220
add esp, 0x14
xor eax, eax
pop ebx
pop esi
ret
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
jmp 0x41c32f
call fcn.0041af70
mov esi, eax
jmp 0x41c313
call fcn.0041af70
jmp 0x41c35a
Function at 0x430870
Capabilities:
Query environment variable

Disassembly:
push edi
sub esp, 0x18
mov eax, dword [esp + 0x20]
lea edi, [eax + 0x60]
mov dword [esp], edi
call sub.msvcrt.dll_malloc
test eax, eax
je 0x42fd12
mov edx, eax
lea edi, [edx + 4]
mov ecx, edx
xor eax, eax
mov dword [edx], 0
and edi, 0xfffffffc
mov dword [edx + 0x5c], 0
sub ecx, edi
add ecx, 0x60
shr ecx, 2
rep stosd dword es:[edi], eax
add esp, 0x18
lea eax, [edx + 0x60]
pop edi
ret
mov eax, edi
call fcn.00421a90
mov edx, eax
test eax, eax
je 0x430858
jmp 0x42fce9
call fcn.00430bd4
nop
nop
nop
call fcn.00430bd4
nop
nop
nop
nop
nop
nop
nop
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [0x44c0fc]
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 4], 0
mov dword [esp], 0x433180
call fcn.0041a630
mov dword [esp], str.GLIBCXX_TUNABLES
mov dword [0x433184], 0
mov dword [0x433188], 0
mov dword [0x43318c], 0
call sub.msvcrt.dll_getenv
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], str.obj_size
mov ebx, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 9
mov dword [esp + 0x24], str.obj_count
mov dword [esp + 0x28], 0x40
test eax, eax
jne 0x430916
jmp 0x4309e7
mov dword [esp], ebx
mov dword [esp + 4], 0x3a
call sub.msvcrt.dll_strchr
mov ebx, eax
test eax, eax
je 0x430990
xor eax, eax
cmp byte [ebx], 0x3a
sete al
add ebx, eax
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
xor eax, 0x62696c67
xor edx, 0x2e787863
or eax, edx
jne 0x430900
mov eax, dword [ebx + 7]
mov edx, dword [ebx + 0xb]
xor eax, 0x5f68652e
xor edx, 0x6c6f6f70
or eax, edx
jne 0x430900
cmp byte [ebx + 0xf], 0x2e
jne 0x430900
add ebx, 0x10
lea esi, [esp + 0x14]
lea ebp, [esp + 0x2c]
mov edi, dword [esi]
test edi, edi
je 0x430977
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov eax, dword [esi + 4]
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x430981
cmp byte [ebx + edi], 0x3d
je 0x430a15
add esi, 0xc
cmp ebp, esi
jne 0x43095a
jmp 0x430900
mov eax, dword [esp + 0x28]
mov edx, 0x100
mov ecx, 6
cmp eax, edx
cmovle edx, eax
mov eax, dword [esp + 0x1c]
test eax, eax
cmove eax, ecx
add eax, 0x2c
imul eax, edx
lea ebx, [eax*4]
mov dword [0x43318c], ebx
test ebx, ebx
jne 0x4309f6
mov dword [esp], 0x4307e0
call fcn.00401400
mov eax, dword [esp + 0x2c]
sub eax, dword [0x44c0fc]
jne 0x430a60
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [0x43318c], 0x3200
mov ebx, 0x3200
mov dword [esp], ebx
call sub.msvcrt.dll_malloc
mov dword [0x433188], eax
test eax, eax
je 0x430a53
xor edx, edx
mov dword [0x433184], eax
mov dword [eax], ebx
mov dword [eax + 4], edx
jmp 0x4309c3
lea eax, [esp + 0x10]
xor ebp, ebp
mov dword [esp + 4], eax
lea eax, [ebx + edi + 1]
mov dword [esp + 8], ebp
mov dword [esp], eax
call sub.msvcrt.dll_strtoul
mov ebx, dword [esp + 0x10]
movzx edx, byte [ebx]
cmp dl, 0x3a
je 0x430a43
test dl, dl
jne 0x430900
test eax, eax
js 0x430900
mov dword [esi + 8], eax
jmp 0x430900
xor ecx, ecx
mov dword [0x43318c], ecx
jmp 0x4309c3
call fcn.00413e20
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call fcn.00430bd4
nop
nop
nop
call fcn.00430bd4
nop
nop
nop
Function at 0x1002aadf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x1002aaee
pop dword [ebp - 0x10]
mov eax, 0xc97258d2
add eax, 0x4690521c
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x29bd249e
sub dword [ebp - 0x20], 0xdb6adf53
mov dword [ebp - 0x1c], 0x73f8c08a
add dword [ebp - 0x1c], 0xbe3a8bbb
mov dword [ebp - 0x18], 0xc43a0135
add dword [ebp - 0x18], 0x881242f9
mov dword [ebp - 0x14], 0x982cbf7f
sub dword [ebp - 0x14], 0x982cbf7f
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xa04c2158
sub dword [ebp - 0x20], 0x2bd9b802
mov dword [ebp - 0x1c], 0x9078ad91
sub dword [ebp - 0x1c], 0x4f0c4c1c
mov dword [ebp - 0x18], 0x4e229248
sub dword [ebp - 0x18], 0xeab325dc
mov dword [ebp - 0x14], 0x10ba5c79
sub dword [ebp - 0x14], 0x10ba5c79
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x550bc360
sub eax, 0x45090338
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x35580
push 0
call eax
mov ecx, 0xd1869339
sub ecx, 0xd1864fb8
xor esi, esi
add esi, eax
mov edi, 0xe88c64d4
add edi, 0x2777312c
add edi, dword [ebp - 0x10]
mov ebx, 0x555da2fc
add ebx, 0x40292d16
mov edx, dword [edi]
add dword [ebp - 8], ecx
xor edx, ebx
add dword [ebp - 4], 0x4c275df5
mov dword [esi], edx
sub dword [ebp - 8], eax
add esi, 0x9cad8dff
add esi, 0x63527205
add edi, 0x2cb839f8
add edi, 0xd347c60c
loop 0x1002ac0d
add eax, 0xc4180a69
sub eax, 0xc4170992
xor ebx, ebx
add ebx, eax
add eax, 0xbfed4910
add eax, 0x4012b6f5
mov ecx, 0x140615e9
sub ecx, 0x40615e9
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x409ebd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x409ebd
lcall 0x5de5, 0x8b10c483
jmp fcn.0076d6b4
Function at 0x405f30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42bdb4], 0
push esi
jne 0x405f67
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 0x405f41
mov dword [ecx*4 + 0x42bdb0], eax
inc ecx
cmp ecx, 0x100
jl 0x405f3c
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f98
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 + 0x42bdb0]
xor eax, esi
inc ecx
dec edx
jne 0x405f7a
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x40b7d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4951cb
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.00489c58
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40b852
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00487b32
mov eax, dword [eax]
push 0x11ecca0
push eax
call fcn.00479cd4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00489ee3
test bl, bl
je 0x40b852
push 0x11ecca0
lea ecx, [esp + 0xc]
call fcn.0048a273
push 0x11eccac
lea ecx, [esp + 0xc]
call fcn.0048a273
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 0x40b88e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00489ee3
jmp 0x40b959
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 0x40b912
lea edx, [esp + 0x7c]
push 0x11ecca8
push edx
call fcn.00479cd4
add esp, 8
test eax, eax
je 0x40b912
lea eax, [esp + 0x7c]
push 0x11ecca4
push eax
call fcn.00479cd4
add esp, 8
test eax, eax
je 0x40b912
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 0x40b8a2
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.00489ee3
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 0x40c160
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 0x40c1c2
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 0x40c1d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49524b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x11fc090]
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 0x40c308
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40c236
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00489ee3
xor eax, eax
jmp 0x40c37f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048a020
push esi
lea ecx, [esp + 0xc]
call fcn.0048a2af
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 0x40c35d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040c160
test eax, eax
jne 0x40c35d
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.0040c160
test eax, eax
jne 0x40c35d
lea eax, [esp + 0x14]
push 0x11eccbc
push eax
call fcn.0047ad50
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c33c
lea ecx, [esp + 0x14]
push 0x11eccb8
push ecx
call fcn.0047acd0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c33c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40c33f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00489fd0
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40c24e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00489ee3
xor eax, eax
jmp 0x40c37f
mov byte [esi], 0
push 0x11eccb4
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.00489ee3
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 0x41ce80
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 0x41ceee
cmp si, 0x69
ja 0x41ceee
add esi, 0xffd0
cmp si, 0x11
je 0x41cebe
push 0x11
call edi
test ax, ax
jge 0x41cebe
or esi, 0x2000
cmp si, 0x10
je 0x41ced3
push 0x10
call edi
test ax, ax
jge 0x41ced3
or esi, 0x4000
cmp si, 0x12
je 0x41cee8
push 0x12
call edi
test ax, ax
jge 0x41cee8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41cefb
mov esi, 0xbd
jmp 0x41ceaf
cmp si, 0x6e
jne 0x41cf08
mov esi, 0xbe
jmp 0x41ceaf
cmp si, 0x6f
jne 0x41cea9
mov esi, 0xbf
jmp 0x41ceaf

Function at 0x41e740
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x120c808]
xor edx, edx
cmp eax, edx
jne 0x41e766
xor eax, eax
mov byte [eax + 0x120c708], al
inc eax
cmp eax, 0x100
jl 0x41e74e
mov dword [0x120c808], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x120c708
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41e7f7
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 0x41e7ca
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 0x41e798
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41e870
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 0x41e8c3
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 0x41e8aa
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