Function at 0x49d9f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x59de30]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x74], ecx
cmp dword [ebp + 0xc], 0
je 0x49da2f
mov eax, dword [ebp - 0x74]
movzx ecx, byte [eax + 0x1e]
test ecx, ecx
jne 0x49da2f
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0
je 0x49da39
mov eax, 1
jmp 0x49ee05
push 0
push 0
push 0
push 0x15
mov eax, dword [ebp + 8]
push eax
call fcn.004816f0
add esp, 0x14
test eax, eax
je 0x49da5b
mov eax, 1
jmp 0x49ee05
push 0x2c
push 0
lea eax, [ebp - 0x6c]
push eax
call fcn.004de2a0
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax]
cmp ecx, 4
jg 0x49da9a
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x18], 0
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 6]
and ecx, 0xfffffffe
mov edx, dword [ebp + 0xc]
mov word [edx + 6], cx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0049f290
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0
jne 0x49dad1
mov eax, dword [ebp - 0x74]
movzx ecx, byte [eax + 0x1e]
test ecx, ecx
je 0x49dad6
jmp 0x49edbd
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0x18], ecx
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 6]
and ecx, 4
je 0x49daf7
mov dword [ebp - 0x198], 1
jmp 0x49db01
mov dword [ebp - 0x198], 0
mov edx, dword [ebp - 0x198]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x1c], 0
jne 0x49db15
jmp 0x49edbd
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0
jle 0x49db23
jmp 0x49edbd
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax]
cmp ecx, 4
jg 0x49db35
mov dword [ebp - 0x28], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00491aa0
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x49db4f
jmp 0x49edbd
mov dword [ebp - 8], 0
jmp 0x49db61
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], 0
jne 0x49dcdf
mov eax, dword [ebp - 0x20]
movsx ecx, word [eax]
cmp dword [ebp - 8], ecx
jge 0x49dcdf
mov eax, dword [ebp - 8]
imul eax, eax, 0x38
mov ecx, dword [ebp - 0x20]
lea edx, [ecx + eax + 8]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x8c], ecx
cmp dword [ebp - 0x8c], 0
je 0x49dbad
mov eax, dword [ebp - 0x78]
movzx ecx, byte [eax + 0x14]
test ecx, ecx
je 0x49dbaf
jmp 0x49db58
mov eax, dword [ebp + 0xc]
push eax
call fcn.0049f0e0
add esp, 4
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x200]
mov edx, dword [ebp + 8]
mov dword [edx + 0x200], eax
mov eax, dword [ebp - 0x8c]
movzx ecx, word [eax + 6]
and ecx, 4
je 0x49dbe8
mov dword [ebp - 0x198], 1
jmp 0x49dbf2
mov dword [ebp - 0x198], 0
mov edx, dword [ebp - 0x198]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0046fd00
add esp, 0x14
test eax, eax
je 0x49dc4b
cmp dword [ebp - 0x90], 0
je 0x49dc42
mov dword [ebp - 0x18], 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 6]
or ecx, 4
mov edx, dword [ebp + 0xc]
mov word [edx + 6], cx
mov dword [ebp - 8], 0xffffffff
jmp 0x49dc84
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 0x18]
push ecx
push 9
lea edx, [ebp - 0x88]
push edx
call fcn.0049eea0
add esp, 0xc
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0049d9f0
add esp, 0xc
mov eax, dword [ebp - 0x78]
mov byte [eax + 0x14], 1
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0
jne 0x49dc98
mov eax, dword [ebp - 0x74]
movzx ecx, byte [eax + 0x1e]
test ecx, ecx
je 0x49dc9d
jmp 0x49edbd
mov eax, dword [ebp + 0xc]
push eax
call fcn.0049f0e0
add esp, 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x200]
sub edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x200], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax]
cmp ecx, 4
jle 0x49dcda
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x28], ecx
jmp 0x49db58
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 6]
and ecx, 1
je 0x49dd1a
mov dword [ebp - 0x198], 1
jmp 0x49dd24
mov dword [ebp - 0x198], 0
mov edx, dword [ebp - 0x198]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], 0
je 0x49de16
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x24], 0
jne 0x49ddfd
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x9c], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x94], eax
jmp 0x49dd84
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x9c]
add edx, 1
mov dword [ebp - 0x9c], edx
cmp dword [ebp - 0x94], 0
je 0x49ddb6
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x98]
mov dword [eax + 0x20], ecx
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
jmp 0x49dd66
mov eax, 4
shl eax, 2
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + eax + 0x50]
mov dword [ebp - 0xa0], edx
cmp dword [ebp - 0xa0], 0
je 0x49ddfd
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0xa0]
jle 0x49ddfd
push str.too_many_terms_in_compound_SELECT
mov eax, dword [ebp + 8]
push eax
call fcn.0048b6a0
add esp, 8
mov eax, 1
jmp 0x49ee05
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00475540
add esp, 0xc
jmp 0x49ee05
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00468410
add esp, 0xc
test eax, eax
je 0x49de35
jmp 0x49edbd
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 6]
and ecx, 5
cmp ecx, 1
jne 0x49de88
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x10], 0
jne 0x49de88
push 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x74]
push edx
call fcn.0048e870
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 6]
and ecx, 0xfffffffe
mov edx, dword [ebp + 0xc]
mov word [edx + 6], cx
mov dword [ebp - 0x34], 0
cmp dword [ebp - 0x28], 0
je 0x49defe
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00473d40
add esp, 8
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x44]
mov dword [eax + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x44], ecx
push 0xfffffffffffffff0
mov eax, dword [ebp - 0xa4]
push eax
push 0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
add edx, 2
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 8]
push ecx
push 0x76
mov edx, dword [ebp - 0x14]
push edx
call fcn.004a44c0
add esp, 0x1c
mov dword [ebp - 0x40], eax
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x40]
mov dword [ecx + eax + 0x38], edx
jmp 0x49df05
mov dword [ebp - 0x40], 0xffffffff
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax]
cmp ecx, 9
jne 0x49df2b
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
push eax
push 0x76
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004a43f0
add esp, 0x10
mov eax, dword [ebp - 0x14]
push eax
call fcn.004acc30
add esp, 4
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0046bf90
add esp, 0xc
cmp dword [ebp - 0x34], 0
je 0x49dfa5
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00473d40
add esp, 8
mov dword [ebp - 0xa8], eax
push 0xfffffffffffffff0
mov eax, dword [ebp - 0xa8]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x38]
push ecx
push 0x76
mov edx, dword [ebp - 0x14]
push edx
call fcn.004a44c0
add esp, 0x1c
jmp 0x49dfac
mov dword [ebp - 0x38], 0xffffffff
cmp dword [ebp - 0x18], 0
jne 0x49e059
cmp dword [ebp - 0x2c], 0
jne 0x49e059
push 0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004b0c20
add esp, 0x14
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x49dfe8
jmp 0x49edbd
cmp dword [ebp - 0x40], 0
jl 0x49e018
cmp dword [ebp - 0x28], 0
jne 0x49e018
push 1
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004a4990
add esp, 0xc
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + 0xc]
mov dword [ecx + eax + 0x38], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 0x28]
push edx
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0047f100
add esp, 0x28
mov eax, dword [ebp - 0x10]
push eax
call fcn.004b1680
add esp, 4
jmp 0x49ed82
cmp dword [ebp - 0x2c], 0
je 0x49e103
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0xe8], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xec], edx
jmp 0x49e09e
mov eax, dword [ebp - 0xe8]
sub eax, 1
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xec]
add ecx, 0x10
mov dword [ebp - 0xec], ecx
cmp dword [ebp - 0xe8], 0
jle 0x49e0b5
xor eax, eax
mov ecx, dword [ebp - 0xec]
mov word [ecx + 0xc], ax
jmp 0x49e080
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov dword [ebp - 0xe8], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xec], eax
jmp 0x49e0ec
mov eax, dword [ebp - 0xe8]
sub eax, 1
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xec]
add ecx, 0x10
mov dword [ebp - 0xec], ecx
cmp dword [ebp - 0xe8], 0
jle 0x49e103
xor eax, eax
mov ecx, dword [ebp - 0xec]
mov word [ecx + 0xc], ax
jmp 0x49e0ce
mov eax, dword [ebp - 0x14]
push eax
call fcn.004acc30
add esp, 4
mov dword [ebp - 0xe4], eax
push 0x24
push 0
lea eax, [ebp - 0xcc]
push eax
call fcn.004de2a0
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0x2c], 0
je 0x49e159
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
add ecx, 1
mov dword [ebp - 0x198], ecx
jmp 0x49e163
mov dword [ebp - 0x198], 0
mov edx, dword [ebp - 0x198]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xcc]
push ecx
call fcn.0048ba30
add esp, 8
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0xcc]
push ecx
call fcn.0048ba30
add esp, 8
cmp dword [ebp - 0x30], 0
je 0x49e1b1
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0xcc]
push ecx
call fcn.0048ba90
add esp, 8
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x50], eax
mov dword [ebp - 8], 0
jmp 0x49e1c9
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x48]
jge 0x49e1f2
mov eax, dword [ebp - 8]
shl eax, 4
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + eax]
mov eax, dword [edx + 0x1c]
push eax
lea ecx, [ebp - 0xcc]
push ecx
call fcn.0048ba30
add esp, 8
jmp 0x49e1c0
mov eax, dword [ebp - 0x74]
movzx ecx, byte [eax + 0x1e]
test ecx, ecx
je 0x49e202
jmp 0x49edbd
cmp dword [ebp - 0x2c], 0
je 0x49e9ad
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00473d40
add esp, 8
mov dword [ebp - 0xf0], eax
push 0xfffffffffffffff0
mov eax, dword [ebp - 0xf0]
push eax
push 0
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x68]
push edx
push 0x76
mov eax, dword [ebp - 0x14]
push eax
call fcn.004a44c0
add esp, 0x1c
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
add ecx, 1
mov dword [ebp - 0x198], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x198]
mov dword [edx + 0x48], eax
mov ecx, dword [ebp - 0x198]
mov dword [ebp - 0xd8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
add ecx, 1
mov dword [ebp - 0x198], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x198]
mov dword [edx + 0x48], eax
mov ecx, dword [ebp - 0x198]
mov dword [ebp - 0xdc], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
add ecx, 1
mov dword [ebp - 0x198], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x198]
mov dword [edx + 0x48], eax
mov ecx, dword [ebp - 0x198]
mov dword [ebp - 0xfc], ecx
mov eax, dword [ebp - 0x14]
push eax
call fcn.004acc30
add esp, 4
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
add ecx, 1
mov dword [ebp - 0x198], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x198]
mov dword [edx + 0x48], eax
mov ecx, dword [ebp - 0x198]
mov dword [ebp - 0x110], ecx
mov eax, dword [ebp - 0x14]
push eax
call fcn.004acc30
add esp, 4
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
add ecx, 1
mov dword [ebp - 0xd0], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
mov edx, dword [ebp - 0x2c]
add ecx, dword [edx]
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
add ecx, 1
mov dword [ebp - 0xd4], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
mov edx, dword [ebp - 0x2c]
add ecx, dword [edx]
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], ecx
mov eax, dword [ebp - 0xdc]
push eax
push 0
push 0x30
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004a43f0
add esp, 0x10
mov eax, dword [ebp - 0xd8]
push eax
push 0
push 0x30
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004a43f0
add esp, 0x10
mov eax, dword [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 0x110]
push ecx
push 0x2f
mov edx, dword [ebp - 0x14]
push edx
call fcn.004a43f0
add esp, 0x10
push 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004b0c20
add esp, 0x14
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x49e3d3
jmp 0x49edbd
cmp dword [ebp - 0x2c], 0
jne 0x49e3f1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xe0], 0
jmp 0x49e63a
mov dword [ebp - 0xe0], 1
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov dword [ebp - 0x120], ecx
mov eax, dword [ebp - 0x120]
add eax, 1
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x120]
add eax, 1
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
jmp 0x49e433
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x58]
jge 0x49e467
mov eax, dword [ebp - 8]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + eax + 0xc]
cmp edx, dword [ebp - 0xc]
jl 0x49e465
mov eax, dword [ebp - 0x11c]
add eax, 1
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x49e42a
mov eax, dword [ebp - 0x11c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00490b40
add esp, 8
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 8]
push eax
call fcn.0048be20
add esp, 4
push 0
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0048c4e0
add esp, 0x10
mov eax, dword [ebp - 0x114]
add eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
push 6
mov edx, dword [ebp - 0x14]
push edx
call fcn.004a43f0
add esp, 0x10
mov eax, dword [ebp - 0x120]
add eax, 1
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
jmp 0x49e4e2
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x58]
jge 0x49e58a
mov eax, dword [ebp - 8]
imul eax, eax, 0x18
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax + 0xc]
cmp ecx, dword [ebp - 0xc]
jl 0x49e585
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x114]
mov dword [ebp - 0x128], eax
push 0
mov eax, dword [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x124]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x124]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0048c5d0
add esp, 0x18
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x128]
cmp eax, dword [ebp - 0x12c]
je 0x49e57c
mov eax, dword [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x12c]
push ecx
push 9
mov edx, dword [ebp - 0x14]
push edx
call fcn.004a43f0
add esp, 0x10
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x49e4d9
mov eax, dword [ebp + 8]
push eax
call fcn.00490bd0
add esp, 4
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x114]
push edx
push 0x4f
mov eax, dword [ebp - 0x14]
push eax
call fcn.004a4420
add esp, 0x14
mov eax, dword [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
push 0x6c
mov edx, dword [ebp - 0x14]
push edx
call fcn.004a43f0
add esp, 0x10
mov eax, dword [ebp - 0x118]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0049bee0
add esp, 8
mov eax, dword [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x114]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0049beb0
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
call fcn.004b1680
add esp, 4
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
push 0x12
mov edx, dword [ebp - 0x14]
push edx
call fcn.004a43f0
add esp, 0x10
mov byte [ebp - 0x6b], 1
mov eax, dword [ebp + 8]
push eax
call fcn.0048be20
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
call fcn.00498600
add esp, 4
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 8]
push eax
call fcn.0048be20
add esp, 4
mov dword [ebp - 0xc], 0
jmp 0x49e66a
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [eax]
jge 0x49e6cb
cmp dword [ebp - 0xe0], 0
je 0x49e69f
mov eax, dword [ebp - 0xd4]
add eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x68]
push edx
push 3
mov eax, dword [ebp - 0x14]
push eax
call fcn.004a4420
add esp, 0x14
jmp 0x49e6c9
mov byte [ebp - 0x6c], 1
mov eax, dword [ebp - 0xd4]
add eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0xc]
shl ecx, 4
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + ecx]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0048c350
add esp, 0xc
jmp 0x49e661
push 0xfffffffffffffffa
mov eax, dword [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0xd0]
push ecx
push 0x5f
mov edx, dword [ebp - 0x14]
push edx
call fcn.004a44c0
add esp, 0x1c
mov eax, dword [ebp - 0x14]
push eax
call fcn.00498600
add esp, 4
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0xf4]
add ecx, 1
push ecx
push 0x84
mov edx, dword [ebp - 0x14]
push edx
call fcn.004a4420
add esp, 0x14
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0xd0]
push edx
mov eax, dword [ebp - 0xd4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0048c760
add esp, 0x10
mov eax, dword [ebp - 0xf8]
push eax
mov ecx, dword [ebp - 0xfc]
push ecx
push 0x2f
mov edx, dword [ebp - 0x14]
push edx
call fcn.004a43f0
add esp, 0x10
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0xdc]
push ecx
push 0x81
mov edx, dword [ebp - 0x14]
push edx
call fcn.004a43f0
add esp, 0x10
mov eax, dword [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 0x110]
push ecx
push 0x2f
mov edx, dword [ebp - 0x14]
push edx
call fcn.004a43f0
add esp, 0x10
mov eax, dword [ebp - 0xf4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004ac860
add esp, 8
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b3aa0
add esp, 8
mov eax, dword [ebp - 0xd8]
push eax
push 1
push 0x30
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004a43f0
add esp, 0x10
cmp dword [ebp - 0xe0], 0
je 0x49e804
mov eax, dword [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
push 0x6a
mov edx, dword [ebp - 0x14]
push edx
call fcn.004a43f0
add esp, 0x10
jmp 0x49e825
mov eax, dword [ebp - 0x10]
push eax
call fcn.004b1680
add esp, 4
push 1
mov eax, dword [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004a4990
add esp, 0xc
mov eax, dword [ebp - 0xf8]
push eax
mov ecx, dword [ebp - 0xfc]
push ecx
push 0x2f
mov edx, dword [ebp - 0x14]
push edx
call fcn.004a43f0
add esp, 0x10
mov eax, dword [ebp - 0xe4]
push eax
push 0
push 0x60
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004a43f0
add esp, 0x10
mov eax, dword [ebp - 0x14]
push eax
call fcn.00498600
add esp, 4
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0xdc]
push eax
push 1
push 0x30
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004a43f0
add esp, 0x10
mov eax, dword [ebp - 0xfc]
push eax
push 0x19
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004a43c0
add esp, 0xc
mov eax, dword [ebp - 0xf8]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004aef30
add esp, 8
mov eax, dword [ebp - 0x14]
push eax
call fcn.00498600
add esp, 4
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
add eax, 2
push eax
mov ecx, dword [ebp - 0xd8]
push ecx
push 0x81
mov edx, dword [ebp - 0x14]
push edx
call fcn.004a43f0
add esp, 0x10
mov eax, dword [ebp - 0xfc]
push eax
push 0x19
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004a43c0
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0046f700
add esp, 8
cmp dword [ebp - 0x30], 0
je 0x49e924
push 8
mov eax, dword [ebp - 0xf8]
add eax, 1
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0048de20
add esp, 0x10
mov eax, dword [ebp - 0x100]
push eax
mov ecx, dword [ebp - 0xf8]
add ecx, 1
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
push 0
push 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0047f100
add esp, 0x28
mov eax, dword [ebp - 0xfc]
push eax
push 0x19
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004a43c0
add esp, 0xc
mov eax, dword [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004aef30
add esp, 8
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0047c870
add esp, 8
mov eax, dword [ebp - 0x110]
push eax
push 0x19
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004a43c0
add esp, 0xc
jmp 0x49ed6f
mov dword [ebp - 0x130], 0
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00473870
add esp, 8
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x49eb8d
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax + 0x48]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.0049d760
add esp, 8
mov dword [ebp - 0x138], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
mov dword [ebp - 0x13c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x14c], ecx
mov eax, dword [ebp - 0x138]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00487b30
add esp, 8
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax + 4]
push ecx
push 0
mov edx, dword [ebp - 0x134]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004a0ad0
add esp, 0x14
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x140], ecx
jmp 0x49ea92
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x140], ecx
cmp dword [ebp - 0x140], 0
je 0x49eac6
cmp dword [ebp - 0x148], 0
je 0x49eab8
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x148]
mov edx, dword [eax + 4]
cmp edx, dword [ecx + 4]
jge 0x49eac4
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x148], eax
jmp 0x49ea83
cmp dword [ebp - 0x148], 0
je 0x49eb0b
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x134]
mov edx, dword [eax + 4]
cmp edx, dword [ecx + 0xc]
jge 0x49eb0b
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x14c], ecx
mov eax, dword [ebp - 0x148]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00492240
add esp, 8
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x14c]
push ecx
mov edx, dword [ebp - 0x13c]
push edx
push 0xd
mov eax, dword [ebp - 0x14]
push eax
call fcn.004a4420
add esp, 0x14
cmp dword [ebp - 0x144], 0
je 0x49eb4e
push 0xfffffffffffffff0
mov eax, dword [ebp - 0x144]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004a4770
add esp, 0x10
mov eax, 0x10
imul eax, eax, 0
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + eax + 8]
push edx
mov eax, dword [ebp - 0x13c]
push eax
push 0x6b
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004a43f0
add esp, 0x10
mov eax, dword [ebp - 0x13c]
push eax
push 0x21
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004a43c0
add esp, 0xc
jmp 0x49ed06
mov dword [ebp - 0x150], 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.00474ea0
add esp, 4
mov byte [ebp - 0x151], al
movzx eax, byte [ebp - 0x151]
test eax, eax
je 0x49ec57
push 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, 0x10
imul edx, edx, 0
mov eax, dword [ecx + 0xc]
mov ecx, dword [eax + edx]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ebp - 0x74]
push eax
call fcn.0048e870
add esp, 0xc
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x150], 0
je 0x49ec57
mov eax, dword [ebp - 0x74]
movzx ecx, byte [eax + 0x1e]
test ecx, ecx
jne 0x49ec57
movzx eax, byte [ebp - 0x151]
cmp eax, 1
je 0x49ec1b
mov dword [ebp - 0x198], 1
jmp 0x49ec25
mov dword [ebp - 0x198], 0
mov ecx, 0x10
imul ecx, ecx, 0
mov edx, dword [ebp - 0x150]
mov eax, dword [edx + 0xc]
mov dl, byte [ebp - 0x198]
mov byte [eax + ecx + 8], dl
mov eax, 0x10
imul eax, eax, 0
mov ecx, dword [ebp - 0x150]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + eax]
mov byte [eax], 0x97
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0047c870
add esp, 8
movzx ax, byte [ebp - 0x151]
movzx ecx, ax
push ecx
lea edx, [ebp - 0x150]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004b0c20
add esp, 0x14
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x49ecaf
mov eax, dword [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.0048e7e0
add esp, 8
jmp 0x49edbd
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b3aa0
add esp, 8
cmp dword [ebp - 0x150], 0
jne 0x49ecea
movzx eax, byte [ebp - 0x151]
test eax, eax
je 0x49ecea
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x14]
push ecx
push 0
push 0x60
mov edx, dword [ebp - 0x14]
push edx
call fcn.004a43f0
add esp, 0x10
mov eax, dword [ebp - 0x10]
push eax
call fcn.004b1680
add esp, 4
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0046f700
add esp, 8
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x30], 0
je 0x49ed2c
push 8
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0048de20
add esp, 0x10
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0xe4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0xffffffffffffffff
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0047f100
add esp, 0x28
mov eax, dword [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.0048e7e0
add esp, 8
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004aef30
add esp, 8
cmp dword [ebp - 0x28], 0
je 0x49eda6
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00471500
add esp, 0x14
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004aef30
add esp, 8
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 0
jne 0x49ede2
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax]
cmp ecx, 5
jne 0x49ede2
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00470dd0
add esp, 0xc
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.00489470
add esp, 8
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.00489470
add esp, 8
mov eax, dword [ebp - 0x3c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004da4c1
mov esp, ebp
pop ebp
ret