joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10026c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push dword [ebp + 8]
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.ntdll.dll_wcscpy]
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.ntdll.dll_wcslen]
add esp, 0xc
lea eax, [ebp + eax*2 - 0x100]
dec eax
dec eax
mov cx, word [eax]
cmp cx, 0x5c
je 0x1002701
cmp cx, 0x2f
jne 0x1002707
and word [eax], 0
jmp 0x10026f0
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
leave
ret 4

Function at 0x1002722
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x658
push esi
push dword [edi + 4]
mov esi, dword [sym.imp.ntdll.dll_wcscpy]
lea eax, [ebp - 0x108]
push eax
call esi
push dword [edi + 4]
call dword [sym.imp.ntdll.dll_wcslen]
lea eax, [ebp + eax*2 - 0x108]
push 0x1001418
push eax
mov dword [ebp - 8], eax
call esi
add esp, 0x14
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x100278a
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x12
neg eax
sbb eax, eax
jmp 0x10028b4
push ebx
mov ebx, dword [sym.imp.ntdll.dll_wcscmp]
lea eax, [ebp - 0x32c]
push 0x1001414
push eax
call ebx
test eax, eax
pop ecx
pop ecx
je 0x100288c
lea eax, [ebp - 0x32c]
push 0x100140c
push eax
call ebx
test eax, eax
pop ecx
pop ecx
je 0x100288c
lea eax, [ebp - 0x32c]
push eax
call dword [sym.imp.ntdll.dll__wcslwr]
push eax
push dword [ebp - 8]
call esi
mov eax, dword [edi + 0xc]
add esp, 0xc
test eax, eax
je 0x10027ee
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.ntdll.dll_wcscat]
pop ecx
pop ecx
lea eax, [ebp - 0x32c]
push eax
push dword [edi + 8]
call fcn.01002a89
test eax, eax
je 0x100288c
cmp dword [edi + 0xc], 0
je 0x1002867
lea eax, [ebp - 0x658]
push eax
lea eax, [ebp - 0x558]
push eax
lea eax, [ebp - 0x458]
push eax
lea edx, [ebp - 0x108]
call fcn.010025fb
test eax, eax
je 0x1002867
test byte [ebp - 0x358], 0x10
je 0x100288c
lea eax, [ebp - 0x458]
push eax
call fcn.010026c0
test eax, eax
je 0x100288c
lea eax, [ebp - 0x658]
push eax
lea eax, [ebp - 0x558]
push eax
lea eax, [ebp - 0x458]
push eax
mov eax, dword [ebp + 8]
call fcn.01002464
jmp 0x100288c
lea eax, [ebp - 0x108]
push eax
call fcn.010026c0
test eax, eax
je 0x100288c
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp + 0xc]
call fcn.01002534
mov ebx, eax
test ebx, ebx
jne 0x10028b1
lea eax, [ebp - 0x358]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, eax
test ebx, ebx
jne 0x100278b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x10028b1
mov eax, ebx
pop ebx
pop esi
leave
ret 8
Function at 0x1002d52
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1001420
call fcn.01002ef0
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1002d8d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002d8d
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1002da5
cmp eax, 0x20b
je 0x1002d92
mov dword [ebp - 0x1c], edi
jmp 0x1002db9
cmp dword [ecx + 0x84], 0xe
jbe 0x1002d8d
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x1002db3
cmp dword [ecx + 0x74], 0xe
jbe 0x1002d8d
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1005ba0], 0xffffffff
or dword [0x1005ba4], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x10042ec]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x10042e8]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1005ba8], eax
call fcn.01002eea
cmp dword [0x10042a0], edi
jne 0x1002e14
push fcn.01002eea
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01002ed8
push 0x1001108
push 0x1001104
call sub.msvcrt.dll__initterm
mov eax, dword [0x10042e4]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x10042e0]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x1001100
push 0x10010fc
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x24]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.0100147b
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x1c], edi
jne 0x1002e8b
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1002ec0
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01002f29
ret
Function at 0x1004392
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1007b58
call fcn.01004764
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x1009568
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x10041a7
cmp eax, esi
jne 0x100419a
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x10041aa
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1004181
xor esi, esi
inc esi
mov eax, dword [0x1009564]
cmp eax, esi
jne 0x10041bd
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x10041f8
mov eax, dword [0x1009564]
test eax, eax
jne 0x10041f2
mov dword [0x1009564], esi
push 0x1001244
push 0x1001238
call fcn.010040fe
pop ecx
pop ecx
test eax, eax
je 0x10041f8
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x10042c2
mov dword [0x1009190], esi
mov eax, dword [0x1009564]
cmp eax, esi
jne 0x100421c
push 0x1001234
push 0x1001224
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1009564], 2
cmp dword [ebp - 0x1c], ebx
jne 0x1004229
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1009574], ebx
je 0x100424a
push 0x1009574
call fcn.010046d9
pop ecx
test eax, eax
je 0x100424a
push ebx
push 2
push ebx
call dword [0x1009574]
push dword [0x1009178]
push dword [0x100917c]
push dword [0x1009174]
call fcn.0100645c
add esp, 0xc
mov dword [0x100918c], eax
cmp dword [0x1009180], ebx
jne 0x10042a8
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x1009190], ebx
jne 0x10042b6
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x100918c]
call fcn.010047a9
ret
call fcn.010048b1
jmp 0x100415f
Function at 0x1005383
Capabilities:
Create service

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x1009110]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0xf003f
xor esi, esi
push esi
push esi
call dword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_OpenSCManagerW]
mov edi, eax
cmp edi, esi
jne 0x10053f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xffffffffffffffff
mov esi, eax
call dword [sym.imp.wbemcomn.dll_class_CMemoryLog____stdcall_GetMemLogObject_void_]
mov ecx, eax
call dword [sym.imp.wbemcomn.dll_public:_void___thiscall_CMemoryLog::Write_long_int_]
mov eax, dword [0x1009118]
cmp eax, 0x1009118
je 0x10053f2
test byte [eax + 0x1c], 1
je 0x10053f2
cmp byte [eax + 0x19], 2
jb 0x10053f2
push esi
push 0x1001578
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01004e47
xor eax, eax
jmp 0x1005489
push 0x3ff
lea eax, [ebp - 0x804]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x804]
push eax
mov eax, dword [0x1009524]
push 1
neg eax
sbb eax, eax
add eax, 3
push eax
push 0x10
push 0xf01ff
push dword [0x1009520]
push dword [0x100951c]
push edi
call dword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_CreateServiceW]
test eax, eax
jne 0x1005486
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xffffffffffffffff
mov esi, eax
call dword [sym.imp.wbemcomn.dll_class_CMemoryLog____stdcall_GetMemLogObject_void_]
mov ecx, eax
call dword [sym.imp.wbemcomn.dll_public:_void___thiscall_CMemoryLog::Write_long_int_]
mov eax, dword [0x1009118]
cmp eax, 0x1009118
je 0x10053f2
test byte [eax + 0x1c], 1
je 0x10053f2
cmp byte [eax + 0x19], 2
jb 0x10053f2
push esi
push 0x1001578
push 0x11
jmp 0x10053e7
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.010043b9
leave
ret
Function at 0x100549c
Capabilities:
Delete service

