joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4029a0
Capabilities:
Create process on windows
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x258
mov ax, word [0x408478]
push ebx
mov ebx, dword [esp + 0x260]
push esi
push edi
mov word [esp + 0x5c], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x5e]
push ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x60]
push ecx
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea edx, [esp + 0x64]
push 0x5c
push edx
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 0x10
test eax, eax
je 0x402a00
add eax, 2
cmp word [ebx], 0x22
jne 0x4029fb
mov word [eax], 0x22
add eax, 2
mov word [eax], 0
lea eax, [esp + 0xc]
push eax
push str.SOFTWAREUbeisoftVES0100Client
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x402a49
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push 0
push str.UpdateNow
push edx
mov dword [esp + 0x28], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 0xc]
push eax
call esi
mov edx, dword [esp + 0x26c]
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x5c]
push eax
mov dword [esp + 0x24], 0x3c
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x30], str.RunAs
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x402b20
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [esp + 0x18], 0
push 0x3e8
call ebx
lea ecx, [esp + 0x10]
push ecx
push str.SOFTWAREUbeisoftVES0100Client
push 0x80000002
call ebp
test eax, eax
jne 0x402b0e
mov dword [esp + 0x14], eax
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
push 0
push str.UpdateNow
push edx
mov dword [esp + 0x34], 4
call edi
mov eax, dword [esp + 0x10]
push eax
call esi
cmp dword [esp + 0x14], 1
jne 0x402b0e
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 0x258
mov dword [esp + 0x18], eax
jl 0x402aab
pop ebp
pop edi
pop esi
mov eax, 0xbc2
pop ebx
add esp, 0x258
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
add esp, 0x258
ret 8
Function at 0x402b40
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x660
mov dx, word [0x408478]
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x62]
mov word [esp + 0x60], dx
mov esi, dword [esp + 0x66c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x26a]
mov word [esp + 0x268], dx
rep stosd dword es:[edi], eax
test esi, esi
stosw word es:[edi], ax
mov dword [esp + 8], 0
jne 0x402ba0
pop edi
mov eax, 0x57
pop esi
add esp, 0x660
ret 8
mov edi, dword [sym.imp.MSVCRT.dll_wcsncpy]
push ebx
push 0x200
lea eax, [esp + 0x270]
push esi
push eax
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_wcsncat]
push 0x200
lea ecx, [esp + 0x27c]
push 0x408020
push ecx
call ebx
mov edx, dword [esp + 0x68c]
push 0x200
lea eax, [esp + 0x288]
push edx
push eax
call ebx
add esp, 0x24
cmp word [esi], 0x22
pop ebx
push 0x104
jne 0x402c02
add esi, 2
lea ecx, [esp + 0x64]
push esi
push ecx
jmp 0x402c08
lea edx, [esp + 0x64]
push esi
push edx
call edi
add esp, 0xc
lea eax, [esp + 0x60]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x402c27
mov word [eax + 2], 0
xor ecx, ecx
xor eax, eax
mov dword [esp + 0xc], ecx
lea edi, [esp + 0x1c]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0xc]
mov dword [esp + 0x14], ecx
push edx
mov dword [esp + 0x1c], ecx
mov ecx, 0x11
rep stosd dword es:[edi], eax
mov word [esp + 0x50], ax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x64]
push eax
push ecx
push 0
push 0
push 0
push 0
lea edx, [esp + 0x284]
push 0
push edx
push 0
mov dword [esp + 0x44], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x402c91
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
add esp, 0x660
ret 8
mov eax, dword [esp + 0xc]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x402cc3
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
add esp, 0x660
ret 8
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0x660
ret 8
Function at 0x4037b0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x24c
mov dx, word [0x408478]
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x52]
mov word [esp + 0x50], dx
mov word [esp + 0x10], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x12]
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x54]
mov dword [esp + 0x10], 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x40381a
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
add esp, 0x24c
ret 0xc
lea ecx, [esp + 0x50]
push 0x5c
push ecx
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
jne 0x40383f
pop edi
pop esi
mov eax, 0x3ee
pop ebx
add esp, 0x24c
ret 0xc
push 0x104
lea edx, [esp + 0x54]
push str.FGN.ini
push edx
mov word [eax + 2], 0
call dword [sym.imp.MSVCRT.dll_wcsncat]
add esp, 0xc
lea eax, [esp + 0x50]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x403893
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
add esp, 0x24c
ret 0xc
push 0x80c
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x4038c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x24c
ret 0xc
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x800
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4038ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x24c
ret 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp word [esi], 0xfeff
jne 0x40394e
mov edx, dword [esp + 0x25c]
lea edi, [esi + 2]
push edx
push str.ServerName
push edi
mov ecx, ebx
call fcn.00403700
mov eax, dword [esp + 0x260]
mov ecx, ebx
push eax
push str.ServerIP
push edi
call fcn.00403700
lea ecx, [esp + 0x10]
push ecx
push str.Port
push edi
mov ecx, ebx
call fcn.00403700
jmp 0x40398a
mov edx, dword [esp + 0x25c]
mov ecx, ebx
push edx
push 0x40831c
push esi
call fcn.00403670
mov eax, dword [esp + 0x260]
mov ecx, ebx
push eax
push 0x408310
push esi
call fcn.00403670
lea ecx, [esp + 0x10]
push ecx
push 0x408308
push esi
mov ecx, ebx
call fcn.00403670
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.MSVCRT.dll__wtol]
mov ecx, dword [esp + 0x268]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
xor eax, eax
pop ebx
add esp, 0x24c
ret 0xc
Function at 0x4039c0
Capabilities:
Compare security identifiers

Disassembly:
sub esp, 0x18
push ebx
push esi
lea eax, [esp + 8]
push edi
xor ebx, ebx
push eax
push ebx
push 8
mov byte [esp + 0x28], bl
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], 5
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x403a2c
call esi
cmp eax, 0x3f0
jne 0x403b08
lea ecx, [esp + 0xc]
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x403a2c
pop edi
pop esi
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], ebx
push edx
push ebx
push ebx
push 2
push eax
call edi
test eax, eax
je 0x403a5e
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x18
ret
call esi
cmp eax, 0x7a
je 0x403a79
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x10]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, ebx
jne 0x403aa0
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
push eax
push esi
push 2
push ecx
call edi
test eax, eax
jne 0x403ad3
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
push edx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x403b11
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x18
ret
mov eax, dword [esi]
xor edi, edi
cmp eax, ebx
push ebp
mov dword [esp + 0x1c], ebx
jbe 0x403b49
mov ebp, dword [sym.imp.ADVAPI32.dll_EqualSid]
lea ebx, [esi + 4]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx]
push eax
push ecx
call ebp
test eax, eax
jne 0x403b41
mov eax, dword [esi]
inc edi
add ebx, 8
cmp edi, eax
jb 0x403b27
jmp 0x403b49
mov dword [esp + 0x1c], 1
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x401dbd
Capabilities:
Parse pe header

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

Function at 0x40b0dd
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x416e20
push 0x416e18
push str.FlsAlloc
push 0x1f
call fcn.0040af9c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b111
push dword [ebp + 8]
mov ecx, esi
call dword [0x415144]
call esi
jmp 0x40b117
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40b15b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x416e30
push 0x416e28
push str.FlsGetValue
push 0x21
call fcn.0040af9c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b192
push dword [ebp + 8]
mov ecx, esi
call dword [0x415144]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40b19a
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x416e38
push 0x416e30
push str.FlsSetValue
push 0x22
call fcn.0040af9c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b1d4
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x415144]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40c8f9
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40c996
push ebx
push esi
call fcn.0040c8c2
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040c856
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40c943
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40c995
push edi
push eax
call fcn.004085b5
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40c963
call fcn.0040857b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40c994
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040c856
add esp, 0x20
test eax, eax
jne 0x40c982
push edi
call fcn.0040857b
jmp 0x40c98a
push ebx
call fcn.0040857b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x40c999
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x40c9aa
pop esi
ret
push ebx
push edi
push esi
call fcn.0040c8c2
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.004085b5
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x40c9d2
push ebx
push esi
push edi
call fcn.00403090
add esp, 0xc
push 0
call fcn.0040857b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x40cda2
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0040c9e7
Function at 0x414900
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41492d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41492d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
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, 0x47f676eb
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x20092081
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x436780
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x52214b
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.00511892
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x436802
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0050ea01
mov eax, dword [eax]
push 0x5b1288
push eax
call fcn.004ed744
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00511b1d
test bl, bl
je 0x436802
push 0x5b1288
lea ecx, [esp + 0xc]
call fcn.00511ef9
push 0x5b4e30
lea ecx, [esp + 0xc]
call fcn.00511ef9
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 0x43683e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00511b1d
jmp 0x436909
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 0x4368c2
lea edx, [esp + 0x7c]
push 0x5b4e2c
push edx
call fcn.004ed744
add esp, 8
test eax, eax
je 0x4368c2
lea eax, [esp + 0x7c]
push 0x5b4e28
push eax
call fcn.004ed744
add esp, 8
test eax, eax
je 0x4368c2
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 0x436852
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.00511b1d
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 0x437590
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 0x4375f2
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 0x437600
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x52220b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5cdd90]
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 0x437738
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x437666
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00511b1d
xor eax, eax
jmp 0x4377af
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00511ca6
push esi
lea ecx, [esp + 0xc]
call fcn.00511f35
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x5b4e68
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x43778d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00437590
test eax, eax
jne 0x43778d
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.00437590
test eax, eax
jne 0x43778d
lea eax, [esp + 0x14]
push 0x5b4e44
push eax
call fcn.004eea60
mov esi, eax
add esp, 8
test esi, esi
jne 0x43776c
lea ecx, [esp + 0x14]
push 0x5b4e40
push ecx
call fcn.004ee9e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x43776c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43776f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00511c56
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43767e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00511b1d
xor eax, eax
jmp 0x4377af
mov byte [esi], 0
push 0x5b4e3c
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.00511b1d
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 0x44ced0
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 0x44cf3e
cmp si, 0x69
ja 0x44cf3e
add esi, 0xffd0
cmp si, 0x11
je 0x44cf0e
push 0x11
call edi
test ax, ax
jge 0x44cf0e
or esi, 0x2000
cmp si, 0x10
je 0x44cf23
push 0x10
call edi
test ax, ax
jge 0x44cf23
or esi, 0x4000
cmp si, 0x12
je 0x44cf38
push 0x12
call edi
test ax, ax
jge 0x44cf38
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x44cf4b
mov esi, 0xbd
jmp 0x44ceff
cmp si, 0x6e
jne 0x44cf58
mov esi, 0xbe
jmp 0x44ceff
cmp si, 0x6f
jne 0x44cef9
mov esi, 0xbf
jmp 0x44ceff

Function at 0x44e790
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5dfbc8]
xor edx, edx
cmp eax, edx
jne 0x44e7b6
xor eax, eax
mov byte [eax + 0x5dfac8], al
inc eax
cmp eax, 0x100
jl 0x44e79e
mov dword [0x5dfbc8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5dfac8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x44e847
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 0x44e81a
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 0x44e7e8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x44e8c0
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 0x44e913
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 0x44e8fa
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