Function at 0x446d60
Capabilities:
Check if file exists
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5a552c
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x10c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x11c]
mov esi, dword [eax + 0x38]
lea ebx, [eax + 0x30]
xor ebp, ebp
cmp dword [ebx + 4], esi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ebx
jbe 0x446dcc
call fcn.00578ff3
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jbe 0x446dd9
call fcn.00578ff3
push esi
push ebx
push edi
push ebx
lea eax, [esp + 0x48]
push eax
push ebx
call fcn.00449170
xor edi, edi
mov dword [esp + 0x38], edi
mov edi, edi
mov esi, dword [esp + edi*4 + 0x40]
cmp esi, ebp
mov dword [esp + 0x2c], esi
je 0x447616
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x447616
call fcn.0041ddc0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
lea ecx, [esp + 0x84]
mov dword [esp + 0x114], ebp
call fcn.00574010
push 0x5c0530
push esi
mov byte [esp + 0x11c], 1
call fcn.0057b8be
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x447592
push 1
push esi
lea ecx, [esp + 0x8c]
call fcn.005740a0
push esi
mov bl, al
call fcn.0057b943
add esp, 4
test bl, bl
je 0x447592
lea ecx, [esp + 0x84]
call fcn.00573530
push str.Skins
mov ecx, eax
call fcn.005734c0
cmp eax, ebp
mov dword [esp + 0x28], eax
je 0x447592
mov ecx, eax
call fcn.00573490
cmp eax, ebp
mov dword [esp + 0x24], eax
je 0x447504
jmp 0x446eb0
lea edi, [esp + 0x4c]
call fcn.004406e0
mov dword [esp + 0x4c], vtable.SKIN_INFO_LISTEX.0
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebp
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x34]
mov byte [esp + 0x114], 2
jne 0x446ef0
mov dword [esp + 0x68], 1
jmp 0x446efa
cmp eax, dword [esp + 0x30]
jne 0x446efa
mov dword [esp + 0x68], ebp
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x4c]
add eax, 0x2c
cmp ecx, eax
je 0x4473e0
cmp ecx, ebp
mov dword [esp + 0x14], ecx
je 0x4473e0
jmp 0x446f20
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 0x14]
add ecx, 8
mov ebx, 0xf
xor ebp, ebp
mov eax, ecx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe0], ebp
mov byte [esp + 0xd0], 0
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x446f50
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0xd4]
call fcn.00405f50
mov byte [esp + 0x114], 3
mov ecx, dword [edi + 0x18]
add ecx, 8
mov eax, ecx
mov dword [esp + 0x100], ebx
mov dword [esp + 0xfc], ebp
mov byte [esp + 0xec], 0
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x446f92
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0xf0]
call fcn.00405f50
mov byte [esp + 0x114], 4
cmp dword [esp + 0x100], 0x10
jb 0x446fcc
mov esi, dword [esp + 0xec]
cmp esi, ebp
jne 0x446fd3
xor ebp, ebp
jmp 0x447027
lea esi, [esp + 0xec]
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call ebx
mov edi, eax
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0057740a
mov ebp, eax
add esp, 4
lea eax, [edi + edi + 2]
push eax
push 0
push ebp
call fcn.00580260
add esp, 0xc
push edi
push ebp
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call ebx
mov esi, dword [esp + 0xe0]
cmp esi, 8
mov eax, esi
jb 0x44703a
mov eax, 8
mov edx, dword [esp + 0xd0]
mov edi, 0x10
cmp dword [esp + 0xe4], edi
jae 0x447056
lea edx, [esp + 0xd0]
mov ecx, str.FileName
call fcn.004403d0
test eax, eax
jne 0x4470a2
cmp esi, 8
jb 0x4470a7
cmp esi, 8
setne al
test eax, eax
jne 0x4470a2
test ebp, ebp
je 0x44708f
mov eax, ebp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x447080
sub eax, edx
sar eax, 1
mov ebx, eax
push ebp
lea eax, [esp + 0x5c]
call fcn.00404050
mov esi, dword [esp + 0xe0]
cmp esi, 8
jae 0x4470ab
mov eax, esi
jmp 0x4470b0
mov eax, 8
cmp dword [esp + 0xe4], edi
mov edx, dword [esp + 0xd0]
jae 0x4470c7
lea edx, [esp + 0xd0]
mov ecx, 0x5c0638
call fcn.004403d0
test eax, eax
jne 0x447112
cmp esi, 8
jb 0x447117
cmp esi, 8
setne al
test eax, eax
jne 0x447112
test ebp, ebp
je 0x4470ff
mov eax, ebp
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4470f0
sub eax, edx
sar eax, 1
mov ebx, eax
push ebp
lea eax, [esp + 0x60]
call fcn.00404050
mov esi, dword [esp + 0xe0]
cmp esi, 8
jae 0x44711b
mov eax, esi
jmp 0x447120
mov eax, 8
cmp dword [esp + 0xe4], edi
mov edx, dword [esp + 0xd0]
jae 0x447137
lea edx, [esp + 0xd0]
mov ecx, str.FilePath
call fcn.004403d0
test eax, eax
jne 0x447182
cmp esi, 8
jb 0x447182
cmp esi, 8
setne al
test eax, eax
jne 0x447182
test ebp, ebp
je 0x44716f
mov eax, ebp
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x447160
sub eax, edx
sar eax, 1
mov ebx, eax
push ebp
lea eax, [esp + 0x58]
call fcn.00404050
mov esi, dword [esp + 0xe0]
cmp esi, 4
mov eax, esi
jb 0x44718e
mov eax, 4
cmp dword [esp + 0xe4], edi
mov edx, dword [esp + 0xd0]
jae 0x4471a5
lea edx, [esp + 0xd0]
mov ecx, str.GUID
call fcn.004403d0
test eax, eax
jne 0x4471f2
cmp esi, 4
jb 0x4471f2
cmp esi, 4
setne al
test eax, eax
jne 0x4471f2
test ebp, ebp
je 0x4471df
mov eax, ebp
lea edx, [eax + 2]
jmp 0x4471d0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4471d0
sub eax, edx
sar eax, 1
mov ebx, eax
push ebp
lea eax, [esp + 0x54]
call fcn.00404050
mov esi, dword [esp + 0xe0]
cmp esi, 7
mov eax, esi
jb 0x4471fe
mov eax, 7
cmp dword [esp + 0xe4], edi
mov edx, dword [esp + 0xd0]
jae 0x447215
lea edx, [esp + 0xd0]
mov ecx, str.IsFrame
call fcn.004403d0
xor ebx, ebx
cmp eax, ebx
jne 0x44724d
cmp esi, 7
jb 0x44724d
xor eax, eax
cmp esi, 7
setne al
cmp eax, ebx
jne 0x44724d
push 0xa
push ebx
push ebp
call fcn.00578c22
mov esi, dword [esp + 0xec]
add esp, 0xc
mov dword [esp + 0x64], eax
cmp esi, 9
mov eax, esi
jb 0x447259
mov eax, 9
cmp dword [esp + 0xe4], edi
mov edx, dword [esp + 0xd0]
jae 0x447270
lea edx, [esp + 0xd0]
mov ecx, str.EnableUse
call fcn.004403d0
cmp eax, ebx
jne 0x4472a6
cmp esi, 9
jb 0x4472a6
xor eax, eax
cmp esi, 9
setne al
cmp eax, ebx
jne 0x4472a6
push 0xa
push ebx
push ebp
call fcn.00578c22
mov esi, dword [esp + 0xec]
add esp, 0xc
mov dword [esp + 0x60], eax
cmp esi, 0xa
mov eax, esi
jb 0x4472b2
mov eax, 0xa
cmp dword [esp + 0xe4], edi
mov edx, dword [esp + 0xd0]
jae 0x4472c9
lea edx, [esp + 0xd0]
mov ecx, str.LastModify
call fcn.004403d0
cmp eax, ebx
jne 0x4472ff
cmp esi, 0xa
jb 0x4472ff
xor eax, eax
cmp esi, 0xa
setne al
cmp eax, ebx
jne 0x4472ff
push 0xa
push ebx
push ebp
call fcn.00578c22
mov esi, dword [esp + 0xec]
add esp, 0xc
mov dword [esp + 0x70], eax
cmp esi, 8
mov eax, esi
jb 0x44730b
mov eax, 8
cmp dword [esp + 0xe4], edi
mov edx, dword [esp + 0xd0]
jae 0x447322
lea edx, [esp + 0xd0]
mov ecx, str.SkinType
call fcn.004403d0
cmp eax, ebx
jne 0x447351
cmp esi, 8
jb 0x447351
xor eax, eax
cmp esi, 8
setne al
cmp eax, ebx
jne 0x447351
push 0xa
push ebx
push ebp
call fcn.00578c22
add esp, 0xc
mov dword [esp + 0x6c], eax
cmp ebp, ebx
je 0x44735e
push ebp
call fcn.0057832c
add esp, 4
cmp dword [esp + 0x100], edi
jb 0x447377
mov ecx, dword [esp + 0xec]
push ecx
call fcn.00578327
add esp, 4
mov esi, 0xf
mov byte [esp + 0x114], 2
cmp dword [esp + 0xe4], edi
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], 0
jb 0x4473b3
mov edx, dword [esp + 0xd0]
push edx
call fcn.00578327
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], 0
call fcn.005736b0
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x446f20
xor ebp, ebp
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
call fcn.00403ce0
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x114], 5
mov edi, dword [eax - 0xc]
cmp edi, ebp
jle 0x447460
lea ecx, [edi - 1]
cmp ecx, ebp
jl 0x447655
cmp ecx, edi
jg 0x447655
movzx ecx, word [eax + ecx*2]
cmp cx, 0x5c
je 0x447460
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
lea esi, [edi + 1]
sub ecx, esi
or ecx, edx
jge 0x447442
mov ecx, esi
lea eax, [esp + 0x14]
call fcn.00403d50
mov eax, dword [esp + 0x14]
cmp esi, ebp
mov word [eax + edi*2], 0x5c
jl 0x447655
cmp esi, dword [eax - 8]
jg 0x447655
mov dword [eax - 0xc], esi
mov word [eax + esi*2], bp
mov eax, dword [esp + 0x58]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00403fc0
mov ebx, dword [esp + 0x14]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x447492
mov esi, dword [esp + 0x48]
lea ecx, [esp + 0x4c]
push ecx
call fcn.00448cc0
jmp 0x4474ba
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
lea edi, [eax + 4]
lea edx, [esp + 0x24]
push edx
push ecx
push eax
call fcn.0041dde0
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.005260e0
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
lea eax, [ebx - 0x10]
mov byte [esp + 0x114], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4474de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x114], 1
call fcn.004408b0
mov ecx, dword [esp + 0x24]
call fcn.00573500
cmp eax, ebp
mov dword [esp + 0x24], eax
jne 0x446eb0
cmp dword [esp + 0x20], ebp
jbe 0x447592
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
mov edi, dword [esp + 0x28]
cmp esi, eax
je 0x44753c
mov ecx, dword [esi + 8]
push ecx
mov ecx, edi
call fcn.00573390
mov eax, dword [esp + 0x1c]
cmp esi, eax
jne 0x447538
call fcn.00578ff3
mov eax, dword [esp + 0x1c]
mov esi, dword [esi]
jmp 0x447518
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 4], eax
cmp ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
je 0x447564
mov esi, dword [ecx]
push ecx
call fcn.00578327
add esp, 4
cmp esi, dword [esp + 0x1c]
mov ecx, esi
jne 0x447551
mov edx, dword [esp + 0x2c]
push 0x5c0538
push edx
call fcn.0057b8be
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x447592
push esi
lea ecx, [esp + 0x88]
call fcn.005735c0
push esi
call fcn.0057b943
add esp, 4
mov byte [esp + 0x114], 0
mov eax, dword [esp + 0xb8]
cmp eax, 0x5fcca0
mov dword [esp + 0x84], vtable.TiXmlDocument.0
je 0x4475bc
push eax
call fcn.0057832c
add esp, 4
lea ecx, [esp + 0x84]
call fcn.00573bb0
mov dword [esp + 0x114], 0xffffffff
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
mov dword [esp + 0x20], ebp
je 0x447605
mov edi, edi
mov esi, dword [eax]
push eax
call fcn.00578327
mov ecx, dword [esp + 0x20]
add esp, 4
cmp esi, ecx
mov eax, esi
jne 0x4475f0
push ecx
call fcn.00578327
mov edi, dword [esp + 0x3c]
add esp, 4
mov dword [esp + 0x1c], ebp
add edi, 1
cmp edi, 2
mov dword [esp + 0x38], edi
jl 0x446df0
mov eax, 1
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.005787fd
add esp, 0x104
ret 4
push 0x80070057
call fcn.00404550
int3