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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
push esi
mov esi, ecx
mov byte [esp + 0xe], 0
push edi
mov edi, edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], edi
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x6c], 0
test eax, eax
je 0x1009f836
xor edx, edx
cmp dword [eax], 0x40
cmovge eax, edx
mov dword [ebp + 0xc], eax
mov dword [esp + 0x64], eax
mov al, byte [ecx + 0x40]
mov ecx, dword [ebp + 0x14]
and al, 0x20
mov byte [esp + 0x11], al
mov eax, ecx
and eax, 0xfbff
cmp byte [esp + 0x11], 0
movzx edx, ax
movzx eax, cx
cmove edx, eax
movzx eax, dx
mov ecx, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [edi]
cmp ecx, 0x40
jle 0x1009f887
push 0x40
push str.at_most__d_tables_in_a_join
push esi
call fcn.100365a0
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test al, 0x40
mov eax, 1
push 0
cmovne ecx, eax
mov dword [esp + 0x2c], ecx
lea esi, [ecx + ecx*4]
mov ecx, dword [esp + 0x24]
shl esi, 4
add esi, 0x2e7
and esi, 0xfffffff8
lea edi, [esi + 0x48]
push edi
call fcn.10033be0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x1009f8ce
push edi
push 0
push eax
call fcn.100b7060
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x20]
cmp byte [ecx + 0x45], 0
je 0x1009f8e7
mov edx, eax
call fcn.100338e0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov byte [eax + 0x2b], cl
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x40], 0xffffffff
mov dword [eax + 0x3c], 0xffffffff
mov dword [eax], edx
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x50], ecx
mov edi, dword [ecx + 0x74]
lea eax, [edi + 1]
mov dword [ecx + 0x74], eax
lea eax, [edi - 1]
test edi, eax
jne 0x1009f952
mov edx, dword [ecx + 0x78]
lea eax, [edi*8 + 4]
mov ecx, dword [ecx]
push 0
push eax
call fcn.10033d80
mov ecx, dword [esp + 0x58]
add esp, 8
mov edx, dword [esp + 0x18]
mov dword [ecx + 0x78], eax
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x1009f960
mov dword [eax + edi*4], 0xffffffff
mov ecx, dword [esp + 0x14]
not edi
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x5c], ecx
push 0x48
mov word [ecx + 0x24], ax
mov eax, dword [ebp + 0x18]
mov word [ecx + 0x22], ax
mov dword [ecx + 0x30], edi
mov dword [ecx + 0x34], edi
lea edi, [ecx + 0x148]
mov dword [esp + 0x54], eax
mov eax, dword [edx + 0x1ac]
lea edx, [ecx + 0x44]
mov dword [ecx + 0x38], eax
add ecx, esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x34], edx
mov dword [esp + 0x6c], ecx
lea eax, [ecx + 0x38]
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x30], eax
xor eax, eax
mov word [ecx + 0x28], ax
mov eax, 3
mov word [ecx + 0x2c], ax
lea eax, [edi + 0x18]
mov dword [edx], 0
mov ecx, edi
mov edx, dword [ebp + 8]
mov dword [esp + 0x38], edi
mov dword [esp + 0x64], edi
mov dword [edi], esi
mov dword [edi + 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 8
mov dword [edi + 0x14], eax
call fcn.1009a580
xor edi, edi
lea eax, [esi + 0x148]
add esp, 4
cmp dword [eax + 0xc], edi
jle 0x1009fab3
xor esi, esi
nop dword [eax]
cmp dword [esp + 0x28], 0
je 0x1009fa73
mov eax, dword [eax + 0x14]
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
movq qword [esp + 0x80], xmm0
mov dword [esp + 0x88], 0
mov edx, dword [esi + eax]
mov byte [esp + 0x84], 2
mov dword [esp + 0x74], 0x100678b0
mov dword [esp + 0x78], 0x100679b0
mov dword [esp + 0x88], 0
test edx, edx
je 0x1009fa73
lea ecx, [esp + 0x70]
call fcn.100637a0
cmp byte [esp + 0x84], 0
je 0x1009fa9e
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 0x10
mov edx, dword [eax + 0x15c]
push dword [eax + 0x34]
mov edx, dword [esi + edx]
call fcn.1006b0c0
mov eax, dword [esp + 0x3c]
add esp, 8
mov eax, dword [eax + 0x14]
or word [esi + eax + 0x14], 4
mov eax, dword [esp + 0x34]
inc edi
add esi, 0x30
cmp edi, dword [eax + 0xc]
jl 0x1009fa10
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x28], 0
jne 0x1009fad4
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1009fac6
mov al, byte [eax]
mov byte [esi + 0x26], al
test dword [esp + 0x2c], 0x400
je 0x1009fad4
mov byte [esi + 0x2a], 1
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4c], 0
cmp dword [eax], 0
jle 0x1009fc7d
mov esi, dword [esp + 0x30]
lea edx, [eax + 0x18]
mov dword [esp + 0x38], edx
mov ecx, dword [esi]
mov eax, dword [edx + 0x20]
mov dword [esi + ecx*4 + 4], eax
inc dword [esi]
test byte [edx + 0x18], 4
je 0x1009fc5f
mov ecx, dword [edx + 0x38]
mov eax, dword [edx]
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], ecx
test ecx, ecx
je 0x1009fc5f
xor esi, esi
mov dword [esp + 0x44], esi
cmp dword [ecx], esi
jle 0x1009fc5b
mov edi, dword [esp + 0x18]
mov dword [esp + 0x3c], esi
movsx edx, word [eax + 0x22]
cmp esi, edx
jge 0x1009fc43
mov eax, dword [eax + 4]
mov ecx, esi
shl ecx, 4
add eax, 0xf
add eax, ecx
nop dword [eax]
test byte [eax], 2
jne 0x1009fb5d
inc esi
add eax, 0x10
cmp esi, edx
jl 0x1009fb50
mov eax, dword [esp + 0x40]
cmp esi, edx
jge 0x1009fc43
mov ecx, dword [edi]
mov edx, 0x98
push 1
push 0
call fcn.10066160
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x54], eax
test edi, edi
je 0x1009fc2d
mov ecx, edi
call fcn.100660a0
mov edx, dword [esp + 0x18]
mov ecx, dword [edx]
mov eax, dword [ecx + 0x68]
cmp dword [edi + 0x18], eax
jle 0x1009fbb4
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push edx
call fcn.100365a0
add esp, 0xc
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
push 0
push 0
mov eax, dword [eax + 0x20]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x48]
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x50]
mov word [edi + 0x20], si
inc esi
mov eax, dword [eax + 4]
mov edx, dword [edx + eax]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
call fcn.10066a40
push 0
push eax
push edi
mov edi, dword [esp + 0x2c]
mov edx, 0x4f
mov ecx, edi
call fcn.100663a0
mov ecx, dword [esp + 0x48]
add esp, 0x14
mov edx, eax
push 1
call fcn.10098c30
mov ecx, dword [esp + 0x48]
add esp, 4
mov eax, dword [esp + 0x48]
inc ecx
add dword [esp + 0x3c], 0x18
mov dword [esp + 0x44], ecx
cmp ecx, dword [eax]
jge 0x1009fc57
mov eax, dword [esp + 0x40]
jmp 0x1009fb34
xor edx, edx
mov ecx, eax
call fcn.10066910
mov ecx, dword [esp + 0x54]
xor edx, edx
call fcn.10066910
jmp 0x1009fc57
push dword [esp + 0x44]
push dword [eax]
push str.too_many_arguments_on__s_____max__d
push edi
call fcn.100365a0
add esp, 0x10
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x4c]
add edx, 0x50
mov ecx, dword [esp + 0x24]
inc eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], edx
cmp eax, dword [ecx]
jl 0x1009faf4
mov eax, ecx
mov ecx, dword [esp + 0x34]
mov esi, dword [ecx + 0xc]
sub esi, 1
js 0x1009fcaa
nop dword [eax]
mov edx, ecx
mov ecx, eax
push esi
call fcn.10099b20
mov ecx, dword [esp + 0x38]
add esp, 4
sub esi, 1
mov eax, dword [esp + 0x24]
jns 0x1009fc90
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x45], 0
jne 0x1009fd57
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
and eax, 0x400
mov dword [esp + 0x54], eax
je 0x1009fd02
push dword [ebp + 0x10]
mov edx, dword [esp + 0x28]
push ecx
mov ecx, esi
call fcn.1009ae00
mov edi, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x1009fceb
mov byte [edi + 0x2a], 1
jmp 0x1009fd06
cmp dword [ebp + 0xc], 0
jne 0x1009fd06
mov eax, 0x200
or word [edi + 0x24], ax
mov eax, dword [ebp + 0x10]
mov dword [edi + 8], eax
jmp 0x1009fd06
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x28], 1
jne 0x1009fd1a
lea ecx, [esp + 0x5c]
call fcn.1009f620
test eax, eax
jne 0x1009fd79
lea ecx, [esp + 0x5c]
call fcn.1009e2b0
test eax, eax
jne 0x1009fd57
xor edx, edx
mov ecx, edi
call fcn.1009ee10
mov ecx, dword [esp + 0x20]
cmp byte [ecx + 0x45], 0
jne 0x1009fd57
cmp dword [edi + 8], 0
je 0x1009fd83
movzx edx, word [edi + 0x20]
mov ecx, edi
inc dx
call fcn.1009ee10
mov ecx, dword [esp + 0x20]
cmp byte [ecx + 0x45], 0
je 0x1009fd7d
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 0x38]
mov dword [ecx + 0x1ac], eax
mov ecx, dword [esp + 0x20]
call fcn.1009c080
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x20]
cmp dword [edi + 8], 0
jne 0x1009fd9a
test dword [ecx + 0x18], 0x20000
je 0x1009fd9a
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x1c], 0xffffffff
cmp dword [esi + 0x44], 0
jne 0x1009fd57
cmp byte [ecx + 0x45], 0
jne 0x1009fd57
cmp byte [edi + 0x2b], 2
jb 0x1009febe
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1009febe
mov edx, 0x400
test word [ecx + 0x40], dx
jne 0x1009febe
mov ecx, dword [esp + 0x30]
mov edx, eax
call fcn.1009a800
mov edi, edx
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x64]
mov esi, eax
mov dword [esp + 0x48], esi
test edx, edx
je 0x1009fdfe
mov ecx, dword [esp + 0x30]
call fcn.1009a800
or esi, eax
or edi, edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x14]
mov al, byte [edi + 0x2b]
cmp al, 2
jb 0x1009febe
mov edx, dword [edi + 4]
mov dword [esp + 0x40], edx
movzx eax, al
add eax, 9
lea eax, [eax + eax*4]
add eax, eax
mov ecx, dword [edi + eax*8]
movzx eax, byte [ecx + 0x10]
lea eax, [eax + eax*4]
add eax, eax
test byte [edx + eax*8 + 0x2c], 8
je 0x1009febe
cmp word [esp + 0x54], 0
jne 0x1009fe47
test dword [ecx + 0x24], 0x1000
je 0x1009febe
mov eax, dword [ecx + 0xc]
mov edi, dword [ecx + 8]
mov ecx, edi
mov dword [esp + 0x44], eax
and ecx, esi
and eax, dword [esp + 0x4c]
or ecx, eax
jne 0x1009feba
mov eax, dword [esp + 0x60]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
lea esi, [eax + eax*2]
shl esi, 4
add esi, edx
cmp edx, esi
jae 0x1009fe98
mov ecx, dword [edx + 0x28]
mov eax, dword [edx + 0x2c]
and ecx, edi
and eax, dword [esp + 0x44]
or ecx, eax
je 0x1009fe8b
mov eax, dword [edx]
test byte [eax + 4], 1
je 0x1009fe94
add edx, 0x30
cmp edx, esi
jb 0x1009fe73
jmp 0x1009fe98
cmp edx, esi
jb 0x1009feba
mov edi, dword [esp + 0x14]
dec dword [esp + 0x28]
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
mov al, byte [edi + 0x2b]
dec al
mov byte [edi + 0x2b], al
cmp al, 2
jae 0x1009fe14
jmp 0x1009febe
mov edi, dword [esp + 0x14]
mov ecx, dword [edi]
movsx eax, word [edi + 0x20]
add dword [ecx + 0x1ac], eax
test byte [esp + 0x2c], 4
je 0x1009ff30
mov edx, dword [edi + 0x320]
mov esi, dword [esp + 0x58]
and esi, 0x2000
mov ecx, dword [edx + 0x24]
test ecx, 0x1000
jne 0x1009fef9
test si, si
je 0x1009ff30
test ecx, 0x400
jne 0x1009ff30
mov eax, ecx
and eax, 0x1000
neg eax
sbb al, al
add al, 2
mov byte [edi + 0x28], al
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x18]
test byte [eax + 0x2a], 0x20
jne 0x1009ff30
test cl, 0x40
je 0x1009ff30
and ecx, 0xffffffbf
mov ax, si
neg ax
mov dword [edx + 0x24], ecx
sbb al, al
and al, 8
mov word [esp + 0x12], ax
mov ecx, dword [esp + 0x28]
test ecx, ecx
jle 0x100a01c8
lea eax, [edi + 0x320]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], eax
nop word [eax + eax]
movzx eax, byte [eax - 0x14]
mov esi, 0xfff0bdc0
mov ecx, dword [esp + 0x24]
lea eax, [eax + eax*4]
shl eax, 4
add eax, ecx
mov dword [esp + 0x38], eax
mov edi, dword [eax + 0x18]
mov dword [esp + 0x4c], edi
mov edx, dword [edi + 0x40]
test edx, edx
je 0x1009ff9c
mov eax, dword [esp + 0x20]
xor esi, esi
mov ecx, dword [eax + 0x14]
test ecx, ecx
jle 0x1009ff9c
mov eax, dword [eax + 0x10]
add eax, 0xc
nop word [eax + eax]
cmp dword [eax], edx
je 0x1009ff9c
inc esi
add eax, 0x10
cmp esi, ecx
jl 0x1009ff90
mov eax, dword [esp + 0x3c]
mov cl, byte [edi + 0x2a]
mov edx, dword [eax]
mov dword [esp + 0x48], edx
test cl, 2
jne 0x100a0114
cmp dword [edi + 0xc], 0
jne 0x100a0114
mov eax, dword [edx + 0x24]
test eax, 0x400
je 0x100a0000
mov eax, dword [edi + 0x38]
test eax, eax
je 0x1009ffdc
mov ecx, dword [esp + 0x20]
cmp dword [eax], ecx
je 0x1009ffdc
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x1009ffd1
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
push 0xfffffffffffffff6
push eax
push 0
push 0
push dword [edx + 0x38]
mov edx, 0x98
call fcn.10051e60
add esp, 0x14
jmp 0x100a0114
test cl, 0x10
jne 0x100a0114
test al, 0x40
jne 0x100a00ff
test byte [esp + 0x2c], 0x10
jne 0x100a00ff
mov eax, dword [esp + 0x14]
mov ecx, 0x36
mov edx, dword [esp + 0x38]
cmp byte [eax + 0x28], 0
je 0x100a0042
mov edi, dword [esp + 0x14]
mov ecx, 0x37
mov eax, dword [edx + 0x38]
mov dword [edi + 0x3c], eax
mov edi, dword [esp + 0x4c]
mov edx, dword [edx + 0x38]
push ecx
mov ecx, dword [esp + 0x1c]
push edi
push esi
call fcn.1007df10
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp byte [eax + 0x28], 0
jne 0x100a00db
cmp word [edi + 0x22], 0x40
jge 0x100a00db
test byte [edi + 0x2a], 0x20
jne 0x100a00db
mov eax, dword [esp + 0x38]
xor edi, edi
mov edx, dword [eax + 0x48]
mov ecx, dword [eax + 0x4c]
mov eax, edx
or eax, ecx
je 0x100a008d
nop dword [eax]
shrd edx, ecx, 1
inc edi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x100a0080
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
cmp byte [ecx + 0x45], 0
je 0x100a00a9
push edi
mov edx, 0xfffffff2
call fcn.10052480
add esp, 4
jmp 0x100a00db
mov eax, dword [eax + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
cmp byte [eax + ecx*4 - 0x13], 0
lea eax, [eax + ecx*4]
je 0x100a00d4
mov ecx, dword [esp + 0x1c]
lea edx, [eax - 0x14]
push 0xfffffffffffffff2
push edi
call fcn.100526a0
add esp, 8
jmp 0x100a00db
mov dword [eax - 4], edi
mov byte [eax - 0x13], 0xf2
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
jne 0x100a0114
mov eax, dword [ecx + 0x20]
mov dx, word [esp + 0x12]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
mov byte [eax + ecx*4 - 0x11], dl
jmp 0x100a0114
push dword [edi]
mov ecx, dword [esp + 0x1c]
mov edx, esi
push 0
push dword [edi + 0x1c]
call fcn.1006f190
add esp, 0xc
mov ecx, dword [esp + 0x48]
test dword [ecx + 0x24], 0x200
je 0x100a015d
mov eax, dword [esp + 0x4c]
mov edi, dword [ecx + 0x1c]
mov ecx, 0x36
mov dword [esp + 0x30], ecx
test byte [eax + 0x2a], 0x20
je 0x100a02ac
mov eax, dword [edi + 0x38]
and al, 3
cmp al, 2
jne 0x100a02ac
test byte [esp + 0x2c], 0x40
je 0x100a02ac
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx - 0x3c]
mov dword [ecx - 0x38], eax
mov edi, dword [esp + 0x18]
test esi, esi
js 0x100a01ae
mov eax, dword [edi + 0x1a0]
mov ecx, esi
test eax, eax
cmovne edi, eax
mov eax, 1
shl eax, cl
mov edx, dword [edi + 0x154]
test edx, eax
jne 0x100a01ae
mov eax, dword [edi]
bts edx, esi
mov dword [edi + 0x154], edx
mov edx, esi
add edx, edx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edx*8 + 0xc]
mov eax, dword [eax]
mov dword [edi + esi*4 + 0x158], eax
cmp esi, 1
jne 0x100a01ae
mov ecx, edi
call fcn.10075390
mov eax, dword [esp + 0x3c]
add eax, 0x50
sub dword [esp + 0x40], 1
mov dword [esp + 0x3c], eax
jne 0x1009ff50
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x45], 0
jne 0x1009fd57
or ecx, 0xffffffff
or edx, 0xffffffff
xor edi, edi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x50], edx
cmp dword [esp + 0x28], edi
jle 0x100a03f2
mov esi, dword [esp + 0x14]
add esi, 0x30c
mov eax, dword [esi + 0x14]
test dword [eax + 0x24], 0x4000
je 0x100a0247
lea eax, [esi - 0x2c]
push eax
movzx eax, byte [esi]
push edx
mov edx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x30]
lea eax, [eax + eax*4]
add ecx, 8
shl eax, 4
add eax, ecx
mov ecx, dword [esp + 0x24]
push eax
call fcn.1009b0d0
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp byte [eax + 0x45], 0
jne 0x1009fd57
push dword [esp + 0x2c]
movzx eax, byte [esi]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
push eax
lea eax, [esi - 0x2c]
push edi
push eax
call fcn.10096440
mov eax, dword [esp + 0x2c]
mov edx, edi
push dword [esp + 0x60]
mov ecx, dword [esp + 0x28]
mov eax, dword [eax + 0x20]
mov dword [esi - 0xc], eax
mov eax, dword [esp + 0x58]
push eax
call fcn.10096fb0
mov ecx, dword [esi - 0x14]
inc edi
mov dword [esp + 0x5c], eax
add esp, 0x18
mov eax, dword [esp + 0x14]
add esi, 0x50
mov dword [esp + 0x50], edx
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 0x44]
cmp edi, dword [esp + 0x28]
jl 0x100a0204
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x50]
cmp byte [eax + 0x28], 0
je 0x100a02e6
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
test eax, eax
je 0x100a02d4
cmp eax, edi
je 0x100a02d4
mov eax, dword [eax + 0x14]
inc edx
test eax, eax
jne 0x100a02c8
mov eax, dword [esp + 0x14]
mov ecx, 0x37
mov dword [esp + 0x30], ecx
mov dword [eax + 0x40], edx
jmp 0x100a0318
test edx, edx
je 0x100a0307
mov eax, dword [esp + 0x2c]
test al, 0x40
je 0x100a0307
mov ecx, eax
and ecx, 0x1000
neg ecx
sbb ecx, ecx
add ecx, 0x36
mov dword [esp + 0x30], ecx
jmp 0x100a0318
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + 0x48]
lea eax, [edx + 1]
mov dword [ecx + 0x48], eax
mov ecx, dword [esp + 0x3c]
mov eax, edx
mov dword [ecx - 0x38], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 0x18]
mov ecx, dword [esp + 0x44]
cmp dword [eax + 0x58], ecx
mov ecx, dword [esp + 0x30]
jg 0x100a0359
push esi
push dword [esp + 0x50]
push edx
mov edx, ecx
mov ecx, dword [esp + 0x28]
call fcn.10051a30
add esp, 0xc
jmp 0x100a039a
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
inc eax
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
mov eax, dword [eax + 4]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], esi
mov byte [eax], cl
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov edx, edi
mov edi, dword [esp + 0x18]
mov ecx, edi
call fcn.10052800
mov edx, dword [esp + 0x48]
mov eax, dword [edx + 0x24]
test al, 0xf
je 0x100a0161
test eax, 0x8002
jne 0x100a0161
mov eax, dword [esp + 0x14]
test byte [eax + 0x24], 1
jne 0x100a0161
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
cmp byte [eax + 0x45], 0
jne 0x100a0161
mov eax, dword [edx + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 4]
mov byte [eax + ecx*4 - 0x11], 2
jmp 0x100a0161
mov eax, dword [esp + 0x14]
pop edi
pop esi
mov esp, ebp
pop ebp
ret