joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433faa
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x433fe7
cmp dword [ebp + 0x14], edi
je 0x433fe7
cmp ecx, edi
jne 0x433fee
call fcn.00434a26
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.004376cb
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x434002
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x434023
cmp ebx, 0xffffffff
je 0x434012
push ebx
push edi
push ecx
call fcn.00430590
add esp, 0xc
cmp esi, edi
je 0x433fcf
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x433fcf
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x43403f
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x434046
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x434137
test word [esi + 0xc], 0x10c
je 0x43409a
mov eax, dword [esi + 4]
test eax, eax
je 0x43409a
jl 0x434198
cmp ebx, eax
mov edi, ebx
jb 0x43406b
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x43413f
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004300c3
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x43412f
cmp ebx, dword [ebp - 0xc]
jb 0x434107
cmp dword [ebp - 0xc], 0
je 0x4340c4
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x4340b9
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x4340c0
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x4340cf
mov eax, SysReAllocString
cmp ebx, eax
ja 0x4340cf
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x43416b
push eax
push dword [ebp - 8]
push esi
call fcn.0043548d
pop ecx
push eax
call fcn.0043edea
add esp, 0xc
test eax, eax
je 0x4341aa
cmp eax, 0xffffffff
je 0x434198
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x43412f
push esi
call fcn.0043cf78
cmp eax, 0xffffffff
pop ecx
je 0x43419c
cmp dword [ebp - 4], 0
je 0x43416b
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x43404e
mov eax, dword [ebp + 0x14]
jmp 0x433fe9
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x434156
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00430590
add esp, 0xc
call fcn.00434a26
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x433fdf
cmp dword [ebp + 0xc], 0xffffffff
je 0x434181
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00430590
add esp, 0xc
call fcn.00434a26
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x433fdf
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x433fe9
or dword [esi + 0xc], 0x10
jmp 0x43419c
Function at 0x435fc7
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x463f90]
je 0x435fe2
inc edi
cmp edi, 0x17
jb 0x435fd3
cmp edi, 0x17
jae 0x436162
push ebp
push 3
call fcn.00441d5f
cmp eax, 1
pop ecx
je 0x43612e
push 3
call fcn.00441d5f
test eax, eax
pop ecx
jne 0x436016
cmp dword [0x463b48], 1
je 0x43612e
cmp ebx, 0xfc
je 0x436161
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x467a10
push ebp
call fcn.00441cfa
add esp, 0xc
test eax, eax
je 0x43604c
push esi
push esi
push esi
push esi
push esi
call fcn.004375cf
add esp, 0x14
push 0x104
mov esi, 0x467a29
push esi
push 0
mov byte [0x467b2d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x436090
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00441cfa
add esp, 0xc
test eax, eax
je 0x436090
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004375cf
add esp, 0x14
push esi
call fcn.00430bd0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4360d5
push esi
call fcn.00430bd0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x467d24
push 0x4508ec
sub ecx, eax
push ecx
push eax
call fcn.00441c47
add esp, 0x14
test eax, eax
je 0x4360d5
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004375cf
add esp, 0x14
jmp 0x4360d7
xor esi, esi
push 0x4508e8
push ebx
push ebp
call fcn.00441bd6
add esp, 0xc
test eax, eax
je 0x4360f7
push esi
push esi
push esi
push esi
push esi
call fcn.004375cf
add esp, 0x14
push dword [edi*8 + 0x463f94]
push ebx
push ebp
call fcn.00441bd6
add esp, 0xc
test eax, eax
je 0x436119
push esi
push esi
push esi
push esi
push esi
call fcn.004375cf
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00441a19
add esp, 0xc
jmp 0x436161
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x436161
cmp ebp, 0xffffffff
je 0x436161
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x463f94]
push dword [esi]
call fcn.00430bd0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x441a19
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00436b8b
xor ebx, ebx
cmp dword [0x46851c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x441aef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x441bcf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x441bcf
push eax
call fcn.00436b1d
mov dword [esp], 0x450d00
push edi
mov dword [0x46851c], eax
call esi
push eax
call fcn.00436b1d
mov dword [esp], 0x450cec
push edi
mov dword [0x468520], eax
call esi
push eax
call fcn.00436b1d
mov dword [0x468524], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043093e
test eax, eax
pop ecx
pop ecx
je 0x441abd
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004375cf
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x441aef
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00436b1d
cmp eax, ebx
pop ecx
mov dword [0x46852c], eax
je 0x441aef
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00436b1d
pop ecx
mov dword [0x468528], eax
mov eax, dword [0x468528]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x441b74
cmp dword [0x46852c], ecx
je 0x441b74
push eax
call fcn.00436b94
push dword [0x46852c]
mov esi, eax
call fcn.00436b94
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x441b74
cmp edi, ebx
je 0x441b74
call esi
cmp eax, ebx
je 0x441b41
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x441b41
test byte [ebp - 0x18], 1
jne 0x441b74
lea eax, [ebp - 0x10]
push eax
call fcn.00430975
test eax, eax
pop ecx
je 0x441b5c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004375cf
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x441b6b
or dword [ebp + 0x10], 0x200000
jmp 0x441baf
or dword [ebp + 0x10], 0x40000
jmp 0x441baf
mov eax, dword [0x468520]
cmp eax, dword [ebp - 8]
je 0x441baf
push eax
call fcn.00436b94
cmp eax, ebx
pop ecx
je 0x441baf
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x441baf
mov eax, dword [0x468524]
cmp eax, dword [ebp - 8]
je 0x441baf
push eax
call fcn.00436b94
cmp eax, ebx
pop ecx
je 0x441baf
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46851c]
call fcn.00436b94
cmp eax, ebx
pop ecx
je 0x441bcf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x441bd1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44701a
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x463e00]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00446faf
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00430590
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x447069
cmp dword [ebp - 0x1c], 5
jb 0x447081
jmp 0x44707d
cmp dword [ebp - 0x10], 1
jne 0x447081
cmp dword [ebp - 0x1c], 4
ja 0x44707d
jne 0x447081
cmp dword [ebp - 0x18], 0
jbe 0x447081
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x451d3c
call fcn.00446ea0
test eax, eax
jge 0x4470a2
mov byte [0x468908], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043013e
add ebp, 0x78
leave
ret
Function at 0x401110
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401129
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401164
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401160
lea ebx, [ebx]
cmp esi, eax
jae 0x401164
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401150
cmp esi, eax
jb 0x40116a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x402e20
Capabilities:
Check os version

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x402ec4
push 0x94
mov edi, 1
call fcn.00444707
mov esi, eax
add esp, 4
test esi, esi
je 0x402f37
push 0x94
push 0
push esi
call fcn.004447d0
add esp, 0xc
push esi
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esi + 4]
cmp eax, 4
jne 0x402e85
push esi
lea edi, [eax + 1]
call fcn.0044462a
add esp, 4
mov eax, edi
pop edi
pop esi
ret
cmp eax, 5
jne 0x402f2e
cmp dword [esi + 8], 0
jne 0x402ea5
push esi
lea edi, [eax + 1]
call fcn.0044462a
add esp, 4
mov eax, edi
pop edi
pop esi
ret
cmp eax, 5
jne 0x402f2e
cmp dword [esi + 8], edi
jne 0x402f2e
push esi
lea edi, [eax + 2]
call fcn.0044462a
add esp, 4
mov eax, edi
pop edi
pop esi
ret
cmp al, 4
jae 0x402ecd
pop edi
xor eax, eax
pop esi
ret
push 0x94
mov edi, 2
call fcn.00444707
mov esi, eax
add esp, 4
test esi, esi
je 0x402f37
push 0x94
push 0
push esi
call fcn.004447d0
add esp, 0xc
push esi
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esi + 4]
cmp eax, 4
jne 0x402f2e
cmp dword [esi + 8], 0xa
jne 0x402f21
push esi
lea edi, [eax - 1]
call fcn.0044462a
add esp, 4
mov eax, edi
pop edi
pop esi
ret
cmp eax, 4
jne 0x402f2e
cmp dword [esi + 8], 0x5a
jne 0x402f2e
mov edi, eax
push esi
call fcn.0044462a
add esp, 4
mov eax, edi
pop edi
pop esi
ret
Function at 0x402f40
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x484904]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
lea ecx, [esp + 0x28]
push ecx
push 0x64
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
cmp byte [esp + 0x28], 0
mov dword [edi], 0
lea esi, [esp + 0x28]
je 0x40301d
lea esp, [esp]
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x402fa8
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
jne 0x402fff
movsx edx, byte [esi]
push edx
call fcn.00444603
add esp, 4
cmp eax, 0x41
je 0x402fff
movsx eax, byte [esi]
push eax
call fcn.00444603
mov ecx, dword [edi]
mov edx, dword [esp + 0x10]
add esp, 4
mov byte [edx + ecx], al
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [edi]
shrd ecx, edx, 0x14
shr edx, 0x14
mov dword [ebx + eax*8], ecx
mov dword [ebx + eax*8 + 4], edx
add dword [edi], 1
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403004
sub eax, edx
cmp byte [esi + eax + 1], cl
lea esi, [esi + eax + 1]
jne 0x402f90
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00443aa9
mov esp, ebp
pop ebp
ret
Function at 0x4038c0
Capabilities:
Create process on windows
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x45dd88
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x484904]
xor eax, esp
mov dword [esp + 0x258], eax
push esi
mov eax, dword [0x484904]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
sub esp, 0xc
lea eax, [esp + 0x280]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
mov dword [esp + 0x27c], 0
call fcn.0041f330
lea esi, [esp + 0x28]
call fcn.00403350
mov eax, dword [eax + 4]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, esi
call fcn.0041f1d0
mov ecx, dword [esp + 0x278]
push ecx
lea edx, [esp + 0x70]
push 0x1f4
push edx
call fcn.00444415
push 0x44
lea eax, [esp + 0x38]
push 0
push eax
call fcn.004447d0
mov cx, word [esp + 0x298]
add esp, 0x18
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0x20
push 1
push 0
mov word [esp + 0x74], cx
push 0
lea ecx, [esp + 0x8c]
push ecx
push 0
mov dword [esp + 0x50], 0x44
mov dword [esp + 0x7c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4039c3
lea ecx, [esp + 0x274]
mov dword [esp + 0x26c], 0xffffffff
call fcn.0041f1d0
mov eax, 0xbeb95
jmp 0x4039fd
mov edx, dword [esp + 0xc]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov esi, dword [esp + 8]
lea ecx, [esp + 0x274]
mov dword [esp + 0x26c], 0xffffffff
call fcn.0041f1d0
mov eax, esi
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.00443aa9
add esp, 0x268
ret
Function at 0x403a30
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x45ddc8
mov eax, dword fs:[0]
push eax
sub esp, 0x710
mov eax, dword [0x484904]
xor eax, esp
mov dword [esp + 0x70c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x484904]
xor eax, esp
push eax
lea eax, [esp + 0x724]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
push str._Start_Menu_
mov dword [esp + 0x740], ebx
call fcn.0041f3f0
lea ecx, [esp + 0x744]
call fcn.0041f290
cmp eax, ebx
jg 0x403bd0
mov eax, dword [esp + 0x738]
push eax
lea ecx, [esp + 0x530]
push 0x1f4
push ecx
call fcn.00444415
lea edx, [esp + 0x538]
push edx
lea eax, [esp + 0x348]
push 0x1f4
push eax
call fcn.00444415
lea eax, [esp + 0x350]
add esp, 0x18
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x403ae0
sub eax, edx
cmp eax, 4
jl 0x403bd0
mov cx, word [esp + 0x338]
mov dl, byte [esp + 0x33a]
push 0x467770
lea eax, [esp + 0x1c]
push 0x12c
push eax
mov word [esp + 0x150], cx
mov byte [esp + 0x152], dl
mov byte [esp + 0x153], bl
xor esi, esi
call fcn.00444415
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0xc
cmp byte [esp + 0x33b], bl
je 0x403ba7
lea edi, [esp + 0x33b]
mov al, byte [edi]
cmp al, 0x5c
jne 0x403b99
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x148]
push 0x1f4
push edx
mov byte [esp + esi + 0x24], bl
call fcn.0044447a
add esp, 0xc
push ebx
lea eax, [esp + 0x148]
push eax
call ebp
push 0x4678e4
lea ecx, [esp + 0x148]
push 0x1f4
push ecx
call fcn.0044447a
add esp, 0xc
xor esi, esi
mov byte [esp + 0x18], bl
jmp 0x403ba0
mov byte [esp + esi + 0x18], al
add esi, 1
add edi, 1
cmp byte [edi], bl
jne 0x403b48
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x148]
push 0x1f4
push eax
mov byte [esp + esi + 0x24], bl
call fcn.0044447a
add esp, 0xc
push ebx
lea ecx, [esp + 0x148]
push ecx
call ebp
lea ecx, [esp + 0x734]
mov dword [esp + 0x72c], 0xffffffff
call fcn.0041f1d0
mov ecx, dword [esp + 0x724]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70c]
xor ecx, esp
call fcn.00443aa9
add esp, 0x71c
ret
Function at 0x40b200
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x45f21b
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x484904]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
push 0x20
call fcn.00426a95
add esp, 4
mov dword [esp + 0x14], eax
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x54], ebp
je 0x40b24a
mov ecx, eax
call fcn.0041ff60
mov esi, eax
jmp 0x40b24c
xor esi, esi
push esi
push 9
push 1
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x2c], esp
push 0x16
push eax
mov dword [esp + 0x74], 0xffffffff
call fcn.0040cb30
add esp, 8
mov ecx, 0x491520
call fcn.00419db0
push 0x467770
lea ecx, [esp + 0x20]
call fcn.0041f3f0
cmp dword [esi + 0x1c], ebp
mov dword [esp + 0x54], 1
mov dword [esp + 0x14], ebp
jle 0x40b395
test ebp, ebp
jl 0x40b3c4
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esi + 0x10]
jge 0x40b3c4
mov eax, dword [esi + 0xc]
add eax, ebp
push eax
lea ecx, [esp + 0x20]
call fcn.0041f3c0
sub esp, 0xc
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0041f330
lea eax, [esp + 0x34]
push eax
call fcn.00403c40
add esp, 0x10
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 2
call fcn.0041f3c0
lea ecx, [esp + 0x28]
mov byte [esp + 0x54], 1
call fcn.0041f1d0
push 0x467d6c
lea ecx, [esp + 0x38]
push ecx
sub esp, 0xc
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.0041f330
lea edi, [esp + 0x54]
call fcn.0040a2c0
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x5c], 3
call fcn.0041f620
mov ecx, eax
mov byte [esp + 0x58], 4
call fcn.0041f200
lea ecx, [esp + 0x34]
mov bl, al
mov byte [esp + 0x54], 3
call fcn.0041f1d0
mov ecx, edi
mov byte [esp + 0x54], 1
call fcn.0041f1d0
test bl, bl
push 5
je 0x40b36b
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x40b37e
mov ecx, dword [esp + 0x24]
push 0
push 0
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esp + 0x14]
add eax, 1
add ebp, 0xc
cmp eax, dword [esi + 0x1c]
mov dword [esp + 0x14], eax
jl 0x40b29a
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], 0xffffffff
call fcn.0041f1d0
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
jmp fcn.00428114
Function at 0x411e40
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xc
push esi
push eax
call fcn.00411d50
mov esi, eax
test esi, esi
je 0x411f30
push ebx
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
call edi
push eax
call fcn.00411930
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
mov dword [esp + 0x18], eax
call ebp
push esi
call edi
test eax, eax
jne 0x411e84
mov dword [esp + 0x10], eax
jmp 0x411e99
cmp dword [eax], 0x28
jne 0x411e8e
mov ebx, dword [eax + 4]
jmp 0x411e92
movzx ebx, word [eax + 4]
push esi
call ebp
mov dword [esp + 0x10], ebx
push esi
call edi
test eax, eax
jne 0x411ea4
xor ebx, ebx
jmp 0x411eb5
cmp dword [eax], 0x28
jne 0x411eae
mov ebx, dword [eax + 8]
jmp 0x411eb2
movzx ebx, word [eax + 6]
push esi
call ebp
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
mov ebp, dword [sym.imp.GDI32.dll_SelectPalette]
mov dword [ecx], edx
mov ecx, dword [esp + 0x14]
push 0
mov dword [eax], ebx
mov edx, dword [edi + 4]
push ecx
push edx
call ebp
mov dword [esp + 0x18], eax
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_RealizePalette]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push 0
push 0
push 0
push esi
push ebx
push ecx
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.00411cb0
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 4]
push 1
push edx
push eax
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x14]
test eax, eax
pop edi
pop ebp
pop ebx
je 0x411f30
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
pop esi
add esp, 0xc
ret

Function at 0x4128a0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x164
mov eax, dword [0x484904]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push 0
push 0
mov esi, ecx
mov eax, dword [esi + 0x20]
push 0x1108
push eax
call ebx
push eax
call fcn.00433476
test eax, eax
je 0x4128df
lea ecx, [esi + 0x5c]
call fcn.00433437
push 0x4001
push 0x160
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x467ca0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
jne 0x412927
push 0x2e
push str.Cannot_retrieve_the_Handle_of_SystemImageList_
lea ecx, [esi + 0x58]
call fcn.00401bc0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.00443aa9
add esp, 0x164
ret
push edi
lea edi, [esi + 0x5c]
push eax
mov ecx, edi
call fcn.0043349e
test eax, eax
jne 0x412960
push 0x24
push str.Cannot_Attach_SystemImageList_Handle
lea ecx, [esi + 0x58]
call fcn.00401bc0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.00443aa9
add esp, 0x164
ret
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.USER32.dll_DestroyIcon]
test edi, edi
je 0x412972
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x20]
push edi
push 0
push 0x1109
push eax
call ebx
push eax
call fcn.00433476
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00443aa9
add esp, 0x164
ret
Function at 0x4131f0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x84
mov eax, dword [0x484904]
xor eax, esp
mov dword [esp + 0x80], eax
push edi
push 0xffff0000
push 0
mov edi, ecx
mov eax, dword [edi + 0x20]
push 0x1101
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 4]
push ecx
push 0x80
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
jne 0x413258
push 0x23
push str.Error_Getting_Logical_DriveStrings_
lea ecx, [edi + 0x58]
call fcn.00401bc0
xor eax, eax
pop edi
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.00443aa9
add esp, 0x84
ret
cmp byte [esp + 4], 0
push esi
lea esi, [esp + 8]
je 0x4132b9
push ebx
push esi
push 0xffff0000
mov ecx, edi
call fcn.00412b40
push esi
mov ecx, edi
mov ebx, eax
call fcn.00412dd0
test eax, eax
je 0x41329e
push 0xffff0002
push ebx
push 0
push 0
push 0
push 0
push 0
push 0x467770
push 0x23
mov ecx, edi
call fcn.0043319e
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4132a3
sub eax, edx
cmp byte [esi + eax + 1], cl
lea esi, [esi + eax + 1]
jne 0x413265
pop ebx
mov ecx, dword [esp + 0x88]
pop esi
pop edi
xor ecx, esp
mov eax, 1
call fcn.00443aa9
add esp, 0x84
ret