joyce8/EMBER2024-capa huggingface dataset:
Function at 0x490020
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xac]
cmp eax, ebx
push edi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], vtable.QPSkinSys::CQPCmdUI.0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], esi
jne 0x490069
mov dword [esp + 0x30], ebx
jmp 0x490078
mov ecx, dword [esi + 0xb0]
sub ecx, eax
sar ecx, 2
mov dword [esp + 0x30], ecx
xor edx, edx
cmp dword [esp + 0x30], ebx
mov dword [esp + 0x18], edx
jbe 0x49011b
jmp 0x490090
mov ecx, dword [esi + 0xac]
cmp ecx, ebx
mov edi, edx
je 0x4900d7
mov eax, dword [esi + 0xb0]
sub eax, ecx
sar eax, 2
cmp edx, eax
jae 0x4900d7
cmp ecx, ebx
je 0x4900be
mov eax, dword [esi + 0xb0]
sub eax, ecx
sar eax, 2
cmp edx, eax
jb 0x4900c8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0xac]
mov ecx, dword [eax + edi*4]
movzx eax, word [ecx + 6]
jmp 0x4900d9
xor eax, eax
movzx eax, ax
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x49010a
cmp ax, 0xffff
mov dword [esp + 0x20], ebx
je 0x49010a
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
push ebx
lea edi, [esp + 0x14]
push edi
push 0xffffffffffffffff
push eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x38], ebx
call eax
mov edx, dword [esp + 0x18]
add edx, 1
cmp edx, dword [esp + 0x30]
mov dword [esp + 0x18], edx
jb 0x490090
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x499570
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ea1f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
mov ebp, dword [esp + 0x44]
lea ecx, [esp + 0x20]
call sub.MFC80U.DLL_Ordinal_347
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x38], ebx
jne 0x4995a5
xor eax, eax
jmp 0x4995a8
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x24]
call sub.MFC80U.DLL_Ordinal_1270
test eax, eax
jne 0x4995e3
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC80U.DLL_Ordinal_602
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ebp
pop ebx
add esp, 0x34
ret 0x10
mov eax, dword [esp + 0x40]
add eax, 0x20
cmp eax, ebx
jne 0x4995f2
xor eax, eax
jmp 0x4995f5
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x28]
push eax
call sub.MFC80U.DLL_Ordinal_5633
lea ecx, [esp + 0x10]
call sub.MFC80U.DLL_Ordinal_347
cmp esi, ebx
mov byte [esp + 0x38], 1
jne 0x499616
xor eax, eax
jmp 0x499619
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x14]
call sub.MFC80U.DLL_Ordinal_1270
mov dword [esp + 0xc], ebx
mov dword [esp + 8], vtable.CBitmap.0
push edi
mov byte [esp + 0x3c], 2
mov ecx, dword [esi + 4]
push ebp
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0xc]
call sub.MFC80U.DLL_Ordinal_1271
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
push edx
push eax
call sub.MFC80U.DLL_Ordinal_5633
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x14]
push 0xcc0020
push ebx
push ebx
push eax
push edi
push ebp
push ebx
push ebx
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
mov dl, byte [esp + 0x4c]
push 0xcc0020
push ebx
push eax
push ecx
push edi
push ebp
push ebx
mov byte [esp + 0x62], dl
mov edx, dword [esi + 4]
push ebx
push edx
mov byte [esp + 0x68], bl
mov byte [esp + 0x69], bl
mov byte [esp + 0x6b], bl
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 4]
push eax
push edi
push ebp
push ebx
push ebx
push ecx
push edi
push ebp
push ebx
push ebx
push edx
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
mov byte [esp + 0x38], 1
lea ecx, [esp + 8]
mov dword [esp + 8], vtable.CBitmap.0
call fcn.00406940
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], bl
call sub.MFC80U.DLL_Ordinal_602
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC80U.DLL_Ordinal_602
mov ecx, dword [esp + 0x30]
mov eax, 1
mov dword fs:[0], ecx
pop ebp
pop ebx
add esp, 0x34
ret 0x10
Function at 0x49aea0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ec006
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push edi
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push ecx
mov dword [esp + 0x24], 0
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
call fcn.00499aa0
test al, al
jne 0x49af04
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
add esp, 0x18
ret 8
mov edi, dword [esp + 8]
mov eax, edi
call fcn.00463100
push edi
mov dword [esi + 0x1c], eax
call sub.MFC80U.DLL_Ordinal_266
mov eax, dword [esi + 0x1c]
add esp, 4
test eax, eax
je 0x49aee6
push eax
lea ecx, [esi + 0x20]
call sub.MFC80U.DLL_Ordinal_1271
test eax, eax
je 0x49aee6
mov ecx, dword [esi + 0x24]
lea eax, [esi + 4]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x49aee6
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [esi + 0x30], ecx
lea ecx, [esp + 0x20]
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x10]
mov eax, 1
mov dword fs:[0], ecx
pop edi
add esp, 0x18
ret 8

Function at 0x49b2d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ec066
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esi], vtable.QPSkinSys::CBitmapEx.0
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], vtable.CBitmap.0
mov byte [esp + 0x18], 1
push 4
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], edi
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x34], ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_5558]
mov ecx, eax
mov byte [esp + 0x18], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_4074]
push str..png
mov ecx, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
lea ecx, [esp + 0xc]
sete byte [esp + 0xb]
mov byte [esp + 0x18], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
cmp byte [esp + 0xb], bl
je 0x49b383
push edi
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
mov ecx, ebx
mov edx, esi
call fcn.0049b200
jmp 0x49b3a8
mov eax, dword [esp + 0x24]
cmp dword [eax - 0xc], ebx
je 0x49b3a8
push edi
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
mov ecx, ebx
mov edx, esi
call fcn.0049b140
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 8
Function at 0x4a2410
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ec105
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push str.OKBtn
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push 0
push 0x6245e8
push 0x60a88c
push 0
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.004a5620
push eax
call sub.MSVCR80.dll___RTDynamicCast
add esp, 0x14
lea ecx, [esp + 8]
mov dword [esi + 0xe0], eax
mov dword [esp + 0x1c], 0xffffffff
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push str.CancelBtn
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push 0
push 0x6245e8
push 0x60a88c
push 0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov dword [esp + 0x30], 1
call fcn.004a5620
push eax
call sub.MSVCR80.dll___RTDynamicCast
add esp, 0x14
lea ecx, [esp + 0xc]
mov dword [esi + 0xe4], eax
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x14]
mov eax, 1
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a54d0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e91f9
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
xor edi, edi
mov dword [esp + 0x14], edi
push 0x5d389c
lea ecx, [esi + 4]
mov dword [esi], vtable.QPSkinSys::CQPSkinElementParams.0
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov ebx, 1
push 0x5d389c
lea ecx, [esi + 8]
mov byte [esp + 0x18], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push 0x5d389c
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push 0x5d389c
lea ecx, [esi + 0x10]
mov byte [esp + 0x18], 3
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push 0x5d389c
lea ecx, [esi + 0x14]
mov byte [esp + 0x18], 4
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push 0x5d389c
lea ecx, [esi + 0x18]
mov byte [esp + 0x18], 5
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov eax, 5
lea ecx, [esi + 0x40]
mov dword [esi + 0x1c], 0x7f00
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov byte [esp + 0x14], 7
push 0x5e2840
lea ecx, [esi + 0x70]
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
or eax, 0xffffffff
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa0], eax
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4
Function at 0x4ac4a0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4eeb80
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
mov dword [esi], vtable.QPSkinSys::CQPSkinTheme.0
call fcn.00401b10
mov dword [esi + 0xc], eax
mov bl, 1
mov byte [eax + 0x15], bl
mov eax, dword [esi + 0xc]
mov dword [eax + 4], eax
mov eax, dword [esi + 0xc]
mov dword [eax], eax
mov eax, dword [esi + 0xc]
xor edi, edi
mov dword [eax + 8], eax
mov dword [esi + 0x10], edi
mov dword [esp + 0x14], edi
call fcn.00401b10
mov dword [esi + 0x18], eax
mov byte [eax + 0x15], bl
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [eax], eax
mov eax, dword [esi + 0x18]
mov dword [eax + 8], eax
mov dword [esi + 0x1c], edi
mov byte [esp + 0x14], bl
call fcn.00410850
mov dword [esi + 0x24], eax
mov byte [eax + 0x15], bl
mov eax, dword [esi + 0x24]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x24]
mov dword [eax], eax
mov eax, dword [esi + 0x24]
mov dword [eax + 8], eax
mov dword [esi + 0x28], edi
mov byte [esp + 0x14], 2
call fcn.00410850
mov dword [esi + 0x30], eax
mov byte [eax + 0x15], bl
mov eax, dword [esi + 0x30]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x30]
mov dword [eax], eax
mov eax, dword [esi + 0x30]
mov dword [eax + 8], eax
mov dword [esi + 0x34], edi
mov byte [esp + 0x14], 3
call fcn.00410850
mov dword [esi + 0x3c], eax
mov byte [eax + 0x15], bl
mov eax, dword [esi + 0x3c]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x3c]
mov dword [eax], eax
mov eax, dword [esi + 0x3c]
mov dword [eax + 8], eax
mov dword [esi + 0x40], edi
mov byte [esp + 0x14], 4
call fcn.0040dac0
mov dword [esi + 0x48], eax
mov byte [eax + 0x11], bl
mov eax, dword [esi + 0x48]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x48]
mov dword [eax], eax
mov eax, dword [esi + 0x48]
mov dword [eax + 8], eax
mov dword [esi + 0x4c], edi
mov byte [esp + 0x14], 5
call fcn.00410850
mov dword [esi + 0x54], eax
mov byte [eax + 0x15], bl
mov eax, dword [esi + 0x54]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x54]
mov dword [eax], eax
mov eax, dword [esi + 0x54]
mov dword [eax + 8], eax
mov dword [esi + 0x58], edi
mov byte [esp + 0x14], 6
lea ecx, [esi + 0x74]
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
call fcn.0042b7c0
push 0x5d389c
lea ecx, [esi + 0xec]
mov byte [esp + 0x18], 7
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4
Function at 0x4ae120
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ed6b7
push eax
mov dword fs:[0], esp
push esi
push edi
mov edi, dword [esp + 0x18]
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], esi
mov dword [edi + 0x24], esi
mov dword [edi + 0x2c], esi
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], esi
mov dword [edi + 0x3c], esi
mov dword [edi + 0x40], esi
mov dword [edi + 0x44], esi
mov dword [edi + 0x4c], esi
mov dword [edi + 0x50], esi
mov dword [edi + 0x54], esi
mov dword [edi + 0x5c], esi
mov dword [edi + 0x60], esi
mov dword [edi + 0x64], esi
mov dword [edi + 0x6c], esi
mov dword [edi + 0x70], esi
mov dword [edi + 0x74], esi
mov dword [edi + 0x7c], esi
mov dword [edi + 0x80], esi
mov dword [edi + 0x84], esi
mov byte [esp + 0x10], 8
call fcn.00410850
mov dword [edi + 0xb0], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 0xb0]
mov dword [eax + 4], eax
mov eax, dword [edi + 0xb0]
mov dword [eax], eax
mov eax, dword [edi + 0xb0]
mov dword [eax + 8], eax
mov dword [edi + 0xb4], esi
mov byte [esp + 0x10], 9
call fcn.00410850
mov dword [edi + 0xbc], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 0xbc]
mov dword [eax + 4], eax
mov eax, dword [edi + 0xbc]
mov dword [eax], eax
mov eax, dword [edi + 0xbc]
mov dword [eax + 8], eax
mov dword [edi + 0xc0], esi
mov byte [esp + 0x10], 0xa
call fcn.004ade80
mov eax, dword [esp + 0x1c]
push eax
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
mov ecx, dword [esp + 8]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 8

Function at 0x4ae2a0
Capabilities:
Access peb ldr_data
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4e88e7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x234
push esi
mov esi, dword [esp + 0x248]
mov ecx, esi
mov dword [esp + 4], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
push 0x208
lea eax, [esp + 0x34]
push 0
mov dword [esp + 0x248], 0
push eax
mov dword [esp + 0x10], 1
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0
push 0x1a
lea ecx, [esp + 0x38]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
mov ecx, esi
je 0x4ae334
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov eax, esi
pop esi
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
add esp, 0x240
ret
push 0x5d389c
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
push 0xa
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
push 0x14
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.MSVCR80.dll__ultow_s]
mov ecx, dword [esp + 0x248]
add esp, 0x10
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x240
ret
Function at 0x4b0dd0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4ed7f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, dword [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x14], 4
call fcn.004afca0
mov eax, dword [esi + 0x38]
xor ebx, ebx
cmp eax, ebx
je 0x4b0e0d
push eax
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x4b0e26
push eax
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
lea eax, [esi + 0x18]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov byte [esp + 0x14], 1
call fcn.00409770
lea eax, [esi + 0xc]
mov byte [esp + 0x14], bl
call fcn.00409770
mov eax, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00409770
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 4

Function at 0x4b0e70
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ed837
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
call fcn.00410850
mov dword [esi + 4], eax
mov bl, 1
mov byte [eax + 0x15], bl
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
xor edi, edi
mov dword [eax + 8], eax
mov dword [esi + 8], edi
mov dword [esp + 0x14], edi
call fcn.00410850
mov dword [esi + 0x10], eax
mov byte [eax + 0x15], bl
mov eax, dword [esi + 0x10]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x10]
mov dword [eax], eax
mov eax, dword [esi + 0x10]
mov dword [eax + 8], eax
mov dword [esi + 0x14], edi
mov byte [esp + 0x14], bl
call fcn.00410850
mov dword [esi + 0x1c], eax
mov byte [eax + 0x15], bl
mov eax, dword [esi + 0x1c]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x1c]
mov dword [eax], eax
mov eax, dword [esi + 0x1c]
mov dword [eax + 8], eax
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov ecx, esi
mov byte [esp + 0x14], 4
call fcn.004af530
push esi
call fcn.004b0b30
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4
Function at 0x4b1670
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8a85
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x6089a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, esi
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x244], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
push 0x208
lea eax, [ebp - 0x240]
push 0
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x244], 1
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0
push 0x1a
lea ecx, [ebp - 0x240]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
mov ecx, esi
je 0x4b1702
lea edx, [ebp - 0x240]
push edx
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
jmp 0x4b1743
push 0x5ab6f8
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
push 0xa
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.MSVCR80.dll__ultow]
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00432b8e
mov esp, ebp
pop ebp
ret

Function at 0x4b1760
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jne 0x4b1779
lea ecx, [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4b179d
test al, 0x10
je 0x4b179d
lea ecx, [ebp + 8]
mov esi, 1
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, esi
pop esi
pop ebp
ret
lea ecx, [ebp + 8]
xor esi, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, esi
pop esi
pop ebp
ret

Function at 0x4b1f00
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0xc
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4b1f41
lea ecx, [ebp - 0xc]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
push esi
jne 0x4b1f54
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
xor edx, edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
cdq
mov edx, dword [ebp - 0xc]
mov edi, eax
xor esi, esi
xor eax, eax
lea ecx, [ebp + 8]
or esi, edx
or edi, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov edx, edi
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4b2240
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e937f
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x6089a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x216]
push ebx
mov dword [ebp - 0x224], ebx
push eax
mov word [ebp - 0x218], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x21c]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [ebp - 0x218]
push ecx
push ebx
push ebx
push 0xe
mov dword [ebp - 4], ebx
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push ebx
call esi
test eax, eax
jge 0x4b22dc
lea edx, [ebp - 0x218]
push edx
push ebx
push ebx
push 5
push ebx
call esi
test eax, eax
jge 0x4b22dc
push 0x5ab5bc
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
jmp 0x4b237f
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
push 1
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x21c]
call dword [sym.imp.MFC80U.DLL_Ordinal_5558]
push 0x5ab5c0
mov ecx, eax
mov byte [ebp - 4], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
lea ecx, [ebp - 0x224]
setne byte [ebp - 0x21d]
mov byte [ebp - 4], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
cmp byte [ebp - 0x21d], bl
je 0x4b2370
push 0x5ab5c4
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x224]
push eax
call fcn.00401030
add esp, 0xc
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
lea ecx, [ebp - 0x21c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00432b8e
mov esp, ebp
pop ebp
ret