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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x101bf2c4]
xor eax, esp
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [esp + 4], eax
mov ecx, dword [ebp + 8]
mov dword [esp + 0x3c], ebx
mov dword [esp + 8], ecx
push esi
push edi
test ecx, ecx
jne 0x1013edd0
test eax, eax
jne 0x101406f9
jmp 0x101406fe
cmp dword [ecx + 4], 0xd
jne 0x101406f9
mov edi, dword [ecx + 0x14]
xor eax, eax
imul edi, dword [ecx + 0x18]
mov esi, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x18], esi
test eax, eax
je 0x1013ee1f
cmp dword [eax + 4], 0xd
jne 0x1013ee1f
mov esi, eax
mov dword [esp + 0x18], eax
mov edx, dword [esi + 0x18]
imul edx, dword [esi + 0x14]
mov dword [esp + 0x2c], edx
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x1013ee3b
cmp dword [eax + 4], 0xd
jne 0x1013ee3b
mov edx, dword [eax + 0x18]
imul edx, dword [eax + 0x14]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
test esi, esi
je 0x1013ee56
push dword [esp + 0x2c]
mov ecx, ebx
call fcn.1014b8bb
mov dword [esp + 0x14], eax
test eax, eax
je 0x1014027f
cmp dword [esp + 0x24], 0
je 0x1013ee74
push dword [esp + 0x20]
mov ecx, ebx
call fcn.1014b8bb
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1014027f
mov eax, dword [esp + 0x10]
xor edx, edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x48], 1
mov ecx, dword [eax + 0x1c]
test ecx, ecx
js 0x1013eea8
cmp ecx, 3
jle 0x1013eea1
cmp ecx, 0x13
jle 0x1013eea8
cmp ecx, 0x15
jle 0x1013eeda
cmp ecx, 0x17
jg 0x1013eea8
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x28], edx
cmp dword [eax + 0x28], 0
je 0x1013eee0
test esi, esi
je 0x1013eec9
push edx
push dword [esp + 0x18]
mov ecx, ebx
push esi
call fcn.1013ed8c
mov esi, eax
test esi, esi
js 0x101406df
mov esi, dword [esp + 0x24]
test esi, esi
je 0x1013ef2a
push 0
push dword [esp + 0x20]
push esi
jmp 0x1013ef15
mov edx, dword [esp + 0x48]
jmp 0x1013eea4
mov esi, dword [esp + 0x24]
test esi, esi
je 0x1013ef04
push 0
push dword [esp + 0x20]
mov ecx, ebx
push esi
call fcn.1013ed8c
mov esi, eax
test esi, esi
js 0x101406df
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1013ef2e
push dword [esp + 0x28]
push dword [esp + 0x18]
push ecx
mov ecx, ebx
call fcn.1013ed8c
mov esi, eax
test esi, esi
js 0x101406df
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x1c]
cmp eax, 0x1a
ja case.default.0x1013ef4c
fldz
fstp qword [esp + 0x50]
mov dword [esp + 0x28], 4
jmp dword [eax*4 + 0x10140718]
test ecx, ecx
je 0x1013f02f
mov esi, dword [esp + 0xc]
test esi, esi
je 0x101406bd
mov eax, dword [esp + 0x2c]
cmp eax, 1
jne 0x1013ef8d
xor ecx, ecx
test edi, edi
je 0x1013f04c
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx]
mov dword [esi + ecx*4], eax
inc ecx
cmp ecx, edi
jb 0x1013ef7e
jmp 0x1013fdd7
cmp edi, eax
je 0x1013f01a
mov ebx, dword [edx + 0x14]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x48]
cmp dword [edx + 0x14], ebx
mov ebx, dword [esp + 0x44]
jne 0x1013efad
cmp edi, eax
jb 0x1013f01a
mov eax, dword [edx + 0x14]
cmp eax, dword [ecx + 0x14]
ja 0x101406da
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
ja 0x101406da
xor edx, edx
mov dword [esp + 0x20], edx
cmp dword [esp + 0x30], edx
jbe 0x1013f04c
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov ecx, dword [edi + 0x18]
mov eax, ecx
mov esi, dword [esp + 0x14]
shl eax, 2
push eax
mov eax, dword [ebx + 0x18]
imul eax, edx
imul ecx, edx
lea eax, [esi + eax*4]
mov esi, dword [esp + 0x10]
push eax
lea eax, [esi + ecx*4]
push eax
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x2c]
add esp, 0xc
inc edx
mov dword [esp + 0x20], edx
cmp edx, dword [edi + 0x14]
jb 0x1013efd9
mov edi, dword [esp + 0x4c]
jmp 0x1013fdd7
mov eax, edi
shl eax, 2
push eax
push dword [esp + 0x18]
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x1013f04c
push edi
push dword [esp + 0x10]
mov ecx, ebx
push dword [edx + 0x20]
call fcn.1014b9a6
mov esi, eax
test esi, esi
js 0x101406df
mov esi, dword [esp + 0xc]
test esi, esi
je 0x101406bd
mov esi, dword [ebx + 0x9c]
cmp edi, esi
jbe 0x1014005d
test esi, esi
jne 0x10140019
push 0x10
pop esi
jmp 0x1014001b
test ecx, ecx
je 0x101406da
test esi, esi
je 0x101406da
test edi, edi
je 0x1013f048
mov esi, dword [esp + 0x14]
mov eax, dword [ebx + 8]
mov ecx, dword [esi]
cmp ecx, dword [eax + 8]
jae 0x1013f09f
lfence
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + ecx*4]
jmp 0x1013f0a1
xor ecx, ecx
test ecx, ecx
je 0x1013f101
mov esi, dword [ebx + 8]
mov eax, dword [esi + 0x74]
cmp eax, dword [ecx + 4]
jne 0x1013f0fd
xor ecx, ecx
test edi, edi
je 0x1013f0d2
mov esi, dword [esi + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + ecx*4]
mov eax, dword [esi + eax*4]
cmp dword [eax + 0x30], 0xffffffff
je 0x1013f1a1
inc ecx
cmp ecx, edi
jb 0x1013f0b9
push 0
push 0
push dword [esp + 0x24]
mov eax, edi
mov ecx, ebx
push dword [esp + 0x20]
and eax, 0xfffff
or eax, 0x10000000
push eax
push edx
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x101406bd
mov eax, edi
shl eax, 2
push eax
push esi
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x1013f048
test ecx, ecx
je 0x101406da
test esi, esi
je 0x101406da
test edi, edi
je 0x1013f048
xor ecx, ecx
test edi, edi
je 0x1013f15b
mov eax, dword [ebx + 8]
mov esi, dword [eax + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + ecx*4]
mov eax, dword [esi + eax*4]
cmp dword [eax + 0x30], 0xffffffff
je 0x1013f1a1
inc ecx
cmp ecx, edi
jb 0x1013f146
push 0
push 0
push dword [esp + 0x24]
mov eax, edi
mov ecx, ebx
push dword [esp + 0x20]
and eax, 0xfffff
or eax, 0x10000000
push eax
push edx
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x101406bd
mov eax, edi
shl eax, 2
push eax
push dword [esp + 0x18]
jmp 0x1013f114
push 0x1002eec0
push 0
push edx
jmp 0x101406d1
test ecx, ecx
je 0x101406da
push edi
mov ecx, ebx
call fcn.1014b855
mov edx, eax
test edx, edx
je 0x1014027f
xor ecx, ecx
test edi, edi
je 0x1013f206
mov eax, dword [ebx + 0x20]
mov dword [edx + ecx*4], eax
inc ecx
cmp ecx, edi
jb 0x1013f1ce
jmp 0x1013f206
test ecx, ecx
je 0x101406da
push edi
mov ecx, ebx
call fcn.1014b855
mov edx, eax
test edx, edx
je 0x1014027f
xor ecx, ecx
test edi, edi
je 0x1013f206
mov eax, dword [ebx + 0x28]
mov dword [edx + ecx*4], eax
inc ecx
cmp ecx, edi
jb 0x1013f1fb
mov eax, dword [esp + 0x14]
mov ecx, ebx
push 0
push edx
push eax
push eax
mov eax, edi
and eax, 0xfffff
or eax, 0x20400000
push eax
push dword [esp + 0x24]
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
cmp dword [esp + 0xc], 0
je 0x101406bd
mov eax, edi
shl eax, 2
push eax
push dword [esp + 0x18]
push dword [esp + 0x14]
jmp 0x1013f115
test ecx, ecx
je 0x101406da
cmp dword [esp + 0xc], 0
je 0x101406bd
lea eax, [edi + edi]
mov ecx, ebx
push eax
call fcn.1014b855
test eax, eax
je 0x1014027f
mov edx, edi
xor ecx, ecx
shl edx, 2
mov dword [esp + ecx*4 + 0x30], eax
inc ecx
add eax, edx
cmp ecx, 2
jb 0x1013f27c
push edi
push dword [esp + 0x34]
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push edi
push dword [esp + 0x38]
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push edi
push dword [esp + 0x10]
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push edi
push dword [esp + 0x18]
mov ecx, ebx
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x20]
call fcn.1014b5ad
mov esi, eax
test esi, esi
js 0x101406df
push 0x17
push dword [esp + 0x34]
mov eax, edi
push dword [esp + 0x3c]
and eax, 0xfffff
or eax, 0x20300000
push dword [esp + 0x18]
push eax
push dword [esp + 0x24]
mov ecx, ebx
call fcn.1014bb91
mov esi, eax
test esi, esi
jns 0x1013f048
jmp 0x101406df
test ecx, ecx
je 0x101406da
mov edx, dword [esp + 0xc]
test edx, edx
je 0x101406bd
push edi
push edx
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
mov eax, edi
push 0
and eax, 0xfffff
push 0
or eax, 0x10100000
push dword [esp + 0x1c]
push edx
push eax
push dword [esp + 0x24]
mov ecx, ebx
call fcn.1014bb91
jmp 0x1013f03e
test ecx, ecx
je 0x101406da
mov edx, dword [esp + 0xc]
test edx, edx
je 0x101406bd
push edi
push edx
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push 0
push 0
push dword [esp + 0x1c]
mov eax, edi
and eax, 0xfffff
or eax, 0x10000000
jmp 0x1013f354
test ecx, ecx
je 0x101406da
test esi, esi
je 0x101406da
mov edx, dword [esp + 0xc]
test edx, edx
je 0x101406bd
push edi
push edx
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
mov eax, edi
push 0
push dword [esp + 0x20]
and eax, 0xfffff
or eax, 0x20400000
jmp 0x1013f350
test ecx, ecx
je 0x101406da
test esi, esi
je 0x101406da
cmp dword [esp + 0xc], 0
je 0x101406bd
push edi
mov ecx, ebx
call fcn.1014b855
mov edx, eax
mov dword [esp + 0x30], edx
test edx, edx
je 0x1014027f
push edi
push edx
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push edi
push dword [esp + 0x10]
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push 0
push 0
push dword [esp + 0x24]
mov eax, edi
mov ecx, ebx
and eax, 0xfffff
mov dword [esp + 0x4c], eax
or eax, 0x10100000
push edx
push eax
push dword [esp + 0x24]
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
mov eax, dword [esp + 0x40]
push 0
push dword [esp + 0x34]
or eax, 0x20400000
push dword [esp + 0x1c]
jmp 0x1013f2fc
test ecx, ecx
je 0x101406da
test esi, esi
je 0x101406da
mov edx, dword [esp + 0xc]
test edx, edx
je 0x101406bd
push edi
push edx
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push 0x17
push dword [esp + 0x20]
push dword [esp + 0x1c]
mov eax, edi
and eax, 0xfffff
or eax, 0x20200000
jmp 0x1013f354
test ecx, ecx
je 0x101406da
test esi, esi
je 0x101406da
mov edx, dword [esp + 0xc]
test edx, edx
je 0x101406bd
push edi
push edx
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push 0x17
push dword [esp + 0x18]
push dword [esp + 0x24]
jmp 0x1013f4b9
test ecx, ecx
je 0x101406da
test esi, esi
je 0x101406da
mov edx, dword [esp + 0xc]
test edx, edx
je 0x101406bd
push edi
push edx
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push 0x17
push dword [esp + 0x18]
push dword [esp + 0x24]
mov eax, edi
and eax, 0xfffff
or eax, 0x20300000
jmp 0x1013f354
test ecx, ecx
je 0x101406da
test esi, esi
je 0x101406da
mov edx, dword [esp + 0xc]
test edx, edx
je 0x101406bd
push edi
push edx
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push 0x17
push dword [esp + 0x20]
push dword [esp + 0x1c]
jmp 0x1013f53a
test ecx, ecx
je 0x101406da
test esi, esi
je 0x101406da
cmp dword [esp + 0xc], 0
je 0x101406bd
mov esi, edi
mov ecx, ebx
shl esi, 2
push esi
call fcn.1014b855
test eax, eax
je 0x1014027f
xor ecx, ecx
mov edx, eax
mov dword [esp + ecx*4 + 0x58], edx
inc ecx
add edx, esi
cmp ecx, 4
jb 0x1013f5b8
push esi
push eax
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push edi
push dword [esp + 0x10]
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push 0
push 0
push dword [esp + 0x24]
mov eax, edi
mov ecx, ebx
push dword [esp + 0x64]
and eax, 0xfffff
mov dword [esp + 0x30], eax
or eax, 0x10100000
push eax
push dword [esp + 0x24]
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
mov eax, dword [esp + 0x20]
mov ecx, ebx
push 0
push dword [esp + 0x5c]
or eax, 0x20400000
push dword [esp + 0x1c]
push dword [esp + 0x68]
push eax
push dword [esp + 0x24]
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
push edi
push dword [esp + 0x60]
mov ecx, ebx
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x20]
call fcn.1014b5ad
mov esi, eax
test esi, esi
js 0x101406df
mov eax, dword [esp + 0x20]
push 0x17
push dword [esp + 0x64]
push dword [esp + 0x6c]
jmp 0x1013f2f7
test ecx, ecx
je 0x101406da
test esi, esi
je 0x101406da
cmp dword [esp + 0xc], 0
je 0x101406bd
mov esi, edi
mov ecx, ebx
shl esi, 2
push esi
call fcn.1014b855
test eax, eax
je 0x1014027f
xor ecx, ecx
mov edx, eax
mov dword [esp + ecx*4 + 0x58], edx
inc ecx
add edx, esi
cmp ecx, 4
jb 0x1013f6b1
push esi
push eax
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push edi
push dword [esp + 0x10]
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push 0
push 0
push dword [esp + 0x24]
mov eax, edi
mov ecx, ebx
push dword [esp + 0x64]
and eax, 0xfffff
mov dword [esp + 0x30], eax
or eax, 0x10100000
push eax
push dword [esp + 0x24]
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
mov eax, dword [esp + 0x20]
mov ecx, ebx
push 0
push dword [esp + 0x5c]
or eax, 0x20400000
push dword [esp + 0x1c]
push dword [esp + 0x68]
push eax
push dword [esp + 0x24]
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
push edi
push dword [esp + 0x60]
mov ecx, ebx
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x20]
call fcn.1014b5ad
mov esi, eax
test esi, esi
js 0x101406df
mov eax, dword [esp + 0x20]
push 0x17
push dword [esp + 0x64]
push dword [esp + 0x6c]
or eax, 0x20200000
jmp 0x1013f2fc
test ecx, ecx
je 0x101406da
test esi, esi
je 0x101406da
mov edx, dword [esp + 0xc]
test edx, edx
je 0x101406bd
xor esi, esi
test edi, edi
je 0x1013f7e7
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
sub eax, ecx
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x20]
mov eax, dword [eax + ecx]
mov eax, dword [edx + eax*4]
mov edx, dword [esp + 0xc]
test byte [eax], 1
je 0x1013f814
mov ebx, dword [esp + 0x20]
mov eax, dword [ecx]
mov eax, dword [ebx + eax*4]
mov ebx, dword [esp + 0x44]
test byte [eax], 1
je 0x1013f814
add ecx, dword [esp + 0x28]
inc esi
mov eax, dword [esp + 0x30]
cmp esi, edi
jb 0x1013f7b5
push edi
push edx
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push 0x17
push dword [esp + 0x20]
mov eax, edi
push dword [esp + 0x1c]
and eax, 0xfffff
push edx
or eax, 0x20500000
jmp 0x1013f300
imul eax, edi, 3
mov ecx, ebx
push eax
call fcn.1014b855
test eax, eax
je 0x1014027f
mov edx, edi
xor ecx, ecx
shl edx, 2
mov dword [esp + ecx*4 + 0x58], eax
inc ecx
add eax, edx
cmp ecx, 3
jb 0x1013f82e
push edi
push dword [esp + 0x5c]
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push edi
push dword [esp + 0x60]
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push edi
push dword [esp + 0x64]
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push edi
push dword [esp + 0x10]
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push 0
push dword [esp + 0x20]
mov eax, edi
mov ecx, ebx
push dword [esp + 0x1c]
and eax, 0xfffff
push dword [esp + 0x64]
mov dword [esp + 0x40], eax
or eax, 0x20500000
push eax
push dword [esp + 0x24]
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
push edi
push dword [esp + 0x5c]
mov ecx, ebx
push dword [esp + 0x68]
push dword [esp + 0x68]
push dword [esp + 0x20]
call fcn.1014b5ad
mov esi, eax
test esi, esi
js 0x101406df
mov eax, dword [esp + 0x30]
push 0x17
push dword [esp + 0x60]
push dword [esp + 0x68]
jmp 0x1013f771
test ecx, ecx
je 0x101406da
test esi, esi
je 0x101406da
cmp dword [esp + 0xc], 0
je 0x101406bd
mov esi, edi
mov ecx, ebx
shl esi, 2
push esi
call fcn.1014b855
test eax, eax
je 0x1014027f
mov edx, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp + ecx*4 + 0x58], eax
inc ecx
add eax, esi
cmp ecx, edx
jb 0x1013f929
push edi
push dword [esp + 0x5c]
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push edi
push dword [esp + 0x60]
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push edi
push dword [esp + 0x64]
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push edi
push dword [esp + 0x68]
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push edi
push dword [esp + 0x10]
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push edi
push dword [esp + 0x18]
mov ecx, ebx
push 0
push dword [esp + 0x64]
push dword [esp + 0x20]
call fcn.1014b5ad
mov esi, eax
test esi, esi
js 0x101406df
push edi
push dword [esp + 0x20]
mov ecx, ebx
push 0
push dword [esp + 0x68]
push dword [esp + 0x20]
call fcn.1014b5ad
mov esi, eax
test esi, esi
js 0x101406df
push dword [esp + 0x28]
mov eax, edi
mov ecx, ebx
push dword [esp + 0x60]
and eax, 0xfffff
push dword [esp + 0x60]
mov dword [esp + 0x2c], eax
or eax, 0x20400000
push dword [esp + 0x6c]
push eax
push dword [esp + 0x24]
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
mov eax, dword [esp + 0x20]
mov ecx, ebx
push 8
push 0
push dword [esp + 0x68]
or eax, 0x10100000
push dword [esp + 0x70]
push eax
push dword [esp + 0x24]
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
mov eax, dword [esp + 0x20]
jmp 0x1013f767
test ecx, ecx
je 0x101406da
test esi, esi
je 0x101406da
mov edx, dword [esp + 0xc]
test edx, edx
je 0x101406bd
push edi
push edx
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
mov eax, edi
push 0
push dword [esp + 0x20]
and eax, 0xfffff
or eax, 0x20500000
jmp 0x1013f350
test ecx, ecx
je 0x101406da
test esi, esi
je 0x101406da
cmp dword [esp + 0xc], 0
je 0x101406bd
push edi
mov ecx, ebx
call fcn.1014b855
mov edx, eax
mov dword [esp + 0x30], edx
test edx, edx
je 0x1014027f
push edi
push edx
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push edi
push dword [esp + 0x10]
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push 0
push 0
push dword [esp + 0x24]
mov eax, edi
mov ecx, ebx
and eax, 0xfffff
mov dword [esp + 0x4c], eax
or eax, 0x10300000
push edx
push eax
push dword [esp + 0x24]
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
mov eax, dword [esp + 0x40]
push 0
push dword [esp + 0x34]
push dword [esp + 0x1c]
push dword [esp + 0x18]
jmp 0x1013f80a
test ecx, ecx
je 0x101406da
test esi, esi
je 0x101406da
cmp dword [esp + 0xc], 0
je 0x101406bd
mov eax, edi
mov ecx, ebx
shl eax, 3
push eax
call fcn.1014b855
test eax, eax
je 0x1014027f
mov edx, edi
xor ecx, ecx
shl edx, 2
mov dword [esp + ecx*4 + 0x68], eax
inc ecx
add eax, edx
cmp ecx, 8
jb 0x1013fb59
xor edx, edx
push edi
push dword [esp + edx*4 + 0x6c]
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
inc edx
cmp edx, 8
jb 0x1013fb67
push edi
push dword [esp + 0x10]
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push 0
push dword [esp + 0x20]
mov eax, edi
mov ecx, ebx
push dword [esp + 0x1c]
and eax, 0xfffff
push dword [esp + 0x74]
mov dword [esp + 0x28], eax
or eax, 0x20500000
push eax
push dword [esp + 0x24]
mov dword [esp + 0x38], eax
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
mov eax, dword [esp + 0x18]
mov ecx, ebx
push 0
push 0
push dword [esp + 0x70]
or eax, 0x10100000
push dword [esp + 0x78]
mov dword [esp + 0x40], eax
push eax
push dword [esp + 0x24]
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
mov eax, dword [esp + 0x18]
mov ecx, ebx
push 0x17
push dword [esp + 0x70]
or eax, 0x20300000
push dword [esp + 0x70]
push dword [esp + 0x7c]
push eax
push dword [esp + 0x24]
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
push 0
push 0
push dword [esp + 0x24]
mov ecx, ebx
push dword [esp + 0x80]
push dword [esp + 0x40]
push dword [esp + 0x24]
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
push edi
push dword [esp + 0x74]
mov ecx, ebx
push dword [esp + 0x24]
push dword [esp + 0x80]
push dword [esp + 0x88]
push dword [esp + 0x24]
call fcn.1014abf4
mov esi, eax
test esi, esi
js 0x101406df
mov eax, dword [esp + 0x18]
mov ecx, ebx
push 0x40
push 0
push dword [esp + 0x80]
or eax, 0x10300000
push dword [esp + 0x88]
push eax
push dword [esp + 0x24]
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
push 0
push dword [esp + 0x80]
mov ecx, ebx
push dword [esp + 0x1c]
push dword [esp + 0x8c]
push dword [esp + 0x30]
push dword [esp + 0x24]
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
push dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov ecx, ebx
push 0
push dword [esp + 0x88]
or eax, 0x10400000
push dword [esp + 0x90]
push eax
push dword [esp + 0x24]
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
push 0
push dword [esp + 0x88]
push dword [esp + 0x80]
push dword [esp + 0x18]
push dword [esp + 0x30]
jmp 0x1013f301
test esi, esi
je 0x101406da
push dword [ebp + 0x10]
push dword [esp + 0x20]
push dword [ecx + 0x10]
mov ecx, ebx
push dword [esp + 0x38]
push dword [esp + 0x24]
push edi
push dword [esp + 0x24]
push edx
call fcn.10147c9a
jmp 0x1013f03e
test ecx, ecx
je 0x101406da
mov edx, dword [edx + 0x24]
test edx, edx
je 0x101406da
cmp dword [edx + 4], 0xe
jne 0x1013fd9c
cmp dword [edx + 0x10], 2
jne 0x101406da
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x101406bd
mov eax, edi
shl eax, 2
push eax
mov eax, dword [edx + 0x18]
mov edx, dword [esp + 0x18]
lea eax, [edx + eax*4]
push eax
jmp 0x1013f114
mov eax, dword [esp + 0x48]
cmp dword [edx + 4], eax
jne 0x101406da
mov esi, dword [esp + 0xc]
test esi, esi
je 0x101406bd
xor ecx, ecx
test edi, edi
je 0x1013f04c
mov ebx, dword [esp + 0x14]
mov eax, dword [edx + 8]
mov eax, dword [eax + 0x18]
mov eax, dword [ebx + eax*4]
mov dword [esi + ecx*4], eax
inc ecx
mov edx, dword [edx + 0xc]
cmp ecx, edi
jb 0x1013fdc3
mov ebx, dword [esp + 0x44]
jmp 0x1013f04c
test ecx, ecx
je 0x101406da
test esi, esi
je 0x101406da
cmp dword [esp + 0xc], 0
je 0x101406bd
imul eax, edi, 3
mov ecx, ebx
push eax
call fcn.1014b855
test eax, eax
je 0x1014027f
mov edx, edi
xor ecx, ecx
shl edx, 2
mov dword [esp + ecx*4 + 0x58], eax
inc ecx
add eax, edx
cmp ecx, 3
jb 0x1013fe15
mov edx, dword [esp + 0x58]
xor esi, esi
mov dword [esp + 0x24], edx
test edi, edi
je 0x1013fee2
mov eax, dword [esp + 0x1c]
mov ecx, edx
mov dword [esp + 0x20], ecx
lea eax, [eax + edi*4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
sub eax, edx
mov dword [esp + 0x3c], eax
add eax, ecx
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x44], eax
push dword [eax + ecx]
mov ecx, ebx
call fcn.1014d466
test eax, eax
js 0x1013fede
fld qword [esp + 0x68]
fld qword [esp + 0x50]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x1013feb1
fld qword [esp + 0x70]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x1013feaf
fxch st(2)
fucomp st(1)
fnstsw ax
test ah, 0x44
jp 0x1013feda
fucompp
fnstsw ax
test ah, 0x44
jp 0x1013fede
mov eax, dword [esp + 0x18]
jmp 0x1013feb9
fstp st(2)
mov eax, dword [esp + 0x40]
fstp st(1)
fstp st(0)
mov ecx, dword [esp + 0x20]
inc esi
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [esp + 0x28]
add ecx, eax
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], ecx
cmp esi, edi
jb 0x1013fe5a
jmp 0x1013fede
fstp st(1)
fstp st(0)
mov edx, dword [esp + 0x24]
push edi
cmp esi, edi
jne 0x1013ff08
mov edx, dword [esp + 0x10]
push edx
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push 0
push 0
push dword [esp + 0x2c]
jmp 0x1013f393
push edx
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push edi
push dword [esp + 0x60]
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push edi
push dword [esp + 0x64]
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push edi
push dword [esp + 0x18]
mov ecx, ebx
push dword [esp + 0x64]
push edx
push dword [esp + 0x20]
call fcn.1014b5ad
mov esi, eax
test esi, esi
js 0x101406df
push 0x17
push dword [esp + 0x28]
mov eax, edi
mov ecx, ebx
push dword [esp + 0x64]
and eax, 0xfffff
push dword [esp + 0x6c]
or eax, 0x20200000
push eax
push dword [esp + 0x24]
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
mov eax, dword [esp + 0x1c]
mov ecx, ebx
push edi
push dword [esp + 0x64]
push eax
lea eax, [eax + edi*4]
push eax
push dword [esp + 0x1c]
push dword [esp + 0x24]
call fcn.1014abf4
jmp 0x1013f30c
lea eax, [esp + 0x30]
mov ecx, ebx
push eax
push dword [edx + 0x20]
call fcn.1014ec4f
mov ecx, eax
mov eax, dword [esp + 0x10]
test ecx, ecx
jne 0x1013ffe6
push dword [eax + 0x38]
push 0x1002eee4
push 0xdb6
push eax
push ebx
call fcn.1014ef68
add esp, 0x14
jmp 0x101406da
inc dword [ebx + 0x38]
push 0
push 0
push dword [esp + 0x14]
push dword [eax + 0x24]
push ecx
push dword [esp + 0x44]
mov ecx, ebx
call fcn.10147140
dec dword [ebx + 0x38]
jmp 0x1013f03e
push dword [esp + 0xc]
mov ecx, ebx
push edx
call fcn.10140784
jmp 0x1013f30c
add esi, esi
cmp esi, edi
jb 0x10140019
xor ecx, ecx
lea eax, [esi + esi]
mul dword [esp + 0x28]
seto cl
neg ecx
or ecx, eax
call fcn.100fa56f
mov dword [esp + 0x30], eax
test eax, eax
je 0x1014027f
push dword [ebx + 0x98]
call dword [sym.imp.PhotoBase.dll_void___cdecl_BasePrivate::Delete_void__]
mov eax, dword [esp + 0x34]
pop ecx
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x9c], esi
mov eax, dword [ebx + 0x98]
mov ecx, ebx
mov dword [esp + 0x24], eax
lea esi, [eax + edi*4]
mov eax, dword [esp + 0x10]
push esi
mov dword [esp + 0x24], esi
push dword [eax + 0x10]
call fcn.1014c515
xor edx, edx
and dword [esp + 0x2c], edx
and dword [esp + 0x38], edx
mov dword [esp + 0x18], edx
test edi, edi
je 0x101406bd
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
sub ecx, esi
mov dword [esp + 0x30], ecx
mov eax, dword [ebx + 8]
lea esi, [edx + edi*4]
mov ecx, dword [esi + ecx]
cmp ecx, dword [eax + 8]
jae 0x101400ba
lfence
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + ecx*4]
jmp 0x101400bc
xor ecx, ecx
test ecx, ecx
je 0x101406c1
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x74]
cmp eax, dword [ecx + 4]
je 0x10140100
test byte [esi], 1
je 0x101400ea
test byte [ecx], 1
jne 0x101400ea
mov eax, dword [esp + 0x48]
mov dword [edx], eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
jmp 0x10140107
test byte [esi], 2
je 0x10140100
test byte [ecx], 2
jne 0x10140100
inc dword [esp + 0x2c]
mov dword [edx], 2
jmp 0x10140103
and dword [edx], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
add edx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x38], ecx
cmp ecx, edi
mov ecx, dword [esp + 0x30]
jb 0x101400a1
test eax, eax
je 0x10140262
mov esi, eax
mov ecx, ebx
shl esi, 2
push esi
call fcn.1014b855
test eax, eax
je 0x1014027f
mov edx, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp + ecx*4 + 0x58], eax
inc ecx
add eax, esi
cmp ecx, edx
jb 0x1014013f
mov edx, dword [esp + 0x18]
push edx
push dword [esp + 0x60]
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
push edx
push dword [esp + 0x64]
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
sub edi, ecx
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x64]
sub eax, esi
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x38], edi
mov edx, edi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x3c], eax
cmp dword [edx + ecx], 1
jne 0x101401c6
mov eax, dword [ecx]
mov dword [edi + esi], eax
cmp dword [ebx + 0x1c], 0
je 0x101401b9
mov eax, dword [ecx]
jmp 0x101401bc
or eax, 0xffffffff
mov dword [esi], eax
add esi, dword [esp + 0x28]
mov eax, dword [esp + 0x3c]
add ecx, 4
sub eax, 1
mov dword [esp + 0x3c], eax
jne 0x101401a4
mov edx, dword [esp + 0x18]
push edx
push dword [esp + 0x5c]
push dword [esp + 0x68]
push dword [esp + 0x68]
push ebx
mov ebx, dword [esp + 0x58]
mov ecx, ebx
call fcn.1014b5ad
mov edi, dword [esp + 0x4c]
mov esi, eax
test esi, esi
js 0x101406df
mov eax, dword [esp + 0x18]
mov ecx, ebx
push 0x17
push dword [esp + 0x60]
and eax, 0xfffff
push dword [esp + 0x68]
or eax, 0x20200000
push dword [esp + 0x70]
push eax
push dword [esp + 0x24]
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
mov ecx, dword [esp + 0xc]
mov edx, edi
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x28]
cmp dword [ecx + eax], esi
jne 0x10140254
mov eax, dword [ebx]
add ebx, edi
mov dword [ecx], eax
mov eax, dword [esp + 0x38]
add ecx, edi
sub edx, esi
jne 0x10140245
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x1014065d
imul eax, esi, 0xb
mov ecx, ebx
push eax
call fcn.1014b855
mov ecx, eax
test ecx, ecx
jne 0x1014029d
push 0x10027d3c
push 0
push dword [esp + 0x18]
push ebx
call fcn.1014ef68
add esp, 0x10
mov esi, 0x8007000e
jmp 0x101406df
mov edx, esi
xor eax, eax
shl edx, 2
mov dword [esp + eax*4 + 0x68], ecx
inc eax
add ecx, edx
cmp eax, 0xb
jb 0x101402a4
mov eax, dword [esp + 0xc]
mov esi, edi
sub dword [esp + 0x24], eax
mov ecx, eax
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x90]
sub eax, edx
mov edi, dword [esp + 0x10]
mov ebx, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
cmp dword [ecx + eax], 2
jne 0x101402f9
mov eax, dword [ecx]
mov dword [ebx + edx], eax
cmp dword [edi + 0x1c], 0
je 0x101402ec
mov eax, dword [ecx]
jmp 0x101402ef
or eax, 0xffffffff
mov dword [edx], eax
add edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add ecx, 4
sub esi, 1
jne 0x101402d7
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x48]
push edx
push dword [esp + eax*4 + 0x6c]
call fcn.1014b98a
mov esi, eax
test esi, esi
js 0x101406df
mov eax, dword [esp + 0x48]
inc eax
mov dword [esp + 0x48], eax
cmp eax, 0xa
jb 0x10140311
push 0
push 0
push dword [esp + 0x70]
and edx, 0xfffff
mov ecx, ebx
push dword [esp + 0x78]
mov dword [esp + 0x3c], edx
or edx, 0x10200000
push edx
push dword [esp + 0x24]
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
mov eax, dword [esp + 0x2c]
mov ecx, ebx
push 0x14
push 0
push dword [esp + 0x74]
or eax, 0x10400000
push dword [esp + 0x7c]
push eax
push dword [esp + 0x24]
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
mov eax, dword [esp + 0x2c]
mov ecx, ebx
push 0x18
push 0
push dword [esp + 0x78]
or eax, 0x10100000
push dword [esp + 0x80]
mov dword [esp + 0x4c], eax
push eax
push dword [esp + 0x24]
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
mov eax, dword [esp + 0x2c]
mov ecx, ebx
push 2
push dword [esp + 0x70]
or eax, 0x20400000
push dword [esp + 0x7c]
mov dword [esp + 0x24], eax
push dword [esp + 0x84]
push eax
push dword [esp + 0x24]
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
push 0
push 0
push dword [esp + 0x70]
mov ecx, ebx
push dword [esp + 0x88]
push dword [esp + 0x4c]
push dword [esp + 0x24]
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
mov eax, dword [esp + 0x2c]
mov ecx, ebx
push 0x17
push dword [esp + 0x80]
or eax, 0x20200000
push dword [esp + 0x70]
mov dword [esp + 0x44], eax
push dword [esp + 0x8c]
push eax
push dword [esp + 0x24]
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
push 0
push 0
push dword [esp + 0x78]
mov ecx, ebx
push dword [esp + 0x90]
push dword [esp + 0x4c]
push dword [esp + 0x24]
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
push 0x17
push dword [esp + 0x74]
mov ecx, ebx
push dword [esp + 0x8c]
push dword [esp + 0x94]
push dword [esp + 0x48]
push dword [esp + 0x24]
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
mov eax, dword [esp + 0x2c]
mov ecx, ebx
push 0x17
push dword [esp + 0x8c]
or eax, 0x20500000
push dword [esp + 0x88]
push dword [esp + 0x98]
push eax
push dword [esp + 0x24]
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
push 2
push dword [esp + 0x90]
mov ecx, ebx
push dword [esp + 0x80]
push dword [esp + 0x9c]
push dword [esp + 0x28]
push dword [esp + 0x24]
call fcn.1014bb91
mov esi, eax
test esi, esi
js 0x101406df
mov esi, dword [esp + 0xc]
mov eax, edi
mov edi, dword [esp + 0x90]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
cmp dword [ecx + esi], 2
jne 0x1014064a
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x14]
mov eax, dword [esp + 0x40]
mov eax, dword [eax + edi]
mov edx, dword [ecx + eax*4]
mov eax, dword [edi]
mov dword [esp + 0x38], edx
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x18], eax
mov eax, dword [edx]
test al, al
jns 0x10140563
fld qword [edx + 0x20]
or eax, 0x100
fstp qword [edx + 0x28]
mov dword [edx], eax
test eax, 0x100
je 0x10140636
fld qword [edx + 0x20]
push ecx
push ecx
fstp qword [esp]
call sub.msvcrt.dll__finite
pop ecx
pop ecx
mov ecx, dword [esp + 0x38]
fld qword [ecx + 0x20]
test eax, eax
je 0x101405b7
fld qword [ebx + 0xb0]
fld qword [esp + 0x50]
fcomp st(2)
fnstsw ax
push ecx
push ecx
test ah, 0x41
jp 0x101405a9
faddp st(1)
fstp qword [esp]
call sub.msvcrt.dll_floor
jmp 0x101405b5
fsubrp st(1)
fstp qword [esp]
call sub.msvcrt.dll_floor
fchs
pop ecx
pop ecx
mov eax, dword [esp + 0x18]
push ecx
push ecx
fstp qword [eax + 0x20]
mov eax, dword [esp + 0x40]
fld qword [eax + 0x28]
fstp qword [esp]
call sub.msvcrt.dll__finite
pop ecx
pop ecx
mov ecx, dword [esp + 0x38]
fld qword [ecx + 0x28]
test eax, eax
je 0x1014060b
fld qword [ebx + 0xb0]
fld qword [esp + 0x50]
fcomp st(2)
fnstsw ax
push ecx
push ecx
test ah, 0x41
jp 0x101405fd
faddp st(1)
fstp qword [esp]
call sub.msvcrt.dll_floor
jmp 0x10140609
fsubrp st(1)
fstp qword [esp]
call sub.msvcrt.dll_floor
fchs
pop ecx
pop ecx
mov edx, dword [esp + 0x18]
mov ecx, dword [edx]
fst qword [edx + 0x28]
fld qword [edx + 0x20]
or ecx, 0x100
fucompp
fnstsw ax
test ah, 0x44
jp 0x1014062e
or ecx, 0x80
jmp 0x10140634
and ecx, 0xffffff7f
mov dword [edx], ecx
mov eax, dword [edi]
add edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esi], eax
mov eax, dword [esp + 0x3c]
add esi, edx
sub eax, 1
mov dword [esp + 0x3c], eax
jne 0x10140529
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + edx]
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x14]
mov esi, dword [eax + ecx*4]
mov ecx, dword [edx]
and ecx, 0xf1ffffff
or ecx, dword [esi]
mov dword [esi], ecx
mov eax, ecx
mov edx, dword [edx]
and edx, 0xe000000
and eax, 0xe000000
jne 0x10140690
mov eax, edx
cmp dword [esi + 0x5c], 0
jne 0x1014069c
cmp eax, edx
jb 0x101406a2
jmp 0x101406a0
cmp eax, edx
ja 0x101406a2
mov eax, edx
mov edx, dword [esp + 0x20]
and ecx, 0xf1ffffff
add edx, dword [esp + 0x28]
or ecx, eax
mov dword [esi], ecx
mov dword [esp + 0x20], edx
sub edi, 1
jne 0x10140661
xor esi, esi
jmp 0x101406df
push 0x1002ef34
jmp 0x101406cd
push 0x1002ef0c
push 0
push 0
push ebx
call fcn.1014ef68
add esp, 0x10
mov esi, 0x80004005
push dword [esp + 0x1c]
mov ecx, ebx
call fcn.1014b950
push dword [esp + 0x14]
mov ecx, ebx
call fcn.1014b950
mov eax, esi
jmp 0x101406fe
mov eax, 0x80004005
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101aa740
mov esp, ebp
pop ebp
ret 0xc