Function at 0x402500
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x42044a
push eax
mov eax, 0x205c
mov dword fs:[0], esp
call fcn.00414240
mov eax, dword [0x42b894]
push ebx
mov ebx, dword [0x4224f0]
push ebp
mov ebp, ecx
push esi
test eax, eax
push edi
mov dword [esp + 0x54], ebp
je 0x402546
mov ecx, dword [0x42b898]
test ecx, ecx
jne 0x402602
lea eax, [esp + 0x86c]
push 0x400
push eax
push 0
call dword [0x4220c8]
lea ecx, [esp + 0x86c]
push ecx
call ebx
mov eax, dword [0x42b89c]
xor esi, esi
test eax, eax
jle 0x402584
lea edx, [esp + 0x86c]
push edx
call ebx
mov eax, dword [0x42b89c]
inc esi
cmp esi, eax
jl 0x402570
lea eax, [esp + 0x86c]
push str.MiniUI.dll
lea ecx, [esp + 0x870]
push eax
push ecx
call dword [0x4224e0]
lea edx, [esp + 0x86c]
push edx
call fcn.00401ba0
add esp, 4
test eax, eax
je 0x4025c1
lea eax, [esp + 0x86c]
push eax
call dword [0x4220cc]
test eax, eax
mov dword [0x42b898], eax
je 0x40291d
push str.GetMiniUI
push eax
call dword [0x4220d0]
test eax, eax
mov dword [0x42b894], eax
jne 0x402602
mov ecx, dword [0x42b898]
push ecx
call dword [0x4220d4]
mov dword [0x42b898], 0
or eax, 0xffffffff
jmp 0x402b72
call eax
test eax, eax
je 0x40291d
mov edx, dword [eax]
push eax
call dword [edx + 0x6c]
test eax, eax
mov dword [esp + 0x58], eax
je 0x40291d
mov eax, dword [ebp + 4]
mov ecx, 0x200
mov dword [esp + 0x24], eax
xor eax, eax
lea edi, [esp + 0x6c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x6c]
test ecx, ecx
je 0x402686
lea edx, [esp + 0x86c]
mov ecx, 0x400
lea edi, [esp + 0x86c]
push 0x800
push edx
push eax
rep stosd dword es:[edi], eax
mov word [esp + 0x78], ax
call dword [0x4220c8]
lea eax, [esp + 0x86c]
push eax
call ebx
lea ecx, [esp + 0x86c]
push 0x400
lea edx, [esp + 0x70]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
mov eax, dword [ebp + 8]
xor edi, edi
xor esi, esi
cmp eax, edi
jle 0x4026a0
lea eax, [esp + 0x6c]
push eax
call ebx
mov eax, dword [ebp + 8]
inc esi
cmp esi, eax
jl 0x402691
mov esi, dword [0x4224e0]
lea ecx, [esp + 0x6c]
push str.configconfig.xml
lea edx, [esp + 0x1870]
push ecx
push edx
mov dword [esp + 0x1878], edi
call esi
push 0xc
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov dword [esp + 0x2074], edi
je 0x4026e8
push str.version1.0_encodingutf_16
mov ecx, eax
call fcn.00402d40
jmp 0x4026ea
xor eax, eax
cmp eax, edi
mov dword [esp + 0x2074], 0xffffffff
mov dword [esp + 0x20], eax
jne 0x402707
push 0x8007000e
call fcn.0041f470
push 0xc
mov dword [esp + 0x2078], 1
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x2074], 2
je 0x40273d
lea ecx, [esp + 0x186c]
push ecx
mov ecx, eax
call fcn.00402d40
jmp 0x40273f
xor eax, eax
cmp eax, edi
mov byte [esp + 0x2074], 1
mov dword [esp + 0x1c], eax
jne 0x402759
push 0x8007000e
call fcn.0041f470
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
lea edx, [esp + 0x20]
lea ecx, [esp + 0x34]
push edx
call fcn.00402be0
mov eax, dword [esp + 0x1c]
mov ebp, 0x4226e4
cmp eax, edi
mov byte [esp + 0x2074], 6
mov dword [esp + 0x28], ebp
je 0x402843
mov eax, dword [eax]
cmp eax, edi
je 0x402843
push eax
call dword [0x4224ac]
cmp eax, edi
jbe 0x402843
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x4027b1
mov eax, dword [eax]
jmp 0x4027b3
xor eax, eax
push eax
call dword [0x4224d4]
test eax, eax
jne 0x4027cf
lea eax, [esp + 0x1c]
push edi
push eax
lea ecx, [esp + 0x30]
call fcn.00403550
jmp 0x402843
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x86c]
push 0x400
push ecx
push edx
call dword [0x4220c8]
lea eax, [esp + 0x86c]
push eax
call ebx
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x4027fd
mov eax, dword [eax]
jmp 0x4027ff
xor eax, eax
lea ecx, [esp + 0x86c]
push eax
lea edx, [esp + 0x870]
push ecx
push edx
call esi
lea eax, [esp + 0x86c]
lea ecx, [esp + 0x10]
push eax
call fcn.00402c00
lea ecx, [esp + 0x10]
push edi
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x207c], 7
call fcn.00403550
lea ecx, [esp + 0x10]
call fcn.00402cf0
lea ecx, [esp + 0x1c]
call fcn.00402cf0
mov bl, 9
lea ecx, [esp + 0x20]
mov byte [esp + 0x2074], bl
call fcn.00402cf0
push edi
lea ecx, [esp + 0x30]
call fcn.00402b90
test al, al
jne 0x4028fe
push 0xc
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, edi
mov byte [esp + 0x2074], 0xb
je 0x402898
push str.Root.Config_Skin_Item
mov ecx, eax
call fcn.00402d40
jmp 0x40289a
xor eax, eax
cmp eax, edi
mov byte [esp + 0x2074], bl
mov dword [esp + 0x10], eax
jne 0x4028b3
push 0x8007000e
call fcn.0041f470
lea edx, [esp + 0x10]
lea eax, [esp + 0x48]
push edx
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x207c], 0xc
call fcn.00403c20
lea ecx, [esp + 0x10]
mov byte [esp + 0x2074], 0xe
call fcn.00402cf0
mov eax, dword [esp + 0x4c]
mov edi, eax
test eax, eax
mov dword [esp + 0x20], edi
jg 0x402925
lea ecx, [esp + 0x50]
mov dword [esp + 0x48], 0x4226e0
call fcn.00402bd0
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], ebp
call fcn.00402cf0
lea ecx, [esp + 0x30]
call fcn.00402cf0
lea ecx, [esp + 0x2c]
call fcn.00402bc0
or eax, 0xffffffff
jmp 0x402b72
push str.SkinPath
lea ecx, [esp + 0x40]
call fcn.00402c00
push 0x429104
lea ecx, [esp + 0x44]
mov byte [esp + 0x2078], 0xf
call fcn.00402c00
push 0x4291c8
lea ecx, [esp + 0x48]
mov byte [esp + 0x2078], 0x10
call fcn.00402c00
xor ebp, ebp
mov byte [esp + 0x2074], 0x11
test edi, edi
jle 0x402b24
mov esi, dword [sym.imp.MSVCRT.dll_wcscmp]
mov bl, 0x12
lea ecx, [esp + 0x5c]
push ebp
push ecx
lea ecx, [esp + 0x50]
call fcn.00402f40
lea ecx, [esp + 0x14]
mov byte [esp + 0x2074], bl
call sub.MFC42u.DLL_CString::CString_3
lea edx, [esp + 0x14]
push 0x42b98c
lea eax, [esp + 0x40]
push edx
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x2080], 0x13
call fcn.00402d80
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
je 0x402a08
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::CString_3
lea edx, [esp + 0x18]
push 0x42b98c
lea eax, [esp + 0x48]
push edx
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x2080], 0x14
call fcn.00402d80
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x402a2e
lea ecx, [esp + 0x18]
mov byte [esp + 0x2074], 0x13
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x2074], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2074], 0x11
call fcn.00401ea0
jmp 0x402b1b
push 0x429100
lea ecx, [esp + 0x18]
call fcn.00413e5c
lea edx, [esp + 0x18]
lea ecx, [esp + 0x14]
push edx
call fcn.00413e56
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x186c]
lea edx, [esp + 0x186c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x6c]
push eax
push ecx
push edx
call dword [0x4224e0]
mov edi, dword [esp + 0x58]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x186c]
mov eax, dword [edi]
push ecx
push edx
push edi
call dword [eax]
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_3
lea eax, [esp + 0x10]
push 0x42b98c
lea ecx, [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0x68]
mov byte [esp + 0x2080], 0x15
call fcn.00402d80
mov edx, dword [esp + 0x10]
push 0x4291c4
push edx
call esi
add esp, 8
test eax, eax
jne 0x402ad4
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov eax, dword [edi]
push ecx
push edx
push edi
call dword [eax + 0x1c]
lea ecx, [esp + 0x10]
mov byte [esp + 0x2074], 0x14
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2074], 0x13
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x2074], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2074], 0x11
call fcn.00401ea0
mov edi, dword [esp + 0x20]
inc ebp
cmp ebp, edi
jl 0x402979
mov ecx, dword [esp + 0x54]
call fcn.00404490
lea ecx, [esp + 0x44]
call fcn.00402cf0
lea ecx, [esp + 0x40]
call fcn.00402cf0
lea ecx, [esp + 0x3c]
call fcn.00402cf0
lea ecx, [esp + 0x50]
mov dword [esp + 0x48], 0x4226e0
call fcn.00402bd0
lea ecx, [esp + 0x28]
mov dword [esp + 0x2074], 0xffffffff
call fcn.004034a0
mov eax, 1
mov ecx, dword [esp + 0x206c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2068
ret