Function at 0x471564
Capabilities:
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor edi, edi
sub esp, 0x9c
cmp dword [eax + 0x24], 0
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x48], ecx
mov ebx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
jne 0x4715ae
test ebx, ebx
jns 0x47159f
cmp dword [eax + 0xc], 0
mov edi, dword [ebp - 0x44]
setne al
movzx eax, al
add eax, dword [edi + 0x10]
mov edi, eax
jmp 0x4715ae
imul eax, ebx, 0xc
add eax, dword [ebp - 0x44]
mov edi, edx
cmp dword [eax + 0x1c], edx
cmovle edi, dword [eax + 0x1c]
mov eax, dword [ebp - 0x3c]
mov edx, edi
call fcn.004179a7
mov dword [ebp - 0x40], eax
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp + 0x1c]
test esi, esi
mov dword [eax], esi
je 0x471f29
mov eax, dword [ebp - 0x48]
mov ecx, esi
and eax, 2
mov dword [ebp - 0x64], eax
setne al
movzx eax, al
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0x48]
shr eax, 4
and eax, 1
mov byte [esi + 0x3c], al
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp + 8]
mov dword [ecx + 0x1c], esi
mov dword [ecx + 0x2c], eax
inc dword [esi]
test byte [ebp - 0x48], 0x20
jne 0x47160c
mov eax, dword [ebp - 0x3c]
mov edx, ecx
add eax, 0x24
call fcn.0041a3e6
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x24], 0
je 0x471633
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x24], 0
jne 0x471ee9
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x44], eax
lea ebx, [eax - 1]
jmp 0x471e25
test ebx, ebx
jns 0x471ddd
mov eax, dword [ebp - 0x44]
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0x50], 0
imul eax, dword [eax + 0x14], 0xc
lea eax, [edi + eax + 0x18]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x3c]
mov ebx, dword [eax + 0xc]
test ebx, ebx
je 0x471808
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
add eax, 0x50
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x4c], eax
je 0x47168b
test byte [ebp - 0x48], 8
je 0x4716d8
lea eax, [ebx + 0x10]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, ebx
call fcn.004184c9
mov edi, dword [ebp - 0x3c]
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0xc]
mov dword [esp], edx
lea edx, [ebp - 0x1c]
call fcn.0040eb72
mov edi, dword [ebp - 0x1c]
xor ecx, ecx
test edi, edi
je 0x471767
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov esi, ecx
not esi
mov ecx, esi
dec ecx
jmp 0x471767
mov eax, dword [ebp - 0x40]
mov esi, dword [ebx + 0xc]
or dword [eax + 0x54], 1
mov eax, dword [ebp + 0x10]
lea edx, [eax - 1]
mov eax, 0xd
test edx, edx
js 0x471706
mov ecx, dword [ebp + 0xc]
lea edi, [eax*8]
movzx ecx, byte [ecx + edx]
dec edx
xor ecx, edi
xor eax, ecx
jmp 0x4716ed
xor edx, edx
div esi
mov eax, dword [ebx + 0x14]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x47175e
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
lea eax, [esi + 0x28]
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x47173b
mov eax, dword [ebp + 0x10]
cmp byte [esi + eax + 0x28], 0
je 0x47173f
mov esi, dword [esi]
jmp 0x471710
mov eax, ebx
mov edx, esi
call fcn.0040eaa5
mov eax, dword [ebp + 0x10]
lea eax, [esi + eax + 0x29]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x10]
sub eax, 0x29
sub eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], 0
je 0x4717f6
mov eax, dword [ebp - 0x3c]
lea ebx, [eax + 0x24]
mov eax, dword [ebp - 0x40]
lea edx, [eax + 0x8c]
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov eax, ebx
call fcn.004197c4
mov eax, ebx
mov edx, 0xc
call fcn.0041763c
test eax, eax
mov ebx, eax
mov dword [ebp - 0x50], 1
je 0x471808
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x24]
mov dword [ebx + 8], edx
mov dword [ebx + 4], edx
lea edx, [edi + 0x98]
mov dword [ebx], eax
mov dword [edi + 0x5c], ebx
call fcn.0040798e
mov edi, dword [ebp - 0x40]
movzx eax, al
cmp dword [ebp - 0x64], 0
mov dword [edi + 0x64], eax
mov eax, dword [ebx + 4]
mov dword [edi + 0x78], eax
je 0x4717eb
or dword [edi + 0x54], 2
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x3c]
call fcn.0041a456
jmp 0x4717f6
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x3c]
call fcn.0040dbb3
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x3c]
call fcn.0040c65a
mov dword [ebp - 0x50], 1
mov eax, dword [ebp - 0x44]
add eax, 0x18
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x48]
and eax, 8
mov dword [ebp - 0x6c], eax
mov esi, dword [ebp - 0x7c]
cmp dword [ebp - 0x54], esi
jae 0x471615
mov eax, dword [ebp - 0x54]
mov edi, dword [ebp - 0x40]
mov eax, dword [eax + 4]
mov dword [ebp - 0x68], eax
dec eax
mov dword [ebp - 0x58], eax
imul eax, dword [ebp - 0x50], 0x58
lea esi, [edi + eax + 0x50]
imul eax, dword [ebp - 0x58], 0xc
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x58], 0
js 0x471dc4
mov eax, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x70]
add ebx, dword [eax + 8]
cmp dword [ebp + 0xc], 0
jne 0x47186f
mov eax, dword [ebp - 0x3c]
mov ecx, esi
mov edx, ebx
call fcn.00462b22
jmp 0x471db5
xor eax, eax
mov ecx, 0x16
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi], ebx
cmp dword [eax + 0x3c], 0
jne 0x4718b0
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.00433b08
mov edi, dword [ebp - 0x3c]
mov ecx, eax
lea edx, [edi + 0x3c]
mov eax, edi
call fcn.0046d1bf
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x24], 0
jne 0x471db5
mov edi, dword [eax + 0x3c]
mov eax, dword [ebx]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], edi
call fcn.004273f5
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 4], 2
mov dword [esp], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
call fcn.00427235
mov dword [esp], edi
call fcn.0045a992
cmp eax, 0x64
jne 0x471925
mov dword [esp + 4], 0
mov dword [esp], edi
call fcn.0041610b
mov edx, eax
and eax, 1
sar edx, 1
mov dword [ebp - 0x60], eax
jmp 0x471931
mov dword [ebp - 0x60], 0
mov edx, 1
mov dword [esp], edi
mov dword [ebp - 0x44], edx
call fcn.00452944
mov edi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x44]
mov dword [edi + 0x24], eax
mov eax, dword [ebx + 4]
cmp eax, edx
jle 0x471955
mov edx, eax
mov dword [ebp - 0x60], 0
lea eax, [edx - 1]
mov edx, esi
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x3c]
call fcn.004625a1
mov eax, dword [esi + 0xc]
test eax, eax
je 0x471b9b
mov edi, dword [eax]
mov ebx, dword [eax + 8]
lea edx, [ebp - 0x20]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x4c], eax
lea eax, [edi + ebx]
call fcn.0040d801
mov edx, dword [ebp - 0x20]
cmp dword [ebp - 0x4c], edx
mov dword [ebp - 0x2c], edx
jl 0x471a7c
add eax, ebx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], eax
jmp 0x4719d2
lea eax, [edx + 1]
mov dword [ebp - 0x2c], eax
lea eax, [edi + edx]
movzx ebx, byte [eax]
test bl, bl
mov dword [ebp - 0x28], ebx
jns 0x4719d2
mov dword [ebp - 0x2c], edx
lea edx, [ebp - 0x28]
call fcn.0040d801
add dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
lea eax, [edx + 1]
mov dword [ebp - 0x2c], eax
lea eax, [edi + edx]
movzx ebx, byte [eax]
test bl, bl
mov dword [ebp - 0x24], ebx
jns 0x4719f6
mov dword [ebp - 0x2c], edx
lea edx, [ebp - 0x24]
call fcn.0040d801
add dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x28], eax
jl 0x471efc
jne 0x471a4f
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x48]
sub ebx, eax
mov eax, dword [ebp - 0x2c]
cmp ebx, ecx
cmovg ebx, ecx
add edx, dword [ebp + 0xc]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x88], ebx
xor eax, eax
mov ebx, dword [ebp - 0x78]
mov dword [ebp - 0x80], edx
add ebx, edi
cmp dword [ebp - 0x88], eax
jle 0x471a40
mov edx, dword [ebp - 0x80]
mov dl, byte [edx + eax]
cmp byte [ebx + eax], dl
je 0x471a8b
add dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x48]
cmp dword [ebp + 0x10], ebx
je 0x471a8e
cmp ecx, eax
jg 0x471a98
mov ebx, dword [ebp - 0x44]
cmp dword [ebp - 0x4c], ebx
jle 0x471f1d
lea edx, [ebp - 0x28]
mov eax, ebx
add eax, edi
call fcn.0040d801
mov edx, dword [ebp - 0x28]
add edx, dword [ebp - 0x20]
add dword [ebp - 0x44], eax
cmp dword [ebp - 0x4c], edx
mov dword [ebp - 0x20], edx
jg 0x4719b1
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x24], 0x10b
jmp 0x471b9b
inc eax
jmp 0x471a2d
cmp ecx, eax
jne 0x471efc
jmp 0x471b17
mov edx, dword [ebp - 0x78]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x48]
add edx, edi
mov cl, byte [ebx + ecx]
cmp byte [edx + eax], cl
jbe 0x471a4f
jmp 0x471efc
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x24], 0x10b
mov eax, dword [ebp - 0x3c]
mov edx, esi
call fcn.004625a1
mov eax, dword [esi + 0xc]
test eax, eax
je 0x471b9b
mov ebx, dword [eax + 8]
cmp ebx, dword [eax + 4]
jge 0x471aba
mov edi, dword [eax]
lea edx, [ebp - 0x2c]
lea eax, [edi + ebx]
call fcn.0040d801
mov edx, dword [ebp - 0x2c]
cmp edx, 3
jle 0x471ab0
mov ecx, dword [esi + 0xc]
cmp edx, dword [ecx + 8]
jge 0x471ab0
add eax, ebx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x44], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x4c], eax
lea eax, [edi + edx]
lea edx, [ebp - 0x24]
call fcn.0040d801
add dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x2c]
lea edx, [esi + 0x3c]
mov ecx, dword [ebp - 0x28]
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x3c]
lea ebx, [eax + 0x24]
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, ebx
call fcn.004197c4
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
lea edx, [esi + 0x3c]
add eax, edi
mov dword [esp], eax
mov eax, ebx
call fcn.00419786
mov ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x4c], ecx
jg 0x471b68
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 4]
inc eax
jmp 0x471b7e
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x1c]
add eax, edi
call fcn.0040d801
add dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x20]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x44]
mov edx, esi
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x3c]
call fcn.0046263c
mov eax, dword [ebp - 0x3c]
mov edx, esi
call fcn.0040dbb3
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x6c]
or edi, dword [eax + 0x24]
jne 0x471dab
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0xc]
mov edx, eax
or edx, 1
test ecx, ecx
mov dword [esi + 4], edx
je 0x471dab
cmp dword [ebp - 0x64], 0
je 0x471c07
or eax, 3
cmp dword [ebp - 0x60], 0
mov dword [esi + 4], eax
jne 0x471c11
mov eax, dword [esi + 0x38]
test eax, eax
je 0x471c45
mov edi, dword [eax + 0x18]
mov eax, dword [esi]
mov edx, dword [eax]
mov eax, 0
mov ecx, eax
mov eax, edi
shl edx, 5
mov ebx, edx
cdq
add ecx, edi
mov eax, dword [ebp - 0x3c]
adc ebx, edx
mov edx, ecx
mov ecx, ebx
call fcn.00462360
mov dword [ebp - 0x44], eax
jmp 0x471d46
cmp dword [ebp - 0x60], 0
je 0x471dab
mov edx, dword [esi + 4]
mov eax, dword [esi + 0x1c]
and edx, 2
cmp eax, dword [esi + 8]
jne 0x471c27
mov edi, dword [ecx + 8]
cmp dword [esi + 0x28], edi
jl 0x471c39
mov ecx, dword [esi]
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ecx]
call fcn.00464521
mov dword [esi + 0x38], eax
cmp dword [ebp - 0x64], 0
je 0x471dab
jmp 0x471bd2
mov edx, dword [esi + 8]
cmp dword [esi + 0x1c], edx
mov eax, 4
mov ecx, dword [esi + 0xc]
jne 0x471c58
mov eax, dword [esi + 0x20]
mov edi, dword [ecx]
lea ebx, [eax + 9]
inc eax
cmp byte [edi + eax - 1], 0
jns 0x471c69
cmp ebx, eax
jg 0x471c5d
mov dword [esi + 0x14], eax
mov eax, dword [ecx + 8]
cmp dword [esi + 0x28], eax
jl 0x471da1
mov eax, dword [esi]
mov dword [ebp - 0x60], 0
xor edi, edi
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x4c], 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 0x471d46
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [eax + 8]
jg 0x471d46
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
mov eax, 0
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x78]
shl edx, 5
add eax, dword [ebp - 0x60]
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 0x84]
adc edx, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x74]
add ecx, eax
mov eax, dword [ebp - 0x3c]
adc ebx, edx
mov edx, ecx
mov ecx, ebx
call fcn.00462360
test eax, eax
je 0x471d36
mov ecx, dword [eax]
mov ebx, dword [eax + 8]
movzx edx, byte [ecx]
movzx ecx, byte [ecx + 1]
mov dword [ebp - 0x78], ebx
mov ebx, dword [eax + 4]
shl edx, 8
add dx, cx
je 0x471d29
mov edx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
mov eax, edx
mov dword [esp], eax
call fcn.00409a90
cmp dword [ebp - 0x78], ebx
jl 0x471d46
inc dword [ebp - 0x48]
add dword [ebp - 0x60], 1
adc dword [ebp - 0x5c], 0
jmp 0x471ca9
cmp dword [ebp - 0x44], 0
je 0x471da1
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call fcn.00409a90
mov eax, dword [ebp - 0x44]
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov eax, dword [eax]
movzx edx, byte [eax]
mov ecx, edx
movzx edx, byte [eax + 1]
shl ecx, 8
add edx, ecx
movzx edi, dx
lea edx, [esi + 0x48]
add eax, edi
call fcn.0040798e
movzx eax, al
add eax, edi
mov edi, dword [ebp - 0x44]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 4]
cmp dword [edi + 8], eax
jl 0x471d96
inc eax
jmp 0x471d9e
mov eax, dword [ebp - 0x44]
call fcn.0040da39
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x3c]
mov edx, esi
call fcn.0041a456
mov eax, dword [ebp - 0x3c]
mov edx, esi
call fcn.0040c65a
dec dword [ebp - 0x58]
add esi, 0x58
sub dword [ebp - 0x70], 0xc
jmp 0x471845
cmp dword [ebp - 0x68], 0
mov eax, 0
cmovns eax, dword [ebp - 0x68]
add dword [ebp - 0x54], 0xc
add dword [ebp - 0x50], eax
jmp 0x47181a
imul eax, edi, 0xc
lea esi, [edi - 1]
imul ebx, ebx, 0xc
add ebx, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
lea edi, [eax + 0x50]
sub dword [ebp - 0x48], 0xc
test esi, esi
js 0x471615
mov edx, dword [ebp - 0x48]
add edx, dword [ebx + 0x20]
mov ecx, edi
mov eax, dword [ebp - 0x3c]
dec esi
add edi, 0x58
call fcn.00462b22
jmp 0x471df2
mov eax, dword [ebp - 0x40]
mov edx, ebx
call fcn.0040945d
test eax, eax
mov esi, eax
jne 0x471e2b
dec ebx
test ebx, ebx
jg 0x471e14
jmp 0x471e69
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x24], 0
jne 0x471e57
mov edi, dword [ebp - 0x40]
mov dword [esp + 8], 0
imul eax, esi, 0x58
lea edx, [edi + eax + 0x50]
mov edi, dword [ebp - 0x3c]
mov dword [esp + 4], edx
mov dword [esp], edi
mov edi, dword [ebp - 0x40]
call dword [edi + eax + 0x68]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
mov ecx, esi
mov dword [esp], ebx
call fcn.0040957e
jmp 0x471e24
mov eax, dword [ebp - 0x40]
mov esi, dword [ebp - 0x40]
mov edi, dword [eax + 0x48]
movzx eax, word [edi + 4]
imul eax, eax, 0x58
add eax, dword [ebp - 0x40]
mov ebx, dword [eax + 0x5c]
test ebx, ebx
sete byte [esi + 0x10]
cmp byte [esi + 0x3c], 0
mov edx, dword [eax + 0x9c]
mov eax, dword [eax + 0x98]
mov dword [esi + 0x44], edx
mov dword [esi + 0x40], eax
je 0x471ecb
mov eax, dword [ebp - 0x3c]
mov edx, esi
mov eax, dword [eax + 0x24]
call fcn.0040c684
test eax, eax
je 0x471ecb
mov eax, dword [ebp - 0x3c]
mov dword [esp], 0
xor ecx, ecx
mov dword [esp + 4], 0
mov edx, esi
call fcn.004631da
jmp 0x471f29
test ebx, ebx
je 0x471f29
movzx eax, word [edi + 4]
mov esi, dword [ebp - 0x40]
mov dword [esp], esi
imul eax, eax, 0x58
lea eax, [esi + eax + 0x50]
mov dword [esp + 4], eax
call dword [esi + 0x30]
jmp 0x471f29
mov eax, dword [ebp - 0x40]
call fcn.0040c5ae
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
jmp 0x471f29
cmp dword [ebp - 0x6c], 0
jne 0x471b17
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call fcn.00409a90
mov dword [esi + 0xc], 0
jmp 0x471b9b
cmp dword [ebp - 0x6c], 0
jne 0x471aba
jmp 0x471f06
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret