joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b7c0
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
sub esp, 0x324
lea ebp, [esp - 4]
mov eax, dword [0x4d7590]
xor eax, ebp
mov dword [ebp + 0x324], eax
push 0xc
mov eax, 0x4a181d
call fcn.00437e40
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp]
push edi
push eax
call fcn.00436ec0
add esp, 0xc
lea eax, [ebp]
push eax
mov dword [ebp], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor esi, esi
inc esi
test eax, eax
je 0x40b81f
cmp dword [ebp + 4], 6
jne 0x40b81f
cmp dword [ebp + 8], esi
jb 0x40b81f
mov eax, esi
jmp 0x40b8a2
push edi
push 0x25
lea eax, [ebp + 0x11c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.0041a7e3
push eax
lea ecx, [ebp - 0x14]
call fcn.00401bb0
lea eax, [ebp + 0x11c]
push eax
lea eax, [ebp - 0x14]
push 0x4ab95c
push eax
mov dword [ebp - 4], edi
call fcn.00402b23
add esp, 0xc
push 0x4ab940
lea ecx, [ebp - 0x14]
call fcn.0040294a
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edi
call fcn.0040b4cb
add esp, 0xc
test eax, eax
je 0x40b898
mov eax, dword [ebp - 0x10]
shr eax, 0x10
cmp ax, 6
jne 0x40b898
cmp word [ebp - 0x10], si
jb 0x40b898
mov edi, esi
lea ecx, [ebx - 0x10]
call fcn.00401111
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x324]
xor ecx, ebp
call fcn.00436eab
add ebp, 0x328
leave
ret

Function at 0x412221
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x4122b1
push esi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
je 0x4122b0
push edi
push esi
call fcn.0041862b
mov edi, eax
pop ecx
cmp edi, ebx
je 0x4122af
push edi
push esi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4122a8
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push 0x4ae120
push edi
mov dword [ebp + 8], ebx
mov dword [ebp - 4], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4122a8
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0xa]
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 0x10]
and ecx, 0xffff
mov dword [edx], ecx
movzx ecx, word [eax + 0xe]
mov edx, dword [ebp + 0x14]
mov dword [edx], ecx
movzx eax, word [eax + 0xc]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
inc ebx
push edi
call fcn.00418636
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x412c2f
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0x238
mov eax, 0x4a236d
call fcn.00437ea9
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
and dword [ebp - 0x3c], 0
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x38], eax
test esi, esi
je 0x412c99
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412c99
lea eax, [ebp - 0x13c]
push esi
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x140], eax
call fcn.00401bd5
push dword [ebp - 0x140]
mov dword [ebp - 0x3c], 1
call fcn.00499630
pop ecx
mov byte [ebp - 0x2d], 0
test eax, eax
jne 0x412c9d
mov byte [ebp - 0x2d], 1
test byte [ebp - 0x3c], 1
je 0x412cbd
lea eax, [ebp - 0x13c]
cmp dword [ebp - 0x140], eax
je 0x412cbd
push dword [ebp - 0x140]
call fcn.00437108
pop ecx
cmp byte [ebp - 0x2d], 0
jne 0x412d4c
push esi
call fcn.00499500
pop ecx
test eax, eax
jne 0x412d4c
xor edi, edi
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 7
call fcn.0040157c
lea eax, [ebp - 0x2c]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.004031b9
pop ecx
pop ecx
test al, al
je 0x412d3d
lea eax, [ebp - 0x240]
push esi
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x244], eax
call fcn.00401bd5
mov esi, dword [ebp - 0x244]
call fcn.00499520
push eax
push esi
call fcn.00499530
lea eax, [ebp - 0x240]
pop ecx
pop ecx
cmp dword [ebp - 0x244], eax
je 0x412d3d
push dword [ebp - 0x244]
call fcn.00437108
pop ecx
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401d9e
xor eax, eax
jmp 0x412d5e
push dword [ebp + 0x1c]
push dword [ebp - 0x38]
push dword [ebp - 0x34]
push esi
push ebx
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.00437f2c
ret
Function at 0x4134e9
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
sub esp, 0x468
lea ebp, [esp - 4]
mov eax, dword [0x4d7590]
xor eax, ebp
mov dword [ebp + 0x468], eax
push 0x98
mov eax, 0x4a24cb
call fcn.00437e40
mov eax, dword [ebp + 0x474]
push str.kernel32.dll
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
mov ebx, str.Module32FirstW
mov edi, str.Module32NextW
test eax, eax
je 0x41356d
push 0x4ae3e4
push eax
call esi
push ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
call esi
push edi
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
call esi
cmp dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], eax
je 0x413564
cmp dword [ebp - 0x14], 0
jne 0x4135b8
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.tlhelp32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4135b1
push 0x4ae3e4
push eax
call esi
push ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
call esi
push edi
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
call esi
cmp dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], eax
je 0x4135a8
cmp dword [ebp - 0x14], 0
jne 0x4135b8
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x413712
push dword [ebp + 0x478]
push 8
call dword [ebp - 0x18]
mov esi, eax
cmp esi, 0xffffffff
je 0x4136f5
push 0
lea ecx, [ebp + 0x428]
mov dword [ebp + 0x440], 0xf
call fcn.00401560
lea ecx, [ebp + 0x444]
call fcn.004125b1
and dword [ebp - 4], 0
lea eax, [ebp]
push eax
push esi
mov dword [ebp], 0x428
call dword [ebp - 0x14]
neg eax
sbb eax, eax
neg eax
je 0x4136e3
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa4], eax
push 3
lea eax, [ebp + 0x220]
push eax
lea ecx, [ebp - 0xa4]
call fcn.004124b1
push dword [ebp - 0xa4]
lea ecx, [ebp + 0x428]
mov byte [ebp - 4], 1
call fcn.00402c56
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0
cmp dword [ebp - 0xa4], eax
je 0x413662
push dword [ebp - 0xa4]
call fcn.00437108
pop ecx
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa4], eax
push 3
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0xa4]
call fcn.004124b1
push dword [ebp - 0xa4]
lea ecx, [ebp + 0x444]
mov byte [ebp - 4], 2
call fcn.00402c56
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0
cmp dword [ebp - 0xa4], eax
je 0x4136b2
push dword [ebp - 0xa4]
call fcn.00437108
pop ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x20]
mov dword [ebp + 0x460], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x464], eax
lea eax, [ebp + 0x428]
push eax
call fcn.00413496
lea eax, [ebp]
push eax
push esi
call dword [ebp - 0x1c]
test eax, eax
jne 0x41360f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 0x428]
call fcn.00412665
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
xor eax, eax
sar ecx, 6
cmp eax, ecx
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x468]
xor ecx, ebp
call fcn.00436eab
add ebp, 0x46c
leave
ret
Function at 0x417c40
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x4d7590]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
xor edi, edi
cmp ebx, edi
jne 0x417c63
or eax, 0xffffffff
jmp 0x417d08
push 0x80
push edi
push ebx
call fcn.00436ec0
add esp, 0xc
xor ecx, ecx
push esi
movsx eax, byte [ecx + str.91__]
mov esi, dword [ebp + 0xc]
dec eax
mov edx, eax
sar edx, 3
movsx edx, byte [edx + esi]
and eax, 7
test dword [eax*4 + 0x4d5df8], edx
setne al
mov byte [ebp + ecx - 0x3c], al
inc ecx
cmp ecx, 0x38
jl 0x417c75
movsx eax, byte [edi + 0x4d5b98]
xor ecx, ecx
xor edx, edx
cmp ecx, 0x1c
setge dl
mov esi, eax
dec edx
and edx, 0xffffffe4
add edx, 0x38
cmp eax, edx
jl 0x417cc1
lea esi, [eax - 0x1c]
mov dl, byte [ebp + esi - 0x3c]
mov byte [ebp + ecx - 0x74], dl
inc ecx
inc eax
cmp ecx, 0x38
jl 0x417ca9
xor ecx, ecx
movsx eax, byte [ecx + 0x4d5ba8]
cmp byte [ebp + eax - 0x75], 0
je 0x417cf9
mov eax, ecx
cdq
push 6
pop esi
idiv esi
mov edx, dword [edx*4 + 0x4d5df8]
lea eax, [eax + edi*8]
add eax, ebx
sar edx, 2
or byte [eax], dl
inc ecx
cmp ecx, 0x30
jl 0x417cd2
inc edi
cmp edi, 0x10
jl 0x417ca0
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00436eab
leave
ret

Function at 0x417ef0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4d7590]
xor eax, ebp
mov dword [ebp - 4], eax
xor ecx, ecx
xor eax, eax
movsx edx, byte [eax + 0x4d5dd8]
dec edx
cmp edx, ecx
je 0x417f18
inc eax
cmp eax, 0x20
jl 0x417f04
jmp 0x417f1c
mov byte [ebp + ecx - 0x24], al
inc ecx
cmp ecx, 0x20
jl 0x417f02
and dword [ebp - 0x28], 0
push ebx
lea eax, [ebp - 0x24]
push esi
mov dword [ebp - 0x30], eax
mov eax, dword [0x4dc010]
push edi
xor edx, edx
mov dword [ebp - 0x2c], eax
mov eax, edx
sar eax, 1
mov ecx, edx
and ecx, 1
shl ecx, 4
and eax, 0xf
or eax, ecx
mov ecx, edx
and ecx, 0x20
or eax, ecx
mov ecx, dword [ebp - 0x28]
movsx eax, byte [ecx + eax + 0x4d5bd8]
xor edi, edi
xor esi, esi
push 8
pop ebx
mov ecx, esi
sar ebx, cl
test eax, ebx
je 0x417f7e
mov ecx, dword [ebp - 0x30]
movsx ebx, byte [ecx + esi]
push 0x1f
pop ecx
sub ecx, ebx
xor ebx, ebx
inc ebx
shl ebx, cl
or edi, ebx
inc esi
cmp esi, 4
jl 0x417f60
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0x2c], 4
inc edx
cmp edx, 0x40
mov dword [eax], edi
jl 0x417f39
add dword [ebp - 0x28], 0x40
add dword [ebp - 0x30], 4
cmp dword [ebp - 0x28], 0x200
mov eax, dword [ebp - 0x2c]
jl 0x417f34
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00436eab
leave
ret
Function at 0x418100
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov esi, 0x800
push esi
mov dword [0x4dc00c], ebx
call fcn.0043a6bc
mov edi, eax
pop ecx
mov dword [0x4dc010], edi
test edi, edi
je 0x41818e
call fcn.00417ef0
cmp ebx, 1
je 0x41818e
push esi
call fcn.0043a6bc
pop ecx
mov dword [0x4dc008], eax
test eax, eax
jne 0x41814b
push edi
call fcn.00437108
pop ecx
or eax, 0xffffffff
jmp 0x418190
push 0x4d5ae0
push eax
call fcn.00417e7c
push esi
call fcn.0043a6bc
add esp, 0xc
mov dword [0x4dc004], eax
test eax, eax
jne 0x418181
push dword [0x4dc010]
call fcn.00437108
push dword [0x4dc008]
call fcn.00437108
pop ecx
jmp 0x418145
push 0x4d5b20
push eax
call fcn.00417e7c
pop ecx
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x41c23d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x41c285
call fcn.004198d1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41c285
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41c2c8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x41c2b1
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41c2b1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41c2c5
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x422608
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x42264f
call fcn.004198d1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42264f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x42266b
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00422180
mov esi, eax
test edi, edi
je 0x422669
test ebx, ebx
je 0x422669
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x423039
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4a287d
call fcn.00437e40
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x42305e
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4230a4
lea ecx, [ebp - 0x10]
call fcn.00418b38
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00418794
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401111
mov eax, esi
call fcn.00437f18
ret 8

Function at 0x423de4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x423e08
cmp dword [edi + 0x54], 0
jne 0x423e08
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004198d1
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00423da5
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x436eab
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d7590]
jne 0x436eb5
repz ret
jmp fcn.0043fff4
Function at 0x447712
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.0043deac
and dword [ebp - 4], 0
cmp dword [0x4deaa0], 0
mov ebx, eax
jne 0x4477c3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x447874
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x447874
push eax
call fcn.0043de3a
mov dword [esp], 0x4b419c
push edi
mov dword [0x4deaa0], eax
call esi
push eax
call fcn.0043de3a
mov dword [esp], 0x4b4188
push edi
mov dword [0x4deaa4], eax
call esi
push eax
call fcn.0043de3a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4deaa8], eax
call esi
push eax
call fcn.0043de3a
pop ecx
mov dword [0x4deab0], eax
test eax, eax
je 0x4477c3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043de3a
pop ecx
mov dword [0x4deaac], eax
mov eax, dword [0x4deaac]
cmp eax, ebx
je 0x44781b
cmp dword [0x4deab0], ebx
je 0x44781b
push eax
call fcn.0043deb5
push dword [0x4deab0]
mov esi, eax
call fcn.0043deb5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44781b
test edi, edi
je 0x44781b
call esi
test eax, eax
je 0x447812
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x447812
test byte [ebp - 0xc], 1
jne 0x44781b
or dword [ebp + 0x10], 0x200000
jmp 0x447854
mov eax, dword [0x4deaa4]
cmp eax, ebx
je 0x447854
push eax
call fcn.0043deb5
pop ecx
test eax, eax
je 0x447854
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x447854
mov eax, dword [0x4deaa8]
cmp eax, ebx
je 0x447854
push eax
call fcn.0043deb5
pop ecx
test eax, eax
je 0x447854
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4deaa0]
call fcn.0043deb5
pop ecx
test eax, eax
je 0x447874
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x447876
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45b2d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a4a5e
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4d7590]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], 2
call fcn.00460ec0
lea ecx, [esi + 0x20]
mov byte [esp + 0x14], 1
call fcn.00460ec0
lea ecx, [esi + 0x10]
mov byte [esp + 0x14], 0
call fcn.00460ec0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00460ec0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x45b4a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a4aa9
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4d7590]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.00460f00
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], 0
call fcn.00460f00
lea ecx, [esi + 0x20]
mov byte [esp + 0x14], 1
call fcn.00460f00
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 2
call fcn.00460f00
mov ecx, esi
mov byte [esp + 0x14], 3
call fcn.0045b390
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x45dee9
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x24
mov eax, dword [0x4d7590]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov esi, dword [esp + 0x30]
cmp dword [esi + 0x1c], 0
push edi
mov edi, dword [esp + 0x30]
je 0x45dfc8
push 0
mov ecx, esi
call fcn.00467740
mov ecx, dword [eax]
call fcn.0045bcb0
test al, al
je 0x45dfc8
push 0
mov ecx, esi
call fcn.00467740
mov esi, dword [eax]
mov ecx, esi
call fcn.0045bcd0
cmp eax, 8
je 0x45de33
call fcn.0045bcd0
cmp eax, 0x10
je 0x45de33
call fcn.0045bcd0
cmp eax, 0x18
je 0x45de33
call fcn.0045bcd0
cmp eax, 0x20
jne 0x45dfc8
push 0x4ab278
push edi
call fcn.00474e20
mov edi, eax
add esp, 8
test edi, edi
je 0x45dfc8
xor eax, eax
mov dword [esp + 0x15], eax
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
mov byte [esp + 0x25], al
mov eax, str.PhoXo____TGA
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x45de70
sub eax, ecx
push ebx
mov ecx, esi
mov byte [esp + 0x18], al
call fcn.0045bcd0
cmp eax, 8
sete al
mov byte [esp + 0x19], al
call fcn.0045bcd0
cmp eax, 8
setne cl
inc cl
mov byte [esp + 0x1a], cl
mov edx, 0x100
mov ecx, esi
mov word [esp + 0x1d], dx
mov byte [esp + 0x1f], 0x18
call fcn.00473090
mov word [esp + 0x24], ax
call fcn.00462c70
mov word [esp + 0x26], ax
call fcn.0045bcd0
push edi
push 0x12
mov byte [esp + 0x30], al
lea eax, [esp + 0x20]
push 1
push eax
mov byte [esp + 0x39], 0x20
call fcn.00437722
movzx ecx, byte [esp + 0x28]
push edi
push ecx
push 1
push str.PhoXo____TGA
call fcn.00437722
add esp, 0x20
mov ecx, esi
call fcn.0045bcd0
cmp eax, 8
jne 0x45df5e
xor ecx, ecx
mov eax, 0x100
mov edx, 4
mul edx
seto cl
push ebp
neg ecx
or ecx, eax
push ecx
call fcn.0041862b
mov ebx, eax
add esp, 4
push ebx
mov ecx, esi
mov dword [esp + 0x18], ebx
call fcn.0045be20
mov ebp, 0x100
push edi
push 3
push 1
push ebx
call fcn.00437722
add esp, 0x10
add ebx, 4
sub ebp, 1
jne 0x45df36
mov eax, dword [esp + 0x14]
pop ebp
test eax, eax
je 0x45df5e
push eax
call fcn.00418636
add esp, 4
mov ecx, esi
xor ebx, ebx
call fcn.00462c70
test eax, eax
jle 0x45dfa9
jmp 0x45df70
push edi
mov ecx, esi
call fcn.0045bcd0
mov edx, eax
call fcn.00473090
imul eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
push 1
push ebx
call fcn.0045bd70
push eax
call fcn.00437722
add esp, 0x10
mov ecx, esi
inc ebx
call fcn.00462c70
cmp ebx, eax
jl 0x45df70
push edi
call fcn.0043735e
add esp, 4
pop ebx
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00436eab
add esp, 0x24
ret 0xc
mov ecx, dword [esp + 0x28]
pop edi
pop esi
xor ecx, esp
xor al, al
call fcn.00436eab
add esp, 0x24
ret 0xc
Function at 0x460da0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x418
mov eax, dword [0x4d7590]
xor eax, esp
mov dword [esp + 0x414], eax
push esi
mov esi, dword [esp + 0x420]
lea eax, [esp + 8]
push eax
push 0x104
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x210]
push ecx
push 0
push 0x4b6cc8
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [esp + 0x210]
push eax
mov ecx, esi
call fcn.0040be92
mov ecx, dword [esp + 0x418]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00436eab
add esp, 0x418
ret
Function at 0x466ef0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a5a0a
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4d7590]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.FCPanelItemBase.0
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], 6
call fcn.0046b180
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 5
call fcn.00461640
lea ecx, [esi + 0x2c]
mov byte [esp + 0x14], 4
call fcn.0046b180
lea ecx, [esi + 0x28]
mov byte [esp + 0x14], 3
call fcn.00461640
lea ecx, [esi + 0x24]
mov byte [esp + 0x14], 2
call fcn.00461640
lea ecx, [esi + 0x14]
mov byte [esp + 0x14], 1
call fcn.00461640
lea ecx, [esi + 4]
mov byte [esp + 0x14], 0
call fcn.00461640
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00459a90
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x4675a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a5c18
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4d7590]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [esp + 0x30]
mov eax, 8
mov word [esp + 0xc], ax
mov eax, dword [ecx]
test eax, eax
je 0x4675e1
mov esi, dword [eax]
test esi, esi
jne 0x467627
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [edi]
mov edx, dword [edx + 0x44]
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x2c], 0
call edx
mov esi, eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 8
push esi
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4675e9
push 0x8007000e
call fcn.00450490
int3

Function at 0x468d10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a5bc5
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4d7590]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.00459a80
lea ecx, [esi + 4]
mov dword [esp + 0x14], 0
call fcn.00466c50
lea ecx, [esi + 0x14]
mov byte [esp + 0x14], 1
call fcn.0047c3a0
lea ecx, [esi + 0x24]
mov byte [esp + 0x14], 2
call fcn.0047c6e0
lea ecx, [esi + 0x28]
mov byte [esp + 0x14], 3
call fcn.00462b70
lea ecx, [esi + 0x2c]
mov byte [esp + 0x14], 4
call fcn.0047cad0
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 5
call fcn.00462b70
lea ecx, [esi + 0x34]
mov byte [esp + 0x14], 6
call fcn.0047bb00
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x14], 7
mov dword [esi], vtable.FCPanelItemBase.0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], eax
call fcn.00468ca0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4