joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4048d8
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404b08
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40495b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404b08
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40495b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404b24
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4049e4
xor eax, eax
push ebp
push 0x4049dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00404720
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4049c2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404b44
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4049c2
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4049e4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404afe
cmp byte [ebp - 0xd], 0
jne 0x404a2b
cmp byte [ebp - 0x12], 0
je 0x404afe
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404a44
dec ebx
cmp byte [ebx], 0x2e
je 0x404a53
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404a43
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404afe
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404a90
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404afe
cmp byte [ebp - 0xd], 0
je 0x404afe
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404afe
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404cc0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x404d26
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403e34
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ba4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x404d10
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404d2d
lea eax, [ebp - 0x10]
call fcn.00403bec
ret

Function at 0x406bd4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406c0d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403cdc
jmp 0x406c16
mov eax, ebx
mov edx, esi
call fcn.00403c40
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x406c20
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406c41
mov al, byte [esp]
jmp 0x406c43
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4072c8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x407140
mov eax, dword [0x40c3b0]
cmp byte [eax], 0
je 0x407344
mov eax, dword [0x40c308]
call fcn.00402b14
call fcn.00402634
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00406024
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40738c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40737a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x40c2e8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x40d660]
call fcn.004046e4
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x407d38
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x407d9c
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00403e34
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00405ef8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407da3
lea eax, [ebp - 0xc]
call fcn.00403bec
ret
Function at 0x401550
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push edi
xor edi, edi
test ebx, ebx
je 0x401703
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseEventLog]
nop dword [eax]
push 0
call esi
add byte [edi + ebp], 0x1a
push 0
call esi
add byte [edi + ebp], 0x50
push 0
call esi
xor byte [edi + ebp], 0x74
push 0
call esi
add byte [edi + ebp], 0x97
push 0
call esi
add byte [edi + ebp], 0xf6
push 0
call esi
add byte [edi + ebp], 0x1c
push 0
call esi
add byte [edi + ebp], 0x65
push 0
call esi
xor byte [edi + ebp], 8
push 0
call esi
add byte [edi + ebp], 0xaf
push 0
call esi
add byte [edi + ebp], 0xb6
push 0
call esi
xor byte [edi + ebp], 0x5e
push 0
call esi
add byte [edi + ebp], 0xe7
push 0
call esi
add byte [edi + ebp], 0xa3
push 0
call esi
add byte [edi + ebp], 0xf8
push 0
call esi
add byte [edi + ebp], 0x69
push 0
call esi
add byte [edi + ebp], 0x14
push 0
call esi
xor byte [edi + ebp], 5
push 0
call esi
add byte [edi + ebp], 0xc4
push 0
call esi
add byte [edi + ebp], 0x24
push 0
call esi
add byte [edi + ebp], 0x28
push 0
call esi
add byte [edi + ebp], 0x57
push 0
call esi
add byte [edi + ebp], 0xae
push 0
call esi
add byte [edi + ebp], 0x66
push 0
call esi
add byte [edi + ebp], 0xb
push 0
call esi
add byte [edi + ebp], 0x75
push 0
call esi
xor byte [edi + ebp], 0xa9
push 0
call esi
add byte [edi + ebp], 0xbe
push 0
call esi
add byte [edi + ebp], 0xaa
push 0
call esi
add byte [edi + ebp], 0xc7
push 0
call esi
add byte [edi + ebp], 0xca
push 0
call esi
add byte [edi + ebp], 0x61
push 0
call esi
xor byte [edi + ebp], 0xf1
push 0
call esi
xor byte [edi + ebp], 0xda
push 0
call esi
xor byte [edi + ebp], 0xed
push 0
call esi
add byte [edi + ebp], 0xef
push 0
call esi
add byte [edi + ebp], 0x49
push 0
call esi
xor byte [edi + ebp], 0x6c
push 0
call esi
add byte [edi + ebp], 0xef
push 0
call esi
add byte [edi + ebp], 0xa5
push 0
call esi
xor byte [edi + ebp], 0x91
push 0
call esi
add byte [edi + ebp], 0x4c
push 0
call esi
xor byte [edi + ebp], 0x65
push 0
call esi
add byte [edi + ebp], 0x51
push 0
call esi
xor byte [edi + ebp], 0x83
push 0
call esi
add byte [edi + ebp], 0x4f
push 0
call esi
xor byte [edi + ebp], 9
push 0
call esi
add byte [edi + ebp], 0x45
push 0
call esi
add byte [edi + ebp], 0x65
push 0
call esi
add byte [edi + ebp], 0x54
inc edi
cmp edi, ebx
jb 0x401570
pop esi
pop ebp
pop edi
pop ebx
ret
Function at 0x401940
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push esi
push edi
mov eax, 0x1a1
cmp eax, 0x24
ja 0x40194e
call 0x856194e
inc eax
inc ecx
add byte [ebx + ecx*4 + 0x3d], ah
xor byte [eax], al
add byte [eax], al
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x44b000], eax
sub eax, eax
je 0x401973
jmp 0xd0408253
push 0x2d000
push section..pal
call fcn.00401550
add esp, 8
call fcn.004011b0
pop edi
xor eax, eax
pop esi
ret

Function at 0x402494
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4024d3
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4024d3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4024d3
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4024d3
cmp dword [ecx + 0x74], 0xe
jbe 0x4024d3
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x408a64
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x416860
push 0x416858
push str.FlsAlloc
push 0x1e
call fcn.00408925
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408a98
push dword [ebp + 8]
mov ecx, esi
call dword [0x414120]
call esi
jmp 0x408a9e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x408ae2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x416870
push 0x416868
push str.FlsGetValue
push 0x20
call fcn.00408925
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408b19
push dword [ebp + 8]
mov ecx, esi
call dword [0x414120]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x40153b
Capabilities:
Encode data using xor

Disassembly:
push 1
pop ecx
cmp dword [esp + 8], ecx
jl 0x40155b
mov eax, dword [esp + 4]
mov edx, ecx
and edx, 3
mov dl, byte [esp + edx + 0xc]
xor byte [eax], dl
inc ecx
inc eax
cmp ecx, dword [esp + 8]
jle 0x401548
ret
Function at 0x405205
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x409688
cmp edx, dword [eax]
je 0x405227
add eax, 8
inc ecx
cmp eax, 0x409718
jl 0x405218
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x409688]
jne 0x405355
mov eax, dword [0x409a48]
cmp eax, 1
je 0x40532f
test eax, eax
jne 0x405258
cmp dword [0x4095d4], 1
je 0x40532f
cmp edx, 0xfc
je 0x405355
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40528f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00403710
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403810
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4052d2
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403810
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4075d0
push edi
call fcn.00405b40
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00403710
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403720
lea eax, [ebp - 0xa0]
push 0x4075b0
push eax
call fcn.00403720
push dword [esi + 0x40968c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403720
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00405ab7
add esp, 0x2c
pop edi
jmp 0x405355
lea eax, [ebp + 8]
lea esi, [esi + 0x40968c]
push 0
push eax
push dword [esi]
call fcn.00403810
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.kernel32.dll_GetStdHandle]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
pop esi
leave
ret

Function at 0x464f31
Capabilities:
Create thread

Disassembly:
sub esp, 0x100
push edi
push 0x100195fc
push 0
push 0
push 0x10001290
push 0
push 0
call fcn.00466216
add esp, 0x18
push eax
call dword [0x100121e0]
call dword [0x100121e4]
mov edx, eax
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 5]
mov byte [esp + 4], 0
push edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 8]
push 0x100160a8
push eax
call fcn.004661c4
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [0x100121e8]
test eax, eax
mov dword [0x10019600], eax
pop edi
je 0x464fc6
push 0
push 0
push 0
push 6
push eax
call dword [0x100121ec]
mov edx, dword [0x100195fc]
push eax
mov dword [eax], edx
call dword [0x100121f0]
call fcn.00464fe1
add esp, 0x100
ret
Function at 0x555aa7
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
jmp 0x555aad
jmp 0x555ab0
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x555ae5
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x555ad3
mov al, 1
jmp 0x555b26
cmp dword [ebx + 0x54], ecx
jne 0x555adc
mov al, 2
jmp 0x555b26
cmp dword [ebx + 0x7c], ecx
jne 0x555b26
mov al, 3
jmp 0x555b26
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x555afa
mov al, 4
jmp 0x555b26
cmp ecx, 5
jne 0x555b1a
cmp ebx, 0
jne 0x555b08
mov al, 5
jmp 0x555b26
cmp ebx, 1
jne 0x555b11
mov al, 6
jmp 0x555b26
cmp ebx, 2
jne 0x555b1a
mov al, 7
jmp 0x555b26
cmp ecx, 6
jne 0x555b26
cmp ebx, 0
jne 0x555b26
mov al, 8
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x42f774df
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x2cd550a9
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x43f9d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c47cb
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.004b6501
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x43fa52
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004b3604
mov eax, dword [eax]
push 0x5cc244
push eax
call fcn.004a5cf4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004b678c
test bl, bl
je 0x43fa52
push 0x5cc244
lea ecx, [esp + 0xc]
call fcn.004b6b68
push 0x5cfdc4
lea ecx, [esp + 0xc]
call fcn.004b6b68
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 0x43fa8e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004b678c
jmp 0x43fb59
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 0x43fb12
lea edx, [esp + 0x7c]
push 0x5cfdc0
push edx
call fcn.004a5cf4
add esp, 8
test eax, eax
je 0x43fb12
lea eax, [esp + 0x7c]
push 0x5cfdbc
push eax
call fcn.004a5cf4
add esp, 8
test eax, eax
je 0x43fb12
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 0x43faa2
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.004b678c
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 0x440350
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 0x4403b2
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 0x4403c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c484b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5d78d8]
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 0x4404f8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x440426
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b678c
xor eax, eax
jmp 0x44056f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004b6915
push esi
lea ecx, [esp + 0xc]
call fcn.004b6ba4
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x5cfdfc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x44054d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00440350
test eax, eax
jne 0x44054d
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 closesocket
mov ecx, edi
call fcn.00440350
test eax, eax
jne 0x44054d
lea eax, [esp + 0x14]
push 0x5cfdd8
push eax
call fcn.004a6ea0
mov esi, eax
add esp, 8
test esi, esi
jne 0x44052c
lea ecx, [esp + 0x14]
push 0x5cfdd4
push ecx
call fcn.004a6e20
mov esi, eax
add esp, 8
test esi, esi
jne 0x44052c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x44052f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004b68c5
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x44043e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b678c
xor eax, eax
jmp 0x44056f
mov byte [esi], 0
push 0x5cfdd0
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.004b678c
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 0x453ae0
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 0x453b4e
cmp si, 0x69
ja 0x453b4e
add esi, 0xffd0
cmp si, 0x11
je 0x453b1e
push 0x11
call edi
test ax, ax
jge 0x453b1e
or esi, 0x2000
cmp si, 0x10
je 0x453b33
push 0x10
call edi
test ax, ax
jge 0x453b33
or esi, 0x4000
cmp si, 0x12
je 0x453b48
push 0x12
call edi
test ax, ax
jge 0x453b48
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x453b5b
mov esi, 0xbd
jmp 0x453b0f
cmp si, 0x6e
jne 0x453b68
mov esi, 0xbe
jmp 0x453b0f
cmp si, 0x6f
jne 0x453b09
mov esi, 0xbf
jmp 0x453b0f

Function at 0x455310
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5e88f0]
xor edx, edx
cmp eax, edx
jne 0x455336
xor eax, eax
mov byte [eax + 0x5e87f0], al
inc eax
cmp eax, 0x100
jl 0x45531e
mov dword [0x5e88f0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5e87f0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4553c7
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 0x45539a
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 0x455368
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x455440
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 0x455493
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 0x45547a
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