Function at 0x4a2f62
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor edi, edi
sub esp, 0x9c
mov dword [ebp - 0x3c], eax
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x44], ecx
mov ebx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
test eax, eax
jne 0x4a2fb5
test ebx, ebx
jns 0x4a2fa6
mov ecx, dword [ebp - 0x50]
mov edi, dword [ecx + 0x10]
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + 0xc], 0
je 0x4a2fa2
xor eax, eax
test byte [ebp - 0x44], 0x40
sete al
add edi, eax
jmp 0x4a2fb5
imul eax, ebx, 0xc
add eax, dword [ebp - 0x50]
mov edi, edx
cmp dword [eax + 0x1c], edx
cmovle edi, dword [eax + 0x1c]
mov eax, dword [ebp - 0x3c]
mov edx, edi
call fcn.00438f37
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp + 0x1c]
test ecx, ecx
mov dword [eax], ecx
je 0x4a3a7a
mov eax, dword [ebp - 0x44]
and eax, 2
mov dword [ebp - 0x6c], eax
setne al
movzx eax, al
mov dword [ecx + 0x34], eax
mov eax, dword [ebp - 0x44]
shr eax, 4
and eax, 1
test byte [ebp - 0x44], 0x20
mov byte [ecx + 0x38], al
mov eax, dword [ebp + 8]
mov dword [ecx + 0x28], eax
jne 0x4a3009
mov eax, dword [ebp - 0x3c]
mov edx, ecx
add eax, 0x24
call fcn.0043f45a
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x24], 0
je 0x4a3030
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x24], 0
jne 0x4a3a28
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x44], eax
lea ebx, [eax - 1]
jmp 0x4a3964
test ebx, ebx
jns 0x4a391c
mov eax, dword [ebp - 0x50]
mov edi, dword [ebp - 0x50]
mov dword [ebp - 0x54], 0
imul eax, dword [eax + 0x14], 0xc
lea eax, [edi + eax + 0x18]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0xc]
test eax, eax
mov dword [ebp - 0x48], eax
je 0x4a3281
test byte [ebp - 0x44], 0x40
jne 0x4a3281
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
add eax, 0x50
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x54], eax
je 0x4a3090
mov edi, dword [ebp - 0x44]
and edi, 8
je 0x4a310f
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp + 0x10]
xor esi, esi
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], 0
add eax, 0x10
mov dword [esp], eax
mov eax, dword [ebp - 0x48]
call fcn.004394e1
mov edi, dword [ebp - 0x3c]
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x1c]
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0xc]
mov dword [esp], edx
lea edx, [ebp - 0x20]
call fcn.00412655
mov edi, dword [ebp - 0x20]
test edi, edi
je 0x4a30df
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ebx, ecx
not ebx
lea esi, [ebx - 1]
cmp dword [ebp - 0x1c], 0
je 0x4a326f
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
mov edx, 0xc
add eax, 0x24
call fcn.00438bb1
test eax, eax
mov ebx, eax
je 0x4a326f
mov eax, dword [ebp - 0x1c]
mov dword [ebx], eax
jmp 0x4a31f8
mov eax, dword [ebp - 0x48]
mov ebx, dword [eax + 0xc]
mov eax, dword [ebp + 0x10]
lea edx, [eax - 1]
mov eax, 0xd
test edx, edx
js 0x4a3139
mov ecx, dword [ebp + 0xc]
lea esi, [eax*8]
movzx ecx, byte [ecx + edx]
dec edx
xor ecx, esi
xor eax, ecx
jmp 0x4a3120
xor edx, edx
div ebx
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x14]
mov edx, dword [eax + edx*4]
test edx, edx
je 0x4a317c
mov ebx, dword [edx + 0x14]
lea eax, [ebx + 1]
cmp dword [ebp + 0x10], eax
jne 0x4a3178
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], edx
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
lea eax, [edx + 0x28]
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
test eax, eax
mov edx, dword [ebp - 0x58]
je 0x4a3180
mov edx, dword [edx]
jmp 0x4a3146
xor ebx, ebx
jmp 0x4a31d9
lea eax, [ebx + 0x2a]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x58], eax
mov eax, dword [edx + 0x10]
sub eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
add eax, 0x16
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.00436e2c
test eax, eax
mov ebx, eax
mov edx, dword [ebp - 0x68]
je 0x4a3a3b
mov edi, dword [ebp - 0x58]
lea eax, [ebx + 0xc]
mov ecx, dword [ebp - 0x5c]
lea esi, [edx + edi]
mov edi, eax
mov eax, ebx
sub eax, dword [ebp - 0x58]
rep movsb byte es:[edi], byte [esi]
xor edi, edi
lea ecx, [eax + 0xc]
mov eax, dword [ebp - 0x48]
call fcn.00412553
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x3c]
test ebx, ebx
mov dword [eax + 0x24], edi
je 0x4a31e8
lea eax, [ebx + 0xc]
mov dword [ebx], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x40]
or dword [eax + 0x54], 1
test ebx, ebx
je 0x4a326f
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x20]
lea edx, [eax + 0x94]
mov eax, dword [ebp - 0x3c]
mov dword [esp], ecx
mov ecx, esi
add eax, 0x24
call fcn.0043ec33
mov eax, dword [ebp - 0x24]
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x5c], ebx
lea edx, [eax + 0xa0]
mov eax, dword [ebx]
call fcn.00408a4f
mov edi, dword [ebp - 0x40]
movzx eax, al
cmp dword [ebp - 0x6c], 0
mov dword [edi + 0x68], eax
mov eax, dword [ebx + 4]
mov dword [edi + 0x6c], 0
mov dword [edi + 0x80], eax
je 0x4a3264
or dword [edi + 0x54], 2
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x3c]
call fcn.0043f91b
jmp 0x4a326f
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x3c]
call fcn.0041132a
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x3c]
call fcn.0040fae0
mov dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x50]
add eax, 0x18
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x44]
and eax, 8
mov dword [ebp - 0x74], eax
mov ebx, dword [ebp - 0x80]
cmp dword [ebp - 0x58], ebx
jae 0x4a3012
mov eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0x40]
mov eax, dword [eax + 4]
mov dword [ebp - 0x70], eax
dec eax
mov dword [ebp - 0x60], eax
imul eax, dword [ebp - 0x54], 0x60
lea ebx, [edi + eax + 0x50]
imul eax, dword [ebp - 0x60], 0xc
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x60], 0
js 0x4a3903
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x7c]
add eax, dword [ecx + 8]
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x44], eax
jne 0x4a32eb
mov edx, eax
mov eax, dword [ebp - 0x3c]
mov ecx, ebx
call fcn.0049ff7b
jmp 0x4a38f4
xor eax, eax
mov ecx, 0x18
mov edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x44]
mov dword [ebx], eax
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x3c], 0
jne 0x4a332f
mov eax, dword [eax]
mov edx, dword [eax + 8]
mov dword [esp + 8], edx
mov eax, dword [eax + 4]
mov dword [esp], str.SELECT_pgno_FROM__q._q_idx_WHERE_segid__AND_term___ORDER_BY_term_DESC_LIMIT_1
mov dword [esp + 4], eax
call fcn.004440e8
mov esi, dword [ebp - 0x3c]
mov ecx, eax
lea edx, [esi + 0x3c]
mov eax, esi
call fcn.0048b9c7
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x24], 0
jne 0x4a38f4
mov esi, dword [eax + 0x3c]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [esp + 4], 1
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.0042df80
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 4], 2
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
call fcn.0042e194
mov dword [esp], esi
call fcn.0047778f
cmp eax, 0x64
jne 0x4a33a7
mov dword [esp + 4], 0
mov dword [esp], esi
call fcn.00411c8f
mov edi, eax
and eax, 1
sar edi, 1
mov dword [ebp - 0x5c], eax
jmp 0x4a33b3
mov dword [ebp - 0x5c], 0
mov edi, 1
mov dword [esp], esi
call fcn.0045a638
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x24], eax
mov dword [esp + 4], 2
mov dword [esp], esi
call fcn.0042dfa6
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 4]
cmp eax, edi
jle 0x4a33e4
mov edi, eax
mov dword [ebp - 0x5c], 0
lea eax, [edi - 1]
mov edx, ebx
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x3c]
call fcn.0049f93f
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4a36a9
mov esi, dword [eax + 4]
mov edi, dword [eax]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x48], esi
mov esi, dword [eax + 8]
lea eax, [edi + esi]
call fcn.00410ff3
mov edx, dword [ebp - 0x20]
cmp dword [ebp - 0x48], edx
mov dword [ebp - 0x2c], edx
jb 0x4a350f
add eax, esi
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x44], eax
jmp 0x4a3463
lea eax, [edx + 1]
mov dword [ebp - 0x2c], eax
lea eax, [edi + edx]
movzx esi, byte [eax]
mov ecx, esi
mov dword [ebp - 0x28], esi
test cl, cl
jns 0x4a3463
mov dword [ebp - 0x2c], edx
lea edx, [ebp - 0x28]
call fcn.00410ff3
add dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
lea eax, [edx + 1]
lea esi, [edi + edx]
mov dword [ebp - 0x2c], eax
movzx eax, byte [esi]
test al, al
mov dword [ebp - 0x24], eax
jns 0x4a3489
mov dword [ebp - 0x2c], edx
lea edx, [ebp - 0x24]
mov eax, esi
call fcn.00410ff3
add dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x28], eax
jb 0x4a3a4c
jne 0x4a34e6
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x78], ecx
cmp eax, dword [ebp - 0x68]
cmova eax, dword [ebp - 0x68]
add ecx, edi
xor edx, edx
mov esi, ecx
mov ecx, dword [ebp - 0x50]
add ecx, dword [ebp + 0xc]
mov dword [ebp - 0x88], ecx
cmp eax, edx
je 0x4a34d6
mov ecx, dword [ebp - 0x88]
mov cl, byte [ecx + edx]
cmp byte [esi + edx], cl
je 0x4a351e
mov eax, edx
add dword [ebp - 0x50], eax
mov esi, dword [ebp - 0x50]
cmp dword [ebp + 0x10], esi
je 0x4a3521
cmp dword [ebp - 0x68], eax
ja 0x4a352f
mov esi, dword [ebp - 0x44]
cmp dword [ebp - 0x48], esi
jbe 0x4a3547
lea edx, [ebp - 0x28]
mov eax, esi
add eax, edi
call fcn.00410ff3
mov edx, dword [ebp - 0x28]
add edx, dword [ebp - 0x20]
add dword [ebp - 0x44], eax
cmp dword [ebp - 0x48], edx
mov dword [ebp - 0x20], edx
ja 0x4a3440
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x24], 0x10b
jmp 0x4a36a9
inc edx
jmp 0x4a34c2
cmp dword [ebp - 0x68], eax
jne 0x4a3a4c
jmp 0x4a35dc
mov esi, dword [ebp - 0x78]
mov ecx, dword [ebp + 0xc]
add eax, edi
mov edx, dword [ebp - 0x50]
mov cl, byte [ecx + edx]
cmp byte [eax + esi], cl
jbe 0x4a34e6
jmp 0x4a3a4c
cmp dword [ebp - 0x74], 0
je 0x4a3a56
mov eax, dword [ebp - 0x3c]
mov edx, ebx
call fcn.0049f93f
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4a36a9
mov esi, dword [eax + 8]
cmp esi, dword [eax + 4]
jge 0x4a3551
mov edi, dword [eax]
lea edx, [ebp - 0x2c]
lea eax, [edi + esi]
call fcn.00410ff3
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x2c]
cmp eax, 3
jbe 0x4a350f
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x48], ecx
mov ecx, dword [ecx + 8]
mov edx, ecx
mov dword [ebp - 0x68], ecx
sar edx, 0x1f
mov dword [ebp - 0x64], edx
mov edx, dword [ebp - 0x64]
cmp dword [ebp - 0x4c], edx
jg 0x4a350f
jge 0x4a3a6d
add esi, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x20], eax
add eax, edi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x44], esi
mov esi, dword [ecx + 4]
mov dword [ebp - 0x48], esi
call fcn.00410ff3
add dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x24]
xor edx, edx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], ecx
mov eax, esi
add eax, dword [ebp - 0x50]
adc edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
cmp dword [ebp - 0x4c], 0
jg 0x4a350f
jl 0x4a3614
cmp dword [ebp - 0x50], eax
ja 0x4a350f
test esi, esi
je 0x4a350f
mov eax, dword [ebx + 8]
add esi, ecx
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x28], esi
lea esi, [ebx + 0x44]
mov ecx, dword [ebp - 0x28]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x3c]
mov edx, esi
add eax, 0x24
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [ebp - 0x50]
call fcn.0043ec33
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
mov edx, esi
add eax, edi
mov dword [esp], eax
mov eax, dword [ebp - 0x50]
call fcn.0043ebf1
mov esi, dword [ebp - 0x44]
cmp dword [ebp - 0x48], esi
ja 0x4a3676
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 4]
inc eax
jmp 0x4a368c
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x1c]
add eax, edi
call fcn.00410ff3
add dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x20]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 0x44]
mov edx, ebx
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x3c]
call fcn.0049f9da
mov eax, dword [ebp - 0x3c]
mov edx, ebx
call fcn.0041132a
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x74]
or edi, dword [eax + 0x24]
jne 0x4a38ea
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0xc]
mov edx, eax
or edx, 1
test ecx, ecx
mov dword [ebx + 4], edx
je 0x4a38ea
cmp dword [ebp - 0x6c], 0
je 0x4a36e9
or eax, 3
cmp dword [ebp - 0x5c], 0
mov dword [ebx + 4], eax
jne 0x4a36f3
mov eax, dword [ebx + 0x40]
test eax, eax
jne 0x4a3727
jmp 0x4a3764
cmp dword [ebp - 0x5c], 0
je 0x4a38ea
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 0x24]
and edx, 2
cmp eax, dword [ebx + 8]
jne 0x4a3709
mov edi, dword [ecx + 8]
cmp dword [ebx + 0x30], edi
jl 0x4a371b
mov ecx, dword [ebx]
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ecx]
call fcn.004a2d5c
mov dword [ebx + 0x40], eax
cmp dword [ebp - 0x6c], 0
je 0x4a38ea
jmp 0x4a36e0
mov edi, dword [ebp - 0x3c]
mov edx, dword [edi]
cmp dword [edx + 0x48], 4
jne 0x4a3764
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx]
mov esi, dword [ebp - 0x50]
mov edx, dword [eax]
mov eax, 0
mov edi, esi
sar edi, 0x1f
shl edx, 5
add eax, esi
adc edx, edi
mov ecx, edx
mov edx, eax
mov eax, dword [ebp - 0x3c]
call fcn.0049f909
mov dword [ebp - 0x44], eax
jmp 0x4a3867
mov edx, dword [ebx + 8]
cmp dword [ebx + 0x24], edx
mov eax, 4
mov ecx, dword [ebx + 0xc]
jne 0x4a3777
mov eax, dword [ebx + 0x28]
mov esi, dword [ecx]
lea edi, [eax + 9]
inc eax
cmp byte [esi + eax - 1], 0
jns 0x4a3788
cmp edi, eax
jg 0x4a377c
mov dword [ebx + 0x18], eax
sar eax, 0x1f
mov dword [ebx + 0x1c], eax
mov eax, dword [ecx + 8]
cmp dword [ebx + 0x30], eax
jl 0x4a38e0
mov eax, dword [ebx]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x5c], eax
lea eax, [edx + 1]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x88], eax
sar eax, 0x1f
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x24], 0
jne 0x4a3867
mov edi, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x48]
cmp eax, dword [edi + 8]
jg 0x4a3867
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax]
mov eax, 0
mov esi, eax
mov eax, dword [ebp - 0x88]
shl edx, 5
add eax, dword [ebp - 0x68]
mov edi, edx
mov edx, dword [ebp - 0x84]
adc edx, dword [ebp - 0x64]
add esi, eax
mov eax, dword [ebp - 0x3c]
adc edi, edx
mov edx, esi
mov ecx, edi
call fcn.0049f909
test eax, eax
je 0x4a3857
mov ecx, dword [eax]
mov esi, dword [eax + 8]
mov edi, dword [eax + 4]
movzx edx, byte [ecx]
movzx ecx, byte [ecx + 1]
mov dword [ebp - 0x78], esi
shl edx, 8
add dx, cx
je 0x4a384a
mov edx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x50], esi
mov eax, edx
mov dword [esp], eax
call fcn.0040b268
cmp dword [ebp - 0x78], edi
jl 0x4a3867
inc dword [ebp - 0x48]
add dword [ebp - 0x68], 1
adc dword [ebp - 0x64], 0
jmp 0x4a37d3
cmp dword [ebp - 0x44], 0
je 0x4a38e0
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call fcn.0040b268
mov eax, dword [ebp - 0x44]
mov edi, dword [ebp - 0x44]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x50]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
movzx esi, byte [eax]
movzx edx, byte [eax + 1]
shl esi, 8
add esi, edx
movzx esi, si
cmp esi, dword [edi + 8]
jle 0x4a38ac
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x24], 0x10b
jmp 0x4a38ea
lea edx, [ebx + 0x50]
add eax, esi
call fcn.00408a4f
movzx eax, al
mov edi, dword [ebp - 0x44]
add esi, eax
mov eax, dword [ebp - 0x44]
mov dword [ebx + 0x18], esi
sar esi, 0x1f
mov dword [ebx + 0x1c], esi
mov eax, dword [eax + 4]
cmp dword [edi + 8], eax
jl 0x4a38d5
inc eax
jmp 0x4a38dd
mov eax, dword [ebp - 0x44]
call fcn.0041118e
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 0x3c]
mov edx, ebx
call fcn.0043f91b
mov eax, dword [ebp - 0x3c]
mov edx, ebx
call fcn.0040fae0
dec dword [ebp - 0x60]
add ebx, 0x60
sub dword [ebp - 0x7c], 0xc
jmp 0x4a32be
cmp dword [ebp - 0x70], 0
mov eax, 0
cmovns eax, dword [ebp - 0x70]
add dword [ebp - 0x58], 0xc
add dword [ebp - 0x54], eax
jmp 0x4a3293
imul eax, edi, 0xc
lea esi, [edi - 1]
imul ebx, ebx, 0xc
add ebx, dword [ebp - 0x50]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
lea edi, [eax + 0x50]
sub dword [ebp - 0x44], 0xc
test esi, esi
js 0x4a3012
mov edx, dword [ebp - 0x44]
add edx, dword [ebx + 0x20]
mov ecx, edi
mov eax, dword [ebp - 0x3c]
dec esi
add edi, 0x60
call fcn.0049ff7b
jmp 0x4a3931
mov eax, dword [ebp - 0x40]
mov edx, ebx
call fcn.0040a728
test eax, eax
mov esi, eax
jne 0x4a396a
dec ebx
test ebx, ebx
jg 0x4a3953
jmp 0x4a39a8
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x24], 0
jne 0x4a3996
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x40]
imul eax, esi, 0x60
mov dword [esp + 8], 0
lea edx, [edi + eax + 0x50]
mov edi, dword [ebp - 0x3c]
mov dword [esp + 4], edx
mov dword [esp], edi
call dword [ecx + eax + 0x70]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
mov ecx, esi
mov dword [esp], ebx
call fcn.0040a850
jmp 0x4a3963
mov eax, dword [ebp - 0x40]
mov esi, dword [ebp - 0x40]
mov edi, dword [eax + 0x48]
movzx eax, word [edi + 4]
imul eax, eax, 0x60
add eax, dword [ebp - 0x40]
mov ebx, dword [eax + 0x5c]
test ebx, ebx
sete byte [esi + 0x10]
cmp byte [esi + 0x38], 0
mov edx, dword [eax + 0xa4]
mov eax, dword [eax + 0xa0]
mov dword [esi + 0x44], edx
mov dword [esi + 0x40], eax
je 0x4a3a0a
mov eax, dword [ebp - 0x3c]
mov edx, esi
mov eax, dword [eax + 0x24]
call fcn.0040fb0a
test eax, eax
je 0x4a3a0a
mov eax, dword [ebp - 0x3c]
mov dword [esp], 0
xor ecx, ecx
mov dword [esp + 4], 0
mov edx, esi
call fcn.004a07a3
jmp 0x4a3a7a
test ebx, ebx
je 0x4a3a7a
movzx eax, word [edi + 4]
mov ebx, dword [ebp - 0x40]
mov dword [esp], ebx
imul eax, eax, 0x60
lea eax, [ebx + eax + 0x50]
mov dword [esp + 4], eax
call dword [ebx + 0x2c]
jmp 0x4a3a7a
mov eax, dword [ebp - 0x40]
call fcn.0040c162
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
jmp 0x4a3a7a
mov dword [ebp - 0x24], 0
mov edi, 7
jmp 0x4a31d9
cmp dword [ebp - 0x74], 0
jne 0x4a35dc
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call fcn.0040b268
mov dword [ebx + 0xc], 0
jmp 0x4a36a9
cmp eax, ecx
jae 0x4a350f
jmp 0x4a35b6
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret