Function at 0x10078350
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 [0x10109610]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [esp + 0xc], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], 1
mov dword [esp + 0x40], eax
test esi, esi
je 0x1007861d
cmp byte [eax + 0x1e], 0
jne 0x1007861d
cmp dword [edi + 0x40], 0
jne 0x1007861d
push 0
push 0
push 0
push 0x15
mov eax, edi
call fcn.10060c10
add esp, 0x10
test eax, eax
jne 0x1007861d
push 0x2c
push eax
lea eax, [esp + 0x88]
push eax
call fcn.100b8f90
mov ecx, dword [esi + 0x18]
add esp, 0xc
cmp byte [ebx], 4
mov dword [esp + 0x28], ecx
ja 0x100783f5
mov edx, 0xfffe
and word [esi + 6], dx
mov dword [esi + 0x18], 0
push 0
push esi
push edi
call fcn.10077a20
mov eax, dword [esi + 8]
mov esi, dword [esi]
add esp, 0xc
cmp dword [edi + 0x40], 0
mov dword [esp + 0x4c], eax
jne 0x10079604
mov ecx, dword [esp + 0x40]
cmp byte [ecx + 0x1e], 0
jne 0x10079604
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov dword [eax + 0x18], edx
movzx eax, word [eax + 6]
shr eax, 2
and eax, 1
mov dword [esp + 0x10], eax
test esi, esi
je 0x10079604
mov eax, edi
cmp dword [eax + 0x40], 0
jg 0x10079604
mov ecx, ebx
cmp byte [ecx], 4
ja 0x1007845e
mov dword [esp + 0x28], 0
mov edi, eax
call fcn.10073d20
mov ebx, eax
test ebx, ebx
je 0x10079604
mov edi, dword [esp + 0x30]
cmp dword [edi + 0x1c], 0
mov esi, dword [esp + 0xc]
mov dword [esp + 0x34], 0
jne 0x100785b7
mov edx, dword [esp + 0x4c]
movsx eax, word [edx]
cmp dword [esp + 0x34], eax
jge 0x100785b7
mov eax, dword [esp + 0x34]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [edx + ecx*8 + 8]
mov dword [esp + 0x5c], eax
mov eax, dword [eax + 0x10]
mov dword [esp + 0x24], eax
test eax, eax
je 0x100785a9
mov eax, dword [esp + 0x5c]
cmp byte [eax + 0x14], 0
jne 0x100785a9
mov eax, edi
call fcn.100590e0
add dword [esi + 0x200], eax
mov ecx, dword [esp + 0x24]
movzx eax, word [ecx + 6]
mov edx, dword [esp + 0x10]
shr eax, 2
and eax, 1
push eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x38]
push edx
push eax
push esi
mov ecx, edi
call fcn.10076a20
add esp, 0x10
test eax, eax
je 0x10078523
cmp dword [esp + 0x54], 0
je 0x10078519
or word [edi + 6], 4
mov dword [esp + 0x10], 1
mov dword [esp + 0x34], 0xffffffff
jmp 0x10078565
mov edi, dword [esp + 0x5c]
mov eax, dword [edi + 0x18]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xd4]
push ecx
mov dword [esp + 0xdc], eax
xor eax, eax
push edx
push esi
mov word [esp + 0xe0], 9
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
call fcn.10078350
add esp, 0xc
mov byte [edi + 0x14], 1
cmp dword [esi + 0x40], 0
jne 0x10079604
mov eax, dword [esp + 0x40]
cmp byte [eax + 0x1e], 0
jne 0x10079604
mov edi, dword [esp + 0x30]
mov eax, edi
call fcn.100590e0
mov esi, dword [esp + 0xc]
sub dword [esi + 0x200], eax
mov edx, dword [esp + 0x2c]
cmp byte [edx], 4
mov ecx, dword [edi + 8]
mov dword [esp + 0x4c], ecx
jbe 0x100785a9
mov eax, dword [edi + 0x18]
mov dword [esp + 0x28], eax
inc dword [esp + 0x34]
cmp dword [edi + 0x1c], 0
je 0x10078489
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi]
mov dword [esp + 0x14], eax
movzx eax, word [edi + 6]
mov dword [esp + 0x50], edx
mov edx, dword [edi + 0x14]
and eax, 1
cmp dword [edi + 0x1c], 0
mov dword [esp + 0x64], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x24], eax
je 0x1007865b
cmp dword [edi + 0x24], 0
jne 0x10078637
xor ecx, ecx
xor edx, edx
mov eax, edi
nop
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edi
mov ecx, eax
mov eax, dword [eax + 0x1c]
inc edx
test eax, eax
jne 0x100785f0
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x60]
test eax, eax
je 0x10078637
cmp edx, eax
jle 0x10078637
push str.too_many_terms_in_compound_SELECT
push esi
call fcn.10039e20
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x2c]
push edi
mov edx, esi
call fcn.10073f40
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret
cmp dword [ecx], 1
mov edx, dword [esp + 0x2c]
movzx eax, byte [edx]
jle 0x10078680
push esi
call fcn.10072940
add esp, 4
test eax, eax
jne 0x10079604
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0xc]
mov al, byte [edi + 6]
and al, 5
cmp al, 1
jne 0x100786b9
cmp dword [edi + 0x10], 0
jne 0x100786b9
mov ecx, dword [edi]
mov edx, dword [esp + 0x40]
push 0
push ecx
push edx
call fcn.10059c70
mov dword [edi + 0x10], eax
mov dword [esp + 0x20], eax
mov eax, 0xfffe
add esp, 0xc
and word [edi + 6], ax
mov dword [esp + 0x24], 0
cmp dword [esp + 0x28], 0
je 0x100786fc
mov ecx, dword [esp + 0x28]
push ecx
push esi
call fcn.10072dd0
mov edx, dword [esi + 0x44]
mov ecx, dword [esp + 0x30]
push 0xfffffffffffffff0
push eax
mov dword [ecx + 8], edx
inc dword [esi + 0x44]
mov eax, dword [ecx]
mov ecx, dword [ecx + 8]
push 0
add eax, 2
push eax
push ecx
push 0x76
mov eax, ebx
call fcn.1004d490
add esp, 0x20
mov dword [esp + 0x3c], eax
mov dword [edi + 0x40], eax
jmp 0x10078704
mov dword [esp + 0x3c], 0xffffffff
mov edx, dword [esp + 0x2c]
cmp byte [edx], 9
jne 0x10078724
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
push ecx
push eax
push 0x76
mov eax, ebx
call fcn.1004d430
add esp, 0xc
push ebx
call fcn.1004d500
add esp, 4
push eax
mov dword [esp + 0xb0], eax
push edi
mov eax, esi
call fcn.10073d50
add esp, 8
cmp dword [esp + 0x24], 0
je 0x10078778
mov eax, dword [esi + 0x44]
mov dword [esp + 0x7c], eax
inc eax
mov dword [esi + 0x44], eax
mov ecx, dword [edi]
push ecx
push esi
call fcn.10072dd0
mov edx, dword [esp + 0x84]
push 0xfffffffffffffff0
push eax
push 0
push 0
push edx
push 0x76
mov eax, ebx
call fcn.1004d490
add esp, 0x20
jmp 0x10078780
mov dword [esp + 0x7c], 0xffffffff
cmp dword [esp + 0x10], 0
mov edx, dword [esp + 0x14]
jne 0x10078819
test edx, edx
jne 0x1007881d
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x2c]
push eax
push ecx
push edx
push esi
call fcn.100831e0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x10079604
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
test ecx, ecx
js 0x100787e1
test edi, edi
jne 0x100787e1
push 1
mov eax, ebx
call fcn.1004d980
mov eax, dword [esp + 0x34]
add esp, 4
mov dword [eax + 0x40], 0xffffffff
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
push edi
push 0
push 0
push ecx
push edx
push eax
call fcn.10072970
push esi
call fcn.10083bb0
add esp, 0x2c
xor esi, esi
jmp 0x1007959e
test edx, edx
je 0x1007885d
mov edi, dword [edi]
mov eax, dword [edi]
mov edi, dword [edi + 0xc]
test eax, eax
jle 0x1007883d
lea ecx, [edi + 0xc]
jmp 0x10078830
xor edi, edi
mov word [ecx], di
dec eax
add ecx, 0x10
test eax, eax
jg 0x10078830
mov eax, dword [edx]
mov ecx, dword [edx + 0xc]
test eax, eax
jle 0x1007885d
add ecx, 0xc
lea esp, [esp]
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x10
test eax, eax
jg 0x10078850
push ebx
call fcn.1004d500
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xb4], esi
mov esi, dword [esp + 0x18]
xor edi, edi
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x50]
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xcc], ecx
cmp esi, edi
je 0x100788e1
mov edx, dword [esi]
inc edx
mov dword [esp + 0x8c], edx
jmp 0x100788e8
mov dword [esp + 0x8c], edi
mov eax, dword [esp + 0x64]
push eax
lea ecx, [esp + 0xb4]
push ecx
mov dword [esp + 0x90], esi
call fcn.1005d6c0
mov edx, dword [esp + 0x30]
push edx
lea eax, [esp + 0xbc]
push eax
call fcn.1005d6c0
mov ecx, dword [esp + 0x6c]
add esp, 0x10
cmp ecx, edi
je 0x1007892a
lea eax, [esp + 0xb0]
call fcn.1005d690
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x9c], ecx
cmp dword [esp + 0xa4], edi
jle 0x10078972
xor esi, esi
mov edx, dword [esp + 0xa0]
mov eax, dword [esi + edx]
mov ecx, dword [eax + 0x1c]
push ecx
lea edx, [esp + 0xb4]
push edx
call fcn.1005d6c0
inc edi
add esp, 8
add esi, 0x10
cmp edi, dword [esp + 0xa4]
jl 0x10078943
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
cmp byte [eax + 0x1e], 0
jne 0x10079604
test esi, esi
je 0x100792ea
mov edi, dword [esp + 0xc]
mov eax, dword [edi + 0x44]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x84], eax
push ecx
inc eax
push edi
mov dword [edi + 0x44], eax
call fcn.10072dd0
mov edx, dword [esp + 0x94]
push 0xfffffffffffffff0
push eax
push 0
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x98]
push edx
push eax
push 0x76
mov eax, ebx
call fcn.1004d490
inc dword [edi + 0x48]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x48]
lea esi, [eax + 1]
mov dword [esp + 0x98], eax
lea eax, [esi + 1]
push ebx
mov dword [esp + 0x78], esi
mov dword [esp + 0x90], eax
mov dword [edi + 0x48], eax
call fcn.1004d500
inc dword [edi + 0x48]
mov ecx, dword [edi + 0x48]
add esp, 0x24
push ebx
mov dword [esp + 0x78], eax
mov dword [esp + 0x28], ecx
call fcn.1004d500
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x48]
lea edx, [eax + 1]
add eax, dword [ecx]
add esp, 4
mov dword [edi + 0x48], eax
mov ecx, dword [ecx]
push esi
mov dword [esp + 0x6c], edx
lea edx, [eax + 1]
add ecx, eax
push 0
push 0x30
mov eax, ebx
mov dword [esp + 0x7c], edx
mov dword [edi + 0x48], ecx
call fcn.1004d430
mov edx, dword [esp + 0x84]
add esp, 0xc
push edx
push 0
push 0x30
mov eax, ebx
call fcn.1004d430
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x30]
add esp, 0xc
push eax
push ecx
push 0x2f
mov eax, ebx
call fcn.1004d430
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
add esp, 0xc
push 0
lea edx, [esp + 0x18]
push edx
push eax
push ecx
push edi
call fcn.100831e0
add esp, 0x14
mov dword [esp + 0x58], eax
test eax, eax
je 0x10079604
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x10078ab2
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x50], 0
jmp 0x10078c8a
mov esi, dword [eax]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x44], esi
inc esi
mov dword [esp + 0x50], 1
mov edi, esi
mov dword [esp + 0x10], esi
mov eax, esi
test ecx, ecx
jle 0x10078af0
mov edx, dword [esp + 0x90]
add edx, 0xc
mov edi, edi
cmp dword [edx], eax
jl 0x10078ae6
inc edi
inc eax
add edx, 0x18
dec ecx
jne 0x10078ae0
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
push ecx
push edi
call fcn.1005d770
mov dword [esp + 0x40], eax
mov eax, edi
call fcn.1005b6d0
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
push 0
push edx
push edi
call fcn.1005caa0
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x58]
mov edx, dword [esp + 0x98]
add esp, 0x14
push eax
push edx
push 6
mov eax, ebx
call fcn.1004d430
add esp, 0xc
cmp dword [esp + 0x94], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], 0
jle 0x10078bd1
mov eax, dword [esp + 0x38]
add eax, esi
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x90]
xor esi, esi
mov edx, dword [esp + 0x1c]
cmp dword [esi + eax + 0xc], edx
jl 0x10078bbc
mov ecx, dword [esp + 0x44]
mov edx, dword [esi + eax + 4]
push 0
push ecx
mov ecx, dword [esi + eax + 8]
push edx
mov edx, dword [esi + eax]
push ecx
push edx
push edi
call fcn.1005b510
add esp, 0x18
cmp dword [esp + 0x44], eax
je 0x10078ba8
mov ecx, dword [esp + 0x44]
push ecx
push eax
push 9
mov eax, ebx
call fcn.1004d430
add esp, 0xc
mov eax, 1
add dword [esp + 0x1c], eax
add dword [esp + 0x44], eax
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x34]
inc ecx
add esi, 0x18
mov dword [esp + 0x34], ecx
cmp ecx, dword [esp + 0x94]
jl 0x10078b68
mov al, byte [edi + 0x15]
test al, al
jne 0x10078be0
inc dword [edi + 0x48]
mov esi, dword [edi + 0x48]
jmp 0x10078bec
dec al
movzx edx, al
mov byte [edi + 0x15], al
mov esi, dword [edi + edx*4 + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
push esi
push eax
push ecx
push 0x4f
mov eax, ebx
call fcn.1004d330
mov edx, dword [esp + 0x94]
push esi
push edx
push 0x6c
mov eax, ebx
call fcn.1004d430
add esp, 0x1c
test esi, esi
je 0x10078c42
mov dl, byte [edi + 0x15]
cmp dl, 8
jae 0x10078c42
xor eax, eax
lea ecx, [edi + 0x60]
cmp dword [ecx + 0x10], esi
je 0x10078d24
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x10078c26
movzx eax, dl
mov dword [edi + eax*4 + 0x18], esi
inc byte [edi + 0x15]
mov eax, dword [esp + 0x10]
cmp eax, dword [edi + 0x38]
jle 0x10078c55
mov ecx, dword [esp + 0x38]
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], ecx
mov edx, dword [esp + 0x58]
push edx
call fcn.10083bb0
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x88]
add esp, 4
push eax
push ecx
push 0x12
mov eax, ebx
call fcn.1004d430
add esp, 0xc
mov eax, edi
mov byte [esp + 0x81], 1
call fcn.1005b6d0
mov edx, dword [ebx + 0xc]
mov eax, edi
mov dword [esp + 0x34], edx
call fcn.1005b6d0
mov eax, dword [esp + 0x14]
cmp dword [eax], 0
mov dword [esp + 0x1c], 0
jle 0x10078d82
mov esi, dword [esp + 0x70]
mov dword [esp + 0x10], 0
lea esp, [esp]
cmp dword [esp + 0x50], 0
je 0x10078d2d
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x38], eax
cmp dword [ebx + 0x10], eax
jg 0x10078cf1
mov edi, ebx
call fcn.1004d2b0
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x10078d67
mov eax, dword [esp + 0x38]
inc dword [ebx + 0xc]
mov ecx, dword [esp + 0x44]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x14]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x1c]
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], 0
mov word [eax], 3
mov byte [ebx + 0x7e], 0
jmp 0x10078d67
mov byte [ecx + 9], 1
jmp 0x10078c42
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov byte [esp + 0x80], 1
mov ecx, dword [eax + 0xc]
mov eax, dword [edx + ecx]
push esi
push eax
push edi
call fcn.1005ba60
add esp, 0xc
cmp eax, esi
je 0x10078d67
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x10078d67
push esi
push eax
push 9
mov eax, ecx
call fcn.1004d430
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add dword [esp + 0x10], 0x10
inc eax
inc esi
mov dword [esp + 0x1c], eax
cmp eax, dword [ecx]
jl 0x10078cc0
mov edx, dword [esp + 0x14]
mov esi, dword [ebx + 0xc]
mov eax, dword [edx]
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x10], esi
jg 0x10078da3
mov edi, ebx
call fcn.1004d2b0
test eax, eax
je 0x10078da3
xor esi, esi
jmp 0x10078dd8
mov edx, dword [ebx + 0x14]
inc dword [ebx + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov word [eax], 0x5f
mov byte [ebx + 0x7e], 0
mov edx, dword [esp + 0x48]
push 0xfffffffffffffffa
push edx
push ebx
mov eax, esi
call fcn.1004da90
mov esi, dword [ebx + 0xc]
add esp, 0xc
mov dword [esp + 0x10], esi
cmp dword [ebx + 0x10], esi
jg 0x10078e01
mov edi, ebx
call fcn.1004d2b0
test eax, eax
jne 0x10078e2a
mov ecx, dword [ebx + 0x14]
inc dword [ebx + 0xc]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*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 [ebx + 0x7e], dl
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x70]
push eax
push ecx
push edx
call fcn.1005b880
mov esi, dword [ebx + 0xc]
add esp, 0xc
cmp dword [ebx + 0x10], esi
jg 0x10078e5a
mov edi, ebx
call fcn.1004d2b0
test eax, eax
jne 0x10078e88
mov ecx, dword [ebx + 0x14]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x6c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x2f
mov byte [ebx + 0x7e], cl
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x10078e9b
mov edi, ebx
call fcn.1004d2b0
test eax, eax
jne 0x10078ecc
mov eax, dword [ebx + 0x14]
inc dword [ebx + 0xc]
mov ecx, dword [esp + 0x54]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x60]
xor esi, esi
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x81
mov byte [ebx + 0x7e], 0
jmp 0x10078ece
xor esi, esi
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x48], eax
cmp dword [ebx + 0x10], eax
jg 0x10078ee9
mov edi, ebx
call fcn.1004d2b0
test eax, eax
jne 0x10078f16
mov eax, dword [esp + 0x48]
mov ecx, dword [ebx + 0x14]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x24]
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], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x2f
mov byte [ebx + 0x7e], 0
mov eax, dword [esp + 0x10]
cmp eax, esi
jl 0x10078f33
mov edx, dword [ebx + 0xc]
cmp edx, eax
jle 0x10078f33
mov ecx, dword [ebx + 0x14]
cmp ecx, esi
je 0x10078f33
lea eax, [eax + eax*4]
mov dword [ecx + eax*4 + 8], edx
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x80]
push ecx
push edx
call fcn.10077dd0
mov eax, dword [ebx + 0xc]
add esp, 8
mov dword [esp + 0x48], eax
cmp dword [ebx + 0x10], eax
jg 0x10078f63
mov edi, ebx
call fcn.1004d2b0
test eax, eax
jne 0x10078f91
mov eax, dword [esp + 0x48]
mov edx, dword [ebx + 0x14]
mov ecx, 1
add dword [ebx + 0xc], ecx
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x78]
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x30
mov byte [ebx + 0x7e], 0
cmp dword [esp + 0x50], esi
je 0x10078fec
mov eax, dword [ebx + 0xc]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x58], edx
mov dword [esp + 0x48], eax
cmp dword [ebx + 0x10], eax
jg 0x10078fbd
mov edi, ebx
call fcn.1004d2b0
test eax, eax
jne 0x10079009
mov eax, dword [esp + 0x48]
mov ecx, dword [ebx + 0x14]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x34]
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x6a
mov byte [ebx + 0x7e], 0
jmp 0x10079009
mov edx, dword [esp + 0x58]
push edx
call fcn.10083bb0
mov ecx, dword [esp + 0x24]
add esp, 4
push 1
mov eax, ebx
call fcn.1004d980
add esp, 4
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x20], eax
cmp dword [ebx + 0x10], eax
jg 0x10079024
mov edi, ebx
call fcn.1004d2b0
test eax, eax
jne 0x10079051
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx + 0x14]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x6c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x74]
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x2f
mov byte [ebx + 0x7e], 0
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x20], eax
cmp dword [ebx + 0x10], eax
jg 0x1007906c
mov edi, ebx
call fcn.1004d2b0
test eax, eax
jne 0x10079095
mov eax, dword [esp + 0x20]
inc dword [ebx + 0xc]
mov ecx, dword [esp + 0x60]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x14]
lea eax, [eax + edx*4]
mov byte [eax + 3], 0
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x60
mov byte [ebx + 0x7e], 0
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x48], eax
cmp dword [ebx + 0x10], eax
jg 0x100790b4
mov edi, ebx
call fcn.1004d2b0
test eax, eax
jne 0x100790e2
mov eax, dword [esp + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x14]
lea eax, [eax + edx*4]
mov ecx, 1
add dword [ebx + 0xc], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x54]
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x30
mov byte [ebx + 0x7e], 0
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x20], eax
cmp dword [ebx + 0x10], eax
jg 0x100790fd
mov edi, ebx
call fcn.1004d2b0
test eax, eax
jne 0x10079126
mov eax, dword [esp + 0x20]
inc dword [ebx + 0xc]
mov ecx, dword [esp + 0x6c]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x14]
lea eax, [eax + edx*4]
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x19
mov byte [ebx + 0x7e], 0
mov eax, dword [ebx + 0x20]
cmp eax, esi
je 0x1007913f
mov edx, dword [esp + 0x74]
lea ecx, [edx*4 + 4]
mov edx, dword [ebx + 0xc]
sub eax, ecx
mov dword [eax], edx
mov edi, dword [ebx + 0xc]
mov dword [esp + 0x1c], edi
cmp dword [ebx + 0x10], edi
jg 0x1007915a
mov edi, ebx
call fcn.1004d2b0
mov edi, dword [esp + 0x1c]
test eax, eax
jne 0x10079186
mov ecx, dword [ebx + 0x14]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x78]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*4]
lea ecx, [edi + 2]
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x81
mov byte [ebx + 0x7e], 0
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x20], eax
cmp dword [ebx + 0x10], eax
jg 0x100791a5
mov edi, ebx
call fcn.1004d2b0
mov edi, dword [esp + 0x1c]
test eax, eax
jne 0x100791ce
mov eax, dword [esp + 0x20]
inc dword [ebx + 0xc]
mov ecx, dword [esp + 0x6c]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x14]
lea eax, [eax + edx*4]
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x19
mov byte [ebx + 0x7e], 0
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x80]
push edx
call fcn.10077cc0
mov eax, dword [esp + 0x60]
add esp, 4
cmp eax, esi
je 0x100791fe
mov edx, dword [esp + 0xc]
push 8
lea ecx, [edi + 1]
push ecx
push eax
push edx
call fcn.1005cf90
add esp, 0x10
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x2c]
inc edi
push edi
push ecx
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
push esi
push esi
push ecx
push eax
push edx
call fcn.10072970
mov eax, dword [ebx + 0xc]
add esp, 0x28
mov dword [esp + 0x20], eax
cmp dword [ebx + 0x10], eax
jg 0x10079246
mov edi, ebx
call fcn.1004d2b0
test eax, eax
jne 0x1007926f
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx + 0x14]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x6c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x19
mov byte [ebx + 0x7e], 0
mov eax, dword [ebx + 0x20]
cmp eax, esi
je 0x10079288
mov ecx, dword [esp + 0x3c]
lea edx, [ecx*4 + 4]
mov ecx, dword [ebx + 0xc]
sub eax, edx
mov dword [eax], ecx
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x80]
push edx
push eax
call fcn.10077ac0
mov eax, dword [ebx + 0xc]
add esp, 8
mov dword [esp + 0x20], eax
cmp dword [ebx + 0x10], eax
jg 0x100792bc
mov edi, ebx
call fcn.1004d2b0
test eax, eax
jne 0x10079585
mov eax, dword [esp + 0x20]
mov edx, dword [ebx + 0x14]
inc dword [ebx + 0xc]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x24]
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x19
mov byte [ebx + 0x7e], 0
jmp 0x10079585
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x80]
push edx
mov eax, esi
mov dword [esp + 0x40], 0
call fcn.10077080
mov edi, eax
add esp, 4
test edi, edi
je 0x1007943b
mov eax, dword [esp + 0xc]
mov esi, dword [edi + 0x48]
mov ecx, dword [eax]
call fcn.10070f30
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x68], ecx
inc ecx
mov dword [esi + 0x44], ecx
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [edi + 0x18]
push eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
call fcn.10065d10
mov edx, dword [edi + 4]
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x58]
add esp, 4
push edx
push 0
push eax
push ecx
call fcn.10060ca0
mov eax, dword [edi + 0x14]
add esp, 0x10
test eax, eax
je 0x100793a8
mov ecx, dword [esp + 0x20]
nop
test ecx, ecx
je 0x1007937c
mov edx, dword [eax + 4]
cmp edx, dword [ecx + 4]
jge 0x1007937e
mov ecx, eax
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x10079370
test ecx, ecx
je 0x100793a8
mov eax, dword [ecx + 4]
cmp eax, dword [edi + 0xc]
jge 0x100793a8
mov edx, dword [ecx + 0x14]
push ecx
mov eax, esi
push eax
mov dword [esp + 0x60], edx
call fcn.10066480
add esp, 8
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x68]
push ecx
push edx
push eax
push 0xd
mov eax, ebx
call fcn.1004d330
add esp, 0x10
cmp dword [esp + 0x10], 0
je 0x1007940d
mov ecx, dword [ebx + 0x14]
mov edi, dword [ebx]
test ecx, ecx
je 0x100793ff
cmp byte [edi + 0x1e], 0
jne 0x100793ff
mov eax, dword [ebx + 0xc]
dec eax
js 0x1007940d
lea edx, [eax + eax*4]
movsx eax, byte [ecx + edx*4 + 1]
lea esi, [ecx + edx*4]
mov ecx, dword [esi + 0x10]
call fcn.1004d900
mov eax, dword [esp + 0x10]
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x1007940d
mov ecx, dword [esp + 0x10]
mov eax, 0xfffffff0
call fcn.1004d900
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx + 8]
mov esi, dword [esp + 0x68]
push edx
push esi
push 0x6b
mov eax, ebx
call fcn.1004d430
add esp, 0xc
push esi
push 0x21
mov eax, ebx
call fcn.1004d3e0
add esp, 8
jmp 0x1007952c
mov eax, esi
mov dword [esp + 0x24], 0
call fcn.10076ff0
mov byte [esp + 0x1b], al
test al, al
je 0x10079494
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
mov esi, dword [esp + 0x40]
push 0
push eax
push esi
call fcn.10059c70
add esp, 0xc
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], eax
test eax, eax
je 0x10079494
cmp byte [esi + 0x1e], 0
jne 0x10079494
cmp byte [esp + 0x1b], 1
mov edx, dword [eax + 0xc]
setne cl
mov byte [edx + 8], cl
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov byte [ecx], 0x97
mov esi, dword [esp + 0xc]
lea edx, [esp + 0x80]
push edx
push esi
call fcn.10077ac0
movzx ecx, byte [esp + 0x23]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x30]
push edx
push eax
push ecx
push esi
call fcn.100831e0
mov edi, eax
add esp, 0x1c
test edi, edi
jne 0x100794e0
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
push edx
call fcn.1005a320
add esp, 4
jmp 0x10079604
lea eax, [esp + 0x80]
push eax
push esi
call fcn.10077dd0
add esp, 8
cmp dword [esp + 0x24], 0
jne 0x10079511
cmp byte [esp + 0x1b], 0
je 0x10079511
mov ecx, dword [edi + 0x14]
push ecx
push 0
push 0x60
mov eax, ebx
call fcn.1004d430
add esp, 0xc
push edi
call fcn.10083bb0
lea edx, [esp + 0x84]
add esp, 4
push edx
mov eax, esi
call fcn.10077cc0
add esp, 4
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x28], 0
test eax, eax
je 0x10079551
push 8
push esi
push eax
mov eax, dword [esp + 0x18]
push eax
call fcn.1005cf90
add esp, 0x10
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
push esi
push esi
push ecx
push 0xffffffffffffffff
push 0
push 0
push 0
push edx
push eax
mov eax, dword [esp + 0x30]
push eax
call fcn.10072970
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
push ecx
call fcn.1005a320
add esp, 0x2c
xor esi, esi
mov eax, dword [ebx + 0x20]
cmp eax, esi
je 0x1007959e
mov edx, dword [esp + 0x60]
lea ecx, [edx*4 + 4]
mov edx, dword [ebx + 0xc]
sub eax, ecx
mov dword [eax], edx
cmp dword [esp + 0x28], esi
je 0x100795c4
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
mov ecx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x34]
push edx
push eax
push ecx
mov eax, ebx
call fcn.10072e80
add esp, 0x10
mov eax, dword [ebx + 0x20]
cmp eax, esi
je 0x100795e0
mov edx, dword [esp + 0xac]
lea ecx, [edx*4 + 4]
mov edx, dword [ebx + 0xc]
sub eax, ecx
mov dword [eax], edx
mov eax, dword [esp + 0x2c]
cmp byte [eax], 5
mov dword [esp + 0x38], esi
jne 0x10079604
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0xc]
push ecx
push edx
push eax
call fcn.10073660
add esp, 0xc
mov eax, dword [esp + 0x90]
mov esi, dword [esp + 0x40]
test eax, eax
je 0x10079639
cmp eax, dword [esi + 0xf0]
jb 0x10079639
cmp eax, dword [esi + 0xf4]
jae 0x10079639
mov ecx, dword [esi + 0xec]
mov dword [eax], ecx
dec dword [esi + 0xe4]
mov dword [esi + 0xec], eax
jmp 0x10079642
push eax
call fcn.10037c20
add esp, 4
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x1007968a
cmp eax, dword [esi + 0xf0]
jb 0x1007968a
cmp eax, dword [esi + 0xf4]
jae 0x1007968a
mov edx, dword [esi + 0xec]
mov dword [eax], edx
dec dword [esi + 0xe4]
mov dword [esi + 0xec], eax
mov eax, dword [esp + 0x38]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret
push eax
call fcn.10037c20
mov ecx, dword [esp + 0xe8]
mov eax, dword [esp + 0x3c]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret