joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1287130
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push eax
push 0x40
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x1287153
mov eax, 1
jmp 0x128725e
mov edx, dword [ebp + 8]
movzx eax, word [edx]
cmp eax, 0x5a4d
jne 0x1287169
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 0
jne 0x1287173
mov eax, 2
jmp 0x128725e
mov edx, dword [ebp + 0x10]
push edx
push 0xf8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x40
push edx
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x128719e
mov eax, 1
jmp 0x128725e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0x4550
jne 0x12871c4
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x58]
cmp edx, 0x10b
jne 0x12871c4
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x46]
test ecx, ecx
jne 0x12871ce
mov eax, 2
jmp 0x128725e
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x46]
imul eax, eax, 0x28
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x140], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x140]
push eax
call fcn.01299610
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x138], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x138], 0
jne 0x128720f
mov eax, 3
jmp 0x128725e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x54]
lea ecx, [ecx + eax + 0x18]
mov edx, dword [ebp + 8]
mov dword [edx + 0x13c], ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x140]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x13c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x138]
push eax
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x128725c
mov eax, 1
jmp 0x128725e
xor eax, eax
pop ebp
ret

Function at 0x1287c00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x1287c16
xor eax, eax
jmp 0x1287c56
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0x4550
jne 0x1287c3b
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x18]
cmp eax, 0x10b
je 0x1287c3f
xor eax, eax
jmp 0x1287c56
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x78]
push ecx
call fcn.01287c60
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x129a350
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x129a380
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
jne 0x129a393
xor eax, eax
jmp 0x129a451
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x129a3ae
xor eax, eax
jmp 0x129a451
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0x4550
je 0x129a3cc
xor eax, eax
jmp 0x129a451
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x78]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], 0
jmp 0x129a40e
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x18]
jae 0x129a44f
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax*4]
push edx
call fcn.01299630
add esp, 8
test eax, eax
jne 0x129a44d
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x129a451
jmp 0x129a405
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x407d70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473aed
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x48d028]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
push 4
lea ecx, [ebp - 0x14]
call fcn.00407fb0
mov eax, dword [ebp + 8]
push eax
call fcn.00407d60
add esp, 4
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.004080c0
add esp, 8
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x14]
call fcn.00408140
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00408010
mov dword [ebp - 0x24], 0x408180
mov eax, dword [ebp - 0x18]
add eax, 4
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.00408000
push eax
mov ecx, dword [ebp - 0x24]
push ecx
push 0
push 0
call fcn.00433799
add esp, 0x18
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
je 0x407e1c
lea ecx, [ebp - 0x14]
call fcn.00407fd0
jmp 0x407e2d
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 4], 0
push 6
call fcn.004086ea
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00408010
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00424f45
mov esp, ebp
pop ebp
ret 4

Function at 0x40a100
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x40a121
jl 0x40a118
test edi, edi
jne 0x40a121
xor eax, eax
xor edx, edx
jmp 0x40a1e2
cmp dword [ebx + 0x38], 0
je 0x40a136
push eax
push edi
push dword [ebp + 8]
call fcn.0040a1e8
jmp 0x40a1e2
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40a17d
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x40a17d
cmp eax, edi
jb 0x40a157
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.00426b00
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x40a183
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x40a1d7
mov ecx, ebx
call fcn.00409731
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x40a1c2
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0044640c
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x40a1d7
jmp 0x40a195
test edx, edx
je 0x40a1d7
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0044640c
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc
Function at 0x40a2d7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x40a2f9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040a3bc
jmp 0x40a3b7
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
test ecx, ecx
je 0x40a31f
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x40a324
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov eax, ecx
cdq
mov dword [ebp - 4], eax
mov ecx, edx
mov dword [ebp - 8], ecx
test edi, edi
jl 0x40a384
jg 0x40a339
test esi, esi
je 0x40a384
test ecx, ecx
jl 0x40a37f
jg 0x40a343
test eax, eax
je 0x40a37f
cmp edi, ecx
jg 0x40a355
jl 0x40a34d
cmp esi, eax
jae 0x40a355
mov eax, esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], edi
push eax
push dword [ebp + 8]
push dword [ebp - 0x10]
call fcn.00426b00
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [ebp - 8]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x40a387
mov ecx, dword [ebp + 8]
jmp 0x40a391
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x40a3ab
jg 0x40a391
test esi, esi
je 0x40a3ab
cmp dword [ebx + 0x4c], 0
je 0x40a3ab
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00446b5a
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x425993
Capabilities:
Parse pe header

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

Function at 0x45ed3d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045e935

Function at 0x46435f
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00464233

Function at 0x466ba5
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00466563

Function at 0x472730
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x47275d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x47275d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x404de0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x83c
mov eax, dword [esp + 0x840]
mov edx, dword [eax]
push ebx
push ebp
mov ebp, dword [0x43d768]
push esi
push edi
mov edi, dword [eax + 4]
mov eax, dword [0x43d76c]
xor ebx, ebx
mov dword [esp + 0x34], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], 0x9e3779b9
call fcn.00404db0
mov ecx, dword [0x43d770]
mov eax, dword [0x43d774]
add dword [esp + 0x14], 0x23f
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], 0x20
mov dword [esp + 0x1c], 2
add dword [esp + 0x1c], 3
mov eax, dword [0x6fd7f4]
mov ecx, edx
shl ecx, 4
add ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
cmp eax, 0xfa9
jne 0x404e75
mov dword [0x6fd7f0], 0xedeb2e40
jmp 0x404e82
cmp eax, 0x3eb
jne 0x404e82
mov dword [0x6fa6f8], ebx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
add dword [esp + 0x20], eax
mov ecx, dword [esp + 0x1c]
shr edx, cl
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x24]
mov dword [0x6fd7ec], 0xf4ea3dee
mov dword [esp + 0x24], edx
call fcn.00404dc0
mov eax, dword [esp + 0x20]
xor dword [esp + 0x10], eax
mov esi, dword [esp + 0x24]
xor esi, dword [esp + 0x10]
cmp dword [0x6fd7f4], 0x213
jne 0x404f15
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x2c]
push ecx
push ebx
push ebx
push ebx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.KERNEL32.dll_GetWriteWatch]
lea edx, [esp + 0x4c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
lea eax, [esp + 0x44]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
sub edi, esi
mov eax, edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], edi
call fcn.00404da0
add dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x14]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
nop
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov esi, edi
shr esi, 5
add esi, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
xor dword [esp + 0x10], eax
cmp dword [0x6fd7f4], 0x121
jne 0x404f71
push ebx
push ebx
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
mov ecx, dword [esp + 0x10]
xor ecx, esi
lea eax, [esp + 0x28]
mov dword [esp + 0x10], ecx
call fcn.00404dd0
mov eax, dword [esp + 0x30]
sub dword [esp + 0x14], eax
sub dword [esp + 0x2c], 1
mov edx, dword [esp + 0x28]
jne 0x404e43
mov eax, dword [esp + 0x850]
mov dword [eax + 4], edi
pop edi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0x83c
ret 4
Function at 0x404fc0
Capabilities:
Delete file
Enumerate gui resources

Disassembly:
mov eax, 0x1c3c
call fcn.00416870
mov eax, dword [0x6fd7f4]
mov ecx, dword [0x6fa6fc]
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x40514b
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateActCtxA]
mov esi, dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp dword [0x6fd7f4], 0x959
jne 0x405131
push 0
push 0
call edi
push 0
lea eax, [esp + 0x84c]
push eax
push 0x4036ec
call ebx
lea ecx, [esp + 0x28]
push ecx
call ebp
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x44c]
push eax
push 0x403718
call dword [sym.imp.KERNEL32.dll_DnsHostnameToComputerNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x104c]
push edx
push 0
push 0x403724
push 0x403740
push 0x40377c
call dword [sym.imp.KERNEL32.dll_SearchPathA]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push 0
lea eax, [esp + 0x28]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push 0
push 0
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push 0
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0
lea edx, [esp + 0x144c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0
push 0
call esi
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommState]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommTimeouts]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
push 0
push 0x403794
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
push 0
push 0x40379c
push 0x4037c8
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
push 0
push 0
push 0
call esi
mov eax, dword [esp + 0x14]
push eax
call fcn.00404de0
add dword [esp + 0x14], 8
sub dword [esp + 0x18], 1
jne 0x405004
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c3c
ret
Function at 0x40909d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43c208]
jne 0x4090a7
repz ret
jmp fcn.00410ebc

Function at 0x414ab1
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.0040e568
and dword [ebp - 4], 0
cmp dword [0x43fa30], 0
mov ebx, eax
jne 0x414b62
push 0x402db0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x414c13
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402da4
push edi
call esi
test eax, eax
je 0x414c13
push eax
call fcn.0040e4f6
mov dword [esp], 0x402d94
push edi
mov dword [0x43fa30], eax
call esi
push eax
call fcn.0040e4f6
mov dword [esp], 0x402d80
push edi
mov dword [0x43fa34], eax
call esi
push eax
call fcn.0040e4f6
mov dword [esp], 0x402d64
push edi
mov dword [0x43fa38], eax
call esi
push eax
call fcn.0040e4f6
pop ecx
mov dword [0x43fa40], eax
test eax, eax
je 0x414b62
push 0x402d4c
push edi
call esi
push eax
call fcn.0040e4f6
pop ecx
mov dword [0x43fa3c], eax
mov eax, dword [0x43fa3c]
cmp eax, ebx
je 0x414bba
cmp dword [0x43fa40], ebx
je 0x414bba
push eax
call fcn.0040e571
push dword [0x43fa40]
mov esi, eax
call fcn.0040e571
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x414bba
test edi, edi
je 0x414bba
call esi
test eax, eax
je 0x414bb1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x414bb1
test byte [ebp - 0xc], 1
jne 0x414bba
or dword [ebp + 0x10], 0x200000
jmp 0x414bf3
mov eax, dword [0x43fa34]
cmp eax, ebx
je 0x414bf3
push eax
call fcn.0040e571
pop ecx
test eax, eax
je 0x414bf3
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x414bf3
mov eax, dword [0x43fa38]
cmp eax, ebx
je 0x414bf3
push eax
call fcn.0040e571
pop ecx
test eax, eax
je 0x414bf3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43fa30]
call fcn.0040e571
pop ecx
test eax, eax
je 0x414c13
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x414c15
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b460
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4273d4]
jne 0x40b46a
repz ret
jmp fcn.004117ac

Function at 0x41745c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4273d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040edd2
and dword [ebp - 0x14], 0
cmp dword [0x519e0c], 0
mov dword [ebp - 0x18], eax
jne 0x41750f
push 0x4037dc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4175b7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4037d0
push ebx
call edi
test eax, eax
je 0x4175b7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4037c0
push ebx
mov dword [0x519e0c], eax
call edi
push eax
call esi
push 0x4037ac
push ebx
mov dword [0x519e10], eax
call edi
push eax
call esi
push 0x403790
push ebx
mov dword [0x519e14], eax
call edi
push eax
call esi
mov dword [0x519e1c], eax
test eax, eax
je 0x41750f
push 0x403778
push ebx
call edi
push eax
call esi
mov dword [0x519e18], eax
mov eax, dword [0x519e18]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x417568
cmp dword [0x519e1c], ecx
je 0x417568
push eax
call esi
push dword [0x519e1c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x417568
test ebx, ebx
je 0x417568
call edi
test eax, eax
je 0x41755f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41755f
test byte [ebp - 8], 1
jne 0x417568
or dword [ebp + 0x10], 0x200000
jmp 0x41759b
mov eax, dword [0x519e10]
cmp eax, dword [ebp - 0x18]
je 0x41759b
push eax
call esi
test eax, eax
je 0x41759b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41759b
mov eax, dword [0x519e14]
cmp eax, dword [ebp - 0x18]
je 0x41759b
push eax
call esi
test eax, eax
je 0x41759b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x519e0c]
call esi
test eax, eax
je 0x4175b7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4175b9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b460
leave
ret
Function at 0x41f760
Capabilities:
Delete directory
Delete file
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1400
call fcn.0041e920
cmp dword [0x8bab90], 0x37
jne 0x41f7f1
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0x404418
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea eax, [esp + 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x404438
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapePosition]
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
lea edx, [esp + 0xc04]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov eax, dword [0x8bab94]
mov edx, dword [0x8b7000]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1400
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x41f993
Capabilities:
Parse pe header

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

Function at 0x432150
Capabilities:
Parse pe header

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

Function at 0x401686
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404474], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4041cf], ebp
mov dword [0x404404], eax
mov dword [0x4041c7], eax
mov dword [0x4043f0], 0x30
mov dword [0x4043f4], 2
jmp 0x4016c6
mov dword [0x4043f8], 0x403051
mov dword [0x4043fc], 0
mov dword [0x404400], 0
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x40440c], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x404408], eax
mov dword [0x40441c], eax
mov dword [0x404418], 0x40439a
mov dword [0x404410], 0xf
push 0x4043f0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4041c7]
push 0
push 0
push 0x1e0
push 0x1fe
push 0xfffff862
push 0xfffff8f8
push 0xcf0000
push 0x4043e7
push str.lunt
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404468], eax
push 5
push dword [0x404468]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404468]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404420]
jmp 0x40179a
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x40178c
mov eax, dword [0x404428]
jmp 0x4017b5
call 0x402a06
ret