Disassembly:
mov edi, edi
push esi
push 0xf003f
push 0
push 0
call dword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_OpenSCManagerW]
test eax, eax
jne 0x10054f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xffffffffffffffff
mov esi, eax
call dword [sym.imp.wbemcomn.dll_class_CMemoryLog____stdcall_GetMemLogObject_void_]
mov ecx, eax
call dword [sym.imp.wbemcomn.dll_public:_void___thiscall_CMemoryLog::Write_long_int_]
mov eax, dword [0x1009118]
cmp eax, 0x1009118
je 0x10054f5
test byte [eax + 0x1c], 1
je 0x10054f5
cmp byte [eax + 0x19], 2
jb 0x10054f5
push esi
push 0x1001578
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01004e47
xor eax, eax
pop esi
ret
push 0xf01ff
push dword [0x100951c]
push eax
call dword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_OpenServiceW]
test eax, eax
jne 0x1005549
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xffffffffffffffff
mov esi, eax
call dword [sym.imp.wbemcomn.dll_class_CMemoryLog____stdcall_GetMemLogObject_void_]
mov ecx, eax
call dword [sym.imp.wbemcomn.dll_public:_void___thiscall_CMemoryLog::Write_long_int_]
mov eax, dword [0x1009118]
cmp eax, 0x1009118
je 0x10054f5
test byte [eax + 0x1c], 1
je 0x10054f5
cmp byte [eax + 0x19], 2
jb 0x10054f5
push esi
push 0x1001578
push 0x13
jmp 0x10054ea
push eax
call dword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_DeleteService]
test eax, eax
jne 0x100559d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xffffffffffffffff
mov esi, eax
call dword [sym.imp.wbemcomn.dll_class_CMemoryLog____stdcall_GetMemLogObject_void_]
mov ecx, eax
call dword [sym.imp.wbemcomn.dll_public:_void___thiscall_CMemoryLog::Write_long_int_]
mov eax, dword [0x1009118]
cmp eax, 0x1009118
je 0x10054f5
test byte [eax + 0x1c], 1
je 0x10054f5
cmp byte [eax + 0x19], 2
jb 0x10054f5
push esi
push 0x1001578
push 0x14
jmp 0x10054ea
xor eax, eax
inc eax
pop esi
ret
Function at 0x40c875
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0040ca25
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 0x40c973
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 0x40c916
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x40c959
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x40c92d
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x40c948
test al, 0x40
je 0x40c93f
mov ecx, dword [edi + 0x20]
jmp 0x40c946
test al, 0x80
je 0x40c959
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x40c959
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 0x40c8e5
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x4425a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x52ba1b
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.0051bb6e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x442622
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00518252
mov eax, dword [eax]
push 0x7ee2a4
push eax
call fcn.005094f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0051bdf9
test bl, bl
je 0x442622
push 0x7ee2a4
lea ecx, [esp + 0xc]
call fcn.0051c189
push 0x7f1e70
lea ecx, [esp + 0xc]
call fcn.0051c189
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 0x44265e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0051bdf9
jmp 0x442729
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 0x4426e2
lea edx, [esp + 0x7c]
push 0x7f1e6c
push edx
call fcn.005094f4
add esp, 8
test eax, eax
je 0x4426e2
lea eax, [esp + 0x7c]
push 0x7f1e68
push eax
call fcn.005094f4
add esp, 8
test eax, eax
je 0x4426e2
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 0x442672
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.0051bdf9
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 0x442f40
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 0x442fa2
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 0x442fb0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x52ba9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x8362a8]
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 0x4430e8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x443016
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0051bdf9
xor eax, eax
jmp 0x44315f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0051bf36
push esi
lea ecx, [esp + 0xc]
call fcn.0051c1c5
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x7f1ea8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x44313d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x7f1ea0
push closesocket
call fcn.00442f40
test eax, eax
jne 0x44313d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x7f1e8c
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00442f40
test eax, eax
jne 0x44313d
lea eax, [esp + 0x14]
push 0x7f1e84
push eax
call fcn.0050a810
mov esi, eax
add esp, 8
test esi, esi
jne 0x44311c
lea ecx, [esp + 0x14]
push 0x7f1e80
push ecx
call fcn.0050a790
mov esi, eax
add esp, 8
test esi, esi
jne 0x44311c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x44311f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0051bee6
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x44302e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0051bdf9
xor eax, eax
jmp 0x44315f
mov byte [esi], 0
push 0x7f1e7c
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.0051bdf9
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 0x44a4ca
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x52c418
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0051d487
xor ebp, ebp
mov dword [esi], 0x706068
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea edi, [esi + 0x44]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x18]
mov dword [edi], fcn.0049c090
call fcn.00438fe0
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.0051aa79
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.00438fe0
mov dword [ebx], 0x703d3c
mov dword [edi], 0x705f8c
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], vtable.CFont.0
lea ecx, [esi + 0xb0]
call fcn.00438fe0
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], vtable.CBitmap.0
mov byte [esp + 0x38], 5
mov dword [esi], 0x705f94
mov dword [esi + 0xac], ebp
call fcn.00526de0
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00522ef3
mov ecx, dword [esi + 0xcc]
lea eax, [esp + 0x18]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x1c]
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0xd4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xd0], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x44a680
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x52c4a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x705f94
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 4
call fcn.00522f4a
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x703d38
call fcn.004391e0
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 5
call fcn.00522f4a
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x703d38
call fcn.004391e0
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.0051aaac
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x703d38
call fcn.004391e0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00524d90
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x45b5c0
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 0x45b62e
cmp si, 0x69
ja 0x45b62e
add esi, 0xffd0
cmp si, 0x11
je 0x45b5fe
push 0x11
call edi
test ax, ax
jge 0x45b5fe
or esi, 0x2000
cmp si, 0x10
je 0x45b613
push 0x10
call edi
test ax, ax
jge 0x45b613
or esi, 0x4000
cmp si, 0x12
je 0x45b628
push 0x12
call edi
test ax, ax
jge 0x45b628
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x45b63b
mov esi, 0xbd
jmp 0x45b5ef
cmp si, 0x6e
jne 0x45b648
mov esi, 0xbe
jmp 0x45b5ef
cmp si, 0x6f
jne 0x45b5e9
mov esi, 0xbf
jmp 0x45b5ef

Function at 0x45ce80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x847050]
xor edx, edx
cmp eax, edx
jne 0x45cea6
xor eax, eax
mov byte [eax + 0x846f50], al
inc eax
cmp eax, 0x100
jl 0x45ce8e
mov dword [0x847050], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x846f50
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x45cf37
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 0x45cf0a
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 0x45ced8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x45cfb0
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 0x45d003
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 0x45cfea
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
Function at 0x460800
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52d7d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x20]
call fcn.00522cff
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x40], 0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub eax, esi
sub ecx, edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call fcn.004606d0
add esp, 0x14
lea ecx, [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.00522d71
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret