joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430008]
jne 0x401010
repz ret
jmp fcn.0040181d

Function at 0x4077ae
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040458e
and dword [ebp - 4], 0
cmp dword [0x432790], 0
mov ebx, eax
jne 0x40785f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407910
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407910
push eax
call fcn.0040451c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x432790], eax
call esi
push eax
call fcn.0040451c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x432794], eax
call esi
push eax
call fcn.0040451c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x432798], eax
call esi
push eax
call fcn.0040451c
pop ecx
mov dword [0x4327a0], eax
test eax, eax
je 0x40785f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040451c
pop ecx
mov dword [0x43279c], eax
mov eax, dword [0x43279c]
cmp eax, ebx
je 0x4078b7
cmp dword [0x4327a0], ebx
je 0x4078b7
push eax
call fcn.00404597
push dword [0x4327a0]
mov esi, eax
call fcn.00404597
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4078b7
test edi, edi
je 0x4078b7
call esi
test eax, eax
je 0x4078ae
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4078ae
test byte [ebp - 0xc], 1
jne 0x4078b7
or dword [ebp + 0x10], 0x200000
jmp 0x4078f0
mov eax, dword [0x432794]
cmp eax, ebx
je 0x4078f0
push eax
call fcn.00404597
pop ecx
test eax, eax
je 0x4078f0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4078f0
mov eax, dword [0x432798]
cmp eax, ebx
je 0x4078f0
push eax
call fcn.00404597
pop ecx
test eax, eax
je 0x4078f0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x432790]
call fcn.00404597
pop ecx
test eax, eax
je 0x407910
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407912
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40a920
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x271a8c4], 0x930
jne 0x40a93d
push str.gukegojigofacifiyefikaz
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
cmp dword [0x271a8c4], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x271a5e0], eax
jne 0x40a963
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
lea ecx, [ebp - 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov esp, ebp
pop ebp
ret
Function at 0x4209cb
Capabilities:
Parse pe header

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

Function at 0x433180
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4331ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4331ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x1dd2be2
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
mov eax, section..data_1
nop
mov ebx, 0x42f314
nop
mov ecx, 0x47bf1db6
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x412722
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x4186e0], 0
push ebx
push esi
mov esi, 0x4186e8
jne 0x41274e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x418700], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4186e0], 1
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x4127eb
push 0x14
push 8
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x412815
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4186e4]
test eax, eax
je 0x412790
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x4186e4], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x41281a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x412815
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x407204
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x421060]
jne 0x40720e
repz ret
jmp fcn.00408536

Function at 0x40769c
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x421060]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x328], 0
push ebx
push 0x4c
lea eax, [ebp - 0x324]
push 0
push eax
call fcn.0040a2b0
lea eax, [ebp - 0x328]
mov dword [ebp - 0x2d8], eax
lea eax, [ebp - 0x2d0]
add esp, 0xc
mov dword [ebp - 0x2d4], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
lea ecx, [ebp + 4]
mov dword [ebp - 0x2d0], 0x10001
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x20c], ecx
mov ecx, dword [ecx - 4]
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x328], 0xc0000417
mov dword [ebp - 0x324], 1
mov dword [ebp - 0x31c], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x2d8]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x4077a5
test ebx, ebx
jne 0x4077a5
push 2
call fcn.0040a29f
pop ecx
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00407204
leave
ret

Function at 0x4077c4
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [0x422680]
call fcn.0040a3a5
pop ecx
test eax, eax
je 0x4077dc
pop ebp
jmp eax
push 2
call fcn.0040a29f
pop ecx
pop ebp
jmp fcn.0040769c
Function at 0x408536
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
add esp, 0xfffffcd8
mov dword [0x4227a8], eax
mov dword [0x4227a4], ecx
mov dword [0x4227a0], edx
mov dword [0x42279c], ebx
mov dword [0x422798], esi
mov dword [0x422794], edi
mov word [0x4227c0], ss
mov word [0x4227b4], cs
mov word [0x422790], ds
mov word [0x42278c], es
mov word [0x422788], fs
mov word [0x422784], gs
pushfd
pop dword [0x4227b8]
mov eax, dword [ebp]
mov dword [0x4227ac], eax
mov eax, dword [ebp + 4]
mov dword [0x4227b0], eax
lea eax, [ebp + 8]
mov dword [0x4227bc], eax
mov eax, dword [ebp - 0x320]
mov dword [0x4226f8], 0x10001
mov eax, dword [0x4227b0]
mov dword [0x4226ac], eax
mov dword [0x4226a0], 0xc0000409
mov dword [0x4226a4], 1
mov eax, dword [0x421060]
mov dword [ebp - 0x328], eax
mov eax, dword [0x421064]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x4226f0], eax
push 1
call fcn.0040a29f
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x4193e0
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x4226f0], 0
jne 0x408628
push 1
call fcn.0040a29f
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret
Function at 0x40a73a
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
mov esi, esi
push edi
push esi
mov edi, str.KERNEL32.DLL
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x40a755
push edi
call fcn.00409d4c
pop ecx
mov esi, eax
test esi, esi
je 0x40a8bd
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.FlsAlloc
push esi
call edi
push str.FlsGetValue
push esi
mov dword [0x422e74], eax
call edi
push str.FlsSetValue
push esi
mov dword [0x422e78], eax
call edi
push str.FlsFree
push esi
mov dword [0x422e7c], eax
call edi
cmp dword [0x422e74], 0
mov edi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [0x422e80], eax
je 0x40a7be
cmp dword [0x422e78], 0
je 0x40a7be
cmp dword [0x422e7c], 0
je 0x40a7be
test eax, eax
jne 0x40a7e2
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [0x422e78], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [0x422e74], 0x40a417
mov dword [0x422e7c], edi
mov dword [0x422e80], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x4213d4], eax
cmp eax, 0xffffffff
je 0x40a8c2
push dword [0x422e78]
push eax
call edi
test eax, eax
je 0x40a8c2
call fcn.0040a036
push dword [0x422e74]
call fcn.0040a32a
push dword [0x422e78]
mov dword [0x422e74], eax
call fcn.0040a32a
push dword [0x422e7c]
mov dword [0x422e78], eax
call fcn.0040a32a
push dword [0x422e80]
mov dword [0x422e7c], eax
call fcn.0040a32a
add esp, 0x10
mov dword [0x422e80], eax
call fcn.00408ebf
test eax, eax
je 0x40a8bd
push 0x40a60b
push dword [0x422e74]
call fcn.0040a3a5
pop ecx
call eax
mov dword [0x4213d0], eax
cmp eax, 0xffffffff
je 0x40a8bd
push 0x214
push 1
call fcn.0040ea8c
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x40a8bd
push edi
push dword [0x4213d0]
push dword [0x422e7c]
call fcn.0040a3a5
pop ecx
call eax
test eax, eax
je 0x40a8bd
push 0
push edi
call fcn.0040a491
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
or dword [edi + 4], 0xffffffff
mov dword [edi], eax
xor eax, eax
inc eax
jmp 0x40a8c4
call fcn.0040a454
xor eax, eax
pop esi
pop edi
ret
Function at 0x40cba9
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x422fd8]
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push edi
xor ebx, ebx
xor edi, edi
cmp eax, ebx
jne 0x40cbf5
call esi
mov edi, eax
cmp edi, ebx
je 0x40cbdb
mov dword [0x422fd8], 1
jmp 0x40cbfe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x40cbf0
push 2
pop eax
mov dword [0x422fd8], eax
jmp 0x40cbf5
mov eax, dword [0x422fd8]
cmp eax, 1
jne 0x40cc7f
cmp edi, ebx
jne 0x40cc11
call esi
mov edi, eax
cmp edi, ebx
jne 0x40cc11
xor eax, eax
jmp 0x40ccdb
mov eax, edi
cmp word [edi], bx
je 0x40cc26
inc eax
inc eax
cmp word [eax], bx
jne 0x40cc18
inc eax
inc eax
cmp word [eax], bx
jne 0x40cc18
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
sub eax, edi
push ebx
sar eax, 1
inc eax
push eax
push edi
push ebx
push ebx
mov dword [ebp - 0xc], eax
call esi
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x40cc74
push eax
call fcn.0040ea47
pop ecx
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x40cc74
push ebx
push ebx
push dword [ebp - 8]
push eax
push dword [ebp - 0xc]
push edi
push ebx
push ebx
call esi
test eax, eax
jne 0x40cc71
push dword [ebp - 4]
call fcn.00408a98
pop ecx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
jmp 0x40ccdb
cmp eax, 2
je 0x40cc88
cmp eax, ebx
jne 0x40cc0a
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov esi, eax
cmp esi, ebx
je 0x40cc0a
cmp byte [esi], bl
je 0x40cca6
inc eax
cmp byte [eax], bl
jne 0x40cc9c
inc eax
cmp byte [eax], bl
jne 0x40cc9c
sub eax, esi
inc eax
push eax
mov dword [ebp - 8], eax
call fcn.0040ea47
mov edi, eax
pop ecx
cmp edi, ebx
jne 0x40ccc5
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
jmp 0x40cc0a
push dword [ebp - 8]
push esi
push edi
call fcn.0040b670
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40ec80
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x40ec96
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40ec92
xor edx, edx
mov ecx, 0x10b
cmp word [eax + 0x18], cx
sete dl
mov eax, edx
pop ebp
ret

