Function at 0x10060030
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
mov eax, dword [0x100a5428]
xor eax, esp
mov dword [esp + 0xd8], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x28], eax
mov eax, dword [esi]
push edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x30], eax
test ebx, ebx
je 0x10060313
cmp byte [eax + 0x1e], 0
jne 0x10060313
cmp dword [esi + 0x40], 0
jne 0x10060313
push 0
push 0
push 0
push 0x15
mov eax, esi
call fcn.10047230
add esp, 0x10
test eax, eax
jne 0x10060313
push 0x2c
push eax
lea ecx, [esp + 0x84]
push ecx
call fcn.100775d0
mov edx, dword [esp + 0x38]
mov edi, dword [ebx + 0x18]
add esp, 0xc
cmp byte [edx], 4
mov dword [esp + 0x28], edi
ja 0x100600d9
mov eax, 0xfffe
and word [ebx + 6], ax
mov dword [ebx + 0x18], 0
push 0
push ebx
push esi
call fcn.1005f570
mov ecx, dword [ebx + 8]
add esp, 0xc
cmp dword [esi + 0x40], 0
mov dword [esp + 0x44], ecx
mov ecx, dword [ebx]
jne 0x1006133f
mov edx, dword [esp + 0x30]
cmp byte [edx + 0x1e], 0
jne 0x1006133f
movzx eax, word [ebx + 6]
shr eax, 2
and eax, 1
mov dword [ebx + 0x18], edi
mov dword [esp + 0x40], eax
test ecx, ecx
je 0x1006133f
cmp dword [esi + 0x40], 0
jg 0x1006133f
mov eax, dword [esp + 0x2c]
cmp byte [eax], 4
ja 0x1006013e
mov dword [esp + 0x28], 0
mov edi, dword [esp + 0x28]
mov eax, esi
call fcn.1005b500
mov dword [esp + 0xc], eax
test eax, eax
je 0x1006133f
cmp dword [ebx + 0x1c], 0
mov dword [esp + 0x24], 0
jne 0x100602ae
mov ecx, dword [esp + 0x44]
movsx edx, word [ecx]
cmp dword [esp + 0x24], edx
jge 0x100602ae
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x44]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [edx + ecx*8 + 8]
mov dword [esp + 0x34], eax
mov eax, dword [eax + 0x10]
mov dword [esp + 0x54], eax
test eax, eax
je 0x100602a0
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x14], 0
jne 0x100602a0
lea edi, [esp + 0x10]
mov eax, ebx
mov dword [esp + 0x10], 0
call fcn.1003f340
mov ecx, dword [esp + 0x10]
add dword [esi + 0x200], ecx
mov edx, dword [esp + 0x54]
movzx edi, word [edx + 6]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
shr edi, 2
and edi, 1
push edi
push eax
push ecx
push esi
mov ecx, ebx
call fcn.1005e4d0
add esp, 0x10
test eax, eax
je 0x1006020a
test edi, edi
je 0x10060200
or word [ebx + 6], 4
mov dword [esp + 0x40], 1
mov dword [esp + 0x24], 0xffffffff
jmp 0x1006024c
mov edi, dword [esp + 0x34]
mov eax, dword [edi + 0x18]
mov dword [esp + 0xd8], eax
xor eax, eax
lea edx, [esp + 0xd4]
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x54]
push edx
push eax
push esi
mov word [esp + 0xe0], 9
call fcn.10060030
add esp, 0xc
mov byte [edi + 0x14], 1
cmp dword [esi + 0x40], 0
jne 0x1006133f
mov ecx, dword [esp + 0x30]
cmp byte [ecx + 0x1e], 0
jne 0x1006133f
mov ebx, dword [esp + 0x4c]
lea edi, [esp + 0x10]
mov eax, ebx
mov dword [esp + 0x10], 0
call fcn.1003f340
mov edx, dword [esp + 0x10]
sub dword [esi + 0x200], edx
mov ecx, dword [esp + 0x2c]
cmp byte [ecx], 4
mov eax, dword [ebx + 8]
mov dword [esp + 0x44], eax
jbe 0x1006029c
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x28], edx
mov edi, dword [esp + 0x28]
inc dword [esp + 0x24]
cmp dword [ebx + 0x1c], 0
je 0x10060163
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x70], eax
movzx eax, word [ebx + 6]
and eax, 1
cmp dword [ebx + 0x1c], 0
mov dword [esp + 0x68], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
je 0x10060353
cmp dword [ebx + 0x24], 0
jne 0x1006032d
xor ecx, ecx
xor edx, edx
mov eax, ebx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ebx
mov ecx, eax
mov eax, dword [eax + 0x1c]
inc edx
test eax, eax
jne 0x100602e6
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x60]
test eax, eax
je 0x1006032d
cmp edx, eax
jle 0x1006032d
push str.too_many_terms_in_compound_SELECT
push esi
call fcn.1001d690
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.10075b7f
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x2c]
push edx
mov edx, ebx
mov ecx, esi
call fcn.1005b6f0
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.10075b7f
mov esp, ebp
pop ebp
ret
cmp dword [ecx], 1
mov eax, dword [esp + 0x2c]
movzx eax, byte [eax]
jle 0x10060370
push esi
call fcn.1005a080
add esp, 4
test eax, eax
jne 0x1006133f
mov cl, byte [ebx + 6]
and cl, 5
cmp cl, 1
jne 0x100603ab
cmp dword [ebx + 0x10], 0
jne 0x100603ab
mov edx, dword [ebx]
mov eax, dword [esp + 0x30]
push 0
push edx
push eax
call fcn.100400d0
mov ecx, 0xfffe
add esp, 0xc
and word [ebx + 6], cx
mov dword [ebx + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
test edi, edi
je 0x100603e5
push edi
push esi
call fcn.1005a510
mov edx, dword [esi + 0x44]
push 0xfffffffffffffff0
push eax
mov dword [edi + 8], edx
inc dword [esi + 0x44]
mov eax, dword [edi]
mov ecx, dword [edi + 8]
push 0
add eax, 2
push eax
mov eax, dword [esp + 0x24]
push ecx
push 0x76
call fcn.10032b10
add esp, 0x20
mov dword [esp + 0x18], eax
mov dword [ebx + 0x40], eax
jmp 0x100603ed
mov dword [esp + 0x18], 0xffffffff
mov edx, dword [esp + 0x2c]
cmp byte [edx], 9
jne 0x1006040f
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
push ecx
push eax
mov eax, dword [esp + 0x14]
push 0x76
call fcn.10032ab0
add esp, 0xc
mov eax, dword [esp + 0xc]
call fcn.10032b80
push eax
mov dword [esp + 0xb0], eax
push ebx
mov eax, esi
call fcn.1005b560
add esp, 8
cmp dword [esp + 0x10], 0
je 0x10060460
mov edi, dword [esi + 0x44]
lea ecx, [edi + 1]
mov dword [esi + 0x44], ecx
mov edx, dword [ebx]
push edx
push esi
mov dword [esp + 0x68], edi
call fcn.1005a510
push 0xfffffffffffffff0
push eax
mov eax, dword [esp + 0x1c]
push 0
push 0
push edi
push 0x76
call fcn.10032b10
add esp, 0x20
jmp 0x10060468
mov dword [esp + 0x60], 0xffffffff
cmp dword [esp + 0x40], 0
mov edi, dword [esp + 0x14]
jne 0x100604fb
test edi, edi
jne 0x10060502
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push edi
lea eax, [esp + 0x2c]
push eax
push ecx
push edx
push esi
call fcn.1006b700
mov edi, eax
add esp, 0x14
test edi, edi
je 0x1006133f
cmp dword [esp + 0x18], 0
jl 0x100604c9
cmp dword [esp + 0x28], 0
jne 0x100604c9
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
push 1
call fcn.10033060
add esp, 4
mov dword [ebx + 0x40], 0xffffffff
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x70]
push edx
push 0xffffffffffffffff
push eax
push 0
push 0
push ecx
push ebx
push esi
call fcn.1005a0b0
push edi
call fcn.1006c0e0
add esp, 0x2c
jmp 0x100612d8
cmp dword [esp + 0x14], 0
je 0x1006053d
mov ebx, dword [ebx]
mov eax, dword [ebx]
mov ecx, dword [ebx + 0xc]
test eax, eax
jle 0x1006051d
add ecx, 0xc
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x10
test eax, eax
jg 0x10060510
mov eax, dword [edi]
mov ecx, dword [edi + 0xc]
test eax, eax
jle 0x1006053d
add ecx, 0xc
lea esp, [esp]
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x10
test eax, eax
jg 0x10060530
mov eax, dword [esp + 0xc]
call fcn.10032b80
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x58], eax
xor eax, eax
lea edx, [esp + 0x7c]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xcc], edx
cmp edi, eax
je 0x100605af
mov eax, dword [edi]
inc eax
mov ebx, dword [esp + 0x68]
lea ecx, [esp + 0xb0]
push ecx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], edi
call fcn.10043cb0
mov ebx, dword [esp + 0x2c]
lea edx, [esp + 0xb4]
add esp, 4
push edx
call fcn.10043cb0
mov ecx, dword [esp + 0x74]
add esp, 4
test ecx, ecx
je 0x100605f9
lea eax, [esp + 0xb0]
call fcn.10043c80
cmp dword [esp + 0xa0], 0
mov eax, dword [esp + 0x90]
mov dword [esp + 0x98], eax
mov dword [esp + 0x24], 0
jle 0x10060656
xor edi, edi
jmp 0x10060620
mov ecx, dword [esp + 0x9c]
mov edx, dword [ecx + edi]
mov ebx, dword [edx + 0x1c]
lea eax, [esp + 0xb0]
push eax
call fcn.10043cb0
mov eax, dword [esp + 0x28]
inc eax
add esp, 4
add edi, 0x10
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0xa0]
jl 0x10060620
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
cmp byte [ecx + 0x1e], 0
jne 0x1006133f
test edi, edi
je 0x10061029
mov eax, dword [esi + 0x44]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x80], eax
push edx
inc eax
push esi
mov dword [esi + 0x44], eax
call fcn.1005a510
mov ecx, dword [esp + 0x88]
mov edi, dword [esp + 0x14]
push 0xfffffffffffffff0
push eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x98]
push 0
push eax
push ecx
push 0x76
mov eax, edi
call fcn.10032b10
inc dword [esi + 0x48]
mov dword [esp + 0x8c], eax
mov eax, dword [esi + 0x48]
lea ebx, [eax + 1]
mov dword [esp + 0x74], eax
lea eax, [ebx + 1]
mov dword [esp + 0x60], eax
mov dword [esi + 0x48], eax
mov eax, edi
mov dword [esp + 0x84], ebx
call fcn.10032b80
inc dword [esi + 0x48]
mov edx, dword [esi + 0x48]
mov dword [esp + 0x98], eax
mov eax, edi
mov dword [esp + 0x30], edx
call fcn.10032b80
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x48]
lea ecx, [eax + 1]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x34]
add eax, dword [ecx]
push ebx
mov dword [esi + 0x48], eax
mov ecx, dword [ecx]
lea edx, [eax + 1]
add ecx, eax
push 0
push 0x30
mov eax, edi
mov dword [esp + 0xa0], edx
mov dword [esi + 0x48], ecx
call fcn.10032ab0
mov edx, dword [esp + 0x80]
add esp, 0x2c
push edx
push 0
push 0x30
mov eax, edi
call fcn.10032ab0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push eax
push ecx
push 0x2f
mov eax, edi
call fcn.10032ab0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
add esp, 0xc
push 0
lea edx, [esp + 0x18]
push edx
push eax
push ecx
push esi
call fcn.1006b700
add esp, 0x14
mov dword [esp + 0x5c], eax
test eax, eax
je 0x1006133f
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x1006079b
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x48], 0
jmp 0x10060a26
mov ebx, dword [eax]
mov dword [esp + 0x20], ebx
inc ebx
cmp dword [esp + 0x90], 0
mov dword [esp + 0x48], 1
mov eax, ebx
mov dword [esp + 0x1c], ebx
mov ecx, ebx
jle 0x100607ee
mov edx, dword [esp + 0x8c]
add edx, 0xc
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x18]
cmp dword [edx], ecx
jl 0x100607df
inc eax
inc ecx
add dword [esp + 0x18], 0x18
dec dword [esp + 0x1c]
jne 0x100607d5
mov dword [esp + 0x1c], eax
push eax
push esi
call fcn.10043d50
mov dword [esp + 0x20], eax
mov eax, esi
call fcn.10041c20
mov eax, dword [esp + 0x20]
push 0
push eax
mov eax, dword [esp + 0x24]
push esi
call fcn.10043060
mov ecx, dword [esp + 0x2c]
add ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x94]
add esp, 0x14
push ecx
push eax
push 6
mov eax, edi
call fcn.10032ab0
add esp, 0xc
cmp dword [esp + 0x90], 0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x24], 0
jle 0x100608c7
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x8c]
add ecx, ebx
mov dword [esp + 0x20], ecx
xor ebx, ebx
mov ecx, dword [esp + 0x3c]
cmp dword [eax + ebx + 0xc], ecx
jl 0x100608b2
mov edx, dword [esp + 0x20]
mov ecx, dword [eax + ebx + 4]
push 0
push edx
mov edx, dword [eax + ebx + 8]
mov eax, dword [eax + ebx]
push ecx
push edx
push eax
push esi
call fcn.10041a60
add esp, 0x18
cmp dword [esp + 0x20], eax
je 0x1006089e
mov ecx, dword [esp + 0x20]
push ecx
push eax
push 9
mov eax, edi
call fcn.10032ab0
add esp, 0xc
mov eax, 1
add dword [esp + 0x3c], eax
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x24]
inc ecx
add ebx, 0x18
mov dword [esp + 0x24], ecx
cmp ecx, dword [esp + 0x90]
jl 0x1006085e
mov al, byte [esi + 0x15]
test al, al
jne 0x100608d6
inc dword [esi + 0x48]
mov ebx, dword [esi + 0x48]
jmp 0x100608e2
dec al
movzx edx, al
mov byte [esi + 0x15], al
mov ebx, dword [esi + edx*4 + 0x18]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x20], eax
cmp dword [edi + 0x10], eax
jg 0x100608fb
call fcn.10032930
test eax, eax
jne 0x1006092c
mov eax, dword [esp + 0x20]
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x18]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x1c]
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], 0
mov word [eax], 0x4f
mov byte [edi + 0x7e], 0
mov eax, dword [edi + 0xc]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x20], eax
cmp dword [edi + 0x10], eax
jg 0x1006094c
call fcn.10032930
test eax, eax
jne 0x1006097a
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x6c
mov byte [edi + 0x7e], cl
test ebx, ebx
je 0x100609ac
mov dl, byte [esi + 0x15]
cmp dl, 8
jae 0x100609ac
xor eax, eax
lea ecx, [esi + 0x60]
jmp 0x10060990
cmp dword [ecx + 0x10], ebx
je 0x10060abd
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x10060990
movzx eax, dl
mov dword [esi + eax*4 + 0x18], ebx
inc byte [esi + 0x15]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esi + 0x38]
jle 0x100609bf
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
mov edx, dword [esp + 0x5c]
push edx
call fcn.1006c0e0
mov ebx, dword [edi + 0xc]
mov eax, dword [esp + 0x84]
add esp, 4
mov dword [esp + 0x1c], eax
cmp dword [edi + 0x10], ebx
jg 0x100609e8
call fcn.10032930
test eax, eax
jne 0x10060a16
mov edx, dword [edi + 0x14]
inc dword [edi + 0xc]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x58]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x12
mov byte [edi + 0x7e], cl
mov eax, esi
mov byte [esp + 0x7d], 1
call fcn.10041c20
mov edi, dword [esp + 0xc]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x24], eax
mov eax, esi
call fcn.10041c20
mov ecx, dword [esp + 0x14]
cmp dword [ecx], 0
mov dword [esp + 0x3c], 0
jle 0x10060b51
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x1c], 0
cmp dword [esp + 0x48], 0
je 0x10060ac6
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0xc]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
mov edi, ecx
cmp dword [ecx + 0x10], eax
jg 0x10060a8a
call fcn.10032930
test eax, eax
jne 0x10060b36
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x20]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x3c]
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], 0
mov word [eax], 3
mov byte [edi + 0x7e], 0
jmp 0x10060b36
mov byte [ecx + 9], 1
jmp 0x100609ac
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x7c], 1
mov eax, dword [edx + 0xc]
mov eax, dword [ecx + eax]
push ebx
push eax
push esi
call fcn.10041fa0
add esp, 0xc
mov dword [esp + 0x20], eax
cmp eax, ebx
je 0x10060b36
mov edi, dword [esi + 0xc]
test edi, edi
je 0x10060b36
mov eax, dword [edi + 0xc]
mov dword [esp + 0x18], eax
cmp dword [edi + 0x10], eax
jg 0x10060b08
call fcn.10032930
test eax, eax
jne 0x10060b36
mov eax, dword [esp + 0x18]
inc dword [edi + 0xc]
mov ecx, dword [esp + 0x20]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x14]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 9
mov byte [edi + 0x7e], cl
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
add dword [esp + 0x1c], 0x10
inc eax
inc ebx
mov dword [esp + 0x3c], eax
cmp eax, dword [edx]
jl 0x10060a55
mov edi, dword [esp + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esp + 0x14]
mov ebx, dword [eax]
cmp dword [edi + 0x10], esi
jg 0x10060b70
call fcn.10032930
test eax, eax
je 0x10060b70
xor esi, esi
jmp 0x10060ba4
mov edx, dword [edi + 0x14]
inc dword [edi + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x74]
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], 0
mov word [eax], 0x5f
mov byte [edi + 0x7e], 0
mov eax, dword [esp + 0x50]
push eax
push edi
mov ecx, 0xfffffffa
mov eax, esi
call fcn.10033170
mov esi, dword [edi + 0xc]
add esp, 8
mov dword [esp + 0x50], esi
cmp dword [edi + 0x10], esi
jg 0x10060bce
call fcn.10032930
test eax, eax
jne 0x10060bf7
mov edx, dword [edi + 0x14]
inc dword [edi + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
xor edx, edx
lea ecx, [esi + 1]
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov word [eax], 0x84
mov byte [edi + 0x7e], dl
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [esp + 0xa8]
mov esi, dword [esp + 0x74]
mov ebx, dword [esp + 0x38]
push ecx
push edx
call fcn.10041dc0
mov esi, dword [edi + 0xc]
add esp, 8
cmp dword [edi + 0x10], esi
jg 0x10060c27
call fcn.10032930
test eax, eax
jne 0x10060c56
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x40]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x78]
xor ebx, ebx
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x2f
mov byte [edi + 0x7e], bl
jmp 0x10060c58
xor ebx, ebx
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x10060c69
call fcn.10032930
test eax, eax
jne 0x10060c94
mov eax, dword [edi + 0x14]
inc dword [edi + 0xc]
mov ecx, dword [esp + 0x64]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x58]
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x81
mov byte [edi + 0x7e], bl
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x10060ca5
call fcn.10032930
test eax, eax
jne 0x10060cd0
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x10]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x34]
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x2f
mov byte [edi + 0x7e], bl
mov eax, dword [esp + 0x50]
cmp eax, ebx
jl 0x10060ced
mov edx, dword [edi + 0xc]
cmp edx, eax
jle 0x10060ced
mov ecx, dword [edi + 0x14]
cmp ecx, ebx
je 0x10060ced
lea eax, [eax + eax*4]
mov dword [ecx + eax*4 + 8], edx
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x7c]
push ecx
push edx
call fcn.1005f9f0
mov esi, dword [edi + 0xc]
add esp, 8
cmp dword [edi + 0x10], esi
jg 0x10060d10
call fcn.10032930
test eax, eax
jne 0x10060d3c
mov edx, dword [edi + 0x14]
mov ecx, 1
add dword [edi + 0xc], ecx
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x54]
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x30
mov byte [edi + 0x7e], bl
cmp dword [esp + 0x48], ebx
je 0x10060d8b
mov esi, dword [edi + 0xc]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x50], edx
cmp dword [edi + 0x10], esi
jg 0x10060d5e
call fcn.10032930
test eax, eax
jne 0x10060da8
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x50]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x24]
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x6a
mov byte [edi + 0x7e], bl
jmp 0x10060da8
mov edx, dword [esp + 0x5c]
push edx
call fcn.1006c0e0
mov ecx, dword [esp + 0x70]
add esp, 4
push 1
mov eax, edi
call fcn.10033060
add esp, 4
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x10060db9
call fcn.10032930
test eax, eax
jne 0x10060de4
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x40]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x78]
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x2f
mov byte [edi + 0x7e], bl
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x10060df5
call fcn.10032930
test eax, eax
jne 0x10060e1c
mov eax, dword [edi + 0x14]
inc dword [edi + 0xc]
mov ecx, dword [esp + 0x58]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x60
mov byte [edi + 0x7e], bl
mov esi, dword [edi + 0xc]
mov dword [esp + 0x50], esi
cmp dword [edi + 0x10], esi
jg 0x10060e31
call fcn.10032930
test eax, eax
jne 0x10060e5d
mov eax, dword [edi + 0x14]
mov ecx, 1
add dword [edi + 0xc], ecx
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x64]
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x30
mov byte [edi + 0x7e], bl
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x10060e6e
call fcn.10032930
test eax, eax
jne 0x10060e95
mov eax, dword [edi + 0x14]
inc dword [edi + 0xc]
mov ecx, dword [esp + 0x40]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x19
mov byte [edi + 0x7e], bl
mov eax, dword [edi + 0x20]
cmp eax, ebx
je 0x10060eae
mov edx, dword [esp + 0x78]
lea ecx, [edx*4 + 4]
mov edx, dword [edi + 0xc]
sub eax, ecx
mov dword [eax], edx
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x10060ebf
call fcn.10032930
test eax, eax
jne 0x10060ee9
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x54]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
lea ecx, [esi + 2]
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x81
mov byte [edi + 0x7e], bl
mov eax, dword [edi + 0xc]
mov dword [esp + 0x6c], eax
cmp dword [edi + 0x10], eax
jg 0x10060efe
call fcn.10032930
test eax, eax
jne 0x10060f29
mov eax, dword [esp + 0x6c]
inc dword [edi + 0xc]
mov ecx, dword [esp + 0x40]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x14]
lea eax, [eax + edx*4]
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x19
mov byte [edi + 0x7e], bl
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x7c]
push edx
call fcn.1005f860
add esp, 4
cmp dword [esp + 0x70], ebx
je 0x10060f58
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x38]
push 8
lea eax, [esi + 1]
push eax
push ecx
push edx
call fcn.10043550
add esp, 0x10
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x2c]
inc esi
push esi
push ecx
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
push ebx
push ebx
push ecx
push eax
push edx
call fcn.1005a0b0
mov esi, dword [edi + 0xc]
add esp, 0x28
cmp dword [edi + 0x10], esi
jg 0x10060f96
call fcn.10032930
test eax, eax
jne 0x10060fbd
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x40]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x19
mov byte [edi + 0x7e], bl
mov eax, dword [edi + 0x20]
cmp eax, ebx
je 0x10060fd6
mov ecx, dword [esp + 0x34]
lea edx, [ecx*4 + 4]
mov ecx, dword [edi + 0xc]
sub eax, edx
mov dword [eax], ecx
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x7c]
push edx
push eax
call fcn.1005f610
mov esi, dword [edi + 0xc]
add esp, 8
cmp dword [edi + 0x10], esi
jg 0x10060ffd
call fcn.10032930
test eax, eax
jne 0x100612b7
mov edx, dword [edi + 0x14]
inc dword [edi + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x10]
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x19
mov byte [edi + 0x7e], bl
jmp 0x100612b7
mov ebx, dword [esp + 0x4c]
lea edx, [esp + 0x7c]
push edx
mov eax, ebx
mov dword [esp + 0x38], 0
call fcn.1005eb20
mov edi, eax
add esp, 4
test edi, edi
je 0x1006117f
mov ebx, dword [esp + 0x38]
mov esi, dword [edi + 0x48]
mov ecx, dword [ebx]
call fcn.10058530
mov ecx, dword [ebx + 0x44]
mov dword [esp + 0x5c], ecx
inc ecx
mov dword [ebx + 0x44], ecx
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x6c], ecx
mov ecx, dword [edi + 0x18]
push eax
mov esi, ebx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
call fcn.1004c800
mov edx, dword [edi + 4]
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x64]
add esp, 4
push edx
push 0
push eax
push ecx
call fcn.100472c0
mov eax, dword [edi + 0x14]
add esp, 0x10
test eax, eax
je 0x100610e6
mov ecx, dword [esp + 0x6c]
lea esp, [esp]
test ecx, ecx
je 0x100610bc
mov edx, dword [eax + 4]
cmp edx, dword [ecx + 4]
jge 0x100610be
mov ecx, eax
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x100610b0
test ecx, ecx
je 0x100610e6
mov eax, dword [ecx + 4]
cmp eax, dword [edi + 0xc]
jge 0x100610e6
mov edx, dword [ecx + 0x14]
push ecx
push ebx
mov dword [esp + 0x6c], edx
call fcn.1004d0f0
add esp, 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0xc]
push eax
push ecx
push edx
push 0xd
mov eax, ebx
call fcn.100329b0
mov eax, dword [esp + 0x20]
add esp, 0x10
test eax, eax
je 0x1006114d
mov ecx, dword [ebx + 0x14]
mov edi, dword [ebx]
test ecx, ecx
je 0x10061141
cmp byte [edi + 0x1e], 0
jne 0x10061141
mov eax, dword [ebx + 0xc]
dec eax
js 0x1006114d
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
call fcn.10032fd0
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x10], ecx
mov byte [esi + 1], 0xfa
jmp 0x1006114d
mov ecx, eax
mov eax, 0xfffffff0
call fcn.10032fd0
mov edx, dword [esp + 0x9c]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x5c]
push eax
push esi
push 0x6b
mov eax, ebx
call fcn.10032ab0
add esp, 0xc
push esi
push 0x21
mov eax, ebx
call fcn.10032a60
mov esi, dword [esp + 0x40]
add esp, 8
jmp 0x1006125f
mov eax, ebx
mov dword [esp + 0x10], 0
call fcn.1005eaa0
mov bl, al
test bl, bl
je 0x100611d8
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov edi, dword [esp + 0x30]
push 0
push edx
push edi
call fcn.100400d0
add esp, 0xc
mov dword [esp + 0x10], eax
mov dword [esp + 0x34], eax
test eax, eax
je 0x100611d8
cmp byte [edi + 0x1e], 0
jne 0x100611d8
mov edx, dword [eax + 0xc]
cmp bl, 1
setne cl
mov byte [edx + 8], cl
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov byte [ecx], 0x97
lea edx, [esp + 0x7c]
push edx
push esi
call fcn.1005f610
mov eax, dword [esp + 0x50]
movzx ecx, bl
push ecx
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x1c]
push edx
push eax
push ecx
push esi
call fcn.1006b700
mov edi, eax
add esp, 0x1c
test edi, edi
jne 0x10061217
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
call fcn.10040810
jmp 0x1006133f
lea edx, [esp + 0x7c]
push edx
push esi
call fcn.1005f9f0
add esp, 8
cmp dword [esp + 0x10], 0
jne 0x10061244
test bl, bl
je 0x10061244
mov eax, dword [edi + 0x14]
push eax
mov eax, dword [esp + 0x10]
push 0
push 0x60
call fcn.10032ab0
add esp, 0xc
push edi
call fcn.1006c0e0
lea ecx, [esp + 0x80]
add esp, 4
push ecx
mov eax, esi
call fcn.1005f860
add esp, 4
mov eax, dword [esp + 0x70]
mov dword [esp + 0x28], 0
test eax, eax
je 0x10061280
mov edx, dword [esp + 0x58]
push 8
push edx
push eax
push esi
call fcn.10043550
add esp, 0x10
mov eax, dword [esp + 0x58]
push eax
push eax
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
push 0xffffffffffffffff
push 0
push 0
push 0
push ecx
push eax
push esi
call fcn.1005a0b0
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
add esp, 0x28
call fcn.10040810
mov edi, dword [esp + 0xc]
xor ebx, ebx
mov edi, dword [edi + 0x20]
mov esi, dword [esp + 0x38]
cmp edi, ebx
je 0x100612d8
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0xc]
lea eax, [edx*4 + 4]
mov edx, dword [ecx + 0xc]
sub edi, eax
mov dword [edi], edx
cmp dword [esp + 0x28], 0
mov edi, dword [esp + 0xc]
je 0x100612ff
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x50]
push edx
push eax
push esi
mov eax, edi
call fcn.1005a5c0
add esp, 0x10
mov eax, dword [edi + 0x20]
test eax, eax
je 0x1006131b
mov ecx, dword [esp + 0xac]
lea edx, [ecx*4 + 4]
mov ecx, dword [edi + 0xc]
sub eax, edx
mov dword [eax], ecx
mov edx, dword [esp + 0x2c]
cmp byte [edx], 5
mov dword [esp + 0x1c], 0
jne 0x1006133f
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x44]
push eax
push ecx
push esi
call fcn.1005ad60
add esp, 0xc
mov eax, dword [esp + 0x8c]
mov esi, dword [esp + 0x30]
test eax, eax
je 0x10061374
cmp eax, dword [esi + 0xf0]
jb 0x10061374
cmp eax, dword [esi + 0xf4]
jae 0x10061374
mov edx, dword [esi + 0xec]
mov dword [eax], edx
dec dword [esi + 0xe4]
mov dword [esi + 0xec], eax
jmp 0x1006137d
push eax
call fcn.1001b360
add esp, 4
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x100613c5
cmp eax, dword [esi + 0xf0]
jb 0x100613c5
cmp eax, dword [esi + 0xf4]
jae 0x100613c5
mov ecx, dword [esi + 0xec]
mov dword [eax], ecx
dec dword [esi + 0xe4]
mov dword [esi + 0xec], eax
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.10075b7f
mov esp, ebp
pop ebp
ret
push eax
call fcn.1001b360
mov ecx, dword [esp + 0xe8]
mov eax, dword [esp + 0x20]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10075b7f
mov esp, ebp
pop ebp
ret