Function at 0x10069cc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], 0
mov esi, edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x10], 0
mov ecx, dword [edi + 8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x1c], 0
test ecx, ecx
je 0x1006a778
mov edx, 0x65
test esi, esi
je 0x10069d0d
movzx edx, byte [esi]
lea eax, [edx - 0x13]
mov dword [esp + 0x18], edx
cmp eax, 0x8e
ja case.0x10069d26.21
movzx eax, byte [eax + 0x1006aaa4]
jmp dword [eax*4 + 0x1006aa38]
movsx eax, word [esi + 0x22]
mov edx, dword [esi + 0x28]
lea ecx, [eax + eax*2]
cmp byte [edx], 0
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*8]
jne 0x10069d4b
mov eax, dword [eax + 0x10]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [edx + 1], 0
je case.0x10069d26.152
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
push esi
push dword [eax + 0xc]
push dword [edx + 8]
mov edx, 0x62
call fcn.10051530
add esp, 0xc
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x1c]
test ecx, ecx
jns 0x10069d91
mov ecx, dword [edi + 0x38]
test ecx, ecx
jle 0x10069d8e
movsx eax, word [esi + 0x20]
add eax, ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x3c]
movzx eax, byte [esi + 0x26]
mov edx, dword [esi + 0x2c]
push eax
push dword [ebp + 8]
movsx eax, word [esi + 0x20]
push ecx
push eax
mov ecx, edi
call fcn.10069a60
add esp, 0x10
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov ecx, edi
mov edx, dword [esp + 0x2c]
push esi
push 0
call fcn.100695a0
add esp, 8
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x2c]
mov esi, dword [ebp + 8]
push esi
push 0
mov edx, dword [edx + 8]
call fcn.10069510
add esp, 8
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [esi + 8]
mov edx, dword [ebp + 8]
call fcn.10051760
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edx, 0x50
push esi
push 0
call fcn.10051680
add esp, 8
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [esi + 8]
lea ecx, [esi + 2]
call fcn.100355b0
mov ecx, dword [esp + 0xc]
lea edx, [esi + 2]
lea edi, [eax - 1]
mov ecx, dword [ecx]
push edi
call fcn.10036790
mov esi, dword [ebp + 8]
add esp, 4
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push eax
mov eax, edi
cdq
sub eax, edx
mov edx, 0x52
push 0
sar eax, 1
push esi
push eax
call fcn.100518e0
add esp, 0x14
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
movsx eax, word [esi + 0x20]
mov edx, 0x53
push eax
call fcn.10051680
mov eax, dword [esi + 8]
add esp, 8
cmp byte [eax + 1], 0
je 0x1006aa2e
mov edx, dword [esp + 0x2c]
mov esi, dword [edi + 0x1a8]
mov ecx, esi
movsx edx, word [edx + 0x20]
call fcn.10036cb0
mov ecx, dword [esp + 0xc]
mov edx, eax
push 0xfffffffffffffffe
mov dword [esi], 0
call fcn.10052370
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x1c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov edx, dword [esi + 0xc]
mov ecx, edi
call fcn.10069cc0
mov ecx, eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], ecx
cmp ecx, eax
je 0x10069efd
push eax
push ecx
mov ecx, dword [esp + 0x14]
mov edx, 0x56
call fcn.10051680
mov eax, dword [ebp + 8]
add esp, 8
mov dword [esp + 0x20], eax
mov ecx, dword [esi + 8]
xor edx, edx
call fcn.10071220
mov ecx, dword [esp + 0xc]
mov edx, 0x5e
movsx eax, al
push eax
push dword [ebp + 8]
call fcn.10051680
mov edx, dword [esp + 0x28]
mov ecx, edi
push 1
call fcn.100697f0
mov eax, dword [esp + 0x2c]
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esp + 0x1c], 0x80
cmp edx, 0x1d
sete al
lea edx, [eax + 0x24]
mov dword [esp + 0x18], edx
mov eax, dword [esi + 0xc]
mov ecx, eax
mov dword [esp + 0x20], eax
call fcn.10064bb0
mov ecx, edi
test eax, eax
je 0x10069f7d
push dword [esp + 0x1c]
push edx
mov edx, dword [ebp + 8]
push edx
mov edx, esi
call fcn.10064d30
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
call fcn.1006ac10
mov edx, dword [esp + 0x30]
add esp, 4
mov esi, eax
mov ecx, edi
lea eax, [esp + 0x10]
mov edx, dword [edx + 0x10]
push eax
call fcn.1006ac10
mov ecx, dword [esp + 0x20]
add esp, 4
mov edx, dword [ebp + 8]
or ecx, 0x20
push ecx
push edx
mov edx, dword [esp + 0x28]
mov ecx, edi
push eax
mov eax, dword [esp + 0x38]
push esi
push dword [esp + 0x28]
push dword [eax + 0x10]
call fcn.10064af0
add esp, 0x18
jmp 0x1006a12d
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.1006ac10
add esp, 4
mov esi, eax
lea eax, [esp + 0x10]
mov ecx, edi
push eax
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x10]
call fcn.1006ac10
mov edx, dword [ebp + 8]
add esp, 4
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x1c]
push esi
push eax
call fcn.10051530
add esp, 0xc
jmp 0x1006a12d
mov edx, dword [esi + 0xc]
mov al, byte [edx]
cmp al, 0x86
jne 0x1006a038
mov esi, dword [ebp + 8]
mov ecx, edi
push esi
push 1
call fcn.100695a0
add esp, 8
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp al, 0x84
jne 0x1006a055
mov esi, dword [ebp + 8]
mov edx, dword [edx + 8]
push esi
push 1
call fcn.10069510
add esp, 8
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x14]
mov byte [esp + 0x40], 0x86
push eax
lea edx, [esp + 0x44]
mov dword [esp + 0x48], 0x4400
mov ecx, edi
mov dword [esp + 0x4c], 0
call fcn.1006ac10
add esp, 4
mov esi, eax
lea eax, [esp + 0x10]
mov ecx, edi
push eax
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0xc]
call fcn.1006ac10
mov edx, dword [ebp + 8]
add esp, 4
mov ecx, dword [esp + 0xc]
push edx
push esi
push eax
mov edx, 0x30
call fcn.10051530
add esp, 0xc
jmp 0x1006a12d
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.1006ac10
mov edx, dword [ebp + 8]
add esp, 4
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x1c]
push eax
call fcn.10051680
add esp, 8
jmp 0x1006a12d
mov edx, dword [ebp + 8]
push edx
push 1
mov edx, 0x4d
call fcn.10051680
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call fcn.1006ac10
mov edx, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [esp + 0xc]
push eax
call fcn.10051610
mov ecx, dword [esp + 0x10]
add esp, 4
mov edx, 0x4d
mov esi, eax
push dword [ebp + 8]
push 0
call fcn.10051680
mov ecx, dword [esp + 0x14]
add esp, 8
mov edx, esi
call fcn.10051e60
mov edx, dword [esp + 0x14]
test edx, edx
je 0x1006a16c
mov al, byte [edi + 0x13]
mov byte [esp + 0x27], al
cmp al, 8
jae 0x1006a16c
movzx esi, byte [edi + 0x19]
lea eax, [edi + 0x98]
xor ecx, ecx
test esi, esi
jle 0x1006a15d
cmp dword [eax + 0xc], edx
je 0x1006a1bc
inc ecx
add eax, 0x14
cmp ecx, esi
jl 0x1006a150
movzx eax, byte [esp + 0x27]
mov dword [edi + eax*4 + 0x160], edx
inc byte [edi + 0x13]
mov edx, dword [esp + 0x10]
test edx, edx
je 0x1006aa2e
mov al, byte [edi + 0x13]
mov byte [esp + 0x27], al
cmp al, 8
jae 0x1006aa2e
movzx esi, byte [edi + 0x19]
lea eax, [edi + 0x98]
xor ecx, ecx
test esi, esi
jle 0x1006a1a4
cmp dword [eax + 0xc], edx
je 0x1006a1c2
inc ecx
add eax, 0x14
cmp ecx, esi
jl 0x1006a197
movzx eax, byte [esp + 0x27]
mov dword [edi + eax*4 + 0x160], edx
inc byte [edi + 0x13]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov byte [eax + 6], 1
jmp 0x1006a16c
mov byte [eax + 6], 1
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x1006a1f0
push dword [esi + 8]
push str.misuse_of_aggregate:__s__
push edi
call fcn.10035700
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movsx ecx, word [esi + 0x22]
mov eax, dword [eax + 0x28]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [edi + 0x17], 0
mov eax, dword [edi]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x20], 0
mov al, byte [eax + 0x42]
mov byte [esp + 0x28], al
je 0x1006a245
mov ecx, esi
call fcn.10066d90
test eax, eax
je 0x1006a245
push 0xffffffffffffffff
mov edx, esi
mov ecx, edi
call fcn.1006ab40
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test dword [esi + 4], 0x4000
je 0x1006a344
mov dword [esp + 0x18], 0
xor eax, eax
mov ecx, dword [esi + 8]
mov edx, ecx
push 0
push dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x24]
push eax
mov dword [esp + 0x48], eax
call fcn.10076a60
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x1006a583
cmp dword [eax + 0x10], 0
jne 0x1006a583
movzx eax, word [eax + 2]
test eax, 0x200
je 0x1006a35a
mov esi, dword [esp + 0xc]
mov ecx, esi
call fcn.10051af0
mov edx, dword [esp + 0x18]
mov ecx, edi
push dword [ebp + 8]
mov dword [esp + 0x2c], eax
mov edx, dword [edx + 4]
mov edx, dword [edx]
call fcn.1006acd0
mov eax, dword [esp + 0x40]
add esp, 4
cmp eax, 1
jle 0x1006a330
dec eax
mov dword [esp + 0x1c], 0x18
mov dword [esp + 0x20], eax
lea esp, [esp]
push dword [esp + 0x28]
mov edx, 0x23
mov ecx, esi
push dword [ebp + 8]
call fcn.10051680
mov edx, dword [ebp + 8]
mov ecx, edi
push 1
call fcn.100697f0
mov eax, dword [esp + 0x24]
add esp, 0xc
inc dword [edi + 0x40]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x1c]
push dword [ebp + 8]
mov edx, dword [eax + edx]
call fcn.1006acd0
add esp, 4
mov ecx, edi
call fcn.10069870
add dword [esp + 0x1c], 0x18
dec dword [esp + 0x20]
jne 0x1006a2e0
mov edx, dword [esp + 0x28]
mov ecx, esi
call fcn.10051b40
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
mov dword [esp + 0x18], eax
test eax, eax
je 0x1006a25a
mov eax, dword [eax]
jmp 0x1006a25c
test eax, 0x400
je 0x1006a37d
mov eax, dword [esp + 0x18]
mov ecx, edi
push dword [ebp + 8]
mov edx, dword [eax + 4]
mov edx, dword [edx]
call fcn.10069cc0
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x3c]
xor ecx, ecx
mov dword [esp + 0x10], ecx
test edx, edx
jle 0x1006a416
mov esi, dword [esp + 0x18]
mov eax, 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], ecx
cmp ecx, 0x20
jge 0x1006a3c8
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x30]
mov ecx, dword [ecx + eax]
call fcn.10066d30
mov edx, dword [esp + 0x3c]
test eax, eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
je 0x1006a3c8
or dword [esp + 0x38], eax
mov edi, dword [esp + 0x14]
test byte [edi + 2], 0x20
mov edi, dword [esp + 0x34]
je 0x1006a3fe
cmp dword [esp + 0x20], 0
jne 0x1006a3fe
mov edx, dword [esi + 4]
mov ecx, edi
mov eax, dword [esp + 0x30]
mov edx, dword [edx + eax]
call fcn.100648d0
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
add dword [esp + 0x30], 0x18
inc ecx
rol eax, 1
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], eax
cmp ecx, edx
jl 0x1006a3a0
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1006a496
cmp dword [esp + 0x38], 0
je 0x1006a43a
mov eax, dword [edi + 0x2c]
lea esi, [eax + 1]
add eax, edx
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x2c]
mov dword [edi + 0x2c], eax
jmp 0x1006a449
mov ecx, edi
call fcn.1006c0b0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x14]
test byte [edx + 2], 0xc0
je 0x1006a472
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [esp + 0x34], eax
mov al, byte [eax]
cmp al, 0x98
je 0x1006a466
cmp al, 0x9a
jne 0x1006a472
mov al, byte [edx + 2]
mov edx, dword [esp + 0x34]
and al, 0xc0
mov byte [edx + 0x26], al
inc dword [edi + 0x40]
mov edx, ecx
push 3
push 0
push dword [esp + 0x18]
mov ecx, edi
call fcn.1006ae90
add esp, 0xc
mov ecx, edi
call fcn.10069870
mov ecx, dword [esp + 0x18]
jmp 0x1006a49e
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x3c]
cmp edx, 2
jl 0x1006a4cc
test byte [esi + 4], 0x80
je 0x1006a4cc
mov eax, dword [ecx + 4]
mov esi, dword [esp + 0x1c]
mov ecx, esi
push dword [eax + 0x18]
push edx
mov edx, dword [esp + 0x1c]
call fcn.10097940
add esp, 8
mov dword [esp + 0x14], eax
jmp 0x1006a4f2
mov esi, dword [esp + 0x1c]
test edx, edx
jle 0x1006a4ee
mov eax, dword [ecx + 4]
mov ecx, esi
push dword [eax]
push edx
mov edx, dword [esp + 0x1c]
call fcn.10097940
add esp, 8
mov dword [esp + 0x14], eax
jmp 0x1006a4f2
mov eax, dword [esp + 0x14]
test byte [eax + 2], 0x20
je 0x1006a525
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x1006a503
mov eax, dword [esi + 8]
mov esi, dword [esp + 0xc]
mov edx, 0x59
push 0xfffffffffffffffd
push eax
push 0
push 0
push 0
mov ecx, esi
call fcn.100518e0
mov eax, dword [esp + 0x28]
add esp, 0x14
jmp 0x1006a529
mov esi, dword [esp + 0xc]
push 0xfffffffffffffffc
push eax
push dword [ebp + 8]
mov edx, 0x5a
mov ecx, esi
push dword [esp + 0x1c]
push dword [esp + 0x48]
call fcn.100518e0
mov eax, dword [esp + 0x50]
add esp, 0x14
movzx edx, al
mov ecx, esi
call fcn.10051e40
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1006aa2e
cmp dword [esp + 0x38], 0
jne 0x1006aa2e
mov edx, dword [esp + 0x10]
mov ecx, edi
push eax
call fcn.1006c110
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [esp + 0x30]
push str.unknown_function:__s__
push edi
call fcn.10035700
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp edx, 0x77
jne 0x1006a5c9
mov eax, dword [esi + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, 1
je 0x1006a5c9
push 1
push eax
push str.sub_select_returns__d_columns___expected__d
push edi
call fcn.10035700
mov eax, dword [ebp + 8]
add esp, 0x10
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
mov edx, esi
mov ecx, edi
call fcn.10067d50
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x1c], 0
jne 0x1006a5fc
push 0
push 0
mov ecx, edi
call fcn.10067d50
mov ecx, dword [esi + 0xc]
add esp, 8
mov dword [ecx + 0x1c], eax
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x1006a61f
mov ecx, dword [esi + 0xc]
call fcn.10064bf0
cmp edx, eax
je 0x1006a61f
push eax
push edx
push str._d_columns_assigned__d_values
push edi
call fcn.10035700
add esp, 0x10
mov eax, dword [esi + 0xc]
movsx ecx, word [esi + 0x20]
add ecx, dword [eax + 0x1c]
mov eax, ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.10051af0
mov ecx, dword [esp + 0xc]
mov esi, eax
call fcn.10051af0
push dword [ebp + 8]
mov ecx, dword [esp + 0x10]
mov edx, 0x50
push 0
mov edi, eax
call fcn.10051680
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
push edi
push esi
call fcn.100683b0
push dword [ebp + 8]
mov ecx, dword [esp + 0x20]
mov edx, 0x4d
push 1
call fcn.10051680
mov ecx, dword [esp + 0x24]
mov edx, esi
call fcn.10051b40
mov esi, dword [ebp + 8]
mov edx, 0x5c
push 0
push esi
call fcn.10051680
mov ecx, dword [esp + 0x2c]
add esp, 0x20
mov edx, edi
call fcn.10051b40
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov ecx, edi
mov edx, dword [esp + 0x2c]
push 0
push 0
push esi
call fcn.1006b090
add esp, 0xc
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov edx, dword [esi + 0xc]
mov ecx, edi
call fcn.10069cc0
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x2c]
mov edx, 0x90
push dword [ebp + 8]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x38], eax
movsx ecx, word [eax + 0x2a]
movsx eax, word [esi + 0x20]
inc ecx
imul ecx, dword [esi + 0x1c]
inc eax
add eax, ecx
mov ecx, edi
push eax
call fcn.10051680
movzx eax, word [esi + 0x20]
add esp, 8
test ax, ax
js 0x1006aa2e
movsx ecx, ax
mov eax, dword [esp + 0x34]
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xd], 0x45
jne 0x1006aa2e
push dword [ebp + 8]
mov edx, 0x5d
mov ecx, edi
call fcn.10051610
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.row_value_misused
push edi
call fcn.10035700
mov eax, dword [ebp + 8]
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x80], 0
jne 0x1006a780
push str.RAISE___may_only_be_used_within_a_trigger_program
push edi
call fcn.10035700
add esp, 8
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [esi + 1], 2
jne 0x1006a798
mov eax, dword [edi + 0x7c]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [esp + 0xc]
mov al, byte [esi + 1]
push 0
cmp al, 4
jne 0x1006a7c0
push dword [esi + 8]
mov edx, 0x4c
push 0
push 4
push 0
call fcn.100518e0
mov eax, dword [ebp + 8]
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push dword [esi + 8]
movsx eax, al
mov edx, 0x713
push eax
mov ecx, edi
call fcn.10075a60
mov eax, dword [ebp + 8]
add esp, 0x10
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x30], eax
call fcn.10051af0
mov edx, dword [esi + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], edx
test edx, edx
je 0x1006a890
movdqu xmm0, xmmword [edx]
lea eax, [esp + 0x14]
mov ecx, edi
push eax
movdqu xmmword [esp + 0x44], xmm0
movdqu xmm0, xmmword [edx + 0x10]
movdqu xmmword [esp + 0x54], xmm0
movdqu xmm0, xmmword [edx + 0x20]
lea edx, [esp + 0x44]
movdqu xmmword [esp + 0x64], xmm0
call fcn.10069c00
and dword [esp + 0x48], 0xffffefff
add esp, 4
mov ecx, eax
mov al, byte [esp + 0x40]
mov byte [esp + 0x66], al
lea eax, [esp + 0x70]
mov byte [esp + 0x40], 0x9d
push 0x30
push 0
push eax
mov dword [esp + 0x68], ecx
call sub.MSVCR120.dll_memset
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x4c]
mov dword [esp + 0x88], eax
add esp, 0xc
lea eax, [esp + 0x70]
mov byte [esp + 0x70], 0x25
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0xc]
lea ecx, [eax - 1]
test ecx, ecx
jle 0x1006a989
mov eax, dword [esp + 0x1c]
dec ecx
shr ecx, 1
inc ecx
mov dword [esp + 0x34], ecx
nop
inc dword [edi + 0x40]
mov eax, dword [eax]
test edx, edx
je 0x1006a8c2
mov dword [esp + 0x80], eax
jmp 0x1006a8c6
mov dword [esp + 0x20], eax
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x38], ecx
mov edx, dword [ecx + 0x48]
mov dword [esp + 0x14], edx
lea eax, [edx + 1]
mov dword [ecx + 0x48], eax
lea eax, [edx - 1]
test edx, eax
jne 0x1006a903
lea eax, [edx*8 + 4]
mov edx, dword [ecx + 0x4c]
mov ecx, dword [ecx]
push 0
push eax
call fcn.10032d60
mov ecx, dword [esp + 0x40]
add esp, 8
mov edx, dword [esp + 0x14]
mov dword [ecx + 0x4c], eax
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x1006a911
mov dword [eax + edx*4], 0xffffffff
or eax, 0xffffffff
sub eax, edx
push 0x10
push eax
push dword [esp + 0x28]
mov dword [esp + 0x44], eax
push edi
call fcn.1006b500
mov edx, dword [esp + 0x2c]
mov ecx, edi
push dword [ebp + 8]
mov edx, dword [edx + 0x18]
call fcn.1006acd0
mov edx, dword [esp + 0x24]
add esp, 0x14
mov ecx, esi
call fcn.100516f0
mov ecx, edi
call fcn.10069870
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
je 0x1006a96c
mov eax, dword [esp + 0x38]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x88]
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
add eax, 0x30
dec dword [esp + 0x34]
mov dword [esp + 0x1c], eax
jne 0x1006a8b0
mov eax, dword [esp + 0x30]
test al, 1
je 0x1006a9b4
mov edx, dword [esp + 0x18]
lea eax, [eax + eax*2]
inc dword [edi + 0x40]
mov ecx, edi
push dword [ebp + 8]
mov edx, dword [edx + 4]
mov edx, dword [edx + eax*8 - 0x18]
call fcn.1006acd0
add esp, 4
mov ecx, edi
call fcn.10069870
jmp 0x1006aa0f
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x1006a9da
push 0
push dword [ebp + 8]
mov edx, 0x50
mov ecx, esi
push 0
call fcn.100514f0
add esp, 0xc
jmp 0x1006aa0f
mov edx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x4c]
test edx, edx
je 0x1006aa2e
mov eax, dword [esp + 0x10]
lea ecx, [eax*4 + 4]
sub edx, ecx
mov ecx, dword [esi + 0x88]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret