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

Disassembly:
sub esp, 0x84
mov ecx, dword [esp + 0x88]
push ebx
push ebp
mov ebp, dword [esp + 0x94]
mov eax, dword [ecx]
mov ebx, dword [ecx + 8]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0x38]
dec eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0xc], eax
dec eax
push esi
mov dword [ecx + 0x38], eax
mov al, byte [ebp]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x48], ebx
mov byte [esp + 0xf], al
push edi
mov edi, dword [ebp + 0x30]
mov dword [esp + 0x1c], edi
mov edx, dword [edi]
mov dword [esp + 0x38], edx
cmp al, 0x87
je 0x481268
mov eax, dword [esp + 0x28]
mov ebp, 1
cmp byte [eax + 0x57], 0
jne 0x481261
mov esi, dword [esp + 0x9c]
lea eax, [edx + edx*4]
shl eax, 2
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x1c]
cmp ebp, dword [eax]
jg 0x481261
xor ecx, ecx
test edx, edx
jle 0x4811a7
mov ebx, dword [esp + 0x38]
lea edx, [edi + 0x18]
nop dword [eax]
movzx eax, word [edx]
cmp eax, ebp
je 0x48119f
inc ecx
add edx, 0x14
cmp ecx, ebx
jl 0x481190
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x38]
cmp ecx, edx
jne 0x481252
push 0
push 0x35
push dword [esp + 0x30]
call fcn.0049db10
mov esi, eax
add esp, 0xc
test esi, esi
je 0x481318
push 0x34
push 0
push esi
call fcn.004fd610
or eax, 0xffffffff
mov byte [esi], 0x9b
mov word [esi + 0x22], ax
add esp, 0xc
mov byte [esi + 0x34], 0
or dword [esi + 4], 0x800
mov dword [esi + 0x18], 1
mov dword [esi + 8], ebp
test edi, edi
jne 0x481213
mov eax, dword [esp + 0x98]
push esi
push dword [eax]
call fcn.004a4cb0
mov edi, eax
add esp, 8
mov dword [esp + 0x1c], edi
jmp 0x48123a
mov eax, dword [edi]
lea edx, [eax + 1]
cmp dword [edi + 4], edx
jge 0x4812cb
mov eax, dword [esp + 0x98]
push esi
push edi
push dword [eax]
call fcn.004a4bf0
add esp, 0xc
mov dword [esp + 0x1c], eax
mov edi, eax
mov eax, dword [esp + 0x9c]
mov dword [eax + 0x30], edi
test edi, edi
jne 0x4812f3
mov edx, dword [esp + 0x38]
mov esi, eax
mov eax, dword [esp + 0x28]
inc ebp
cmp byte [eax + 0x57], 0
je 0x481171
mov ebp, dword [esp + 0x9c]
lea eax, [edx*4 + 4]
push 0
push eax
push dword [esp + 0x30]
call fcn.0049db10
add esp, 0xc
mov dword [esp + 0x48], eax
test eax, eax
je 0x481328
mov esi, dword [esp + 0x38]
mov ecx, 1
mov dword [eax], esi
cmp esi, ecx
jl 0x4812b3
lea edx, [edi + 0x18]
mov edi, eax
nop
movzx eax, word [edx]
lea edx, [edx + 0x14]
dec eax
mov dword [edi + ecx*4], eax
inc ecx
cmp ecx, esi
jle 0x4812a0
mov edi, dword [esp + 0x1c]
push 1
push ebp
push dword [esp + 0xa0]
call fcn.004824b0
add esp, 0xc
mov dword [esp + 0x50], eax
jmp 0x481330
movups xmm0, xmmword [0x52ebd4]
lea eax, [eax + eax*4]
mov dword [edi], edx
lea ecx, [edi + eax*4]
mov eax, dword [0x52ebe4]
movups xmmword [ecx + 8], xmm0
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x9c]
mov dword [ecx + 8], esi
mov dword [eax + 0x30], edi
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x9c]
inc edx
mov dword [esp + 0x38], edx
mov word [ecx + edi + 0x18], bp
add ecx, 0x14
mov dword [esp + 0x34], ecx
jmp 0x481252
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x84
ret
mov dword [esp + 0x50], 0
cmp byte [esp + 0x13], 0x87
jne 0x481344
mov dword [esp + 0x34], 0
jmp 0x4814c0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x98]
mov esi, dword [eax]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x2c], esi
lea edx, [eax + 1]
inc eax
add eax, esi
mov dword [esp + 0x34], edx
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x48137e
push 0
push edx
push 0
push 0x47
push ebx
call fcn.00475980
add esp, 0x14
jmp 0x4813b1
mov edi, 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], 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
lea eax, [esi + 5]
lea eax, [eax + eax*4]
push 0
push eax
push dword [esp + 0x30]
call fcn.0049db10
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x481416
mov edx, dword [esp + 0x28]
lea eax, [ecx + 0x18]
lea eax, [eax + esi*4]
mov dword [ecx + 0x10], eax
movzx eax, si
mov word [ecx + 6], ax
inc eax
mov word [ecx + 8], ax
mov al, byte [edx + 0x54]
mov byte [ecx + 4], al
lea eax, [esi*4 + 1]
add eax, esi
mov dword [ecx + 0xc], edx
push eax
lea eax, [ecx + 0x18]
mov dword [ecx], 1
push 0
push eax
call fcn.004fd610
mov eax, dword [esp + 0x2c]
add esp, 0xc
jmp 0x48142e
push dword [esp + 0x28]
call fcn.004b2250
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x4814b9
xor esi, esi
cmp dword [esp + 0x2c], esi
jle 0x4814b9
mov ebx, dword [esp + 0x9c]
xor ebp, ebp
mov edi, dword [esp + 0x2c]
add eax, 0x14
mov dword [esp + 0x3c], eax
nop
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x48146e
push esi
push eax
push dword [esp + 0xa0]
call fcn.004810a0
add esp, 0xc
test eax, eax
jne 0x48148a
jmp 0x481470
xor eax, eax
mov ecx, dword [ebx + 0x1c]
cmp esi, dword [ecx]
jge 0x48148a
push dword [ecx + ebp + 8]
push dword [esp + 0x9c]
call fcn.004a36a0
add esp, 8
mov ecx, dword [esp + 0x3c]
add ebp, 0x14
mov dword [ecx], eax
add ecx, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x3c], ecx
mov eax, dword [eax + 0x10]
mov byte [esi + eax], 0
inc esi
cmp esi, edi
jl 0x481450
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x9c]
cmp byte [esp + 0x13], 0x86
jne 0x481510
mov eax, dword [esp + 0x28]
test dword [eax + 0x50], 0x200000
jne 0x481510
cmp dword [ebp + 0x34], 0
lea eax, [ebp + 0x34]
mov ecx, ebp
je 0x481510
mov bl, byte [esp + 0x13]
mov edx, 1
cmp byte [ecx], bl
jne 0x4814f1
mov ecx, dword [eax]
inc edx
cmp dword [ecx + 0x34], 0
lea eax, [ecx + 0x34]
jne 0x4814e1
mov ebx, dword [esp + 0x4c]
cmp edx, 3
jle 0x481510
lea eax, [edx - 3]
mov ecx, ebp
shr eax, 1
inc eax
mov ecx, dword [ecx + 0x34]
sub eax, 1
jne 0x481502
mov dword [esp + 0x58], ecx
jmp 0x481516
mov ecx, ebp
mov dword [esp + 0x58], ebp
mov esi, dword [ecx + 0x34]
push 0
push edi
mov edi, dword [esp + 0xa0]
mov dword [ecx + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esp + 0x44], esi
push dword [edi]
call fcn.004a4f90
push str.ORDER
mov dword [esi + 0x30], eax
push dword [ebp + 0x30]
push ebp
push edi
call fcn.004bb9d0
push str.ORDER
push dword [esi + 0x30]
push esi
push edi
call fcn.004bb9d0
push dword [esp + 0x40]
push ebp
push edi
call fcn.004671c0
add esp, 0x38
cmp dword [ebp + 8], 0
je 0x481641
cmp byte [esp + 0x13], 0x87
jne 0x481641
mov esi, dword [edi + 0x2c]
mov eax, dword [esp + 0x98]
inc esi
lea edi, [esi + 1]
mov dword [eax + 0x2c], edi
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x2c], edi
test edx, edx
je 0x48159f
inc edx
jmp 0x4815a2
mov edx, dword [ebp + 8]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4815bb
push 0
push esi
push edx
push 0x50
push ebx
call fcn.00475980
add esp, 0x14
jmp 0x4815ed
mov ebp, dword [esp + 0x9c]
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 0x48160d
push 0
push edi
push esi
push 0x50
push ebx
call fcn.00475980
mov edi, dword [esp + 0xac]
add esp, 0x14
jmp 0x48164b
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x98]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x48164b
mov dword [esp + 0x2c], 0
xor esi, esi
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x48165f
push eax
push dword [esp + 0x2c]
call fcn.004a3d70
add esp, 8
mov dword [ebp + 0x3c], 0
mov eax, dword [edi + 0x2c]
mov byte [esp + 0x78], 0xd
mov dword [esp + 0x80], 0
mov dword [esp + 0x8c], 0
lea ecx, [eax + 1]
mov dword [esp + 0x84], 0
lea edx, [eax + 2]
mov dword [esp + 0x18], ecx
add eax, 3
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], eax
inc eax
mov dword [esp + 0x40], eax
mov dword [edi + 0x2c], eax
movzx eax, byte [ebp]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x88], 0
mov byte [esp + 0x5c], 0xd
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
sub eax, 0x87
je 0x48170e
sub eax, 1
je 0x481707
sub eax, 1
je 0x481700
mov eax, str.UNION
jmp 0x481713
mov eax, str.INTERSECT
jmp 0x481713
mov eax, str.EXCEPT
jmp 0x481713
mov eax, str.UNION_ALL
push eax
push str.MERGE___s_
push 1
push edi
call fcn.004d0870
mov edi, dword [ebx + 0x6c]
add esp, 0x10
lea edx, [edi + 1]
cmp dword [ebx + 0x70], edi
jg 0x481745
push edx
push 0
push dword [esp + 0x20]
push 0xb
push ebx
call fcn.00475980
add esp, 0x14
mov edi, eax
jmp 0x481778
mov eax, dword [ebx + 0x68]
lea ecx, [edi + edi*4]
mov ebp, dword [esp + 0x18]
mov dword [ebx + 0x6c], edx
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x9c]
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 + 0x3c]
push str.LEFT
push 1
mov dword [eax + 8], esi
mov esi, dword [esp + 0xa0]
push esi
call fcn.004d0870
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x4c]
push esi
call fcn.004bd1c0
mov ecx, dword [ebx + 0x6c]
add esp, 0x18
cmp dword [ebx + 0x70], ecx
jg 0x4817c5
push 0
push 0
push dword [esp + 0x20]
push 0x44
push ebx
call fcn.00475980
add esp, 0x14
jmp 0x4817f8
mov edx, dword [esp + 0x18]
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 0x48181b
mov eax, 0x5751d0
jmp 0x481824
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 + 0x54], eax
lea edx, [eax + 1]
cmp dword [ebx + 0x70], eax
jg 0x48184e
push edx
push 0
push dword [esp + 0x38]
push 0xb
push ebx
call fcn.00475980
add esp, 0x14
mov dword [esp + 0x54], eax
jmp 0x48187a
mov esi, dword [esp + 0x30]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x6c], edx
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 0x2c]
push str.RIGHT
push 1
push dword [esp + 0xa0]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], 0
call fcn.004d0870
lea eax, [esp + 0x68]
push eax
push ebp
push dword [esp + 0xac]
call fcn.004bd1c0
mov dword [ebp + 8], edi
add esp, 0x18
mov dword [ebp + 0xc], esi
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4818d9
push 0
push 0
push dword [esp + 0x38]
push 0x44
push ebx
call fcn.00475980
add esp, 0x14
jmp 0x48190c
mov edx, dword [esp + 0x30]
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
push dword [esp + 0x14]
mov eax, dword [ebx + 0xc]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0xa4]
push edi
push dword [esp + 0x3c]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
push dword [esp + 0x30]
push esi
mov dword [eax + 0x1c], 0
lea eax, [esp + 0x8c]
push eax
push ebp
push dword [esp + 0xb4]
call fcn.004739e0
mov dword [esp + 0x4c], eax
add esp, 0x20
mov al, byte [esp + 0x13]
cmp al, 0x87
je 0x48195e
cmp al, 0x86
jne 0x481985
push dword [esp + 0x14]
lea eax, [esp + 0x60]
push edi
push dword [esp + 0x3c]
push dword [esp + 0x4c]
push esi
push eax
push ebp
push dword [esp + 0xb4]
call fcn.004739e0
add esp, 0x20
mov dword [esp + 0x44], eax
test edi, edi
je 0x481a3e
add dword [edi], 0xffffffff
jne 0x481a3e
mov ecx, dword [edi + 0xc]
cmp edi, dword [ecx + 0x164]
jae 0x4819d4
cmp edi, dword [ecx + 0x15c]
jb 0x4819bc
mov eax, dword [ecx + 0x158]
mov dword [edi], eax
mov dword [ecx + 0x158], edi
jmp 0x481a3e
cmp edi, dword [ecx + 0x160]
jb 0x4819d4
mov eax, dword [ecx + 0x150]
mov dword [edi], eax
mov dword [ecx + 0x150], edi
jmp 0x481a3e
cmp dword [ecx + 0x210], 0
je 0x4819e9
push edi
push ecx
call fcn.0047fe10
add esp, 8
jmp 0x481a3e
cmp dword [0x56f0f8], 0
je 0x481a34
mov eax, dword [0x574ff8]
test eax, eax
je 0x481a05
push eax
call dword [0x56f148]
add esp, 4
push edi
call dword [0x56f124]
sub dword [0x574f98], eax
dec dword [0x574fbc]
push edi
call dword [0x56f11c]
mov eax, dword [0x574ff8]
add esp, 8
test eax, eax
je 0x481a3e
push eax
call dword [0x56f150]
jmp 0x481a3b
push edi
call dword [0x56f11c]
add esp, 4
mov al, byte [esp + 0x13]
cmp al, 0x88
je 0x481bdc
cmp al, 0x89
je 0x481bdc
mov esi, dword [ebx + 0x6c]
mov dword [esp + 0x34], esi
cmp dword [ebx + 0x70], esi
jg 0x481a7b
push 0
push dword [esp + 0x48]
push dword [esp + 0x48]
push 0xa
push ebx
call fcn.00475980
mov esi, eax
add esp, 0x14
mov dword [esp + 0x34], esi
jmp 0x481aae
mov edx, dword [esp + 0x40]
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 + 0x44]
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 + 0x20], edx
cmp dword [ebx + 0x70], edx
jg 0x481ad5
push 0
push dword [esp + 0x18]
push dword [esp + 0x38]
push 0xc
push ebx
call fcn.00475980
add esp, 0x14
mov dword [esp + 0x20], eax
jmp 0x481b08
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
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 0x481b22
push 0
push esi
push 0
push 9
push ebx
call fcn.00475980
add esp, 0x14
jmp 0x481b51
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], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x3c]
movzx edi, word [ebp + 2]
movsx ecx, di
movzx esi, word [eax + 2]
movsx edx, si
cmp di, si
jl 0x481b8d
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x481b73
mov eax, edi
jmp 0x481bb3
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x481b7f
lea eax, [edi + 1]
jmp 0x481bb0
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, di
jmp 0x481bb0
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x481b98
mov eax, esi
jmp 0x481bb3
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x481ba4
lea eax, [esi + 1]
jmp 0x481bb0
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, si
movzx eax, ax
mov esi, dword [esp + 0x34]
mov word [ebp + 2], ax
mov edi, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], edi
jg 0x481c07
push 0
push dword [esp + 0x30]
push dword [esp + 0x2c]
push 0xa
push ebx
call fcn.00475980
add esp, 0x14
mov edi, eax
jmp 0x481c3a
mov ecx, dword [esp + 0x14]
mov esi, ecx
mov dword [esp + 0x20], ecx
cmp al, 0x89
jne 0x481bbb
mov eax, dword [esp + 0x3c]
mov edi, esi
movzx eax, word [eax + 2]
cmp word [ebp + 2], ax
jle 0x481bfe
mov word [ebp + 2], ax
mov dword [esp + 0x20], ecx
jmp 0x481cd5
mov edx, dword [esp + 0x24]
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 + 0x2c]
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 0x481c59
push 0
push dword [esp + 0x18]
push dword [esp + 0x20]
push 0xc
push ebx
call fcn.00475980
add esp, 0x14
jmp 0x481c8c
mov edx, dword [esp + 0x18]
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 + 0x14]
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 0x481ca6
push 0
push edi
push 0
push 9
push ebx
call fcn.00475980
add esp, 0x14
jmp 0x481cd5
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 ebp, dword [ebx + 0x6c]
mov dword [esp + 0x1c], ebp
cmp dword [ebx + 0x70], ebp
jg 0x481cfe
push 0
push dword [esp + 0x30]
push dword [esp + 0x2c]
push 0xa
push ebx
call fcn.00475980
mov ebp, eax
add esp, 0x14
mov dword [esp + 0x1c], ebp
jmp 0x481d37
mov edx, dword [esp + 0x24]
lea eax, [ebp + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ebp*4]
mov eax, dword [ebx + 0x68]
add ecx, ebp
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
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 0x481d53
push 0
push esi
push dword [esp + 0x20]
push 0xc
push ebx
call fcn.00475980
add esp, 0x14
jmp 0x481d82
mov edx, dword [esp + 0x18]
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], 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 0x481da1
mov eax, dword [esp + 0x14]
push 0
dec eax
push eax
push 0
push 9
push ebx
call fcn.00475980
add esp, 0x14
jmp 0x481dd9
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov ebp, dword [esp + 0x1c]
lea ecx, [ecx + ecx*4]
mov dword [ebx + 0x6c], eax
dec edx
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 al, byte [esp + 0x13]
cmp al, 0x87
jne 0x481ded
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x24], ecx
jmp 0x481eb5
cmp al, 0x89
jne 0x481e01
mov eax, dword [ebx + 0x6c]
inc dword [esp + 0x1c]
mov dword [esp + 0x24], eax
jmp 0x481f04
mov ebp, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ebp
jg 0x481e1f
push 0
push esi
push dword [esp + 0x20]
push 0xc
push ebx
call fcn.00475980
add esp, 0x14
mov ebp, eax
jmp 0x481e54
mov edx, dword [esp + 0x18]
lea eax, [ebp + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ebp*4]
mov eax, dword [ebx + 0x68]
add ecx, ebp
mov dword [eax + ecx*4], 0xc
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 0x481e73
mov eax, dword [esp + 0x14]
push 0
dec eax
push eax
push 0
push 9
push ebx
call fcn.00475980
add esp, 0x14
jmp 0x481ea7
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
dec edx
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
cmp byte [esp + 0x13], 0x86
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x24], ecx
jne 0x481f04
cmp dword [ebx + 0x70], ecx
jg 0x481ed1
push 0
push dword [esp + 0x48]
push dword [esp + 0x48]
push 0xa
push ebx
call fcn.00475980
add esp, 0x14
jmp 0x481f04
mov edx, dword [esp + 0x40]
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], 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 + 0x30]
cmp dword [ebx + 0x70], ecx
jg 0x481f21
push 0
push edi
push esi
push 0xc
push ebx
call fcn.00475980
add esp, 0x14
jmp 0x481f4c
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 0x481f6b
mov eax, dword [esp + 0x14]
push 0
dec eax
push eax
push 0
push 9
push ebx
call fcn.00475980
add esp, 0x14
jmp 0x481fa3
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x30]
lea ecx, [ecx + ecx*4]
mov dword [ebx + 0x6c], eax
dec edx
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 0x481fb5
mov eax, 0x5751d0
jmp 0x481fc2
mov eax, dword [esp + 0x54]
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 0x481fe5
mov edx, dword [esp + 0x20]
push 0
push edx
push dword [esp + 0x20]
push 0xc
push ebx
call fcn.00475980
add esp, 0x14
jmp 0x482018
mov edx, dword [esp + 0x18]
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 + 0x20]
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 0x482031
push 0
push edi
push esi
push 0xc
push ebx
call fcn.00475980
add esp, 0x14
jmp 0x48205c
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 + 0x14]
dec edx
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x48207b
push edx
push ebx
push ecx
call fcn.0048b850
add esp, 0xc
jmp 0x482084
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 0x4820a1
push 0
push 0
push 0
push 0x59
push ebx
call fcn.00475980
add esp, 0x14
mov edx, eax
jmp 0x4820d4
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
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x4820f0
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x482129
push ecx
push eax
call fcn.0049dc30
add esp, 8
jmp 0x482129
test edx, edx
jns 0x4820f8
mov edx, dword [ebx + 0x6c]
dec edx
mov eax, dword [ebx + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x48211a
push 0xfffffffffffffff2
push dword [esp + 0x4c]
push eax
push ebx
call fcn.004e2d50
add esp, 0x10
jmp 0x482129
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x482129
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf2
mov edx, dword [ebx + 0x6c]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x84]
cmp dword [ebx + 0x70], edx
jg 0x482151
push dword [esp + 0x38]
push esi
push edi
push 0x5a
push ebx
call fcn.00475980
add esp, 0x14
mov edx, eax
jmp 0x482180
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov ebx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x38]
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
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x4821ac
cmp dword [eax + 0x210], 0
jne 0x4821e2
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4821e2
add dword [eax], 0xffffffff
jne 0x4821e2
push eax
push dword [eax + 0xc]
call fcn.0049dc30
add esp, 8
jmp 0x4821e2
test edx, edx
jns 0x4821b4
mov edx, dword [ebx + 0x6c]
dec edx
mov eax, dword [ebx + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x50]
je 0x4821d7
push 0xfffffffffffffff8
push ecx
push eax
push ebx
call fcn.004e2d50
add esp, 0x10
jmp 0x4821e2
test ecx, ecx
je 0x4821e2
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf8
mov ecx, dword [ebx + 0x6c]
test ecx, ecx
jle 0x4821fc
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 0x482219
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x20]
push ebp
push edx
push 0xe
push ebx
call fcn.00475980
add esp, 0x14
jmp 0x482248
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], 0xe
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x14]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x482266
push edx
push ebx
push ecx
call fcn.0048b850
add esp, 0xc
jmp 0x48226f
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov ebp, dword [esp + 0x58]
mov ebx, dword [esp + 0x98]
mov esi, dword [ebp + 0x34]
test esi, esi
je 0x482442
mov eax, dword [ebx]
push 0
push 0xc
test eax, eax
je 0x48229a
push eax
call fcn.0049db10
add esp, 0xc
jmp 0x4822a2
call fcn.004b17f0
add esp, 8
mov ecx, eax
test ecx, ecx
je 0x4822c5
mov eax, dword [ebx + 0x8c]
mov dword [ecx], eax
mov dword [ebx + 0x8c], ecx
mov dword [ecx + 4], esi
mov dword [ecx + 8], fcn.004c03a0
jmp 0x482442
mov edi, dword [ebx]
mov eax, dword [esi + 0x1c]
mov ebx, dword [esi + 0x34]
test eax, eax
je 0x4822db
push eax
push edi
call fcn.0046e100
add esp, 8
push dword [esi + 0x20]
push edi
call fcn.004c0ed0
mov eax, dword [esi + 0x24]
add esp, 8
test eax, eax
je 0x4822f8
push eax
push edi
call fcn.004a3d70
add esp, 8
mov eax, dword [esi + 0x28]
test eax, eax
je 0x482309
push eax
push edi
call fcn.0046e100
add esp, 8
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x48231a
push eax
push edi
call fcn.004a3d70
add esp, 8
mov eax, dword [esi + 0x30]
test eax, eax
je 0x48232b
push eax
push edi
call fcn.0046e100
add esp, 8
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x48233c
push eax
push edi
call fcn.004a3d70
add esp, 8
mov eax, dword [esi + 0x40]
test eax, eax
je 0x48234d
push eax
push edi
call fcn.004de600
add esp, 8
mov eax, dword [esi + 0x48]
test eax, eax
je 0x48235e
push eax
push edi
call fcn.004dd7b0
add esp, 8
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x48238c
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x482385
mov eax, dword [ecx + 0x24]
mov dword [edx], eax
mov edx, dword [ecx + 0x24]
test edx, edx
je 0x48237e
mov eax, dword [ecx + 0x20]
mov dword [edx + 0x20], eax
mov dword [ecx + 0x20], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
jne 0x482365
cmp esi, dword [edi + 0x164]
jae 0x4823c7
cmp esi, dword [edi + 0x15c]
jb 0x4823af
mov eax, dword [edi + 0x158]
mov dword [esi], eax
mov dword [edi + 0x158], esi
jmp 0x482431
cmp esi, dword [edi + 0x160]
jb 0x4823c7
mov eax, dword [edi + 0x150]
mov dword [esi], eax
mov dword [edi + 0x150], esi
jmp 0x482431
cmp dword [edi + 0x210], 0
je 0x4823dc
push esi
push edi
call fcn.0047fe10
add esp, 8
jmp 0x482431
cmp dword [0x56f0f8], 0
je 0x482427
mov eax, dword [0x574ff8]
test eax, eax
je 0x4823f8
push eax
call dword [0x56f148]
add esp, 4
push esi
call dword [0x56f124]
sub dword [0x574f98], eax
dec dword [0x574fbc]
push esi
call dword [0x56f11c]
mov eax, dword [0x574ff8]
add esp, 8
test eax, eax
je 0x482431
push eax
call dword [0x56f150]
jmp 0x48242e
push esi
call dword [0x56f11c]
add esp, 4
mov esi, ebx
test ebx, ebx
jne 0x4822c7
mov ebx, dword [esp + 0x98]
mov esi, dword [esp + 0x3c]
mov dword [ebp + 0x34], esi
mov eax, dword [esi + 0x30]
mov dword [esi + 0x38], ebp
test eax, eax
je 0x482460
push eax
push dword [esp + 0x2c]
call fcn.0046e100
add esp, 8
mov dword [esi + 0x30], 0
mov ecx, dword [ebx + 0xe8]
test ecx, ecx
jne 0x482475
xor eax, eax
jmp 0x482493
mov edx, dword [ebx + 8]
mov eax, dword [edx]
cmp byte [eax + 0x57], 0
je 0x482487
mov eax, 0x5751d0
jmp 0x482490
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [ebx + 0xe8], eax
xor eax, eax
cmp dword [ebx + 0x24], eax
pop edi
pop esi
pop ebp
setne al
pop ebx
add esp, 0x84
ret