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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [ecx]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0x38]
dec eax
mov dword [esp + 4], ecx
push ebx
mov ebx, dword [ecx + 8]
mov dword [esp + 0x38], eax
dec eax
push esi
mov dword [ecx + 0x38], eax
push edi
mov edi, dword [edx + 0x30]
mov dword [esp + 0x48], eax
movzx eax, byte [edx]
mov dword [esp + 0x14], edx
mov ecx, dword [edi]
mov dword [esp + 0x50], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x54], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x3c], ecx
cmp eax, 0x87
je 0x4704f5
mov eax, dword [esp + 0x30]
mov esi, 1
cmp byte [eax + 0x57], 0
jne 0x4704f5
lea eax, [ecx + ecx*4]
shl eax, 2
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0x1c]
cmp esi, dword [eax]
jg 0x4704f5
xor edx, edx
test ecx, ecx
jle 0x47041f
mov ebx, dword [esp + 0x3c]
lea ecx, [edi + 0x18]
movzx eax, word [ecx]
cmp eax, esi
je 0x470417
inc edx
add ecx, 0x14
cmp edx, ebx
jl 0x470408
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x3c]
cmp edx, ecx
jne 0x470553
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x60]
push 0
push eax
mov edx, 0x9b
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
call fcn.00442540
mov edx, eax
add esp, 8
test edx, edx
je 0x470559
or dword [edx + 4], 0x800
mov dword [edx + 8], esi
test edi, edi
jne 0x47047a
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
call fcn.004439a0
mov edi, eax
mov dword [esp + 0x20], edi
jmp 0x4704c3
mov eax, dword [edi]
lea ecx, [eax + 1]
mov dword [esp + 0x58], ecx
cmp dword [edi + 4], ecx
jge 0x4704a1
mov eax, dword [esp + 0x10]
push edx
mov edx, edi
mov ecx, dword [eax]
call fcn.00443a10
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
jmp 0x4704c3
movups xmm0, xmmword [0x5d2fc8]
lea eax, [eax + eax*4]
lea ecx, [edi + eax*4]
mov eax, dword [esp + 0x58]
mov dword [edi], eax
mov eax, dword [0x5d2fd8]
movups xmmword [ecx + 8], xmm0
mov dword [ecx + 0x18], eax
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x14]
mov dword [edx + 0x30], edi
test edi, edi
je 0x4704e2
mov ecx, dword [esp + 0x4c]
inc dword [esp + 0x3c]
mov word [ecx + edi + 0x18], si
add ecx, 0x14
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
inc esi
cmp byte [eax + 0x57], 0
je 0x4703f0
lea eax, [ecx*4 + 4]
mov ecx, dword [esp + 0x30]
push 0
push eax
call fcn.00405d00
add esp, 8
mov dword [esp + 0x60], eax
test eax, eax
je 0x470565
mov esi, dword [esp + 0x3c]
mov ecx, 1
mov dword [eax], esi
cmp esi, ecx
jl 0x47053a
lea edx, [edi + 0x18]
mov edi, eax
movzx eax, word [edx]
lea edx, [edx + 0x14]
dec eax
mov dword [edi + ecx*4], eax
inc ecx
cmp ecx, esi
jle 0x470527
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
mov edx, esi
push ecx
mov ecx, dword [esp + 0x14]
call fcn.0046ed10
add esp, 4
mov dword [esp + 0x58], eax
jmp 0x470571
mov edx, dword [esp + 0x14]
jmp 0x4704e6
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x14]
mov dword [esp + 0x58], 0
cmp dword [esp + 0x2c], 0x87
jne 0x470588
mov dword [esp + 0x38], 0
jmp 0x4706de
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x10]
mov esi, dword [eax]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x24], esi
lea edx, [eax + 1]
inc eax
add eax, esi
mov dword [esp + 0x38], edx
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4705c3
push 0
push edx
push 0
mov edx, 0x47
mov ecx, ebx
call fcn.0042a3d0
add esp, 0xc
jmp 0x4705f6
mov edi, 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], 0x47
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 + 0x30]
lea esi, [esi + esi*4]
inc esi
push 0
lea eax, [esi + 0x18]
push eax
call fcn.00405d00
mov edx, eax
add esp, 8
mov dword [esp + 0x18], edx
test edx, edx
je 0x470656
mov ecx, dword [esp + 0x24]
mov word [edx + 6], cx
push esi
push 0
lea eax, [ecx + 6]
lea eax, [edx + eax*4]
mov dword [edx + 0x10], eax
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x38]
mov word [edx + 8], ax
mov al, byte [ecx + 0x54]
mov byte [edx + 4], al
lea eax, [edx + 0x18]
push eax
mov dword [edx + 0xc], ecx
mov dword [edx], 1
call fcn.00563230
mov eax, dword [esp + 0x24]
add esp, 0xc
jmp 0x470663
mov ecx, dword [esp + 0x30]
call fcn.004060e0
mov dword [esp + 0x18], eax
test eax, eax
je 0x4706de
xor esi, esi
cmp dword [esp + 0x24], esi
jle 0x4706de
mov edi, dword [esp + 0x14]
lea ecx, [eax + 0x14]
xor ebx, ebx
mov dword [esp + 0x34], ecx
nop dword [eax]
mov edx, dword [edi + 0x34]
test edx, edx
je 0x47069e
mov ecx, dword [esp + 0x10]
push esi
call fcn.0046ecc0
mov ecx, dword [esp + 0x38]
add esp, 4
test eax, eax
jne 0x4706b8
jmp 0x4706a0
xor eax, eax
mov edx, dword [edi + 0x1c]
cmp esi, dword [edx]
jge 0x4706b8
mov edx, dword [edx + ebx + 8]
mov ecx, dword [esp + 0x10]
call fcn.00441920
mov ecx, dword [esp + 0x34]
mov dword [ecx], eax
add ebx, 0x14
mov eax, dword [esp + 0x18]
add ecx, 4
mov dword [esp + 0x34], ecx
mov eax, dword [eax + 0x10]
mov byte [esi + eax], 0
inc esi
cmp esi, dword [esp + 0x24]
jl 0x470680
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov edx, 1
cmp esi, 0x87
je 0x4706f7
cmp esi, 0x86
jne 0x47074e
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
test dword [eax + 0x50], 0x200000
jne 0x470752
cmp dword [esi + 0x34], 0
lea ecx, [esi + 0x34]
mov eax, esi
je 0x470752
movzx eax, byte [eax]
cmp eax, dword [esp + 0x2c]
jne 0x470728
mov eax, dword [ecx]
inc edx
cmp dword [eax + 0x34], 0
lea ecx, [eax + 0x34]
jne 0x470713
cmp edx, 3
jle 0x470752
mov ecx, esi
mov dword [esp + 0x4c], ecx
cmp edx, 2
jle 0x470758
lea eax, [edx - 3]
shr eax, 1
inc eax
nop
mov ecx, dword [ecx + 0x34]
sub eax, 1
jne 0x470740
mov dword [esp + 0x4c], ecx
jmp 0x470758
mov esi, dword [esp + 0x14]
mov ecx, esi
mov dword [esp + 0x4c], esi
mov eax, dword [ecx + 0x34]
mov edx, edi
mov dword [ecx + 0x34], 0
mov dword [esp + 0x20], eax
push 0
mov dword [eax + 0x38], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
call fcn.004432a0
mov edi, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esp + 0x10]
mov edx, esi
mov dword [edi + 0x30], eax
push str.ORDER
push dword [esi + 0x30]
call fcn.00440bd0
push str.ORDER
push dword [edi + 0x30]
mov edx, edi
mov edi, dword [esp + 0x20]
mov ecx, edi
call fcn.00440bd0
push dword [esp + 0x50]
mov edx, esi
mov ecx, edi
call fcn.0046eb80
add esp, 0x14
cmp dword [esi + 8], 0
je 0x47088b
cmp dword [esp + 0x2c], 0x87
jne 0x47088b
mov esi, dword [edi + 0x2c]
mov eax, dword [esp + 0x10]
inc esi
lea edi, [esi + 1]
mov dword [eax + 0x2c], edi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], edi
mov edx, dword [eax + 0xc]
test edx, edx
je 0x4707f6
inc edx
jmp 0x4707f9
mov edx, dword [eax + 8]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x470816
push 0
push esi
push edx
mov edx, 0x50
mov ecx, ebx
call fcn.0042a3d0
add esp, 0xc
jmp 0x470841
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x50
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 0x47085e
push 0
push edi
push esi
mov edx, 0x50
mov ecx, ebx
call fcn.0042a3d0
add esp, 0xc
jmp 0x470895
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x470895
mov dword [esp + 0x24], 0
xor esi, esi
mov edi, dword [esp + 0x14]
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x4708a9
mov ecx, dword [esp + 0x30]
call fcn.00442c20
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x10]
mov dword [edi + 0x3c], 0
mov byte [esp + 0x84], 0xd
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x90], 0
lea ecx, [eax + 1]
mov dword [esp + 0x94], 0
lea edx, [eax + 2]
mov dword [esp + 0x1c], ecx
add eax, 3
mov dword [esp + 0x44], edx
mov dword [esp + 0x28], eax
inc eax
mov dword [esp + 0x34], eax
mov dword [ebx + 0x2c], eax
movzx eax, byte [edi]
mov dword [esp + 0x88], ecx
mov byte [esp + 0x68], 0xd
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
sub eax, 0x87
je 0x470965
sub eax, 1
je 0x47095e
sub eax, 1
je 0x470957
mov eax, str.UNION
jmp 0x47096a
mov eax, str.INTERSECT
jmp 0x47096a
mov eax, str.EXCEPT
jmp 0x47096a
mov eax, str.UNION_ALL
push eax
push str.MERGE___s_
push 1
push ebx
call fcn.0042a970
mov ebx, dword [esp + 0x64]
add esp, 0x10
mov edi, dword [ebx + 0x6c]
lea edx, [edi + 1]
cmp dword [ebx + 0x70], edi
jg 0x4709a4
push edx
push 0
push dword [esp + 0x24]
mov edx, 0xb
mov ecx, ebx
call fcn.0042a3d0
add esp, 0xc
mov edi, eax
jmp 0x4709d4
mov eax, dword [ebx + 0x68]
lea ecx, [edi + edi*4]
mov dword [ebx + 0x6c], edx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x54]
mov dword [eax + ecx*4], 0xb
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 + 0x20]
push str.LEFT
push 1
mov dword [eax + 8], esi
mov esi, dword [esp + 0x18]
push esi
call fcn.0042a970
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x90]
add esp, 0xc
mov ecx, esi
push eax
call fcn.00474da0
mov ecx, dword [ebx + 0x6c]
add esp, 4
cmp dword [ebx + 0x70], ecx
jg 0x470a26
push 0
push 0
push dword [esp + 0x24]
mov edx, 0x44
mov ecx, ebx
call fcn.0042a3d0
add esp, 0xc
jmp 0x470a59
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], 0x44
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 + 0x57], 0
je 0x470a7c
mov eax, 0x60992c
jmp 0x470a85
mov eax, dword [ebx + 0x68]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x5c], eax
lea esi, [eax + 1]
cmp dword [ebx + 0x70], eax
jg 0x470ab3
push esi
push 0
push dword [esp + 0x4c]
mov edx, 0xb
mov ecx, ebx
call fcn.0042a3d0
add esp, 0xc
mov dword [esp + 0x5c], eax
jmp 0x470adf
mov edx, dword [esp + 0x44]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x6c], esi
mov dword [eax + ecx*4], 0xb
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 ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
push str.RIGHT
push 1
mov edi, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
push dword [esp + 0x18]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0
call fcn.0042a970
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x74]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push eax
call fcn.00474da0
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x470b4a
push 0
push 0
push dword [esp + 0x4c]
mov edx, 0x44
mov ecx, ebx
call fcn.0042a3d0
add esp, 0xc
jmp 0x470b7d
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], 0x44
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]
push dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
push dword [esp + 0x1c]
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
push edi
push dword [esp + 0x34]
mov dword [eax + 0x1c], 0
lea eax, [esp + 0x94]
push esi
push eax
call fcn.0046ff20
mov dword [esp + 0x50], eax
add esp, 0x18
mov eax, dword [esp + 0x2c]
cmp eax, 0x87
je 0x470bd1
cmp eax, 0x86
jne 0x470bfc
push dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x6c]
push dword [esp + 0x1c]
push edi
push dword [esp + 0x40]
push esi
mov esi, dword [esp + 0x28]
mov edx, esi
push eax
call fcn.0046ff20
add esp, 0x18
mov dword [esp + 0x50], eax
jmp 0x470c00
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x470c17
add dword [eax], 0xffffffff
jne 0x470c17
mov ecx, dword [eax + 0xc]
mov edx, eax
call fcn.004059f0
mov eax, dword [esp + 0x2c]
cmp eax, 0x88
je 0x470dfd
cmp eax, 0x89
je 0x470dfd
mov edi, dword [ebx + 0x6c]
mov dword [esp + 0x18], edi
cmp dword [ebx + 0x70], edi
jg 0x470c5e
push 0
push dword [esp + 0x54]
mov edx, 0xa
mov ecx, ebx
push dword [esp + 0x3c]
call fcn.0042a3d0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
jmp 0x470c91
mov edx, dword [esp + 0x34]
lea eax, [edi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4], 0xa
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 + 0x24], edx
cmp dword [ebx + 0x70], edx
jg 0x470cbc
push 0
push dword [esp + 0x44]
mov edx, 0xc
mov ecx, ebx
push dword [esp + 0x4c]
call fcn.0042a3d0
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x470cef
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov edx, dword [esp + 0x44]
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]
cmp dword [ebx + 0x70], ecx
jg 0x470d0d
push 0
push edi
push 0
mov edx, 9
mov ecx, ebx
call fcn.0042a3d0
add esp, 0xc
jmp 0x470d3c
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x20]
movzx edx, word [esi + 2]
movzx ecx, word [eax + 2]
cmp dx, cx
jl 0x470da8
movsx esi, cx
movsx ecx, dx
lea eax, [esi + 0x31]
cmp ecx, eax
jle 0x470d6d
mov esi, dword [esp + 0x14]
mov eax, edx
mov word [esi + 2], ax
mov eax, dword [esp + 0x2c]
jmp 0x470e0b
lea eax, [esi + 0x1f]
cmp ecx, eax
jle 0x470d8b
mov esi, dword [esp + 0x14]
lea eax, [edx + 1]
movzx eax, ax
mov word [esi + 2], ax
mov eax, dword [esp + 0x2c]
jmp 0x470e0b
sub ecx, esi
mov esi, dword [esp + 0x14]
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, dx
movzx eax, ax
mov word [esi + 2], ax
mov eax, dword [esp + 0x2c]
jmp 0x470e0b
movsx esi, dx
movsx edx, cx
lea eax, [esi + 0x31]
cmp edx, eax
jle 0x470dc5
mov esi, dword [esp + 0x14]
mov eax, ecx
mov word [esi + 2], ax
mov eax, dword [esp + 0x2c]
jmp 0x470e0b
lea eax, [esi + 0x1f]
cmp edx, eax
jle 0x470de0
mov esi, dword [esp + 0x14]
lea eax, [ecx + 1]
movzx eax, ax
mov word [esi + 2], ax
mov eax, dword [esp + 0x2c]
jmp 0x470e0b
sub edx, esi
mov esi, dword [esp + 0x14]
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, cx
movzx eax, ax
mov word [esi + 2], ax
mov eax, dword [esp + 0x2c]
jmp 0x470e0b
mov ecx, dword [esp + 0x40]
mov edi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], ecx
cmp eax, 0x89
jne 0x470e2d
mov eax, dword [esp + 0x20]
movzx eax, word [eax + 2]
cmp word [esi + 2], ax
jle 0x470f28
mov word [esi + 2], ax
jmp 0x470f28
mov edi, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], edi
jg 0x470e52
push 0
push dword [esp + 0x3c]
mov edx, 0xa
mov ecx, ebx
push dword [esp + 0x30]
call fcn.0042a3d0
add esp, 0xc
mov edi, eax
jmp 0x470e85
mov edx, dword [esp + 0x28]
lea eax, [edi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0xa
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 0x470ea8
push 0
push dword [esp + 0x44]
mov edx, 0xc
mov ecx, ebx
push dword [esp + 0x24]
call fcn.0042a3d0
add esp, 0xc
jmp 0x470edb
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 + 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]
cmp dword [ebx + 0x70], ecx
jg 0x470ef9
push 0
push edi
push 0
mov edx, 9
mov ecx, ebx
call fcn.0042a3d0
add esp, 0xc
jmp 0x470f28
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x6c]
mov dword [esp + 0x14], esi
cmp dword [ebx + 0x70], esi
jg 0x470f55
push 0
push dword [esp + 0x3c]
mov edx, 0xa
mov ecx, ebx
push dword [esp + 0x30]
call fcn.0042a3d0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x14], esi
jmp 0x470f88
mov edx, dword [esp + 0x28]
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 + 0x38]
mov dword [eax + ecx*4], 0xa
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 0x470fab
push 0
push dword [esp + 0x1c]
mov edx, 0xc
mov ecx, ebx
push dword [esp + 0x24]
call fcn.0042a3d0
add esp, 0xc
jmp 0x470fde
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 + 4], edx
mov edx, dword [esp + 0x18]
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 0x470fff
push 0
push dword [esp + 0x4c]
mov edx, 9
mov ecx, ebx
push 0
call fcn.0042a3d0
add esp, 0xc
jmp 0x471032
mov edx, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 9
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 [esp + 0x2c]
cmp eax, 0x87
jne 0x471046
mov dword [esp + 0x28], esi
jmp 0x471111
cmp eax, 0x89
jne 0x47105b
mov dword [esp + 0x28], esi
inc esi
mov dword [esp + 0x14], esi
jmp 0x471111
mov edx, dword [ebx + 0x6c]
mov dword [esp + 0x28], edx
cmp dword [ebx + 0x70], edx
jg 0x471086
push 0
push dword [esp + 0x1c]
mov edx, 0xc
mov ecx, ebx
push dword [esp + 0x24]
call fcn.0042a3d0
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x4710b9
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 + 0x18]
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 0x4710da
push 0
push dword [esp + 0x4c]
mov edx, 9
mov ecx, ebx
push 0
call fcn.0042a3d0
add esp, 0xc
jmp 0x47110d
mov edx, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 9
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 [esp + 0x2c]
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x38], ecx
cmp eax, 0x87
je 0x471126
cmp eax, 0x86
jne 0x471179
cmp dword [ebx + 0x70], ecx
jg 0x471146
push 0
push dword [esp + 0x54]
mov edx, 0xa
mov ecx, ebx
push dword [esp + 0x3c]
call fcn.0042a3d0
add esp, 0xc
jmp 0x471179
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 + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4], 0xa
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 + 0x44]
cmp dword [ebx + 0x70], ecx
jg 0x47119a
push 0
push edi
push esi
mov edx, 0xc
mov ecx, ebx
call fcn.0042a3d0
add esp, 0xc
jmp 0x4711c5
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edi
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 0x4711e6
push 0
push dword [esp + 0x4c]
mov edx, 9
mov ecx, ebx
push 0
call fcn.0042a3d0
add esp, 0xc
jmp 0x471219
mov edx, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 9
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 + 0x57], 0
je 0x47122b
mov eax, 0x60992c
jmp 0x471238
mov eax, dword [esp + 0x5c]
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 0x47125f
mov edx, dword [esp + 0x24]
mov ecx, ebx
push 0
push edx
push dword [esp + 0x24]
mov edx, 0xc
call fcn.0042a3d0
add esp, 0xc
jmp 0x471292
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 + 4], edx
mov edx, dword [esp + 0x24]
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 0x4712af
push 0
push edi
push esi
mov edx, 0xc
mov ecx, ebx
call fcn.0042a3d0
add esp, 0xc
jmp 0x4712da
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x48]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4712f8
push edx
mov edx, ebx
call fcn.0042ac00
add esp, 4
jmp 0x471301
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 0x471322
push 0
push 0
push 0
mov edx, 0x59
mov ecx, ebx
call fcn.0042a3d0
add esp, 0xc
mov edx, eax
jmp 0x471355
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x59
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 0xfffffffffffffff2
push dword [esp + 0x64]
mov ecx, ebx
call fcn.0042b440
mov edx, dword [ebx + 0x6c]
add esp, 8
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x90]
cmp dword [ebx + 0x70], edx
jg 0x471391
push dword [esp + 0x3c]
mov edx, 0x5a
mov ecx, ebx
push esi
push edi
call fcn.0042a3d0
add esp, 0xc
mov edx, eax
jmp 0x4713c0
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov ebx, dword [esp + 0x54]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffff8
push dword [esp + 0x5c]
mov ecx, ebx
call fcn.0042b440
mov eax, dword [ebx + 0x6c]
add esp, 8
test eax, eax
jle 0x4713e7
lea ecx, [eax + eax*4]
mov edx, 1
mov eax, dword [ebx + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x47140f
mov edx, dword [esp + 0x38]
mov ecx, ebx
push edx
mov edx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x1c]
push edx
mov edx, 0xe
call fcn.0042a3d0
add esp, 0xc
jmp 0x471442
mov edx, 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 + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x40]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x471460
push edx
mov edx, ebx
call fcn.0042ac00
add esp, 4
jmp 0x471469
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov edi, dword [esp + 0x4c]
mov esi, dword [edi + 0x34]
test esi, esi
je 0x4714fa
mov ebx, dword [esp + 0x10]
push 0
push 0xc
mov ecx, dword [ebx]
test ecx, ecx
je 0x47148d
call fcn.00405d00
jmp 0x471492
call fcn.004056a0
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4714e4
mov eax, dword [ebx + 0x84]
mov dword [ecx], eax
mov dword [ebx + 0x84], ecx
mov dword [ecx + 4], esi
mov dword [ecx + 8], fcn.0046b930
mov esi, ebx
mov ebx, dword [esp + 0x20]
mov dword [edi + 0x34], ebx
mov edx, dword [ebx + 0x30]
mov dword [ebx + 0x38], edi
test edx, edx
je 0x4714cf
mov ecx, dword [esp + 0x30]
call fcn.00443d90
mov dword [ebx + 0x30], 0
mov ecx, dword [esi + 0xe4]
test ecx, ecx
jne 0x471500
xor eax, eax
jmp 0x47151e
test esi, esi
je 0x4714b3
mov edx, esi
mov esi, ebx
push 1
mov ecx, dword [esi]
call fcn.0046b680
add esp, 4
jmp 0x4714b5
mov esi, dword [esp + 0x10]
jmp 0x4714b5
mov edx, dword [esi + 8]
mov eax, dword [edx]
cmp byte [eax + 0x57], 0
je 0x471512
mov eax, 0x60992c
jmp 0x47151b
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [esi + 0xe4], eax
xor eax, eax
cmp dword [esi + 0x24], eax
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret