Function at 0x4af070
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, ecx
mov dword [esp + 0x34], 0
push ebx
push esi
push edi
mov ecx, dword [eax]
mov edi, edx
mov ebx, dword [eax + 8]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0x38]
dec ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ecx
dec ecx
mov dword [eax + 0x38], ecx
mov esi, dword [edi + 0x30]
mov al, byte [edi]
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 0x34]
mov edx, dword [esi]
mov dword [esp + 0x14], edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x48], ebx
mov byte [esp + 0x13], al
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x50], esi
mov dword [esp + 0x28], edx
cmp al, 0x85
je 0x4af1d1
mov eax, dword [esp + 0x38]
mov edi, 1
cmp byte [eax + 0x51], 0
jne 0x4af1cd
lea eax, [edx + edx*4]
shl eax, 2
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x14]
nop dword [eax + eax]
mov eax, dword [eax + 0x1c]
cmp edi, dword [eax]
jg 0x4af1cd
xor ecx, ecx
test edx, edx
jle 0x4af12f
lea edx, [esi + 0x14]
mov esi, dword [esp + 0x28]
movzx eax, word [edx]
cmp eax, edi
je 0x4af127
inc ecx
add edx, 0x14
cmp ecx, esi
jl 0x4af118
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x28]
cmp ecx, edx
jne 0x4af1ba
mov ecx, dword [esp + 0x38]
push 0
push 0x35
call fcn.00452440
mov esi, eax
add esp, 8
test esi, esi
je 0x4af22f
push 0x34
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x5c]
add esp, 0xc
mov ecx, dword [esp + 0x18]
or eax, 0xffffffff
mov byte [esi], 0x98
mov word [esi + 0x22], ax
mov byte [esi + 0x34], 0
or dword [esi + 4], 0x400
push esi
mov dword [esi + 0x18], 1
mov dword [esi + 8], edi
call fcn.004879d0
mov edx, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x50], esi
mov dword [eax + 0x30], esi
test esi, esi
je 0x4af1be
mov ecx, dword [esp + 0x4c]
inc edx
mov dword [esp + 0x28], edx
mov word [ecx + esi + 0x14], di
add ecx, 0x14
mov dword [esp + 0x4c], ecx
jmp 0x4af1be
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
inc edi
cmp byte [ecx + 0x51], 0
je 0x4af100
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
lea eax, [edx*4 + 4]
push 0
push eax
call fcn.00452440
add esp, 8
mov dword [esp + 0x58], eax
test eax, eax
je 0x4af23b
mov edi, dword [esp + 0x28]
mov ecx, 1
mov dword [eax], edi
cmp edi, ecx
jl 0x4af216
lea edx, [esi + 0x14]
mov ebx, eax
movzx eax, word [edx]
lea edx, [edx + 0x14]
dec eax
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, edi
jle 0x4af203
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x14]
mov edx, edi
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.004adc70
add esp, 4
mov dword [esp + 0x5c], eax
jmp 0x4af243
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x18]
mov edx, esi
mov dword [edi + 0x30], esi
push 0
mov ecx, dword [eax]
call fcn.00487180
mov ecx, dword [esp + 0x30]
add esp, 4
cmp byte [esp + 0x13], 0x85
mov dword [ecx + 0x30], eax
jne 0x4af273
mov dword [esp + 0x50], 0
jmp 0x4af36e
mov eax, dword [edi + 0x1c]
mov ecx, dword [esp + 0x18]
mov esi, dword [eax]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x4c], esi
lea edx, [eax + 1]
inc eax
add eax, esi
mov dword [esp + 0x50], edx
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4af2ae
push 0
push edx
push 0
mov edx, 0x45
mov ecx, ebx
call fcn.00471340
add esp, 0xc
jmp 0x4af2e1
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x38]
mov edx, esi
push 1
call fcn.004ac680
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
je 0x4af36e
xor esi, esi
cmp dword [esp + 0x4c], esi
jle 0x4af36e
mov ebx, dword [esp + 0x14]
lea ecx, [eax + 0x14]
xor edi, edi
mov dword [esp + 0x44], ecx
nop
mov edx, dword [ebx + 0x34]
test edx, edx
je 0x4af32e
mov ecx, dword [esp + 0x18]
push esi
call fcn.004adc20
mov ecx, dword [esp + 0x48]
add esp, 4
test eax, eax
jne 0x4af348
jmp 0x4af330
xor eax, eax
mov edx, dword [ebx + 0x1c]
cmp esi, dword [edx]
jge 0x4af348
mov edx, dword [edx + edi + 4]
mov ecx, dword [esp + 0x18]
call fcn.00485b70
mov ecx, dword [esp + 0x44]
mov dword [ecx], eax
add edi, 0x14
mov eax, dword [esp + 0x30]
add ecx, 4
mov dword [esp + 0x44], ecx
mov eax, dword [eax + 0x10]
mov byte [esi + eax], 0
inc esi
cmp esi, dword [esp + 0x4c]
jl 0x4af310
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov edx, edi
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x34], 0
push str.ORDER
mov dword [eax + 0x38], 0
push dword [edi + 0x30]
call fcn.00484f80
mov eax, dword [esp + 0x34]
add esp, 8
cmp dword [eax + 0x34], 0
jne 0x4af3b6
mov ecx, dword [esp + 0x18]
mov edx, eax
push str.ORDER
push dword [eax + 0x30]
call fcn.00484f80
add esp, 8
push dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, edi
call fcn.004adae0
add esp, 4
cmp dword [edi + 8], 0
je 0x4af499
cmp byte [esp + 0x13], 0x85
jne 0x4af499
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 0x2c]
inc esi
lea eax, [esi + 1]
mov dword [ecx + 0x2c], eax
mov edx, dword [edi + 0xc]
mov dword [esp + 0x44], eax
test edx, edx
je 0x4af3f9
inc edx
jmp 0x4af3fc
mov edx, dword [edi + 8]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4af419
push 0
push esi
push edx
mov edx, 0x4d
mov ecx, ebx
call fcn.00471340
add esp, 0xc
jmp 0x4af448
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x4d
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4af468
push 0
push dword [esp + 0x48]
mov edx, 0x4d
mov ecx, ebx
push esi
call fcn.00471340
add esp, 0xc
jmp 0x4af4a3
mov edx, dword [esp + 0x44]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x4d
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4af4a3
mov dword [esp + 0x44], 0
xor esi, esi
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x4af4b3
mov ecx, dword [esp + 0x38]
call fcn.00486c40
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x3c], 0
mov byte [esp + 0x78], 0xd
mov dword [esp + 0x88], 0
mov eax, dword [ecx + 0x2c]
inc eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], 0
lea edx, [eax + 1]
mov byte [esp + 0x60], 0xd
mov dword [esp + 0x1c], edx
add edx, 2
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x64], eax
mov dword [ecx + 0x2c], edx
movzx eax, byte [edi]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x70], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
sub eax, 0x85
je 0x4af54f
sub eax, 1
je 0x4af548
sub eax, 1
je 0x4af541
mov eax, str.UNION
jmp 0x4af554
mov eax, str.INTERSECT
jmp 0x4af554
mov eax, str.EXCEPT
jmp 0x4af554
mov eax, str.UNION_ALL
push eax
push str.MERGE___s_
push 1
push ecx
call fcn.00471870
mov eax, dword [ebx + 0x6c]
add esp, 0x10
mov dword [esp + 0x4c], eax
lea edx, [eax + 1]
cmp dword [ebx + 0x70], eax
jg 0x4af590
push edx
push 0
push dword [esp + 0x28]
mov edx, 0xd
mov ecx, ebx
call fcn.00471340
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x4af5c0
mov edi, dword [esp + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x6c], edx
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x2c]
push str.LEFT
push 1
mov dword [eax + 8], esi
mov esi, dword [esp + 0x20]
push esi
call fcn.00471870
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x84]
add esp, 0xc
mov ecx, esi
push eax
call fcn.004b2600
mov ecx, dword [ebx + 0x6c]
add esp, 4
cmp dword [ebx + 0x70], ecx
jg 0x4af612
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x42
mov ecx, ebx
call fcn.00471340
add esp, 0xc
jmp 0x4af645
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x42
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0xc]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x1c], 0
mov eax, dword [ebx]
mov edx, dword [ebx + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4af668
mov eax, 0x527440
jmp 0x4af67d
mov ecx, dword [esp + 0x4c]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x54], eax
lea esi, [eax + 1]
cmp dword [ebx + 0x70], eax
jg 0x4af6ab
push esi
push 0
push dword [esp + 0x24]
mov edx, 0xd
mov ecx, ebx
call fcn.00471340
add esp, 0xc
mov dword [esp + 0x54], eax
jmp 0x4af6d7
mov edx, dword [esp + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x6c], esi
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov edi, dword [edi + 8]
mov ecx, dword [esp + 0x44]
push str.RIGHT
mov esi, dword [eax + 0xc]
push 1
push dword [esp + 0x20]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0
call fcn.00471870
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x6c]
mov ecx, dword [esp + 0x24]
add esp, 0xc
push eax
call fcn.004b2600
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [eax + 8], edi
mov edi, eax
mov dword [edi + 0xc], esi
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4af744
push 0
push 0
push dword [esp + 0x24]
mov edx, 0x42
mov ecx, ebx
call fcn.00471340
add esp, 0xc
jmp 0x4af777
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x42
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0xc]
mov edx, edi
push dword [esp + 0x24]
mov esi, dword [ebp + 8]
push dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
push dword [esp + 0x58]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x28]
inc eax
push eax
lea eax, [esp + 0x88]
push esi
push eax
call fcn.004aeca0
mov dword [esp + 0x5c], eax
add esp, 0x18
mov al, byte [esp + 0x13]
cmp al, 0x85
je 0x4af7c4
cmp al, 0x84
jne 0x4af7ec
push dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x64]
push dword [esp + 0x34]
mov edx, edi
push dword [esp + 0x58]
push dword [esp + 0x48]
push esi
push eax
call fcn.004aeca0
add esp, 0x18
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4af803
add dword [eax], 0xffffffff
jne 0x4af803
mov ecx, dword [eax + 0xc]
mov edx, eax
call fcn.00452150
mov al, byte [esp + 0x13]
cmp al, 0x86
je 0x4af9ca
cmp al, 0x87
je 0x4af9ca
mov esi, dword [ebx + 0x6c]
mov dword [esp + 0x30], esi
cmp dword [ebx + 0x70], esi
jg 0x4af844
push 0
push dword [esp + 0x44]
mov edx, 0xc
mov ecx, ebx
push dword [esp + 0x44]
call fcn.00471340
mov esi, eax
add esp, 0xc
mov dword [esp + 0x30], esi
jmp 0x4af877
mov edx, dword [esp + 0x3c]
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x6c]
mov dword [esp + 0x4c], edx
cmp dword [ebx + 0x70], edx
jg 0x4af8a2
push 0
push dword [esp + 0x28]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x24]
call fcn.00471340
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x4af8d5
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4af8f3
push 0
push esi
push 0
mov edx, 0xb
mov ecx, ebx
call fcn.00471340
add esp, 0xc
jmp 0x4af922
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x2c]
movzx esi, word [eax + 2]
movzx eax, word [edi + 2]
movsx ecx, ax
movsx edx, si
cmp ax, si
jl 0x4af987
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x4af951
movzx eax, word [edi + 2]
mov word [edi + 2], ax
mov eax, dword [esp + 0x30]
jmp 0x4af9d8
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x4af96a
movzx eax, word [edi + 2]
inc eax
movzx eax, ax
mov word [edi + 2], ax
mov eax, dword [esp + 0x30]
jmp 0x4af9d8
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [edi + 2]
add ax, cx
movzx eax, ax
mov word [edi + 2], ax
mov eax, dword [esp + 0x30]
jmp 0x4af9d8
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x4af99a
mov eax, esi
mov word [edi + 2], ax
mov eax, dword [esp + 0x30]
jmp 0x4af9d8
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x4af9b1
lea eax, [esi + 1]
movzx eax, ax
mov word [edi + 2], ax
mov eax, dword [esp + 0x30]
jmp 0x4af9d8
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, si
movzx eax, ax
mov word [edi + 2], ax
mov eax, dword [esp + 0x30]
jmp 0x4af9d8
mov ecx, dword [esp + 0x24]
mov eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], ecx
cmp byte [esp + 0x13], 0x87
jne 0x4af9fe
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x2c]
movzx eax, word [eax + 2]
cmp word [edi + 2], ax
jle 0x4afb04
mov word [edi + 2], ax
jmp 0x4afb04
mov esi, dword [ebx + 0x6c]
mov dword [esp + 0x48], esi
cmp dword [ebx + 0x70], esi
jg 0x4afa2d
mov eax, dword [esp + 0x1c]
mov edx, 0xc
push 0
push dword [esp + 0x48]
inc eax
mov ecx, ebx
push eax
call fcn.00471340
mov esi, eax
add esp, 0xc
mov dword [esp + 0x48], esi
jmp 0x4afa61
mov edx, dword [esp + 0x1c]
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4afa84
push 0
push dword [esp + 0x28]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x28]
call fcn.00471340
add esp, 0xc
jmp 0x4afab7
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4afad5
push 0
push esi
push 0
mov edx, 0xb
mov ecx, ebx
call fcn.00471340
add esp, 0xc
jmp 0x4afb04
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x6c]
mov dword [esp + 0x50], esi
cmp dword [ebx + 0x70], esi
jg 0x4afb33
mov eax, dword [esp + 0x1c]
mov edx, 0xc
push 0
push dword [esp + 0x48]
inc eax
mov ecx, ebx
push eax
call fcn.00471340
mov esi, eax
add esp, 0xc
mov dword [esp + 0x50], esi
jmp 0x4afb6b
mov edx, dword [esp + 0x1c]
lea eax, [esi + 1]
mov edi, dword [esp + 0x14]
lea ecx, [esi + esi*4]
mov dword [ebx + 0x6c], eax
inc edx
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4afb8e
push 0
push dword [esp + 0x34]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x28]
call fcn.00471340
add esp, 0xc
jmp 0x4afbc1
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4afbe2
push 0
push dword [esp + 0x38]
mov edx, 0xb
mov ecx, ebx
push 0
call fcn.00471340
add esp, 0xc
jmp 0x4afc15
mov edx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov al, byte [esp + 0x13]
cmp al, 0x85
jne 0x4afc26
mov dword [esp + 0x44], esi
jmp 0x4afcee
cmp al, 0x87
jne 0x4afc38
mov dword [esp + 0x44], esi
inc esi
mov dword [esp + 0x50], esi
jmp 0x4afcee
mov edx, dword [ebx + 0x6c]
mov dword [esp + 0x44], edx
cmp dword [ebx + 0x70], edx
jg 0x4afc63
push 0
push dword [esp + 0x34]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x28]
call fcn.00471340
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x4afc96
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4afcb7
push 0
push dword [esp + 0x38]
mov edx, 0xb
mov ecx, ebx
push 0
call fcn.00471340
add esp, 0xc
jmp 0x4afcea
mov edx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov al, byte [esp + 0x13]
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x30], ecx
cmp al, 0x85
je 0x4afcfd
cmp al, 0x84
jne 0x4afd50
cmp dword [ebx + 0x70], ecx
jg 0x4afd1d
push 0
push dword [esp + 0x44]
mov edx, 0xc
mov ecx, ebx
push dword [esp + 0x44]
call fcn.00471340
add esp, 0xc
jmp 0x4afd50
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
mov esi, dword [esp + 0x48]
cmp dword [ebx + 0x70], ecx
jg 0x4afd74
push 0
push esi
push dword [esp + 0x24]
mov edx, 0xe
mov ecx, ebx
call fcn.00471340
add esp, 0xc
jmp 0x4afda3
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4afdc4
push 0
push dword [esp + 0x38]
mov edx, 0xb
mov ecx, ebx
push 0
call fcn.00471340
add esp, 0xc
jmp 0x4afdf7
mov edx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx]
mov edx, dword [ebx + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4afe09
mov eax, 0x527440
jmp 0x4afe1e
mov ecx, dword [esp + 0x54]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4afe45
mov edx, dword [esp + 0x4c]
mov ecx, ebx
push 0
push edx
push dword [esp + 0x28]
mov edx, 0xe
call fcn.00471340
add esp, 0xc
jmp 0x4afe78
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4afe98
push 0
push esi
push dword [esp + 0x24]
mov edx, 0xe
mov ecx, ebx
call fcn.00471340
add esp, 0xc
jmp 0x4afec7
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x34]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4afee5
push edx
mov edx, ebx
call fcn.00471a40
add esp, 4
jmp 0x4afeee
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov edx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], edx
jg 0x4aff0f
push 0
push 0
push 0
mov edx, 0x55
mov ecx, ebx
call fcn.00471340
add esp, 0xc
mov edx, eax
jmp 0x4aff42
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x55
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffff1
push dword [esp + 0x5c]
mov ecx, ebx
call fcn.00472130
mov esi, dword [ebx + 0x6c]
add esp, 8
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x58], eax
cmp dword [ebx + 0x70], esi
jg 0x4aff82
push dword [esp + 0x28]
mov ecx, ebx
push edx
push eax
mov edx, 0x56
call fcn.00471340
add esp, 0xc
mov esi, eax
jmp 0x4affb5
mov edi, dword [esp + 0x58]
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x56
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffff7
push dword [esp + 0x60]
mov edx, esi
mov ecx, ebx
call fcn.00472130
mov ecx, dword [ebx + 0x6c]
add esp, 8
test ecx, ecx
jle 0x4affe1
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
mov edx, 1
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4b0006
mov edx, dword [esp + 0x30]
mov ecx, ebx
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x58]
push edx
mov edx, 0x10
call fcn.00471340
add esp, 0xc
jmp 0x4b0039
mov edx, dword [esp + 0x50]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x24]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4b0057
push edx
mov edx, ebx
call fcn.00471a40
add esp, 4
jmp 0x4b0060
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov edx, dword [edi + 0x34]
test edx, edx
je 0x4b0075
mov ecx, dword [esp + 0x38]
push 1
call fcn.004aab60
add esp, 4
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x18]
mov dword [edi + 0x34], eax
mov dword [eax + 0x38], edi
mov ecx, dword [ebx + 0xd4]
test ecx, ecx
jne 0x4b0091
xor eax, eax
jmp 0x4b00b7
mov edx, dword [ebx + 8]
test ecx, ecx
jns 0x4b009c
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x4b00ab
mov eax, 0x527440
jmp 0x4b00b4
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [ebx + 0xd4], eax
xor eax, eax
cmp dword [ebx + 0x24], eax
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret