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

Disassembly:
push 0xffffffffffffffff
push 0x52c10c
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x56b1dc]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56b1dc]
xor eax, esp
push eax
lea eax, [esp + 0x114]
mov dword fs:[0], eax
mov eax, dword [esp + 0x124]
mov esi, dword [eax + 0x38]
cmp dword [eax + 0x34], esi
lea ebx, [eax + 0x30]
mov dword [esp + 0x44], 0
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x34], ebx
jbe 0x4346ce
call fcn.00500ad0
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jbe 0x4346db
call fcn.00500ad0
push esi
push ebx
push edi
push ebx
lea eax, [esp + 0x58]
push eax
push ebx
call fcn.00437be0
xor esi, esi
mov dword [esp + 0x30], esi
xor edi, edi
mov ebp, dword [esp + esi*4 + 0x40]
cmp ebp, edi
mov dword [esp + 0x2c], ebp
je 0x434f76
push ebp
call dword [0x5313c0]
test eax, eax
je 0x434f76
call fcn.0040dcc0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
lea ecx, [esp + 0x8c]
mov dword [esp + 0x11c], edi
call fcn.004fcc60
push 0x53709c
push ebp
mov byte [esp + 0x124], 1
call fcn.00501b96
mov esi, eax
add esp, 8
cmp esi, edi
je 0x434ef1
push 1
push esi
lea ecx, [esp + 0x94]
call fcn.004fccf0
push esi
mov bl, al
call fcn.00501c1b
add esp, 4
test bl, bl
je 0x434ef1
lea ecx, [esp + 0x8c]
call fcn.004fc180
push str.Skins
mov ecx, eax
call fcn.004fc110
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x48], ebx
je 0x434ef1
mov ecx, ebx
call fcn.004fc0e0
cmp eax, edi
mov dword [esp + 0x28], eax
je 0x434e66
lea esp, [esp]
lea edi, [esp + 0x50]
xor esi, esi
call fcn.00430980
mov dword [esp + 0x50], vtable.SKIN_INFO_LISTEX.0
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
cmp ebp, dword [esp + 0x3c]
mov byte [esp + 0x11c], 2
jne 0x4347f8
mov dword [esp + 0x6c], 1
jmp 0x434802
cmp ebp, dword [esp + 0x38]
jne 0x434802
mov dword [esp + 0x6c], esi
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x4c]
add eax, 0x2c
cmp ecx, eax
je 0x434cde
test ecx, ecx
mov dword [esp + 0x18], ecx
je 0x434cde
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 0x14]
add ecx, 8
mov ebx, 0xf
xor ebp, ebp
mov eax, ecx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xe8], ebp
mov byte [esp + 0xd8], 0
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x434850
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0xdc]
call fcn.0040dd70
mov byte [esp + 0x11c], 3
mov ecx, dword [edi + 0x18]
add ecx, 8
mov eax, ecx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x104], ebp
mov byte [esp + 0xf4], 0
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x434892
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0xf8]
call fcn.0040dd70
mov byte [esp + 0x11c], 4
cmp dword [esp + 0x108], 0x10
jb 0x4348cc
mov esi, dword [esp + 0xf4]
cmp esi, ebp
jne 0x4348d3
xor ebp, ebp
jmp 0x434927
lea esi, [esp + 0xf4]
mov ebx, dword [0x531340]
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.005002a8
mov ebp, eax
add esp, 4
lea eax, [edi + edi + 2]
push eax
push 0
push ebp
call fcn.00508d80
add esp, 0xc
push edi
push ebp
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call ebx
mov esi, dword [esp + 0xe8]
cmp esi, 8
mov eax, esi
jb 0x43493a
mov eax, 8
mov edx, dword [esp + 0xd8]
mov edi, 0x10
cmp dword [esp + 0xec], edi
jae 0x434956
lea edx, [esp + 0xd8]
mov ecx, str.FileName
call fcn.00430590
test eax, eax
jne 0x4349a2
cmp esi, 8
jb 0x4349a7
cmp esi, 8
setne al
test eax, eax
jne 0x4349a2
test ebp, ebp
je 0x43498f
mov eax, ebp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x434980
sub eax, edx
sar eax, 1
mov ebx, eax
push ebp
lea eax, [esp + 0x60]
call fcn.004026c0
mov esi, dword [esp + 0xe8]
cmp esi, 8
jae 0x4349ab
mov eax, esi
jmp 0x4349b0
mov eax, 8
cmp dword [esp + 0xec], edi
mov edx, dword [esp + 0xd8]
jae 0x4349c7
lea edx, [esp + 0xd8]
mov ecx, 0x543750
call fcn.00430590
test eax, eax
jne 0x434a12
cmp esi, 8
jb 0x434a17
cmp esi, 8
setne al
test eax, eax
jne 0x434a12
test ebp, ebp
je 0x4349ff
mov eax, ebp
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4349f0
sub eax, edx
sar eax, 1
mov ebx, eax
push ebp
lea eax, [esp + 0x64]
call fcn.004026c0
mov esi, dword [esp + 0xe8]
cmp esi, 8
jae 0x434a1b
mov eax, esi
jmp 0x434a20
mov eax, 8
cmp dword [esp + 0xec], edi
mov edx, dword [esp + 0xd8]
jae 0x434a37
lea edx, [esp + 0xd8]
mov ecx, str.FilePath
call fcn.00430590
test eax, eax
jne 0x434a82
cmp esi, 8
jb 0x434a82
cmp esi, 8
setne al
test eax, eax
jne 0x434a82
test ebp, ebp
je 0x434a6f
mov eax, ebp
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x434a60
sub eax, edx
sar eax, 1
mov ebx, eax
push ebp
lea eax, [esp + 0x5c]
call fcn.004026c0
mov esi, dword [esp + 0xe8]
cmp esi, 4
mov eax, esi
jb 0x434a8e
mov eax, 4
cmp dword [esp + 0xec], edi
mov edx, dword [esp + 0xd8]
jae 0x434aa5
lea edx, [esp + 0xd8]
mov ecx, str.GUID
call fcn.00430590
test eax, eax
jne 0x434af2
cmp esi, 4
jb 0x434af2
cmp esi, 4
setne al
test eax, eax
jne 0x434af2
test ebp, ebp
je 0x434adf
mov eax, ebp
lea edx, [eax + 2]
jmp 0x434ad0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x434ad0
sub eax, edx
sar eax, 1
mov ebx, eax
push ebp
lea eax, [esp + 0x58]
call fcn.004026c0
mov esi, dword [esp + 0xe8]
cmp esi, 7
mov eax, esi
jb 0x434afe
mov eax, 7
cmp dword [esp + 0xec], edi
mov edx, dword [esp + 0xd8]
jae 0x434b15
lea edx, [esp + 0xd8]
mov ecx, str.IsFrame
call fcn.00430590
xor ebx, ebx
cmp eax, ebx
jne 0x434b4d
cmp esi, 7
jb 0x434b4d
xor eax, eax
cmp esi, 7
setne al
cmp eax, ebx
jne 0x434b4d
push 0xa
push ebx
push ebp
call fcn.0050095a
mov esi, dword [esp + 0xf4]
add esp, 0xc
mov dword [esp + 0x68], eax
cmp esi, 9
mov eax, esi
jb 0x434b59
mov eax, 9
cmp dword [esp + 0xec], edi
mov edx, dword [esp + 0xd8]
jae 0x434b70
lea edx, [esp + 0xd8]
mov ecx, str.EnableUse
call fcn.00430590
cmp eax, ebx
jne 0x434ba6
cmp esi, 9
jb 0x434ba6
xor eax, eax
cmp esi, 9
setne al
cmp eax, ebx
jne 0x434ba6
push 0xa
push ebx
push ebp
call fcn.0050095a
mov esi, dword [esp + 0xf4]
add esp, 0xc
mov dword [esp + 0x64], eax
cmp esi, 0xa
mov eax, esi
jb 0x434bb2
mov eax, 0xa
cmp dword [esp + 0xec], edi
mov edx, dword [esp + 0xd8]
jae 0x434bc9
lea edx, [esp + 0xd8]
mov ecx, str.LastModify
call fcn.00430590
cmp eax, ebx
jne 0x434bff
cmp esi, 0xa
jb 0x434bff
xor eax, eax
cmp esi, 0xa
setne al
cmp eax, ebx
jne 0x434bff
push 0xa
push ebx
push ebp
call fcn.0050095a
mov esi, dword [esp + 0xf4]
add esp, 0xc
mov dword [esp + 0x74], eax
cmp esi, 8
mov eax, esi
jb 0x434c0b
mov eax, 8
cmp dword [esp + 0xec], edi
mov edx, dword [esp + 0xd8]
jae 0x434c22
lea edx, [esp + 0xd8]
mov ecx, str.SkinType
call fcn.00430590
cmp eax, ebx
jne 0x434c51
cmp esi, 8
jb 0x434c51
xor eax, eax
cmp esi, 8
setne al
cmp eax, ebx
jne 0x434c51
push 0xa
push ebx
push ebp
call fcn.0050095a
add esp, 0xc
mov dword [esp + 0x70], eax
cmp ebp, ebx
je 0x434c5e
push ebp
call fcn.00500319
add esp, 4
cmp dword [esp + 0x108], edi
jb 0x434c77
mov ecx, dword [esp + 0xf4]
push ecx
call fcn.004ffbbe
add esp, 4
mov esi, 0xf
mov byte [esp + 0x11c], 2
cmp dword [esp + 0xec], edi
mov dword [esp + 0x108], esi
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], 0
jb 0x434cb3
mov edx, dword [esp + 0xd8]
push edx
call fcn.004ffbbe
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], 0
call fcn.004fc300
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x434820
mov esi, dword [esp + 0x58]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add esi, 0xfffffff0
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x434d09
cmp eax, dword [esi]
jne 0x434d09
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x434d44
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x434fb5
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.004ffedf
add esp, 0x10
lea eax, [edi + 0x10]
mov dword [esp + 0x18], eax
mov byte [esp + 0x11c], 5
mov edi, dword [eax - 0xc]
test edi, edi
jle 0x434dba
lea ecx, [edi - 1]
test ecx, ecx
jl 0x434fba
cmp ecx, edi
jg 0x434fba
movzx ecx, word [eax + ecx*2]
cmp cx, 0x5c
je 0x434dba
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
lea esi, [edi + 1]
sub ecx, esi
or ecx, edx
jge 0x434d9a
mov ecx, esi
lea eax, [esp + 0x18]
call fcn.00402120
mov eax, dword [esp + 0x18]
test esi, esi
mov word [eax + edi*2], 0x5c
jl 0x434fba
cmp esi, dword [eax - 8]
jg 0x434fba
mov dword [eax - 0xc], esi
mov word [eax + esi*2], 0
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00411670
mov ebx, dword [esp + 0x18]
push ebx
call dword [0x5313c0]
test eax, eax
je 0x434dec
mov esi, dword [esp + 0x34]
lea edx, [esp + 0x50]
push edx
call fcn.004375c0
jmp 0x434e14
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 4]
lea edi, [eax + 4]
lea ecx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.0042dd20
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.0042dd60
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
lea eax, [ebx - 0x10]
mov byte [esp + 0x11c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434e38
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x11c], 1
call fcn.00430b60
mov ecx, dword [esp + 0x28]
call fcn.004fc150
test eax, eax
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
jne 0x4347b0
mov ebx, dword [esp + 0x48]
cmp dword [esp + 0x24], 0
jbe 0x434ef1
mov eax, dword [esp + 0x20]
mov esi, dword [eax]
cmp esi, eax
je 0x434e9b
mov ecx, dword [esi + 8]
push ecx
mov ecx, ebx
call fcn.004fbfe0
mov eax, dword [esp + 0x20]
cmp esi, eax
jne 0x434e97
call fcn.00500ad0
mov eax, dword [esp + 0x20]
mov esi, dword [esi]
jmp 0x434e77
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [esp + 0x20]
mov dword [eax + 4], eax
cmp ecx, dword [esp + 0x20]
mov dword [esp + 0x24], 0
je 0x434ec7
mov esi, dword [ecx]
push ecx
call fcn.004ffbbe
add esp, 4
cmp esi, dword [esp + 0x20]
mov ecx, esi
jne 0x434eb4
push 0x536e98
push ebp
call fcn.00501b96
mov esi, eax
add esp, 8
test esi, esi
je 0x434ef1
push esi
lea ecx, [esp + 0x90]
call fcn.004fc210
push esi
call fcn.00501c1b
add esp, 4
mov byte [esp + 0x11c], 0
mov eax, dword [esp + 0xc0]
cmp eax, 0x574e80
mov dword [esp + 0x8c], vtable.TiXmlDocument.0
je 0x434f1b
push eax
call fcn.00500319
add esp, 4
lea ecx, [esp + 0x8c]
call fcn.004fc800
mov dword [esp + 0x11c], 0xffffffff
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x20]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x20]
xor edi, edi
cmp eax, ecx
mov dword [esp + 0x24], edi
je 0x434f65
nop
mov esi, dword [eax]
push eax
call fcn.004ffbbe
mov ecx, dword [esp + 0x24]
add esp, 4
cmp esi, ecx
mov eax, esi
jne 0x434f50
push ecx
call fcn.004ffbbe
mov esi, dword [esp + 0x34]
add esp, 4
mov dword [esp + 0x20], edi
add esi, 1
cmp esi, 2
mov dword [esp + 0x30], esi
jl 0x4346f2
mov eax, 1
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.004ff939
add esp, 0x10c
ret 4
call fcn.004020a0
push 0x80070057
call fcn.004026a0
int3