joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413b5c
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x413b64
push ecx
push ebx
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x413d02
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x20]
mov al, 1
call fcn.0040da2c
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 8]
mov ecx, 0x413d18
call fcn.00404478
lea eax, [ebp - 0x18]
mov edx, 0x413d30
call fcn.00404220
push 0
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.00412eac
lea eax, [ebp - 0x1c]
mov edx, 0x413d40
call fcn.00404220
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404220
lea eax, [ebp - 0x10]
call fcn.0040d8a8
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.0040d8b8
cmp byte [ebp - 1], 0
je 0x413c32
lea eax, [ebp - 0x1c]
call fcn.00404188
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0040739c
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0xc]
call fcn.00404220
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.0040739c
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x10]
call fcn.00404220
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
call fcn.0040739c
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
call fcn.00404220
lea eax, [ebp - 0x18]
mov edx, 0x413d4c
call fcn.00404220
push dword [ebp - 0x18]
push 0x413d60
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push 0x413d70
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004044ec
push dword [ebp - 0x18]
push 0x413d7c
push 0x413d70
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004044ec
test bl, bl
je 0x413ca3
push dword [ebp - 0x18]
push 0x413da0
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
push 0x413d70
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004044ec
push dword [ebp - 0x18]
push 0x413d60
push dword [ebp - 0x1c]
push dword [ebp - 0xc]
push dword [ebp - 0x1c]
push 0x413d70
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004044ec
push 0
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.00412eac
push 0
mov eax, dword [ebp - 8]
call fcn.0040462c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413d09
lea eax, [ebp - 0x2c]
mov edx, 0xa
call fcn.004041ac
ret

Function at 0x4171c4
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov esi, ecx
mov edi, edx
mov dword [esp], eax
xor ebp, ebp
test esi, esi
jbe 0x417247
mov ebx, 1
mov edx, 0x10000
mov eax, esi
call fcn.0040c754
mov dword [esp + 4], eax
push 0
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, edi
call fcn.00404684
lea eax, [eax + ebx - 1]
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.kernel32.dll_ReadFile_1
test eax, eax
jne 0x417216
or ebp, 0xffffffff
add ebx, dword [esp + 8]
sub esi, dword [esp + 8]
call fcn.0040ce24
cmp ebp, 0xffffffff
je 0x417233
mov eax, dword [edi]
call fcn.0040442c
cmp ebx, eax
jle 0x4171dd
mov eax, dword [edi]
call fcn.0040442c
cmp ebx, eax
jle 0x417247
mov eax, dword [edi]
call fcn.0040442c
mov ebp, eax
mov eax, ebp
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x417e9c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x41807d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x422be4], 0
jne 0x41804b
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x38
call fcn.00402d2c
mov bl, 0x43
lea esi, [ebp - 0x50]
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404354
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x18]
mov ecx, 0x418094
call fcn.00404478
mov eax, dword [ebp - 0x18]
call fcn.0040462c
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x417fb4
lea eax, [ebp - 0x10]
mov ecx, 0x4180a0
mov edx, dword [ebp - 0x18]
call fcn.00404478
mov eax, dword [ebp - 0x10]
call fcn.00406ee0
test al, al
je 0x417f68
push dword [ebp - 0x10]
push 0x4180b0
push 0
push 0x2710
push 0
push 0x186a0
lea eax, [ebp - 0x58]
call fcn.0040c774
push dword [ebp - 0x58]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004044ec
mov eax, dword [ebp - 0x10]
call fcn.00406f04
lea eax, [ebp - 0x14]
mov ecx, 0x4180c0
mov edx, dword [ebp - 0x10]
call fcn.00404478
push 0
push 0
xor ecx, ecx
mov edx, 0x4180d4
mov eax, dword [ebp - 0x14]
call fcn.00412eac
mov eax, dword [ebp - 0x14]
call fcn.00406ed0
test al, al
je 0x417faa
mov eax, dword [ebp - 0x10]
call fcn.00413190
fstp qword [esi]
wait
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.00413944
inc ebx
add esi, 8
cmp bl, 0x46
jne 0x417eed
lea edx, [ebp - 0x60]
mov al, 1
call fcn.0040da2c
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.00406b30
mov eax, dword [ebp - 0x5c]
mov dl, byte [eax]
mov byte [ebp - 9], dl
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov bl, 0x43
lea ecx, [ebp - 0x50]
fld qword [ecx]
fcomp qword [ebp - 8]
fnstsw ax
sahf
jbe 0x418003
mov eax, dword [ecx]
mov dword [ebp - 8], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 4], eax
mov byte [ebp - 9], bl
inc ebx
add ecx, 8
cmp bl, 0x46
jne 0x417feb
cmp dl, byte [ebp - 9]
je 0x41804b
lea eax, [ebp - 0x64]
mov dl, byte [ebp - 9]
call fcn.00404354
mov edx, dword [ebp - 0x64]
mov eax, 0x422be4
mov ecx, 0x4180e0
call fcn.00404478
mov eax, dword [0x422be4]
call fcn.00406ee0
test al, al
je 0x41804b
mov eax, 0x422be4
mov edx, 0x4180b0
call fcn.00404434
cmp dword [0x422be4], 0
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x418084
lea eax, [ebp - 0x64]
mov edx, 5
call fcn.004041ac
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004041ac
ret
Function at 0x41bbfc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040461c
xor eax, eax
push ebp
push 0x41bc7d
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call fcn.0040d7f4
test al, al
je 0x41bc38
mov dl, byte [ebp - 5]
mov eax, dword [ebp - 4]
call fcn.0041b2bc
jmp 0x41bc43
mov dl, byte [ebp - 5]
mov eax, dword [ebp - 4]
call fcn.0041b018
test eax, eax
je 0x41bc67
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
push 0
push esi
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41bc84
lea eax, [ebp - 4]
call fcn.00404188
ret
Function at 0x41e524
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x41e5ca
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x422c68], 0
jg 0x41e5af
lea eax, [ebp - 0xc]
call fcn.00418e88
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 0x41e5e0
call fcn.00404478
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00402820
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00407258
push dword [ebp - 0x10]
lea edx, [ebp - 0x18]
mov eax, dword [0x422d28]
mov eax, dword [eax]
call fcn.00412860
push dword [ebp - 0x18]
push dword [ebp - 4]
lea eax, [ebp - 8]
mov edx, 3
call fcn.004044ec
push 0
mov eax, dword [ebp - 8]
call fcn.0040462c
push eax
call sub.kernel32.dll_WinExec
push 0
call sub.user32.dll_PostQuitMessage
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e5d1
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004041ac
ret
Function at 0x41effc
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, eax
push 0x46
push 0x14
push 0x154
push 0x12
push ebx
push 0
mov eax, dword [0x423660]
push eax
push 0
mov edx, 0x41f0a8
mov eax, 0x41f0ac
mov ecx, 0x50000000
call fcn.00405d1c
mov dword [0x4238c8], eax
push 0x50000000
push 0x46
push 0x26
push 0x154
push 0xd
push ebx
push 0
mov eax, dword [0x423660]
push eax
push 0
mov edx, 0x41f0b4
xor ecx, ecx
xor eax, eax
call fcn.00405cc4
mov dword [0x4238c4], eax
push 0
push 0x3e8
push 1
push ebx
call sub.user32.dll_SetTimer
mov dword [0x4238cc], eax
push 0x41f0c8
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xd
call sub.gdi32.dll_CreateFontA
push 0
push eax
push 0x30
mov eax, dword [0x4238c8]
push eax
call sub.user32.dll_SendMessageA
pop ebx
ret
Function at 0x41f228
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x41f3e1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, 0x41f3f8
call fcn.0040df2c
test eax, eax
jl 0x41f260
neg eax
mov dword [0x422c74], eax
call sub.comctl32.dll_InitCommonControls
lea eax, [ebp - 0x54]
xor ecx, ecx
mov edx, 0x28
call fcn.00402d2c
mov dword [ebp - 0x50], 0x41f140
mov eax, dword [0x423660]
mov dword [ebp - 0x44], eax
mov eax, dword [0x422c58]
call fcn.0040462c
mov dword [ebp - 0x30], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebp - 0x3c], eax
push 0x41f404
mov eax, dword [0x423660]
push eax
call sub.user32.dll_LoadIconA
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x54], 8
lea eax, [ebp - 0x54]
push eax
call sub.user32.dll_RegisterClassA
mov ebx, 0x1b8
mov esi, 0x6e
push 0
call sub.user32.dll_GetSystemMetrics
mov edi, eax
sub edi, ebx
sar edi, 1
jns 0x41f2de
adc edi, 0
push 1
call sub.user32.dll_GetSystemMetrics
sub eax, esi
sar eax, 1
jns 0x41f2ee
adc eax, 0
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x2c80000
lea eax, [ebp - 0x58]
call fcn.0040d8a8
mov ecx, dword [ebp - 0x58]
mov dl, 1
mov eax, dword [0x411e1c]
call fcn.004124e4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x41f418
mov edx, 0x41f43c
mov eax, dword [ebp - 0x10]
call fcn.00412b3c
mov eax, dword [ebp - 8]
push eax
push edi
mov eax, dword [ebp - 4]
push eax
push ebx
push esi
push 0
push 0
mov eax, dword [0x423660]
push eax
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040462c
push eax
mov eax, dword [0x422c58]
call fcn.0040462c
mov edx, eax
xor eax, eax
pop ecx
call fcn.00405cc4
mov dword [0x4238c0], eax
cmp dword [0x4238c0], 0
je 0x41f39e
push 0
mov eax, dword [0x4238c0]
push eax
call sub.user32.dll_ShowWindow
jmp 0x41f38b
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_DispatchMessageA
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_GetMessageA
test eax, eax
jne 0x41f379
push 1
mov eax, dword [0x4238c0]
push eax
call sub.user32.dll_KillTimer
mov al, 1
call fcn.0041a0f0
call fcn.0041a0c0
xor edx, edx
mov eax, 0x2b
call fcn.0041bcd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f3e8
lea eax, [ebp - 0x58]
call fcn.00404188
lea eax, [ebp - 0xc]
call fcn.00404188
ret
Function at 0x41f604
Capabilities:
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x41f60c
push ecx
push ebx
xor eax, eax
push ebp
push 0x41f826
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, 0x41f83c
call fcn.0040dd4c
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x422cf4]
call fcn.00404d84
mov edx, 0x41f84c
call fcn.00404848
pop edx
call fcn.00404848
call fcn.004030b0
cmp byte [0x422c5c], 0
je 0x41f80b
call fcn.0041f440
test al, al
je 0x41f692
lea edx, [ebp - 0x14]
mov eax, 0x41f83c
call fcn.0040dd4c
mov eax, dword [ebp - 0x14]
mov edx, 0x41f86c
call fcn.00404578
jne 0x41f80b
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00402820
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0xc]
call fcn.004072e0
lea edx, [ebp - 0x1c]
mov eax, dword [0x422d28]
mov eax, dword [eax]
call fcn.00412860
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0040d300
test al, al
je 0x41f80b
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x422cf4]
call fcn.00404d84
mov edx, 0x41f878
call fcn.00404848
call fcn.004030b0
push 0
push 0
mov eax, 0x41f898
call fcn.0040df2c
imul eax, eax, 0x3e8
call fcn.0040ce78
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.00402820
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00407258
push dword [ebp - 0x20]
push 0x41f8a8
push dword [ebp - 0xc]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004044ec
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040462c
push eax
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.00402820
mov eax, dword [ebp - 0x28]
call fcn.0040462c
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 4]
call fcn.00404188
lea edx, [ebp - 8]
mov eax, 0x41f8b4
call fcn.0040dd4c
cmp dword [ebp - 8], 0
je 0x41f77f
lea eax, [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, 0x41f8c8
call fcn.00404478
lea edx, [ebp - 8]
mov eax, 0x41f8e0
call fcn.0040dd4c
cmp dword [ebp - 8], 0
je 0x41f7a2
lea eax, [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, 0x41f8f0
call fcn.00404478
push 0
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00404478
mov eax, dword [ebp - 0x2c]
call fcn.0040462c
push eax
call sub.kernel32.dll_WinExec
call fcn.004027c0
test eax, eax
jle 0x41f80b
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
add ebx, 0xbb8
mov eax, 0xc8
call fcn.0040ce78
mov eax, dword [ebp - 0xc]
call fcn.0041b754
test al, al
jne 0x41f80b
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
cmp edx, dword [esp + 4]
jne 0x41f807
cmp eax, dword [esp]
pop edx
pop eax
jae 0x41f7d6
jmp 0x41f80b
pop edx
pop eax
jge 0x41f7d6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f82d
lea eax, [ebp - 0x2c]
mov edx, 0xb
call fcn.004041ac
ret
Function at 0x403140
Capabilities:
Enumerate gui resources
Get disk information

Disassembly:
mov eax, 0x1024
call fcn.0040f560
mov eax, dword [0x4cb344]
mov ecx, dword [0x4c8250]
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x40325d
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x4cb344], 0x959
jne 0x403243
call esi
push 0
lea eax, [esp + 0x834]
push eax
push 0
call edi
push 0
push 0
call ebx
push 0
push 0
lea ecx, [esp + 0x38]
push ecx
call ebp
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
lea edx, [esp + 0x2c]
push edx
push 0
lea eax, [esp + 0x438]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapQueryInformation]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
xor eax, eax
lea ecx, [esp + 0x18]
push ecx
push eax
push eax
push eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
push 0
push 0x402c80
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov edx, dword [esp + 0x10]
push edx
call fcn.00402fa0
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x403184
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1024
ret
Function at 0x408d00
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45e580]
jne 0x408d0a
repz ret
jmp fcn.0040c1c3

