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

Disassembly:
push 0xffffffffffffffff
push 0x4735a8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48a2c4]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, dword [0x488014]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x70], 0
call fcn.0041acc0
test eax, eax
jne 0x42097b
lea eax, [ebx - 0xc]
cmp eax, dword [0x488010]
je 0x420964
lea esi, [ebx - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x420964
push esi
call fcn.00448106
add esp, 4
or eax, 0xffffffff
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov ecx, dword [eax]
mov edx, dword [ecx + 0x6c]
push eax
call edx
mov edi, eax
test edi, edi
je 0x420942
push 0x478280
lea ecx, [esp + 0x20]
call fcn.0041d310
push str...configconfig.xml
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 1
call fcn.0041d310
mov ebp, dword [esp + 0x78]
lea ecx, [esp + 0x1c]
push ecx
push 0
lea edx, [esp + 0x28]
push edx
push ebp
lea ecx, [esp + 0x64]
mov byte [esp + 0x80], 2
call fcn.00420790
lea ecx, [esp + 0x20]
call fcn.0041f5b0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 5
call fcn.0041f5b0
cmp dword [esp + 0x58], 0
sete al
test al, al
sete al
test al, al
je 0x420a4f
push str.Root.Config_Skin_Item
lea ecx, [esp + 0x30]
call fcn.0041d310
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 6
call fcn.0041fc90
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 8
call fcn.0041f5b0
mov eax, dword [esp + 0x3c]
mov esi, eax
mov dword [esp + 0x34], esi
test eax, eax
jg 0x420a7d
mov eax, dword [esp + 0x40]
mov byte [esp + 0x70], 5
mov dword [esp + 0x38], vtable.CXMLArchiveItemList.0
test eax, eax
je 0x420a4f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x54]
mov byte [esp + 0x70], 0
call fcn.0041f6f0
lea ecx, [esp + 0x18]
call fcn.00412420
or eax, 0xffffffff
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
push str.SkinPath
lea ecx, [esp + 0x34]
call fcn.0041d310
push str.DefaultSkin
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], 9
call fcn.0041d310
push 0x478370
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], 0xa
call fcn.0041d310
xor eax, eax
mov byte [esp + 0x70], 0xb
mov dword [esp + 0x24], eax
test esi, esi
jle 0x420c30
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x40]
call fcn.0041e8c0
mov ecx, dword [0x488014]
mov dword [esp + 0x14], ecx
push 0x47f4b4
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x7c], 0xd
call fcn.0041e660
mov eax, dword [esp + 0x14]
cmp dword [eax - 8], 0
jne 0x420b33
lea ecx, [eax - 0xc]
cmp ecx, dword [0x488010]
je 0x420c0f
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x420c0f
push esi
call fcn.00448106
add esp, 4
jmp 0x420c0f
mov edx, dword [0x488014]
mov dword [esp + 0x1c], edx
push 0x47f4b4
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x50]
mov byte [esp + 0x7c], 0xe
call fcn.0041e660
mov esi, dword [esp + 0x1c]
cmp dword [esi - 8], 0
je 0x420bfd
push 0x47836c
lea ecx, [esp + 0x1c]
call fcn.0041e520
push 0x478264
lea ecx, [esp + 0x18]
call fcn.0041d930
mov edx, dword [esi - 8]
push esi
push edx
lea ecx, [esp + 0x1c]
call fcn.00412590
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0x20]
call fcn.00412590
mov ebx, dword [esp + 0x18]
mov ecx, dword [edi]
mov edx, dword [ecx]
push ebx
push ebp
push edi
call edx
mov eax, dword [0x488014]
mov dword [esp + 0x20], eax
push 0x47f4b4
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0x7c], 0xf
call fcn.0041e660
push 0x478368
lea eax, [esp + 0x24]
push eax
call fcn.00419050
test al, al
je 0x420bf4
mov ecx, dword [edi]
mov edx, dword [ecx + 0x1c]
push ebx
push ebp
push edi
call edx
lea ecx, [esp + 0x20]
call fcn.00412420
lea ecx, [esp + 0x1c]
call fcn.00412420
lea ecx, [esp + 0x14]
call fcn.00412420
lea ecx, [esp + 0x44]
mov byte [esp + 0x70], 0xb
call fcn.0041e030
mov eax, dword [esp + 0x24]
inc eax
cmp eax, dword [esp + 0x34]
mov dword [esp + 0x24], eax
jl 0x420ac4
push ebp
call fcn.00420390
add esp, 4
lea ecx, [esp + 0x28]
call fcn.0041f5b0
lea ecx, [esp + 0x2c]
call fcn.0041f5b0
lea ecx, [esp + 0x30]
call fcn.0041f5b0
mov eax, dword [esp + 0x40]
mov byte [esp + 0x70], 5
mov dword [esp + 0x38], vtable.CXMLArchiveItemList.0
test eax, eax
je 0x420c71
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x54]
mov byte [esp + 0x70], 0
call fcn.0041f6f0
lea eax, [ebx - 0xc]
cmp eax, dword [0x488010]
je 0x420ca1
lea esi, [ebx - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x420ca1
push esi
call fcn.00448106
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret