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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10170c45
mov eax, dword fs:[0]
push eax
sub esp, 0x6c0
mov eax, dword [0x101bd92c]
xor eax, esp
mov dword [esp + 0x6b8], eax
push ebx
push esi
push edi
mov eax, dword [0x101bd92c]
xor eax, esp
push eax
lea eax, [esp + 0x6d0]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x2c], esi
mov eax, dword [ebp + 8]
mov dword [esp + 0x5c], eax
xor eax, eax
push 0x206
push eax
mov word [esp + 0x2bc], ax
lea eax, [esp + 0x2be]
push eax
call fcn.10098090
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [esp + 0xb4], ax
lea eax, [esp + 0xb6]
push eax
call fcn.10098090
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [esp + 0x4c4], ax
lea eax, [esp + 0x4c6]
push eax
call fcn.10098090
add esp, 0xc
cmp dword [esi + 0xc], 0
je 0x10053306
add esi, 0x14
cmp dword [esi + 0x14], 8
jb 0x10053234
mov eax, dword [esi]
jmp 0x10053236
mov eax, esi
push eax
lea eax, [esp + 0x2b8]
push str._sTempSkin_
push eax
call fcn.10091da4
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x10053256
mov eax, dword [esi]
jmp 0x10053258
mov eax, esi
push eax
lea eax, [esp + 0x4c0]
push str._sTempSkinSkin.xml
push eax
call fcn.10091da4
add esp, 0xc
lea eax, [esp + 0x4bc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1005329e
cmp dword [esi + 0x14], 8
jb 0x10053288
mov esi, dword [esi]
push esi
lea eax, [esp + 0x2b8]
push str._sSkin_
push eax
call fcn.10091da4
add esp, 0xc
mov esi, dword [esp + 0x2c]
mov eax, dword [esi + 0x7c]
mov eax, dword [eax + 4]
mov ebx, dword [eax]
mov ebx, dword [ebx]
mov dword [esp + 0x24], ebx
cmp ebx, dword [eax]
je 0x100540b4
jmp 0x100532c0
lea eax, [ebx + 0x10]
mov dword [esp + 0x60], eax
lea eax, [ebx + 0x28]
test eax, eax
je 0x1005404d
mov edi, dword [eax]
mov dword [esp + 0x50], edi
test edi, edi
je 0x1005404d
push 8
call fcn.10092352
add esp, 4
mov dword [esp + 0x34], eax
mov dword [esp + 0x6d8], 0
test eax, eax
je 0x1005332c
mov ecx, eax
call fcn.10055aa0
jmp 0x1005332e
cmp dword [esi + 0x28], 8
lea eax, [esi + 0x14]
jb 0x10053311
mov eax, dword [eax]
push eax
lea eax, [esp + 0x2b8]
push str._sSkin_
push eax
call fcn.10091da4
add esp, 0xc
jmp 0x100532a2
xor eax, eax
mov dword [esp + 0x6d8], 0xffffffff
mov dword [esp + 0x3c], eax
mov edi, dword [edi + 4]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], edi
cmp edi, dword [eax + 8]
je 0x10053f91
mov ebx, dword [esp + 0x2c]
lea ecx, [ecx]
lea eax, [edi + 0x18]
test eax, eax
je 0x10053f75
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
test eax, eax
je 0x10053f75
push 8
call fcn.10092352
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x6d8], 1
test eax, eax
je 0x100533a1
mov ecx, eax
call fcn.10055be0
mov esi, eax
jmp 0x100533a3
xor esi, esi
mov dword [esp + 0x6d8], 0xffffffff
cmp dword [edi + 0x14], 8
mov dword [esp + 0x40], esi
jb 0x100533bc
mov eax, dword [edi]
jmp 0x100533be
mov eax, edi
mov ecx, str.Display
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100533e9
test dx, dx
je 0x100533e5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100533e9
add eax, 4
add ecx, 4
test dx, dx
jne 0x100533c3
xor eax, eax
jmp 0x100533ee
sbb eax, eax
or eax, 1
mov ecx, dword [esp + 0x30]
test eax, eax
mov eax, dword [esp + 0x4c]
cmove ecx, esi
mov esi, dword [eax + 4]
mov dword [esp + 0x30], ecx
cmp esi, dword [eax + 8]
je 0x10053eed
mov edi, dword [esp + 0x5c]
nop
lea eax, [esi + 0x18]
test eax, eax
je 0x10053ed9
mov eax, dword [eax]
mov dword [esp + 0x20], eax
test eax, eax
je 0x10053ed9
push 8
call fcn.10092352
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x6d8], 2
test eax, eax
je 0x1005344f
mov ecx, eax
call fcn.10049ee0
jmp 0x10053451
xor eax, eax
mov dword [esp + 0x6d8], 0xffffffff
mov dword [esp + 0x1c], eax
push 7
xor eax, eax
push str.display
lea ecx, [esp + 0x9c]
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], 0
mov word [esp + 0x9c], ax
call fcn.100048b0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x6d8], 3
mov eax, dword [ecx]
lea edx, [esp + 0x94]
push edx
call dword [eax + 0x1c]
mov dword [esp + 0x6d8], 0xffffffff
cmp dword [esp + 0xa8], 8
mov dword [esp + 0x14], eax
jb 0x100534db
push dword [esp + 0x94]
call fcn.10091747
mov eax, dword [esp + 0x18]
add esp, 4
xor ecx, ecx
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], 0
mov word [esp + 0x94], cx
test eax, eax
je 0x100536c0
push 0x14
call fcn.10092352
add esp, 4
test eax, eax
je 0x10053535
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 1
mov dword [eax + 0x10], 0
mov dword [eax + 0xc], 0
jmp 0x10053537
xor eax, eax
mov edx, dword [esp + 0x14]
mov dword [esp + 0x28], eax
cmp dword [edx + 0x14], 8
jb 0x10053547
mov edx, dword [edx]
xor eax, eax
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
cmp word [edx], ax
jne 0x10053567
xor ecx, ecx
jmp 0x10053581
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x14], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10053570
sub ecx, dword [esp + 0x14]
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x6c]
call fcn.100048b0
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x6d8], 4
mov eax, dword [ecx]
lea edx, [esp + 0x64]
push edx
call dword [eax + 0x1c]
mov dword [esp + 0x6d8], 0xffffffff
cmp dword [esp + 0x78], 8
mov dword [esp + 0x14], eax
jb 0x100535cb
push dword [esp + 0x64]
call fcn.10091747
mov eax, dword [esp + 0x18]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], cx
test eax, eax
je 0x10053670
mov eax, dword [eax]
push str.image
lea ecx, [esp + 0x68]
mov dword [esp + 0x18], eax
call fcn.10004410
mov dword [esp + 0x6d8], 5
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x64]
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
mov dword [esp + 0x6d8], 0xffffffff
cmp dword [esp + 0x78], 8
mov dword [esp + 0x14], eax
jb 0x1005363d
push dword [esp + 0x64]
call fcn.10091747
mov eax, dword [esp + 0x18]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], cx
test eax, eax
je 0x10053670
mov ecx, dword [eax]
test ecx, ecx
je 0x10053670
mov eax, dword [esp + 0x28]
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0x28]
mov dword [eax + 8], 0
cmp dword [esp + 0x28], 0
je 0x100536c0
push str.display
lea ecx, [esp + 0x68]
call fcn.10004410
mov dword [esp + 0x6d8], 6
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x28]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x68]
push edx
call dword [eax]
mov dword [esp + 0x6d8], 0xffffffff
cmp dword [esp + 0x78], 8
jb 0x100536c0
push dword [esp + 0x64]
call fcn.10091747
add esp, 4
push 5
xor eax, eax
push str.image
lea ecx, [esp + 0x6c]
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
call fcn.100048b0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x6d8], 7
mov eax, dword [ecx]
lea edx, [esp + 0x64]
push edx
call dword [eax + 0x1c]
mov dword [esp + 0x6d8], 0xffffffff
cmp dword [esp + 0x78], 8
mov dword [esp + 0x18], eax
jb 0x10053729
push dword [esp + 0x64]
call fcn.10091747
mov eax, dword [esp + 0x1c]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], cx
test eax, eax
je 0x10053853
cmp dword [eax + 0x10], ecx
jbe 0x10053853
cmp dword [eax + 0x14], 8
jb 0x10053759
mov eax, dword [eax]
push eax
lea eax, [esp + 0x2b8]
push eax
lea eax, [esp + 0xb4]
push 0x101917a4
push eax
call fcn.10091da4
push 0x14
call fcn.10092352
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
je 0x100537aa
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 1
mov dword [eax + 0x10], 0
mov dword [eax + 0xc], 0
jmp 0x100537b0
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [ebx + 8], 0
mov dword [esp + 0x54], eax
jne 0x100537bf
cmp dword [ebx], 0
je 0x100537e9
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x14], 8
jb 0x100537cb
mov eax, dword [eax]
push 0x1019a478
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10053803
mov ecx, dword [esp + 0x14]
push eax
push edi
call fcn.10047250
jmp 0x10053803
lea ecx, [esp + 0xac]
push ecx
mov ecx, eax
call fcn.10047340
test eax, eax
jne 0x10053803
mov dword [ebx + 4], 1
cmp dword [esp + 0x54], 0
je 0x10053853
push str.image
lea ecx, [esp + 0x68]
call fcn.10004410
mov dword [esp + 0x6d8], 8
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x54]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x68]
push edx
call dword [eax]
mov dword [esp + 0x6d8], 0xffffffff
cmp dword [esp + 0x78], 8
jb 0x10053853
push dword [esp + 0x64]
call fcn.10091747
add esp, 4
push 5
xor eax, eax
push str.hover
lea ecx, [esp + 0x6c]
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
call fcn.100048b0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x6d8], 9
mov eax, dword [ecx]
lea edx, [esp + 0x64]
push edx
call dword [eax + 0x1c]
mov dword [esp + 0x6d8], 0xffffffff
cmp dword [esp + 0x78], 8
mov dword [esp + 0x14], eax
jb 0x100538bc
push dword [esp + 0x64]
call fcn.10091747
mov eax, dword [esp + 0x18]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], cx
test eax, eax
je 0x100539c3
cmp dword [eax + 0x10], ecx
jbe 0x10053b52
cmp dword [eax + 0x14], 8
jb 0x100538ec
mov eax, dword [eax]
push eax
lea eax, [esp + 0x2b8]
push eax
lea eax, [esp + 0xb4]
push 0x101917a4
push eax
call fcn.10091da4
push 0x14
call fcn.10092352
add esp, 0x14
mov dword [esp + 0x18], eax
test eax, eax
je 0x1005393d
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 1
mov dword [eax + 0x10], 0
mov dword [eax + 0xc], 0
jmp 0x10053943
xor eax, eax
mov dword [esp + 0x18], eax
cmp dword [ebx + 8], 0
mov dword [esp + 0x48], eax
jne 0x10053952
cmp dword [ebx], 0
je 0x1005397c
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x14], 8
jb 0x1005395e
mov eax, dword [eax]
push 0x1019a478
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10053996
mov ecx, dword [esp + 0x18]
push eax
push edi
call fcn.10047250
jmp 0x10053996
lea ecx, [esp + 0xac]
push ecx
mov ecx, eax
call fcn.10047340
test eax, eax
jne 0x10053996
mov dword [ebx + 4], 1
cmp dword [esp + 0x48], 0
je 0x10053b52
push str.hover
lea ecx, [esp + 0x68]
call fcn.10004410
mov dword [esp + 0x6d8], 0xa
lea edx, [esp + 0x48]
jmp 0x10053b26
push 0xa
mov dword [esp + 0x78], ecx
xor eax, eax
push str.imageHover
lea ecx, [esp + 0x6c]
mov dword [esp + 0x80], 7
mov word [esp + 0x6c], ax
call fcn.100048b0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x6d8], 0xb
mov eax, dword [ecx]
lea edx, [esp + 0x64]
push edx
call dword [eax + 0x1c]
mov dword [esp + 0x6d8], 0xffffffff
cmp dword [esp + 0x78], 8
mov dword [esp + 0x14], eax
jb 0x10053a28
push dword [esp + 0x64]
call fcn.10091747
mov eax, dword [esp + 0x18]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], cx
test eax, eax
je 0x10053b52
cmp dword [eax + 0x10], ecx
jbe 0x10053b52
cmp dword [eax + 0x14], 8
jb 0x10053a58
mov eax, dword [eax]
push eax
lea eax, [esp + 0x2b8]
push eax
lea eax, [esp + 0xb4]
push 0x101917a4
push eax
call fcn.10091da4
push 0x14
call fcn.10092352
add esp, 0x14
mov dword [esp + 0x18], eax
test eax, eax
je 0x10053aa9
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 1
mov dword [eax + 0x10], 0
mov dword [eax + 0xc], 0
jmp 0x10053aaf
xor eax, eax
mov dword [esp + 0x18], eax
cmp dword [ebx + 8], 0
mov dword [esp + 0x58], eax
jne 0x10053abe
cmp dword [ebx], 0
je 0x10053ae8
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x14], 8
jb 0x10053aca
mov eax, dword [eax]
push 0x1019a478
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10053b02
mov ecx, dword [esp + 0x18]
push eax
push edi
call fcn.10047250
jmp 0x10053b02
lea ecx, [esp + 0xac]
push ecx
mov ecx, eax
call fcn.10047340
test eax, eax
jne 0x10053b02
mov dword [ebx + 4], 1
cmp dword [esp + 0x58], 0
je 0x10053b52
push str.hover
lea ecx, [esp + 0x68]
call fcn.10004410
mov dword [esp + 0x6d8], 0xc
lea edx, [esp + 0x58]
mov ecx, dword [esp + 0x1c]
push edx
mov eax, dword [ecx]
lea edx, [esp + 0x68]
push edx
call dword [eax]
mov dword [esp + 0x6d8], 0xffffffff
cmp dword [esp + 0x78], 8
jb 0x10053b52
push dword [esp + 0x64]
call fcn.10091747
add esp, 4
push 4
xor eax, eax
push str.down
lea ecx, [esp + 0x6c]
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
call fcn.100048b0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x6d8], 0xd
mov eax, dword [ecx]
lea edx, [esp + 0x64]
push edx
call dword [eax + 0x1c]
mov dword [esp + 0x6d8], 0xffffffff
cmp dword [esp + 0x78], 8
mov dword [esp + 0x14], eax
jb 0x10053bbb
push dword [esp + 0x64]
call fcn.10091747
mov eax, dword [esp + 0x18]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], cx
test eax, eax
je 0x10053cc2
cmp dword [eax + 0x10], ecx
jbe 0x10053e51
cmp dword [eax + 0x14], 8
jb 0x10053beb
mov eax, dword [eax]
push eax
lea eax, [esp + 0x2b8]
push eax
lea eax, [esp + 0xb4]
push 0x101917a4
push eax
call fcn.10091da4
push 0x14
call fcn.10092352
add esp, 0x14
mov dword [esp + 0x18], eax
test eax, eax
je 0x10053c3c
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 1
mov dword [eax + 0x10], 0
mov dword [eax + 0xc], 0
jmp 0x10053c42
xor eax, eax
mov dword [esp + 0x18], eax
cmp dword [ebx + 8], 0
mov dword [esp + 0x44], eax
jne 0x10053c51
cmp dword [ebx], 0
je 0x10053c7b
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x14], 8
jb 0x10053c5d
mov eax, dword [eax]
push 0x1019a478
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10053c95
mov ecx, dword [esp + 0x18]
push eax
push edi
call fcn.10047250
jmp 0x10053c95
lea ecx, [esp + 0xac]
push ecx
mov ecx, eax
call fcn.10047340
test eax, eax
jne 0x10053c95
mov dword [ebx + 4], 1
cmp dword [esp + 0x44], 0
je 0x10053e51
push str.down
lea ecx, [esp + 0x68]
call fcn.10004410
mov dword [esp + 0x6d8], 0xe
lea edx, [esp + 0x44]
jmp 0x10053e25
push 9
mov dword [esp + 0x78], ecx
xor eax, eax
push str.imageDown
lea ecx, [esp + 0x6c]
mov dword [esp + 0x80], 7
mov word [esp + 0x6c], ax
call fcn.100048b0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x6d8], 0xf
mov eax, dword [ecx]
lea edx, [esp + 0x64]
push edx
call dword [eax + 0x1c]
mov dword [esp + 0x6d8], 0xffffffff
cmp dword [esp + 0x78], 8
mov dword [esp + 0x14], eax
jb 0x10053d27
push dword [esp + 0x64]
call fcn.10091747
mov eax, dword [esp + 0x18]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], cx
test eax, eax
je 0x10053e51
cmp dword [eax + 0x10], ecx
jbe 0x10053e51
cmp dword [eax + 0x14], 8
jb 0x10053d57
mov eax, dword [eax]
push eax
lea eax, [esp + 0x2b8]
push eax
lea eax, [esp + 0xb4]
push 0x101917a4
push eax
call fcn.10091da4
push 0x14
call fcn.10092352
add esp, 0x14
mov dword [esp + 0x18], eax
test eax, eax
je 0x10053da8
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 1
mov dword [eax + 0x10], 0
mov dword [eax + 0xc], 0
jmp 0x10053dae
xor eax, eax
mov dword [esp + 0x18], eax
cmp dword [ebx + 8], 0
mov dword [esp + 0x38], eax
jne 0x10053dbd
cmp dword [ebx], 0
je 0x10053de7
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x14], 8
jb 0x10053dc9
mov eax, dword [eax]
push 0x1019a478
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10053e01
mov ecx, dword [esp + 0x18]
push eax
push edi
call fcn.10047250
jmp 0x10053e01
lea ecx, [esp + 0xac]
push ecx
mov ecx, eax
call fcn.10047340
test eax, eax
jne 0x10053e01
mov dword [ebx + 4], 1
cmp dword [esp + 0x38], 0
je 0x10053e51
push str.down
lea ecx, [esp + 0x68]
call fcn.10004410
mov dword [esp + 0x6d8], 0x10
lea edx, [esp + 0x38]
mov ecx, dword [esp + 0x1c]
push edx
mov eax, dword [ecx]
lea edx, [esp + 0x68]
push edx
call dword [eax]
mov dword [esp + 0x6d8], 0xffffffff
cmp dword [esp + 0x78], 8
jb 0x10053e51
push dword [esp + 0x64]
call fcn.10091747
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x10053e5b
mov edx, dword [esi]
jmp 0x10053e5d
mov edx, esi
xor eax, eax
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
cmp word [edx], ax
je 0x10053e93
mov eax, edx
lea ecx, [eax + 2]
mov dword [esp + 0x14], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10053e82
sub eax, dword [esp + 0x14]
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x6c]
call fcn.100048b0
mov dword [esp + 0x6d8], 0x11
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x1c]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x68]
push edx
call dword [eax]
mov dword [esp + 0x6d8], 0xffffffff
cmp dword [esp + 0x78], 8
jb 0x10053ed9
push dword [esp + 0x64]
call fcn.10091747
add esp, 4
mov eax, dword [esp + 0x4c]
add esi, 0x1c
cmp esi, dword [eax + 8]
jne 0x10053410
mov edi, dword [esp + 0x34]
cmp dword [edi + 0x14], 8
jb 0x10053ef7
mov edx, dword [edi]
jmp 0x10053ef9
mov edx, edi
xor eax, eax
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
cmp word [edx], ax
jne 0x10053f19
xor ecx, ecx
jmp 0x10053f2f
mov ecx, edx
lea esi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10053f20
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x6c]
call fcn.100048b0
mov dword [esp + 0x6d8], 0x12
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x40]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x68]
push edx
call dword [eax]
mov dword [esp + 0x6d8], 0xffffffff
cmp dword [esp + 0x78], 8
jb 0x10053f75
push dword [esp + 0x64]
call fcn.10091747
add esp, 4
mov eax, dword [esp + 0x50]
add edi, 0x1c
mov dword [esp + 0x34], edi
cmp edi, dword [eax + 8]
jne 0x10053360
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x60]
cmp dword [edi + 0x14], 8
jb 0x10053f9d
mov edi, dword [edi]
xor eax, eax
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], 0
mov word [esp + 0x7c], ax
cmp word [edi], ax
jne 0x10053fc3
xor ecx, ecx
jmp 0x10053fdf
mov ecx, edi
lea edx, [ecx + 2]
jmp 0x10053fd0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10053fd0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [esp + 0x84]
call fcn.100048b0
mov dword [esp + 0x6d8], 0x13
mov ecx, dword [esi + 0x80]
lea edx, [esp + 0x3c]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x80]
push edx
call dword [eax]
mov dword [esp + 0x6d8], 0xffffffff
cmp dword [esp + 0x90], 8
jb 0x10054030
push dword [esp + 0x7c]
call fcn.10091747
add esp, 4
xor eax, eax
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], 0
mov word [esp + 0x7c], ax
cmp byte [ebx + 0xd], 0
jne 0x100540a6
mov eax, dword [ebx + 8]
cmp byte [eax + 0xd], 0
jne 0x10054080
mov ebx, eax
mov dword [esp + 0x24], ebx
mov eax, dword [ebx]
cmp byte [eax + 0xd], 0
jne 0x100540a6
lea ebx, [ebx]
mov ebx, eax
mov dword [esp + 0x24], ebx
mov eax, dword [ebx]
cmp byte [eax + 0xd], 0
je 0x10054070
jmp 0x100540a6
mov eax, dword [ebx + 4]
cmp byte [eax + 0xd], 0
jne 0x100540a0
lea esp, [esp]
cmp ebx, dword [eax + 8]
jne 0x100540a0
mov ebx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10054090
mov ebx, eax
mov dword [esp + 0x24], ebx
mov eax, dword [esi + 0x7c]
mov eax, dword [eax + 4]
cmp ebx, dword [eax]
jne 0x100532c0
xor eax, eax
cmp dword [esi + 4], eax
sete al
mov ecx, dword [esp + 0x6d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6b8]
xor ecx, esp
call fcn.1009174c
mov esp, ebp
pop ebp
ret 4