Function at 0x40ecc0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x40ecfd
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x40ecf5
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x40ecff
inc edx
add eax, 0x28
cmp edx, esi
jb 0x40ece5
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x40f01e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push ebx
push edi
call fcn.0040a39c
and dword [ebp - 4], 0
cmp dword [0x423014], 0
mov esi, eax
jne 0x40f0cf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40f180
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call ebx
test eax, eax
je 0x40f180
push eax
call fcn.0040a32a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x423014], eax
call ebx
push eax
call fcn.0040a32a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x423018], eax
call ebx
push eax
call fcn.0040a32a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42301c], eax
call ebx
push eax
call fcn.0040a32a
pop ecx
mov dword [0x423024], eax
test eax, eax
je 0x40f0cf
push str.GetProcessWindowStation
push edi
call ebx
push eax
call fcn.0040a32a
pop ecx
mov dword [0x423020], eax
mov eax, dword [0x423020]
cmp eax, esi
je 0x40f127
cmp dword [0x423024], esi
je 0x40f127
push eax
call fcn.0040a3a5
push dword [0x423024]
mov ebx, eax
call fcn.0040a3a5
pop ecx
pop ecx
mov edi, eax
test ebx, ebx
je 0x40f127
test edi, edi
je 0x40f127
call ebx
test eax, eax
je 0x40f11e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40f11e
test byte [ebp - 0xc], 1
jne 0x40f127
or dword [ebp + 0x10], 0x200000
jmp 0x40f160
mov eax, dword [0x423018]
cmp eax, esi
je 0x40f160
push eax
call fcn.0040a3a5
pop ecx
test eax, eax
je 0x40f160
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40f160
mov eax, dword [0x42301c]
cmp eax, esi
je 0x40f160
push eax
call fcn.0040a3a5
pop ecx
test eax, eax
je 0x40f160
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x423014]
call fcn.0040a3a5
pop ecx
test eax, eax
je 0x40f180
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40f182
xor eax, eax
pop edi
pop ebx
pop esi
leave
ret

Function at 0x41271a
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov eax, dword [0x421060]
xor eax, ebp
mov dword [ebp - 4], eax
push 6
lea eax, [ebp - 0xc]
push eax
push 0x1004
push dword [ebp + 8]
mov byte [ebp - 6], 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x41274d
or eax, 0xffffffff
jmp 0x412757
lea eax, [ebp - 0xc]
push eax
call fcn.0041294c
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407204
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x405c95
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43eaa4], 0
push esi
jne 0x405ccc
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 0x405ca6
mov dword [ecx*4 + 0x43eaa0], eax
inc ecx
cmp ecx, 0x100
jl 0x405ca1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405cfd
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 + 0x43eaa0]
xor eax, esi
inc ecx
dec edx
jne 0x405cdf
pop edi
not eax
pop esi
ret 0xc

Function at 0x401000
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x401029
mov al, byte [esi + 1]
inc esi
test al, al
je 0x401021
cmp al, 0x22
jne 0x401015
cmp byte [esi], 0x22
jne 0x401033
inc esi
jmp 0x401033
cmp al, 0x20
jle 0x401033
inc esi
cmp byte [esi], 0x20
jg 0x40102d
mov al, byte [esi]
test al, al
je 0x40103d
cmp al, 0x20
jle 0x401026
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004018d4
push 0x404004
push section..data
call fcn.004018ba
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x40106d
movzx eax, word [ebp - 0x14]
jmp 0x401070
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.00401123
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10003710
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100575ae
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100754f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x10077024], edi
mov dword [edi], vtable.CAppManager.0
mov byte [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0xf
mov dword [ebp - 4], 0
mov byte [edi + 0x10], 0
lea eax, [edi + 0x30]
mov dword [edi + 0x28], 0
push eax
mov dword [edi + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea esi, [edi + 0x48]
mov byte [ebp - 4], 2
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10005f30
mov dword [esi], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10004e60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057801
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x100754f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 4], 0
je 0x10004ea2
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
cmp byte [0x10077028], 0
mov byte [esi + 4], 1
jne 0x10004ee7
lea eax, [ebp - 0x10]
mov byte [0x10077028], 1
push eax
push str.openaddin
push dword [0x10075010]
mov dword [ebp - 0x10], 0
push SysReAllocString
call fcn.100149c0
xor eax, eax
add esp, 0x10
cmp dword [ebp - 0x10], 1
sete al
mov dword [0x1007702c], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x1005b6b8
push dword [0x10075010]
push SysReAllocString
call fcn.100149c0
mov eax, dword [ebp - 0x14]
inc eax
push eax
push 0x1005b6b8
push dword [0x10075010]
push SysReAllocString
call fcn.10015b70
push 0x240
call fcn.10033b5a
add esp, 0x24
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x10004f45
mov ecx, eax
call fcn.1001bdf0
jmp 0x10004f47
xor eax, eax
push 4
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 8], eax
call fcn.10033b5a
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x10004f72
mov ecx, eax
call fcn.1001ba20
jmp 0x10004f74
xor eax, eax
cmp byte [ebp + 8], 0
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0xc], eax
je 0x10004fa1
lea eax, [esi + 0x2c]
push eax
push 0
push esi
push 0x10006580
push 0
push 0
call fcn.1003948b
add esp, 0x18
mov dword [esi + 0x28], eax
jmp 0x10004fa9
mov ecx, dword [esi + 8]
call fcn.10022d20
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4