joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ac143
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
xor eax, eax
inc eax
xor ecx, ecx
push ebx
push esi
cpuid
lea esi, [ebp - 0x18]
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
push edi
mov dword [esi + 0xc], edx
rdtsc
push 0x64
mov esi, eax
mov edi, edx
call dword [sym.imp.KERNEL32.dll_Sleep]
rdtsc
sub eax, esi
sbb edx, edi
jne 0x4ac182
cmp eax, 0x989680
jae 0x4ac182
mov al, 1
jmp 0x4ac1c8
mov edi, SysReAllocString
lea esi, [ebp - 0x18]
xor ecx, ecx
mov eax, edi
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
lea ecx, [edi + 1]
mov dword [esi + 0xc], edx
mov eax, dword [ebp - 0x18]
cdq
test edx, edx
jne 0x4ac1ae
cmp eax, ecx
jae 0x4ac1ae
xor al, al
jmp 0x4ac1c8
mov eax, ecx
lea esi, [ebp - 0x18]
xor ecx, ecx
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
test dword [ebp - 0x10], edi
setne al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4ac245
Capabilities:
Check for debugger via api
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x4ac1d0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x4ac35e
mov ecx, dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
call fcn.004ac0a9
test al, al
jne 0x4ac35e
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
test eax, eax
je 0x4ac2a1
cmp dword [ebp - 8], ebx
jne 0x4ac35e
push 0x50afa8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x4ac2b7
xor al, al
jmp 0x4ac360
push 0x50afbc
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4ac31d
mov ecx, esi
call fcn.004ac0a9
test al, al
jne 0x4ac31d
push ebx
push 0x18
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov ecx, esi
call dword [0x5035d8]
call esi
test eax, eax
js 0x4ac31d
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4ac31d
push ebx
push 1
lea ecx, [ebp - 1]
mov byte [ebp - 1], bl
push ecx
add eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x4ac31d
test byte [ebp - 1], 1
jne 0x4ac35e
call fcn.004ac0d5
test al, al
jne 0x4ac35e
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push ebx
push 4
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapQueryInformation]
test eax, eax
je 0x4ac348
test byte [ebp - 0xc], 0x60
jne 0x4ac35e
call fcn.004ac143
test al, al
jne 0x4ac35e
call fcn.004ac1f9
test al, al
je 0x4ac2b0
mov al, 1
pop esi
pop ebx
leave
ret
Function at 0x4ac971
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4ac995
xor al, al
jmp 0x4ac9e2
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x22c], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x4ac9d1
lea eax, [ebp - 0x208]
push edi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x4ac9d7
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4ac9af
jmp 0x4ac9d9
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4acd81
Capabilities:
Hide graphical window

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test eax, eax
je 0x4acd9a
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp dword [sym.imp.KERNEL32.dll_FreeConsole]
ret
Function at 0x4b2977
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x501f7e
call fcn.00500754
push ecx
push ecx
push ebx
push esi
xor esi, esi
xor eax, eax
mov dword [ebp - 0x10], esi
mov edx, ecx
mov ebx, dword [ebp + 8]
push edi
mov edi, ebx
mov dword [ebp - 0x14], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], 1
mov cx, word [edx + 0xc]
mov eax, 0xff
and cx, ax
xor cx, word [edx + esi*2]
movzx ecx, cx
push ecx
mov ecx, ebx
call fcn.004a9ea7
mov edx, dword [ebp - 0x14]
inc esi
cmp esi, 5
jb 0x4b29b4
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4b2bd0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edx, dword [esp + 8]
mov ecx, 0x811c9dc5
push esi
push edi
mov edi, dword [esp + 0xc]
push 0
pop esi
sub edx, edi
je 0x4b2bf7
movzx eax, byte [edi + esi]
xor eax, ecx
imul ecx, eax, 0x1000193
inc esi
cmp esi, edx
jb 0x4b2be6
pop edi
mov eax, ecx
pop esi
ret 8
Function at 0x4b79a7
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x5021e8
call fcn.00500754
push ecx
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
push edi
mov dword [esi], eax
lea ecx, [esi + 0x14]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ebp - 0x14], ecx
mov dword [ecx + 0xc], ebx
push ebx
mov dword [ebp - 4], ebx
call fcn.004b7c32
xor edi, edi
inc edi
push 0x24
mov dword [ebp - 4], edi
call fcn.004ff47b
mov dword [ebp - 0x14], eax
pop ecx
mov ecx, esi
mov dword [eax + 4], 0x14
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax], vtable.std::_Root_node.0
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], ebx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 0x100
mov dword [esi + 0x38], 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov dword [esi + 0x50], 0x8775dfb
call fcn.004b7c95
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x4b887d
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x4b8a13
mov edx, 0x10000000
cmp eax, 0x7c
je 0x4b8a13
cmp eax, 0x29
jne 0x4b88e9
cmp dword [esi + 0x10], 0
jne 0x4b8a13
test dword [esi + 0x50], edx
je 0x4b8a19
cmp eax, 0x5d
jne 0x4b88c4
test dword [esi + 0x50], edx
je 0x4b89a9
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004b9507
mov bl, 1
mov ecx, esi
call fcn.004b8855
test bl, bl
je 0x4b88e5
mov ecx, esi
call fcn.004b9422
mov cl, 1
jmp 0x4b8884
cmp eax, 0x2e
jne 0x4b8901
push 5
lea ecx, [esi + 0x24]
call fcn.004b8ae0
mov ecx, esi
call fcn.004b8855
jmp 0x4b88de
cmp eax, 0x5c
jne 0x4b894d
mov ecx, esi
call fcn.004b8855
test byte [esi + 0x50], 0x80
je 0x4b8944
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x4b892d
push 4
lea ecx, [esi + 0x24]
call fcn.004b8ae0
mov ecx, esi
call fcn.004b8855
jmp 0x4b88e5
cmp al, 0x42
jne 0x4b8944
push 4
lea ecx, [esi + 0x24]
call fcn.004b8ae0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x4b8924
mov ecx, esi
call fcn.004b92bb
jmp 0x4b88de
cmp eax, 0x5b
jne 0x4b89ad
mov ecx, esi
call fcn.004b8855
lea ecx, [esi + 0x24]
call fcn.004ba4ea
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x4b897a
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.004b8855
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x4b8998
cmp eax, 0x5d
jne 0x4b8998
push eax
lea ecx, [esi + 0x24]
call fcn.004ba532
mov ecx, esi
call fcn.004b8855
mov ecx, esi
call fcn.004ba1b1
cmp dword [esi + 0x4c], 0x5d
je 0x4b88f8
push 4
jmp 0x4b8a1b
cmp eax, 0x28
jne 0x4b89cd
mov ecx, esi
call fcn.004b8855
mov ecx, esi
call fcn.004b9393
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x4b8a19
jmp 0x4b88d3
cmp eax, 0x5e
jne 0x4b89d9
push 2
jmp 0x4b891c
cmp eax, 0x24
jne 0x4b89e5
push 3
jmp 0x4b891c
cmp eax, 0x2a
je 0x4b8a0f
cmp eax, 0x2b
je 0x4b8a0f
cmp eax, 0x3f
je 0x4b8a0f
cmp eax, 0x7b
je 0x4b8a0f
cmp eax, 0x7d
jne 0x4b88b6
test dword [esi + 0x50], edx
jne 0x4b88c4
push 6
jmp 0x4b8a1b
push 0xa
jmp 0x4b8a1b
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.004b7c8a
int3

Function at 0x4bba21
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x502382
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x30]
test edi, edi
je 0x4bba52
mov ecx, edi
call fcn.004bb76f
mov ecx, edi
call fcn.004c0c52
mov edi, dword [esi + 0x34]
test edi, edi
je 0x4bba67
mov ecx, edi
call fcn.004bb76f
mov ecx, edi
call fcn.004c0c52
and dword [ebp - 4], 0
lea eax, [esi + 0x64]
push 0x4cfc00
push 2
push 0xc
push eax
call fcn.004ff738
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x4bd5a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, edx
mov edx, dword [esp + 8]
push edi
mov edi, ecx
not edx
movzx eax, byte [edi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x506408]
inc edi
sub esi, 1
jne 0x4bd5ac
pop edi
not edx
pop esi
mov eax, edx
ret
Function at 0x4bd5cb
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov edx, ebx
test edi, edi
je 0x4bd62d
mov al, byte [esi]
dec edi
inc esi
cmp al, 0x23
jne 0x4bd5f5
cmp edi, 2
jb 0x4bd5f5
cmp byte [esi], al
jne 0x4bd5f5
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x506408]
test edi, edi
jne 0x4bd5de
jmp 0x4bd634
cmp al, 0x23
jne 0x4bd61b
cmp byte [esi], al
jne 0x4bd61b
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x506408]
mov al, byte [esi]
inc esi
test al, al
jne 0x4bd60d
pop edi
not edx
pop esi
mov eax, edx
pop ebx
ret

Function at 0x4bd717
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
test ebx, ebx
je 0x4bd726
and dword [ebx], 0
mov edx, 0x50cbac
call fcn.004bd63c
mov esi, eax
test esi, esi
je 0x4bd7c0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
pop ecx
cmp ebp, 0xffffffff
je 0x4bd7b9
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x4bd7b9
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov edi, eax
pop ecx
cmp edi, 0xffffffff
je 0x4bd7b9
push 0
push ebp
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x4bd7b9
mov ecx, edi
call fcn.004c0c3a
mov ebp, eax
test ebp, ebp
je 0x4bd7b9
push esi
push edi
push 1
push ebp
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov ecx, esi
cmp eax, edi
je 0x4bd7aa
call fcn.004bd708
mov ecx, ebp
call fcn.004c0c52
jmp 0x4bd7c0
call fcn.004bd708
test ebx, ebx
je 0x4bd7b5
mov dword [ebx], edi
mov eax, ebp
jmp 0x4bd7c2
mov ecx, esi
call fcn.004bd708
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4ce912
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
cmp dword [esi + 0x5aac], 0
lea edi, [esi + 0x5ab0]
mov ecx, edi
je 0x4ce96d
push 0
call fcn.004d0591
push dword [esp + 0x10]
mov ecx, edi
push ebx
call fcn.004bdea5
mov edx, dword [edi]
mov ecx, 0x65a3ea
push dword [esi + 0x5aac]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x5ab8]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
jmp 0x4ce977
push dword [esp + 0x10]
push ebx
call fcn.004bdea5
pop edi
pop esi
pop ebx
ret

Function at 0x4cef5f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x65a600]
push esi
mov esi, ecx
push edi
and dword [eax + 0x5a44], 0
test esi, esi
je 0x4cefae
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
call fcn.004cefb2
mov edx, 0x50cbb0
mov ecx, esi
mov edi, eax
call fcn.004bd63c
mov esi, eax
test esi, esi
je 0x4cefae
push esi
push dword [ebp - 4]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
mov ecx, esi
call fcn.004bd708
pop edi
pop esi
leave
ret
Function at 0x4d65dc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
xor edi, edi
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4d65f6
mov dword [esi + 4], edi
mov dword [esi], edi
call fcn.004c0c52
mov dword [esi + 8], edi
lea ecx, [esi + 0xc]
call fcn.004d0175
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4d6613
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
call fcn.004c0c52
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x4d6634
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
call fcn.004c0c52
mov dword [esi + 0x44], edi
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x4d6649
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edi
call fcn.004c0c52
mov dword [esi + 0x50], edi
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x4d665e
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], edi
call fcn.004c0c52
mov dword [esi + 0x5c], edi
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.004d8d0e
Function at 0x4de2b1
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x65a600]
push esi
push 0x11
lea esi, [eax + 8]
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, esi
and al, 1
movzx eax, al
push eax
push 0x1000
call fcn.004bcfff
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, esi
and al, 1
movzx eax, al
push eax
push 0x2000
call fcn.004bcfff
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, esi
and al, 1
movzx eax, al
push eax
push 0x4000
call fcn.004bcfff
push 0x5d
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, esi
and al, 1
movzx eax, al
push eax
push 0x8000
call fcn.004bcfff
pop esi
ret
Function at 0x4e4e9c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x5c
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
push esi
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x78]
shl ebp, 4
push edi
mov dword [esp + 0x10], edx
add ebp, 0x50a6c0
call fcn.004e4d4d
mov edi, eax
cmp byte [edi], 0x25
jne 0x4e4ef9
mov ecx, edi
call fcn.004e4d63
mov ecx, eax
cmp byte [ecx], 0
je 0x4e4efc
sub ecx, edi
mov edx, edi
inc ecx
push 0x20
pop eax
cmp ecx, eax
cmovb eax, ecx
lea ecx, [esp + 0x48]
push eax
call fcn.004bd41d
cmp byte [esp + 0x4c], 0
lea edi, [esp + 0x4c]
pop ecx
jne 0x4e4efc
mov edi, dword [ebp + 8]
push edi
push dword [esp + 0x7c]
lea ecx, [esp + 0x30]
push dword [esp + 0x7c]
push 0x20
pop edx
call fcn.004e397b
add esp, 0xc
lea esi, [esp + 0x28]
mov al, byte [esi]
cmp al, 0x20
je 0x4e4f22
cmp al, 9
jne 0x4e4f25
inc esi
jmp 0x4e4f18
mov ebx, esi
test al, al
je 0x4e4f43
inc esi
cmp byte [esi], 0
jne 0x4e4f2b
jmp 0x4e4f3f
mov al, byte [esi - 1]
cmp al, 0x20
je 0x4e4f3e
cmp al, 9
jne 0x4e4f43
dec esi
cmp esi, ebx
ja 0x4e4f33
lea eax, [esp + 0x28]
cmp ebx, eax
je 0x4e4f5e
mov eax, esi
sub eax, ebx
push eax
lea eax, [esp + 0x2c]
push ebx
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
sub esi, ebx
mov edx, edi
mov ebx, dword [esp + 0x74]
mov ecx, ebx
mov byte [esp + esi + 0x28], 0
call fcn.004e4e63
mov esi, dword [0x65a600]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x598c]
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x10]
je 0x4e4f95
xor edx, edx
xor ecx, ecx
call fcn.004c079c
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x3e48]
mov dword [eax + 0xf0], ecx
mov dword [eax + 0xf4], edx
xor edx, edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x70]
movss xmm0, dword [eax + 8]
subss xmm0, dword [eax]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [eax + 4]
xor eax, eax
push eax
push eax
mov eax, dword [esp + 0x24]
or eax, 0x18000010
movss dword [esp + 0x20], xmm0
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x38]
push 0x20
push eax
call fcn.004e6959
mov ecx, dword [esp + 0x3c]
add esp, 0x18
cmp ecx, dword [esp + 0x10]
je 0x4e5011
mov ecx, dword [esi + 0x3e94]
mov dword [esi + 0x598c], ecx
test al, al
je 0x4e50a6
mov eax, dword [ebp]
mov ebp, dword [esp + 0x78]
push eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
push ebp
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [esp + 0x28]
mov edx, ebx
push edi
push ebp
call fcn.004e3a22
mov edi, dword [esp + 0x88]
mov esi, dword [esp + 0x8c]
pop ecx
pop ecx
test edi, edi
jne 0x4e505a
test esi, esi
je 0x4e5080
jmp 0x4e5073
test esi, esi
je 0x4e5073
push esi
mov edx, edi
mov ecx, ebx
call fcn.004e3be8
pop ecx
test eax, eax
jle 0x4e5073
mov eax, edi
mov edi, esi
mov esi, eax
push esi
push edi
mov edx, ebp
mov ecx, ebx
call fcn.004e3d10
pop ecx
pop ecx
push dword [esp + 0x24]
lea eax, [esp + 0x20]
push ebp
push eax
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
setne bl
test bl, bl
je 0x4e50a8
mov ecx, dword [esp + 0x10]
call fcn.004c0915
jmp 0x4e50a8
xor ebx, ebx
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x5c
ret
Function at 0x4f7d92
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
mov edi, eax
and edi, 7
je 0x4f7dbd
cmp eax, edi
jge 0x4f7dad
call fcn.004f77a6
mov eax, dword [esi + 0xc]
mov ecx, edi
shr eax, cl
sub dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
xor edx, edx
mov ecx, eax
test eax, eax
jle 0x4f7de0
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub ecx, 8
mov byte [ebp + edx - 4], al
inc edx
shr edi, 8
mov dword [esi + 0xc], edi
test ecx, ecx
jg 0x4f7dc8
mov dword [esi + 8], ecx
test ecx, ecx
jns 0x4f7dfd
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov dword [eax + 0xc], str.zlib_corrupt
xor eax, eax
jmp 0x4f7e91
cmp edx, 4
jge 0x4f7e1c
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x4f7e0d
xor cl, cl
jmp 0x4f7e12
mov cl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + edx - 4], cl
inc edx
cmp edx, 4
jl 0x4f7e04
mov eax, dword [ebp - 4]
movzx ecx, byte [ebp - 1]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp - 2]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
jne 0x4f7de4
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x4f7e5f
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov dword [eax + 0xc], str.read_past_buffer
jmp 0x4f7df6
mov edx, dword [esi + 0x10]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x4f7e7b
push edi
mov ecx, esi
call fcn.004f7895
pop ecx
test eax, eax
je 0x4f7df6
push edi
push dword [esi]
push dword [esi + 0x10]
call sub.VCRUNTIME140.dll_memcpy
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
leave
ret
Function at 0x4ff274
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x4ff29b
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x4ff29e
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.004ff250
pop esi
leave
ret 8

Function at 0x4ffea2
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4ffee1
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4ffee1
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4ffee1
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4ffee1
cmp dword [ecx + 0x74], 0xe
jbe 0x4ffee1
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
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 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
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 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x2d5d75e7
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..reloc
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0xb481217
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x409764
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409818
jmp 0x40980d
cmp dword [esi + 0x10], 0x1000
jne 0x4097f9
test byte [esi + 0x15], 1
jne 0x4097f9
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x4097b8
cmp eax, 2
je 0x4097b8
cmp eax, 0x10
je 0x4097b8
cmp eax, 0x20
jne 0x4097cd
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4097cd
mov bl, 1
xor ebp, ebp
jmp 0x4097de
mov eax, dword [esi]
add eax, ebp
call fcn.0040975c
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x4097d1
test bl, bl
je 0x4097f9
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409818
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409790
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x1006c657
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, dword [edx + 0x24]
sal bx, cl
cmc
cmp ax, 0xa74
cmc
add edi, eax
add ch, 0xd3
mov byte [esp], al
or ebx, 0x618e63d2
btr bx, bx
mov ebx, dword [edx + 0x20]
sub ch, bh
add ebx, eax
ror ch, 7
clc
cmc
shl ch, 5
mov dword [ebp - 8], 0
rcl ch, 5
shl ch, cl
mov ecx, dword [edx + 0x18]
test bx, 0x49d
call fcn.10070123