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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x58
mov eax, dword [esp + 0x6c]
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], eax
mov ecx, dword [eax + 4]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 0x44]
mov eax, dword [eax + 0x48]
cmp ecx, eax
mov dword [esp + 4], eax
je 0x10039c00
mov eax, dword [ecx]
mov dword [esp + 0xc], ecx
mov ebx, dword [eax + 0x58]
lea ecx, [eax + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0x18], ecx
cmp ebx, ecx
je 0x10039bef
lea ebp, [ebx - 4]
test ebx, ebx
cmove ebp, ebx
cmp byte [ebp + 0x14], 0
jne 0x10039be6
mov eax, dword [esp + 8]
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x10039b91
mov dword [eax + 0x78], ebp
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x2c]
cmp ecx, eax
je 0x10039be6
xor esi, esi
test esi, esi
mov edx, 0
je 0x10039bb5
mov edi, dword [eax + esi*4]
xor edx, edx
cmp edi, dword [eax + edx*4]
je 0x10039bb5
inc edx
cmp edx, esi
jb 0x10039bab
cmp esi, edx
jne 0x10039bda
mov edi, dword [eax + esi*4]
lea ecx, [esp + 0x2c]
mov edx, edi
call fcn.1003a7f0
mov ecx, eax
mov edx, edi
push ebp
call fcn.1003a942
add esp, 4
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x2c]
mov edx, ecx
inc esi
sub edx, eax
sar edx, 2
cmp esi, edx
jb 0x10039b9d
mov ebx, dword [ebx + 4]
cmp ebx, dword [esp + 0x18]
jne 0x10039b72
mov ecx, dword [esp + 0xc]
add ecx, 4
cmp ecx, dword [esp + 4]
jne 0x10039b5a
lea esi, [esp + 0x2c]
mov ecx, esi
call fcn.1003a6e2
mov eax, dword [esi]
mov esi, dword [eax + 0x3c]
mov ebp, dword [esi + 0x58]
add esi, 0x54
cmp ebp, esi
je 0x1003a619
mov dword [esp + 0x14], esi
jmp 0x10039d4d
cmp dword [eax + 0xc], 1
jne 0x10039d66
mov ebx, dword [eax + 0x1c]
cmp dword [ebx + 0x14], 0
je 0x10039d5f
lea ecx, [esp + 0x2c]
mov edx, ebx
mov dword [esp + 0x10], eax
call fcn.1003a7f0
mov ecx, dword [eax + 0xc]
mov esi, dword [eax + 0x10]
mov edx, dword [eax + 4]
mov dword [esp + 0xc], esi
sub esi, ecx
mov dword [esp + 8], ecx
mov ecx, dword [eax + 0x1c]
sub edx, dword [eax]
mov eax, dword [eax + 0x18]
sar esi, 2
mov edi, ecx
sar edx, 2
sub edi, eax
sar edi, 2
add edi, esi
mov esi, dword [esp + 0x14]
cmp edx, edi
mov edx, dword [esp + 0x10]
jne 0x10039d5f
cmp eax, ecx
jne 0x10039d5f
mov ecx, dword [esp + 8]
mov eax, ebx
cmp dword [esp + 0xc], ecx
je 0x10039d3c
mov dword [esp], ebp
mov dword [esp + 0x1c], eax
mov esi, dword [ecx]
mov ebx, dword [esi + 0x1c]
cmp dword [ebx + 0x14], 0
je 0x10039d2b
mov dword [esp + 8], ecx
lea ecx, [esp + 0x2c]
mov edx, ebx
mov dword [esp + 4], esi
call fcn.1003a7f0
mov edi, dword [eax]
mov eax, dword [eax + 4]
cmp edi, eax
mov dword [esp + 0x18], eax
je 0x10039d11
mov esi, dword [edi]
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
cmp ecx, eax
je 0x10039d08
xor ebp, ebp
cmp dword [eax + ebp*4], ebx
jne 0x10039cfc
mov ecx, dword [esp + 0x30]
push dword [ebx + 4]
call fcn.10061f02
mov ecx, dword [esi + 0x28]
mov dword [ecx + ebp*4], eax
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov edx, ecx
inc ebp
sub edx, eax
sar edx, 2
cmp ebp, edx
jb 0x10039cdf
add edi, 4
cmp edi, dword [esp + 0x18]
jne 0x10039cd1
mov ebp, dword [esp]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 8]
mov esi, dword [esp + 4]
mov dword [ebx + 0x14], 0
add ecx, 4
mov byte [esi + 0x14], 1
cmp ecx, dword [esp + 0xc]
jne 0x10039ca6
mov esi, dword [esp + 0x14]
mov byte [edx + 0x14], 1
mov dword [eax + 0x14], 0
jmp 0x10039d5f
lea eax, [ebp - 4]
test ebp, ebp
cmove eax, ebp
cmp byte [eax + 0x14], 0
je 0x10039c27
mov ebp, dword [ebp + 4]
cmp ebp, esi
jne 0x10039d4d
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x3c]
mov ebp, dword [eax + 0x58]
add eax, 0x54
mov dword [esp + 0x18], eax
cmp ebp, eax
jne 0x10039fa4
jmp 0x1003a619
cmp dword [ebx + 0xc], 1
jne 0x10039fbf
mov eax, dword [ebx + 0x1c]
cmp dword [eax + 0x14], 0
mov dword [esp + 8], eax
je 0x10039fb6
mov edx, dword [esp + 8]
lea ecx, [esp + 0x2c]
call fcn.1003a7f0
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [eax + 0x18]
mov edx, 4
sub ecx, eax
cmp ecx, edx
jne 0x10039fb6
mov edi, dword [esp + 0xc]
sar ecx, 2
mov esi, dword [edi + 0x10]
mov edx, dword [edi + 4]
sub esi, dword [edi + 0xc]
sub edx, dword [edi]
sar esi, 2
sar edx, 2
add ecx, esi
cmp edx, ecx
jne 0x10039fb6
mov edx, dword [eax]
mov eax, dword [edx + 0xc]
test edx, edx
je 0x10039e00
cmp eax, 0xf
jne 0x10039e00
mov eax, dword [edx + 0x28]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
jmp 0x10039e28
cmp eax, 9
mov dword [esp + 0x10], 0
jne 0x10039e28
test edx, edx
je 0x10039e28
mov eax, dword [edx + 0x3c]
mov ecx, 0x1fffffff
and eax, ecx
cmp eax, 0x20
jne 0x10039e28
mov eax, dword [edx + 0x28]
mov eax, dword [eax + 4]
jmp 0x10039dfa
mov esi, dword [edx + 8]
test esi, esi
je 0x10039fb6
lea edi, [esi - 4]
mov dword [esp + 4], edx
jmp 0x10039f21
mov eax, dword [edi + 0xc]
cmp eax, 0xb
je 0x10039e6b
cmp eax, 9
jne 0x10039f2b
mov eax, dword [edi + 0x3c]
mov ecx, 0x1fffffff
and eax, ecx
cmp eax, 0x19
jne 0x10039f2b
mov eax, dword [edi + 0x28]
add eax, 4
jmp 0x10039e6e
mov eax, dword [edi + 0x28]
mov ecx, dword [esp + 8]
cmp dword [eax], ecx
jne 0x10039f2b
mov edx, dword [esp + 4]
mov ecx, edi
call fcn.1003ab98
test al, al
je 0x10039f2b
sub esp, 4
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x30]
mov edx, edi
mov dword [esp], eax
call fcn.1003ac0e
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
mov edx, ecx
sub edx, eax
je 0x10039ed8
sar edx, 2
xor esi, esi
cmp dword [eax + esi*4], edi
je 0x10039ec6
inc esi
cmp esi, edx
jb 0x10039eba
jmp 0x10039ed8
mov ecx, dword [ecx - 4]
mov edx, dword [esp + 0xc]
mov dword [eax + esi*4], ecx
mov eax, 0xfffffffc
add dword [edx + 0x10], eax
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, ecx
sub edx, eax
jne 0x10039eeb
mov eax, ecx
jmp 0x10039f11
sar edx, 2
xor esi, esi
cmp dword [eax + esi*4], edi
je 0x10039efc
inc esi
cmp esi, edx
jb 0x10039ef0
jmp 0x10039f11
mov ecx, dword [ecx - 4]
mov edx, dword [esp + 0xc]
mov dword [eax + esi*4], ecx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
add ecx, 0xfffffffc
mov dword [edx + 4], ecx
mov edx, dword [esp + 4]
sub ecx, eax
cmp ecx, 4
je 0x10039f3b
mov esi, dword [edx + 8]
jmp 0x10039f2b
cmp byte [edi + 0x14], 0
je 0x10039e3f
lea eax, [esi - 4]
test esi, esi
cmove eax, esi
cmp eax, edi
mov edi, eax
jne 0x10039f21
jmp 0x10039fb6
mov al, 1
mov ecx, dword [esp + 8]
mov byte [ebx + 0x14], al
mov byte [edx + 0x14], al
mov edx, dword [esp + 0x10]
xor eax, eax
mov dword [ecx + 0x14], eax
cmp dword [edx + 0x14], eax
je 0x10039fb6
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
call fcn.1003a7f0
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov esi, edx
sub esi, ecx
je 0x10039f93
sar esi, 2
xor edi, edi
mov ebx, dword [esp + 4]
cmp dword [ecx + edi*4], ebx
je 0x10039f82
inc edi
cmp edi, esi
jb 0x10039f72
jmp 0x10039f93
mov edx, dword [edx - 4]
mov dword [ecx + edi*4], edx
mov edx, dword [eax + 4]
mov ecx, dword [eax]
add edx, 0xfffffffc
mov dword [eax + 4], edx
cmp ecx, edx
jne 0x10039fb6
mov eax, dword [esp + 0x10]
mov dword [eax + 0x14], 0
jmp 0x10039fb6
lea ebx, [ebp - 4]
test ebp, ebp
cmove ebx, ebp
cmp byte [ebx + 0x14], 0
je 0x10039d84
mov ebp, dword [ebp + 4]
cmp ebp, dword [esp + 0x18]
jne 0x10039fa4
mov eax, dword [esp + 0x2c]
mov ebx, dword [eax + 0x3c]
mov ecx, dword [ebx + 0x58]
add ebx, 0x54
cmp ecx, ebx
je 0x1003a619
xor ebp, ebp
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x44], ebx
jmp 0x1003a5f6
cmp dword [eax + 0xc], 1
jne 0x1003a60f
mov edx, dword [eax + 0x1c]
cmp dword [edx + 0x14], 0
je 0x1003a608
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc], edx
call fcn.1003a7f0
mov edx, dword [eax + 4]
mov esi, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
sub edx, dword [eax]
sub esi, dword [eax + 0xc]
mov eax, dword [eax + 0x18]
sub ecx, eax
sar esi, 2
sar edx, 2
sar ecx, 2
add esi, ecx
cmp edx, esi
jne 0x1003a07e
mov edx, dword [eax]
cmp ecx, 2
mov dword [esp + 0x10], ebp
mov esi, dword [edx + 0x18]
jb 0x1003a05b
xor edx, edx
inc edx
mov edi, dword [eax + edx*4]
mov ebp, esi
cmp dword [edi + 0x18], ebp
jne 0x1003a087
inc edx
mov esi, ebp
cmp edx, ecx
jb 0x1003a04a
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
test esi, esi
je 0x1003a608
cmp dword [esi + 0x5c], 0
mov dword [esp + 0x50], esi
je 0x1003a094
mov esi, dword [esp + 4]
jmp 0x1003a4aa
mov ecx, dword [esp + 0x18]
jmp 0x1003a608
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
jmp 0x1003a608
push 0xc
call fcn.10183019
add esp, 4
mov edx, eax
xor eax, eax
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [esi + 0x5c], edx
mov esi, dword [esp + 4]
mov dword [esp + 0x14], edx
cmp ebp, esi
je 0x1003a0c3
mov dword [esi], edx
add esi, 4
jmp 0x1003a174
sub ebp, dword [esp + 8]
mov ecx, 0x3fffffff
mov esi, ebp
mov edi, ebp
sar esi, 2
mov eax, esi
lea edx, [esi + 1]
shr eax, 1
mov ebp, edx
sub ecx, eax
cmp esi, ecx
ja 0x1003a0eb
add eax, esi
cmp eax, edx
cmovb eax, edx
mov ebp, eax
lea eax, [ebp*4]
cmp ebp, 0x3fffffff
mov ecx, 0xffffffff
mov dword [esp + 4], edx
cmova eax, ecx
cmp eax, 0x1000
jb 0x1003a128
cmp eax, 0xffffffdc
lea eax, [eax + 0x23]
cmova eax, ecx
push eax
call fcn.10183019
add esp, 4
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x1003a13b
test eax, eax
je 0x1003a139
push eax
call fcn.10183019
add esp, 4
mov ebx, eax
jmp 0x1003a13b
xor ebx, ebx
mov eax, dword [esp + 0x14]
mov dword [ebx + esi*4], eax
push edi
mov edi, dword [esp + 0xc]
push edi
push ebx
call fcn.1019f690
add esp, 0xc
test edi, edi
je 0x1003a15e
mov ecx, edi
mov edx, esi
call fcn.1003a9f4
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x14]
lea ecx, [ebx + ebp*4]
mov dword [esp + 8], ebx
mov dword [esp + 0x10], ecx
lea esi, [ebx + eax*4]
mov eax, dword [esp + 0x50]
mov edi, dword [eax + 0x58]
lea ebx, [eax + 0x54]
cmp edi, ebx
je 0x1003a4a2
lea eax, [edx + 4]
add edx, 8
mov dword [esp + 4], esi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
jmp 0x1003a1aa
mov dword [esp], 0
jmp 0x1003a29a
lea eax, [edi - 4]
test edi, edi
cmove eax, edi
cmp byte [eax + 0x14], 0
jne 0x1003a497
mov ebp, eax
mov eax, dword [ebp + 0xc]
cmp eax, 0xf
je 0x1003a1f1
mov ecx, ebp
cmp eax, 0xb
je 0x1003a1f5
cmp eax, 9
jne 0x1003a20c
mov edx, dword [ecx + 0x3c]
mov esi, ecx
mov ecx, 0x1fffffff
and edx, ecx
cmp edx, 0x20
sete cl
cmp edx, 0x19
mov edx, esi
mov esi, dword [esp + 4]
jne 0x1003a20e
jmp 0x1003a210
mov cl, 1
jmp 0x1003a20e
test edi, edi
je 0x1003a289
mov eax, dword [ecx + 0x28]
xor ebx, ebx
mov eax, dword [eax]
mov dword [esp], eax
jmp 0x1003a292
xor ecx, ecx
xor edx, edx
test cl, cl
jne 0x1003a21c
test edx, edx
je 0x1003a497
test cl, cl
je 0x1003a242
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
test edi, edi
mov ecx, ebp
je 0x1003a360
cmp eax, 0xf
jne 0x1003a360
mov eax, dword [ecx + 0x28]
mov bl, 1
jmp 0x1003a281
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
xor ebx, ebx
cmp eax, 9
mov ecx, ebp
mov dword [esp], 0
jne 0x1003a29a
xor ebx, ebx
test edi, edi
je 0x1003a19e
mov eax, dword [ecx + 0x3c]
mov ecx, 0x1fffffff
mov dword [esp], 0
and eax, ecx
mov ecx, ebp
cmp eax, 0x19
jne 0x1003a29a
mov eax, dword [ecx + 0x28]
xor ebx, ebx
mov eax, dword [eax + 4]
mov dword [esp], eax
jmp 0x1003a29a
xor ebx, ebx
mov dword [esp], 0
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esi]
mov eax, dword [edx]
cmp ebx, eax
je 0x1003a2d1
mov dword [eax], ecx
mov ecx, dword [esp]
mov ebp, edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1c]
mov byte [eax + 8], cl
mov cl, byte [esp + 0x2b]
mov byte [eax + 0xb], cl
movzx ecx, word [esp + 0x29]
mov word [eax + 9], cx
mov eax, dword [edx]
add eax, 0xc
jmp 0x1003a48c
mov ecx, dword [esp + 0x14]
mov eax, ebx
sub eax, dword [ecx]
mov ecx, 0x15555555
sar eax, 2
imul edx, eax, 0xaaaaaaab
lea eax, [edx + 1]
mov esi, edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], eax
mov eax, edx
shr eax, 1
sub ecx, eax
cmp edx, ecx
mov ecx, dword [esp + 0x48]
mov esi, ecx
ja 0x1003a30f
add eax, dword [esp + 0x40]
cmp eax, ecx
cmovb eax, ecx
mov esi, eax
lea eax, [esi*4]
cmp esi, 0x15555555
mov ecx, 0xffffffff
mov dword [esp + 0x54], esi
lea eax, [eax + eax*2]
cmova eax, ecx
cmp eax, 0x1000
jb 0x1003a34f
cmp eax, 0xffffffdc
lea eax, [eax + 0x23]
cmova eax, ecx
push eax
call fcn.10183019
add esp, 4
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x1003a39f
test eax, eax
je 0x1003a39d
push eax
call fcn.10183019
add esp, 4
mov esi, eax
jmp 0x1003a39f
mov bl, 1
cmp eax, 9
mov dword [esp], 0
jne 0x1003a29a
test edi, edi
je 0x1003a29a
mov eax, dword [ecx + 0x3c]
mov ebx, ecx
mov ecx, 0x1fffffff
and eax, ecx
cmp eax, 0x20
jne 0x1003a394
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 8]
mov dword [esp], eax
mov ecx, ebx
mov bl, 1
jmp 0x1003a29a
xor esi, esi
mov ecx, dword [esp + 0x40]
mov eax, dword [esp]
mov edx, dword [esp + 0x14]
lea ecx, [ecx + ecx*2]
mov dword [esi + ecx*4], ebp
mov dword [esi + ecx*4 + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp], ecx
mov byte [esi + ecx*4 + 8], al
mov al, byte [esp + 0x2b]
mov byte [esi + ecx*4 + 0xb], al
movzx eax, word [esp + 0x29]
mov word [esi + ecx*4 + 9], ax
mov eax, dword [edx]
mov edx, dword [edx + 4]
cmp edx, ebx
je 0x1003a42b
cmp eax, ebx
je 0x1003a403
mov edx, ebx
xor ebp, ebp
sub edx, eax
mov ecx, dword [eax + ebp + 8]
mov dword [esi + ebp + 8], ecx
movsd xmm0, qword [eax + ebp]
movsd qword [esi + ebp], xmm0
add ebp, 0xc
cmp edx, ebp
jne 0x1003a3e4
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
sub edx, ebx
je 0x1003a44c
mov eax, dword [esp]
xor ecx, ecx
lea eax, [esi + eax*4 + 0xc]
mov ebp, dword [ebx + ecx + 8]
mov dword [eax + ecx + 8], ebp
movsd xmm0, qword [ebx + ecx]
movsd qword [eax + ecx], xmm0
add ecx, 0xc
cmp edx, ecx
jne 0x1003a410
jmp 0x1003a44c
cmp eax, ebx
je 0x1003a452
sub ebx, eax
xor ecx, ecx
mov edx, dword [eax + ecx + 8]
mov dword [esi + ecx + 8], edx
movsd xmm0, qword [eax + ecx]
movsd qword [esi + ecx], xmm0
add ecx, 0xc
cmp ebx, ecx
jne 0x1003a433
mov eax, dword [esp + 0x14]
mov ebx, dword [eax]
mov ebp, dword [esp + 0x24]
test ebx, ebx
je 0x1003a46f
mov eax, dword [ebp]
mov ecx, ebx
sub eax, ebx
sar eax, 2
imul edx, eax, 0xaaaaaaab
call fcn.1003ad12
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
lea eax, [eax + eax*2]
mov dword [ecx], esi
lea eax, [esi + eax*4]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x54]
lea eax, [eax + eax*2]
lea eax, [esi + eax*4]
mov esi, dword [esp + 4]
mov ebx, dword [esp + 0x4c]
mov dword [ebp], eax
mov edi, dword [edi + 4]
cmp edi, ebx
jne 0x1003a1aa
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
mov dword [esp + 4], esi
mov eax, dword [eax + 0x5c]
mov edi, dword [eax]
mov edx, dword [eax + 4]
cmp edi, edx
je 0x1003a5f0
mov eax, dword [esp + 0xc]
add edi, 8
xor ebx, ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 0
mov dword [esp], 0
mov dword [esp + 0x1c], edx
jmp 0x1003a5c9
cmp byte [edi], 0
je 0x1003a557
test ebx, ebx
je 0x1003a528
mov eax, dword [esp]
and al, 1
jne 0x1003a528
mov ecx, esi
call fcn.1003acd2
mov ecx, ebx
mov dword [esp], eax
call fcn.1003acd2
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp dword [esp], eax
jb 0x1003a528
lea ecx, [esp + 0x2c]
mov edx, ebx
call fcn.1003aa86
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0xc]
cmp eax, 0xf
je 0x1003a578
cmp eax, 9
jne 0x1003a58e
mov eax, dword [esi + 0x3c]
mov edx, 0x1fffffff
and eax, edx
cmp eax, 0x20
jne 0x1003a5b0
mov eax, dword [esi + 0x28]
mov dword [esp], 0
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
jmp 0x1003a5bf
mov ecx, esi
mov edx, ebx
call fcn.1003ab98
test al, al
je 0x1003a5a3
lea ecx, [esp + 0x2c]
mov edx, esi
push dword [esp + 0x14]
call fcn.1003ac0e
add esp, 4
jmp 0x1003a5a8
mov eax, dword [esi + 0x28]
mov dword [esp], 0
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
jmp 0x1003a5e0
mov eax, dword [esp + 0xc]
mov dword [esp], 0
mov dword [esp + 0x14], 0
jmp 0x1003a5e0
mov al, 1
mov dword [esp], eax
mov ecx, dword [esp + 0x18]
mov esi, ebx
jmp 0x1003a5bf
mov dword [esp], 0
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
jmp 0x1003a5e0
cmp dword [edi - 4], eax
lea ebp, [edi - 8]
jne 0x1003a5de
mov esi, dword [edi - 8]
cmp byte [esi + 0x14], 0
je 0x1003a4e7
mov esi, ebx
add ebp, 0xc
add edi, 0xc
mov ebx, esi
cmp ebp, edx
jne 0x1003a5c9
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x44]
jmp 0x1003a608
lea eax, [ecx - 4]
test ecx, ecx
cmove eax, ecx
cmp byte [eax + 0x14], 0
je 0x10039fef
mov ecx, dword [ecx + 4]
cmp ecx, ebx
jne 0x1003a5f6
mov edi, dword [esp + 8]
mov ebx, dword [esp + 4]
jmp 0x1003a627
mov dword [esp + 8], 0
xor ebx, ebx
xor ebp, ebp
xor edi, edi
cmp edi, ebx
je 0x1003a65a
mov esi, dword [edi]
test esi, esi
je 0x1003a653
mov ecx, dword [esi]
test ecx, ecx
je 0x1003a64a
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
imul edx, eax, 0xaaaaaaab
call fcn.1003ad12
push esi
call fcn.10183049
add esp, 4
add edi, 4
cmp ebx, edi
jne 0x1003a62b
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x1003a66e
sub ebp, ecx
sar ebp, 2
mov edx, ebp
call fcn.1003a9f4
lea edi, [esp + 0x2c]
mov ecx, edi
call fcn.1003a6e2
mov esi, dword [edi + 8]
mov ebx, dword [edi + 0xc]
cmp esi, ebx
je 0x1003a6b3
mov ebp, esi
mov edi, dword [ebp]
test edi, edi
je 0x1003a6ac
lea ecx, [edi + 0x18]
call fcn.100034a2
lea ecx, [edi + 0xc]
call fcn.100034a2
mov ecx, edi
call fcn.100034a2
push edi
call fcn.10183049
add esp, 4
add ebp, 4
cmp ebx, ebp
jne 0x1003a685
test esi, esi
mov dword [esp + 0x38], esi
je 0x1003a6d9
mov edx, dword [esp + 0x3c]
mov ecx, esi
sub edx, esi
sar edx, 2
call fcn.1003a9f4
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret