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

Disassembly:
push 0xffffffffffffffff
push 0x4a6da4
mov eax, dword fs:[0]
push eax
mov eax, 0x105c
call fcn.0048ed30
mov eax, dword [0x4c97a0]
xor eax, esp
mov dword [esp + 0x1058], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c97a0]
xor eax, esp
push eax
lea eax, [esp + 0x1070]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x30], edi
call fcn.004629e0
test eax, eax
je 0x47d0cc
mov ecx, dword [eax]
mov edx, dword [ecx + 0x6c]
push eax
call edx
mov ebx, eax
test ebx, ebx
je 0x47d0cc
mov ebp, dword [edi + 4]
push 0x800
lea eax, [esp + 0x870]
push 0
push eax
mov dword [esp + 0x40], ebp
call fcn.0048dc10
add esp, 0xc
lea esi, [esp + 0x86c]
call fcn.0047c860
xor esi, esi
cmp dword [edi + 8], esi
jle 0x47cf34
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
jmp 0x47cf20
lea ecx, [esp + 0x86c]
push ecx
call edi
mov edx, dword [esp + 0x30]
inc esi
cmp esi, dword [edx + 8]
jl 0x47cf20
push str.configconfig.xml
lea eax, [esp + 0x870]
push eax
lea ecx, [esp + 0x74]
push ecx
mov dword [esp + 0x78], 0
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x18]
push edx
mov edi, 0x4ba4a8
call fcn.0047bfe0
lea eax, [esp + 0x14]
push eax
lea edi, [esp + 0x70]
mov dword [esp + 0x107c], 0
call fcn.0047bfe0
lea ecx, [esp + 0x18]
push ecx
push ebp
lea ecx, [esp + 0x1c]
lea esi, [esp + 0x60]
mov byte [esp + 0x1080], 1
call fcn.0047b4d0
mov esi, dword [esp + 0x14]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test esi, esi
je 0x47cfd5
lea edx, [esi + 8]
push edx
call ebp
test eax, eax
jne 0x47cfd5
mov eax, dword [esi]
test eax, eax
je 0x47cfbc
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x47cfcc
push eax
call fcn.0048c465
add esp, 4
push esi
call fcn.0048b128
add esp, 4
mov byte [esp + 0x1078], 4
mov esi, dword [esp + 0x18]
test esi, esi
je 0x47d015
lea eax, [esi + 8]
push eax
call ebp
test eax, eax
jne 0x47d015
mov eax, dword [esi]
test eax, eax
je 0x47cffc
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x47d00c
push eax
call fcn.0048c465
add esp, 4
push esi
call fcn.0048b128
add esp, 4
cmp dword [esp + 0x5c], 0
sete al
test al, al
sete al
test al, al
je 0x47d0c3
lea ecx, [esp + 0x18]
push ecx
mov edi, str.Root.Config_Skin_Item
call fcn.0047bfe0
lea edx, [esp + 0x58]
push edx
mov edx, eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x107c], 5
call fcn.0047bc40
mov byte [esp + 0x1078], 7
mov eax, dword [esp + 0x18]
test eax, eax
je 0x47d09f
mov esi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x47d097
test esi, esi
je 0x47d097
mov eax, dword [esi]
test eax, eax
je 0x47d07e
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x47d08e
push eax
call fcn.0048c465
add esp, 4
push esi
call fcn.0048b128
add esp, 4
mov dword [esp + 0x18], 0
mov esi, dword [esp + 0x50]
mov dword [esp + 0x38], esi
test esi, esi
jg 0x47d0d4
mov byte [esp + 0x1078], 4
mov eax, dword [esp + 0x54]
test eax, eax
je 0x47d0c3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x58]
call fcn.0047b650
or eax, 0xffffffff
jmp 0x47d435
lea eax, [esp + 0x20]
push eax
mov edi, str.SkinPath
call fcn.0047bfe0
lea ecx, [esp + 0x1c]
push ecx
mov edi, str.DefaultSkin
mov byte [esp + 0x107c], 8
call fcn.0047bfe0
lea edx, [esp + 0x24]
push edx
mov edi, str.StorageFile
mov byte [esp + 0x107c], 9
call fcn.0047bfe0
xor edx, edx
mov byte [esp + 0x1078], 0xa
mov dword [esp + 0x28], edx
test esi, esi
jle 0x47d35e
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x50]
call fcn.0047c3c0
mov byte [esp + 0x1078], 0xb
mov edx, dword [0x4ce67c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ce67c
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
lea esi, [esp + 0x40]
mov byte [esp + 0x107c], 0xc
call fcn.0047c760
mov ebp, dword [esp + 0x14]
cmp dword [ebp - 0xc], 0
jne 0x47d195
lea eax, [ebp - 0x10]
mov byte [esp + 0x1078], 0xb
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x47d328
mov edx, dword [0x4ce67c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ce67c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
lea esi, [esp + 0x40]
mov byte [esp + 0x107c], 0xd
call fcn.0047c760
mov edi, dword [esp + 0x18]
cmp dword [edi - 0xc], 0
jne 0x47d1ed
lea eax, [edi - 0x10]
mov byte [esp + 0x1078], 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x47d304
push 1
push 0x4b42e8
lea ecx, [esp + 0x1c]
push ecx
call fcn.00454250
mov eax, dword [edi - 0xc]
push eax
push edi
lea edx, [esp + 0x1c]
push edx
call fcn.00454250
push 0x800
lea eax, [esp + 0x70]
push 0
push eax
call fcn.0048dc10
mov ebp, dword [esp + 0x20]
add esp, 0xc
push ebp
lea ecx, [esp + 0x870]
push ecx
lea edx, [esp + 0x74]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edx, dword [esp + 0x34]
mov eax, dword [ebx]
mov eax, dword [eax]
lea ecx, [esp + 0x6c]
push ecx
push edx
push ebx
call eax
mov edx, dword [0x4ce67c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ce67c
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x20]
lea esi, [esp + 0x40]
mov byte [esp + 0x107c], 0xe
call fcn.0047c760
mov esi, dword [esp + 0x2c]
mov ecx, 0x4ba5f0
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47d2ac
test dx, dx
je 0x47d2a8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47d2ac
add eax, 4
add ecx, 4
test dx, dx
jne 0x47d286
xor eax, eax
jmp 0x47d2b1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x47d2c8
mov eax, dword [esp + 0x34]
mov edx, dword [ebx]
mov ecx, dword [edx + 0x1c]
push ebp
push eax
push ebx
call ecx
lea eax, [esi - 0x10]
mov byte [esp + 0x1078], 0xd
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47d2ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x1078], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47d310
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x1078], 0xb
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47d334
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1078], 0xa
call fcn.0047c630
mov edx, dword [esp + 0x28]
inc edx
cmp edx, dword [esp + 0x38]
mov dword [esp + 0x28], edx
jl 0x47d127
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ecx, dword [esp + 0x30]
call fcn.0047cc00
mov esi, dword [esp + 0x24]
test esi, esi
je 0x47d39f
lea ecx, [esi + 8]
push ecx
call ebp
test eax, eax
jne 0x47d39f
mov eax, dword [esi]
test eax, eax
je 0x47d386
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x47d396
push eax
call fcn.0048c465
add esp, 4
push esi
call fcn.0048b128
add esp, 4
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x47d3d7
lea edx, [esi + 8]
push edx
call ebp
test eax, eax
jne 0x47d3d7
mov eax, dword [esi]
test eax, eax
je 0x47d3be
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x47d3ce
push eax
call fcn.0048c465
add esp, 4
push esi
call fcn.0048b128
add esp, 4
mov esi, dword [esp + 0x20]
test esi, esi
je 0x47d40f
lea eax, [esi + 8]
push eax
call ebp
test eax, eax
jne 0x47d40f
mov eax, dword [esi]
test eax, eax
je 0x47d3f6
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x47d406
push eax
call fcn.0048c465
add esp, 4
push esi
call fcn.0048b128
add esp, 4
mov byte [esp + 0x1078], 4
mov eax, dword [esp + 0x54]
test eax, eax
je 0x47d427
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x58]
call fcn.0047b650
mov eax, 1
mov ecx, dword [esp + 0x1070]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1058]
xor ecx, esp
call fcn.0048b133
add esp, 0x1068
ret