Function at 0x40b703
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.00406c44
and dword [ebp - 4], 0
cmp dword [0x460db4], 0
mov ebx, eax
jne 0x40b7b4
push 0x401b5c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b865
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401b50
push edi
call esi
test eax, eax
je 0x40b865
push eax
call fcn.00406bd2
mov dword [esp], 0x401b40
push edi
mov dword [0x460db4], eax
call esi
push eax
call fcn.00406bd2
mov dword [esp], 0x401b2c
push edi
mov dword [0x460db8], eax
call esi
push eax
call fcn.00406bd2
mov dword [esp], 0x401b10
push edi
mov dword [0x460dbc], eax
call esi
push eax
call fcn.00406bd2
pop ecx
mov dword [0x460dc4], eax
test eax, eax
je 0x40b7b4
push 0x401af8
push edi
call esi
push eax
call fcn.00406bd2
pop ecx
mov dword [0x460dc0], eax
mov eax, dword [0x460dc0]
cmp eax, ebx
je 0x40b80c
cmp dword [0x460dc4], ebx
je 0x40b80c
push eax
call fcn.00406c4d
push dword [0x460dc4]
mov esi, eax
call fcn.00406c4d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b80c
test edi, edi
je 0x40b80c
call esi
test eax, eax
je 0x40b803
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b803
test byte [ebp - 0xc], 1
jne 0x40b80c
or dword [ebp + 0x10], 0x200000
jmp 0x40b845
mov eax, dword [0x460db8]
cmp eax, ebx
je 0x40b845
push eax
call fcn.00406c4d
pop ecx
test eax, eax
je 0x40b845
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b845
mov eax, dword [0x460dbc]
cmp eax, ebx
je 0x40b845
push eax
call fcn.00406c4d
pop ecx
test eax, eax
je 0x40b845
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x460db4]
call fcn.00406c4d
pop ecx
test eax, eax
je 0x40b865
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b867
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403a7d
Capabilities:
Allocate or change rwx memory
Read .ini file

Disassembly:
mov eax, 0x447aa3
call fcn.004479b0
sub esp, 0x178
push ebx
push esi
mov eax, 0xb2d3b
add dword [0x487314], eax
xor ebx, ebx
cmp dword [0x487314], 0x20a
jne 0x403b10
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push ebx
call dword [sym.imp.USER32.dll_ChildWindowFromPoint]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
lea eax, [ebp - 0x184]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x402c08
push ebx
push 0x402c2c
push 0x402c54
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
call fcn.00403030
lea eax, [ebp - 0x3c]
call fcn.00403d39
push ebx
mov dword [ebp - 4], ebx
call fcn.00404bce
push ebx
push ebx
push ebx
call fcn.004051cd
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea edi, [ebp - 0x3c]
call fcn.00403d5e
pop edi
xor eax, eax
cmp eax, 0xf027935
jg 0x403b21
inc eax
cmp eax, 0x736251e2
jl 0x403b12
push 0x45ab08
mov byte [0x45ab0d], 0x6c
mov byte [0x45ab0f], 0x32
mov byte [0x45ab10], 0x2e
mov byte [0x45ab0b], 0x6e
mov byte [0x45ab0c], 0x65
mov byte [0x45ab11], 0x64
mov byte [0x45ab0e], 0x33
mov byte [0x45ab12], 0x6c
mov byte [0x45ab13], 0x6c
mov byte [0x45ab14], bl
mov byte [0x45ab08], 0x6b
mov byte [0x45ab09], 0x65
mov byte [0x45ab0a], 0x72
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push dword [0x487314]
mov dword [0x487284], eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 0x10]
push ecx
push 0x40
push dword [0x487314]
mov dword [0x487280], eax
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x45503c]
xor esi, esi
mov dword [0x4873ec], eax
cmp dword [0x487314], ebx
jbe 0x403c12
mov eax, dword [0x4873ec]
mov dword [ebp - 0x14], eax
mov eax, 0xb2d3b
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov al, byte [eax + esi]
mov ecx, dword [0x487280]
mov byte [ecx + esi], al
cmp dword [0x487314], 0x44
jne 0x403c09
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalCompact]
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
inc esi
cmp esi, dword [0x487314]
jb 0x403bc4
call fcn.004039c0
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
cmp esi, 0x770e
jne 0x403c36
call fcn.00403a57
inc esi
cmp esi, 0x286c535
jl 0x403c19
push 0x7b
pop esi
cmp dword [0x487314], 0xd
jne 0x403c77
push 0x30
lea eax, [ebp - 0x6c]
push ebx
push eax
mov dword [ebp - 0x70], ebx
call fcn.00405d70
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigW]
push 0x402c98
call dword [sym.imp.KERNEL32.dll_lstrlenW]
dec esi
jne 0x403c42
call fcn.00403a71
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4059ab
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x454168]
jne 0x4059b5
repz ret
jmp fcn.0040c75c
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
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
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
call 0x43100c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219