joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4342d0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4763c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
call sub.MFC42u.DLL_CString::CString_2
xor edi, edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], edi
call sub.MFC42u.DLL_CString::CString_2
mov eax, dword [0x4942ec]
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x2c], 1
call fcn.00468ac0
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 2
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 1
call fcn.00465724
mov edx, dword [esp + 0x14]
push str.localkyodaimap.map
push edx
lea eax, [esp + 0x18]
push 0x48c308
push eax
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x20]
push 0x48c474
push ecx
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
add esp, 0x18
cmp esi, edi
jne 0x4343b1
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 0
call fcn.00465724
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0xffffffff
call fcn.00465724
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
push esi
push 1
add ebx, 0x18ee8
push 4
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fwrite]
mov dword [esp + 0x28], 0x118
call ebx
add esp, 0x10
test eax, eax
jne 0x4343d8
mov dword [esp + 0xc], edi
push esi
push 1
lea edx, [esp + 0x20]
push 4
push edx
call ebx
add esp, 0x10
test eax, eax
jne 0x4343ef
mov dword [esp + 0xc], edi
push esi
push 1
push 4
push 0x4edaf8
call ebx
add esp, 0x10
test eax, eax
jne 0x434406
mov dword [esp + 0xc], edi
cmp dword [0x4edaf8], edi
jle 0x43443b
push ebp
mov ebp, 0x4dc410
push esi
push 1
push 0x118
push ebp
call ebx
mov eax, dword [0x4edaf8]
add esp, 0x10
inc edi
add ebp, 0x118
cmp edi, eax
mov dword [esp + 0x10], 0
jl 0x434414
pop ebp
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 0
call fcn.00465724
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0xffffffff
call fcn.00465724
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x4354b0
Capabilities:
Read .ini file
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x476471
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x324
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebx
call sub.MFC42u.DLL_CString::CString_2
lea ecx, [esp + 0x14]
mov dword [esp + 0x338], ebx
call sub.MFC42u.DLL_CString::CString_2
mov eax, dword [0x4942ec]
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x340], 1
call fcn.00468ac0
add esp, 8
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x33c], 2
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x338], 1
call fcn.00465724
mov edx, dword [esp + 0xc]
push str.localkyodaimap.map
push edx
lea eax, [esp + 0x1c]
push 0x48c308
push eax
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x24]
push 0x48c49c
push ecx
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
add esp, 0x18
cmp esi, ebx
mov dword [esp + 0x18], esi
jne 0x435596
lea ecx, [esp + 0x14]
mov byte [esp + 0x338], bl
call fcn.00465724
lea ecx, [esp + 0xc]
mov dword [esp + 0x338], 0xffffffff
call fcn.00465724
xor eax, eax
jmp 0x4356ef
push edi
mov edi, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x28]
push 4
push edx
call edi
mov eax, dword [esp + 0x30]
push esi
push 1
lea ecx, [esp + 0x44]
push 4
push ecx
mov dword [ebp + 0x18eec], eax
call edi
push esi
push 1
lea edx, [esp + 0x3c]
push 4
push edx
call edi
add esp, 0x30
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
push str.localmapinfonew.ini
push eax
push ecx
call sub.MFC42u.DLL_operator_3
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12e]
mov word [esp + 0x12c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp dword [esp + 0x14], ebx
jle 0x4356b0
mov ebp, 0x4dc410
mov ecx, 0x46
xor eax, eax
mov edi, ebp
push esi
rep stosd dword es:[edi], eax
mov ecx, 0x3f
lea edi, [esp + 0x34]
push 1
lea edx, [esp + 0x38]
push 0xfc
push edx
rep stosd dword es:[edi], eax
call dword [sym.imp.MSVCRT.dll_fread]
mov ecx, 0x37
lea esi, [esp + 0x40]
mov edi, ebp
add esp, 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x12c]
push ebx
rep stosd dword es:[edi], eax
push str.MapName_d
lea eax, [esp + 0x134]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, dword [esp + 0x34]
add esp, 0x10
lea edx, [ebp + 0xdc]
lea eax, [esp + 0x12c]
push ecx
push 0x103
push edx
push 0x48f390
push eax
push str.MapInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
inc ebx
add ebp, 0x118
cmp ebx, eax
jl 0x43560b
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov esi, dword [esp + 0x18]
add esp, 4
lea ecx, [esp + 0x24]
call fcn.00465724
lea ecx, [esp + 0x18]
mov byte [esp + 0x33c], 0
call fcn.00465724
lea ecx, [esp + 0x10]
mov dword [esp + 0x33c], 0xffffffff
call fcn.00465724
mov eax, esi
pop edi
mov ecx, dword [esp + 0x330]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x330
ret
Function at 0x43a6b0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x214
lea eax, [esp]
push esi
push edi
push eax
call fcn.00469057
mov ecx, dword [eax]
add esp, 4
lea edx, [esp + 0x14]
push ecx
push str._s..CUQGU.ocx
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea ecx, [esp + 8]
call fcn.00465724
lea eax, [esp + 0x14]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
mov esi, eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test esi, esi
jbe 0x43a784
push esi
call sub.MFC42u.DLL_operatornew
mov edi, eax
add esp, 4
test edi, edi
je 0x43a784
push edi
push esi
lea eax, [esp + 0x1c]
push 0
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x43a77b
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
push ecx
push edx
push 0x48c6f4
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43a77b
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 8]
cmp eax, 0x20000
ja 0x43a76d
jne 0x43a784
cmp dword [ecx + 0xc], 0x66001a
jbe 0x43a784
pop edi
mov eax, 1
pop esi
add esp, 0x214
ret
push edi
call sub.MFC42u.DLL_operatordelete
add esp, 4
pop edi
xor eax, eax
pop esi
add esp, 0x214
ret

Function at 0x445516
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x208
push esi
mov esi, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
push 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea ecx, [esp + 8]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 8]
push 0x5c
push edx
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x445563
mov word [eax + 2], 0
lea eax, [esp + 8]
push str...LogicAvMgrGm.dll
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi + 4], eax
jne 0x44559c
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.ERROR:_Load_advertisement_manager_for_game_DLL_fail._Path:
call esi
lea edx, [esp + 8]
push edx
call esi
pop edi
pop esi
add esp, 0x208
ret
Function at 0x446040
Capabilities:
Check http status code

Disassembly:
push ecx
push edi
mov dword [esp + 4], ecx
call fcn.00446010
mov edi, eax
and eax, reloc.CLClientU.dll_Ordinal_1
jns 0x446059
dec eax
or eax, 0xfffffffe
inc eax
je 0x446062
xor eax, eax
pop edi
pop ecx
ret 4
push ebx
push ebp
push esi
push edi
call sub.MFC42u.DLL_operatornew
mov ecx, dword [esp + 0x1c]
add esp, 4
neg ecx
sbb ecx, ecx
mov esi, eax
and ecx, 5
mov eax, edi
xor ebx, ebx
lea ebp, [ecx + ecx]
sub eax, ebp
test eax, eax
mov dword [esp + 0x18], eax
jle 0x4460a5
mov eax, ebx
cdq
and edx, 3
add eax, edx
sar eax, 2
add al, 2
mov byte [esi + ebx], al
mov eax, dword [esp + 0x18]
inc ebx
cmp ebx, eax
jl 0x44608c
test ecx, ecx
jle 0x4460e4
xor ebx, ebx
mov dword [esp + 0x18], ecx
call dword [sym.imp.MSVCRT.dll_rand]
and eax, 0x80000007
jns 0x4460c1
dec eax
or eax, 0xfffffff8
inc eax
mov ecx, ebx
sub al, 0x10
sub ecx, ebp
add ecx, esi
mov byte [ecx + edi], al
mov ecx, ebx
sub ecx, ebp
add ebx, 2
add ecx, esi
mov byte [ecx + edi + 1], al
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x18], eax
jne 0x4460af
xor ebp, ebp
mov eax, ebp
cdq
idiv edi
mov ebx, edx
call dword [sym.imp.MSVCRT.dll_rand]
cdq
idiv edi
mov cl, byte [ebx + esi]
inc ebp
cmp ebp, 0xc8
mov al, byte [edx + esi]
mov byte [edx + esi], cl
mov byte [ebx + esi], al
jl 0x4460e6
xor ebp, ebp
xor edi, edi
xor eax, eax
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 4]
add ecx, edi
mov dl, byte [ecx + eax + 8]
test dl, dl
je 0x44612a
mov dl, byte [esi + ebp]
inc ebp
mov byte [ecx + eax + 8], dl
inc eax
cmp eax, 0x13
jl 0x446111
add edi, 0x13
cmp edi, 0xd1
jl 0x44610f
push esi
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov eax, 1
pop esi
pop ebp
pop ebx
pop edi
pop ecx
ret 4

Function at 0x446910
Capabilities:
Check http status code

Disassembly:
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
call fcn.00446010
mov esi, eax
and eax, reloc.CLClientU.dll_Ordinal_1
mov dword [esp + 8], esi
jns 0x446932
dec eax
or eax, 0xfffffffe
inc eax
jne 0x4469e6
test esi, esi
je 0x4469e6
push ebp
push esi
call sub.MFC42u.DLL_operatornew
add esp, 4
xor edx, edx
mov ebp, eax
xor ecx, ecx
mov eax, dword [edi + 4]
mov al, byte [ecx + eax + 8]
test al, al
je 0x446964
inc edx
cmp edx, esi
jg 0x446964
mov byte [edx + ebp - 1], al
inc ecx
cmp ecx, 0xd1
jl 0x446950
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_rand]
xor edi, edi
test esi, esi
jle 0x44699c
mov eax, edi
cdq
idiv esi
mov esi, edx
call ebx
cdq
idiv dword [esp + 0x10]
cmp esi, edx
je 0x446998
mov cl, byte [esi + ebp]
mov al, byte [edx + ebp]
mov byte [edx + ebp], cl
mov byte [esi + ebp], al
mov esi, dword [esp + 0x10]
inc edi
cmp edi, 0xc8
jl 0x446976
xor esi, esi
xor edi, edi
pop ebx
xor eax, eax
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 4]
add ecx, edi
mov dl, byte [ecx + eax + 8]
test dl, dl
je 0x4469cb
cmp esi, dword [esp + 0xc]
jge 0x4469cb
mov dl, byte [esi + ebp]
inc esi
mov byte [ecx + eax + 8], dl
inc eax
cmp eax, 0x13
jl 0x4469ac
add edi, 0x13
cmp edi, 0xd1
jl 0x4469aa
push ebp
call sub.MFC42u.DLL_operatordelete
add esp, 4
pop ebp
pop edi
pop esi
add esp, 8
ret
Function at 0x446b80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x47768e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov ecx, 0x11
mov eax, 0xa
mov dword [esp + 8], esi
mov dword [esi], 0x47db80
mov dword [esi + 4], edi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], eax
mov dword [esp + 0x14], edi
mov dword [esi + 0x1c], 0x47db80
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], 0x47db6c
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], eax
lea ecx, [esi + 0x58]
mov byte [esp + 0x14], 2
call sub.MFC42u.DLL_CString::CString_2
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x54], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x448af0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x48c49c
push eax
mov edi, 1
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x448b3c
mov ecx, dword [esp + 0xc]
push esi
push edi
push 0xdc
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, edi
jge 0x448b2b
xor edi, edi
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, edi
pop edi
pop esi
ret 8
pop edi
xor eax, eax
pop esi
ret 8
Function at 0x448b50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, 1
push 0x48c474
mov dword [ebp - 0xc], ecx
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.MSVCRT.dll__wfopen]
mov ebx, eax
xor edi, edi
add esp, 8
cmp ebx, edi
je 0x448d12
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll_fwrite]
lea edx, [ebp - 0x10]
push 4
push edx
mov dword [ebp - 0x10], 0xdc
mov dword [ebp + 8], ecx
call esi
add esp, 0x10
test eax, eax
jne 0x448bac
mov dword [ebp - 4], edi
push ebx
push 1
lea eax, [ebp + 8]
push 4
push eax
call esi
add esp, 0x10
test eax, eax
jne 0x448bc1
mov dword [ebp - 4], edi
mov eax, dword [ebp + 8]
test eax, eax
jle 0x448c18
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x148]
push edx
push eax
call fcn.00448af0
test eax, eax
je 0x448bfd
push ebx
push 1
lea ecx, [ebp - 0x148]
push 0xdc
push ecx
call esi
add esp, 0x10
test eax, eax
jne 0x448c04
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
inc edi
add ecx, 0x208
cmp edi, eax
mov dword [ebp + 0x10], ecx
jl 0x448bce
push ebx
push 1
lea edx, [ebp - 8]
push 4
push edx
mov dword [ebp - 8], 0x1e
call esi
mov eax, dword [ebp + 8]
add esp, 0x10
test eax, eax
mov dword [ebp + 0x10], 0
jle 0x448cf6
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov edx, dword [ebp + 0xc]
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0x6c]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x6c]
push 0x3c
push ecx
push edx
stosw word es:[edi], ax
call fcn.00414360
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0x2f]
mov byte [ebp - 0x30], 0
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x6c]
add esp, 0xc
test eax, eax
je 0x448cb6
lea ecx, [ebp - 0x6c]
push 0
push ecx
call fcn.0045e890
add eax, 3
add esp, 8
and al, 0xfc
call fcn.00466100
mov esi, esp
lea edx, [ebp - 0x6c]
push 0
push edx
call fcn.0045e890
push eax
lea eax, [ebp - 0x6c]
push esi
push eax
call fcn.0045e980
mov esi, dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x14
push 0x1d
lea ecx, [ebp - 0x30]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
push ebx
push 1
lea edx, [ebp - 0x30]
push 0x1e
push edx
call esi
add esp, 0x1c
test eax, eax
jne 0x448cd8
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
inc eax
add edx, 0x208
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp + 0xc], edx
jl 0x448c45
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [ebp - 4]
add esp, 4
lea esp, [ebp - 0x154]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea esp, [ebp - 0x154]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44a04c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4779f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1f8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], ebx
lea edi, [esi + 8]
mov dword [esp + 0x20c], ebx
mov dword [edi + 4], ebx
mov dword [edi], 0x47d36c
lea eax, [esp + 0x10]
push ebx
push eax
push 0x1f4
push 0x29
mov byte [esp + 0x21c], 1
mov dword [esi], 0x47dcc8
mov dword [esp + 0x20], 0x1f4
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea ecx, [esp + 0xf0]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
mov ecx, edi
call sub.MFC42u.DLL_CGdiObject::Attach
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 4
call edi
push 0xd
mov dword [esi + 0x10], eax
call edi
push 0xe
mov dword [esi + 0x14], eax
call edi
push 7
mov dword [esi + 0x1c], eax
call edi
push 0x11
mov dword [esi + 0x18], eax
call edi
mov edx, dword [esi + 0x10]
mov ecx, dword [esp + 0x204]
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], edx
mov dword [esi + 0x24], 0xc00000
mov dword [esi + 0x28], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x204
ret
Function at 0x44e7f0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x477cfb
push eax
mov eax, 0x1a9c
mov dword fs:[0], esp
call fcn.00466100
push ebx
push ebp
push esi
push edi
mov edi, ecx
push str.MansionLogic::DispatchPlayingValues
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [esp + 0x88]
call fcn.0044c480
lea ecx, [esp + 0x344]
call fcn.0044c960
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x1ab4], ebp
mov dword [esp + 0x84], ebp
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x10]
lea ecx, [esp + 0x344]
lea edx, [esp + 0x88]
push ecx
push edx
push esi
mov ecx, eax
call fcn.0044d7b0
inc esi
cmp esi, 5
jl 0x44e84a
lea ecx, [esp + 0x344]
call fcn.0044cc70
mov esi, eax
cmp esi, 2
mov dword [esp + 0x10], esi
jl 0x44e90e
fild dword [esp + 0x10]
fmul qword [str.333333]
fmul dword [0x47de70]
call sub.MSVCRT.dll__ftol
cmp esi, 3
jg 0x44e8ac
mov eax, 1
jmp 0x44e8b0
cmp eax, ebp
jle 0x44e90e
mov ebx, eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x344]
push eax
mov dword [esp + 0x88], ebp
call fcn.0044d620
lea ecx, [esp + 0x20]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x94]
call fcn.0044c510
test al, al
je 0x44e90b
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x348]
call fcn.0044cf70
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x344]
push edx
call fcn.0044cf70
dec ebx
jne 0x44e8b2
cmp esi, ebp
jg 0x44e870
lea ecx, [esp + 0x344]
call fcn.0044d040
lea ecx, [esp + 0x88]
call fcn.0044c950
cmp eax, ebp
jle 0x44e97a
mov esi, eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x344]
push eax
mov dword [esp + 0x88], ebp
call fcn.0044d6d0
lea ecx, [esp + 0x20]
lea edx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x90]
call fcn.0044c6e0
test al, al
je 0x44e977
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x344]
push eax
call fcn.0044cf70
dec esi
jne 0x44e934
lea ecx, [esp + 0x344]
call fcn.0044d0f0
mov ebx, eax
xor esi, esi
cmp ebx, ebp
jle 0x44e9ea
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
push esi
lea ecx, [esp + 0x358]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
call fcn.0044d100
mov eax, dword [esp + 0x1c]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x10]
cmp eax, ebp
je 0x44e9e5
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, eax
call dword [edx + 0x18]
inc esi
cmp esi, ebx
jl 0x44e98e
lea ecx, [esp + 0x344]
call fcn.0044c9d0
mov ecx, dword [esp + 0x1aac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1aa8
ret
Function at 0x451810
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x477fe6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 8]
call sub.MFC42u.DLL_CString::CString_2
xor ebx, ebx
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call sub.MFC42u.DLL_CString::CString_2
lea ecx, [esi + 0x38]
mov byte [esp + 0x14], 1
call sub.MFC42u.DLL_CString::CString_2
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x4c], ebx
mov dword [esi], 0x47df18
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov byte [esi + 0x24], bl
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x451a10
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x478030
push eax
mov al, byte [0x4edc20]
mov dword fs:[0], esp
sub esp, 0x10
test al, 1
jne 0x451a53
mov dl, al
mov ecx, 0x4edbd0
or dl, 1
mov byte [0x4edc20], dl
call fcn.00451810
push 0x451bf0
call fcn.004660bc
add esp, 4
mov al, byte [0x4edc20]
push ebx
mov bl, 2
test bl, al
jne 0x451a80
mov dl, al
mov ecx, 0x4edb70
or dl, bl
mov byte [0x4edc20], dl
call fcn.00452090
push 0x451be0
call fcn.004660bc
add esp, 4
mov eax, dword [0x4edc24]
test eax, eax
jne 0x451bc2
lea eax, [esp + 0xc]
push edi
push eax
mov dword [0x4edc24], 0x4edbd0
call fcn.00469057
add esp, 4
lea ecx, [esp + 0x10]
push str.oemconfig.ini
lea edx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x2c], 0
call sub.MFC42u.DLL_operator_3
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.MSVCRT.dll__waccess]
push 0
push eax
mov byte [esp + 0x28], 1
call edi
add esp, 8
test eax, eax
jne 0x451b9d
push esi
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString_2
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x24], bl
push ecx
push 0x32
push 0x32
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push 0x4941b0
push str.oemface
push str.oemconfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0xc]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], bl
call fcn.00465724
mov edx, dword [esp + 0x10]
push edx
push 0
push str.facenum
push str.oemconfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [esp + 0xc]
push 0
push eax
call edi
add esp, 8
test eax, eax
jne 0x451b8e
cmp esi, 0x34
jg 0x451b8e
mov ecx, dword [esp + 0xc]
push esi
push ecx
mov ecx, 0x4edb70
mov dword [0x4edc24], 0x4edb70
call fcn.004522c0
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call fcn.00465724
pop esi
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.00465724
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.00465724
mov eax, dword [0x4edc24]
pop edi
mov ecx, dword [esp + 0x14]
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret