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

Disassembly:
sub esp, 0x80
mov edx, dword [esp + 0x84]
push ebx
push ebp
mov ebp, dword [esp + 0x90]
mov eax, dword [edx + 0x38]
mov ecx, dword [edx]
dec eax
mov ebx, dword [edx + 8]
mov dword [esp + 0xc], eax
dec eax
push esi
mov dword [edx + 0x38], eax
mov al, byte [ebp]
mov dword [esp + 0x38], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x40], ebx
mov byte [esp + 0xf], al
push edi
mov edi, dword [ebp + 0x30]
mov dword [esp + 0x4c], edi
mov esi, dword [edi]
mov dword [esp + 0x40], esi
cmp al, 0x87
je 0x51bb68
cmp byte [ecx + 0x57], 0
mov ebp, 1
jne 0x51bb61
lea eax, [esi + esi*4]
shl eax, 2
mov dword [esp + 0x48], eax
nop word [eax + eax]
mov eax, dword [esp + 0x98]
mov eax, dword [eax + 0x1c]
cmp ebp, dword [eax]
jg 0x51bb61
xor ecx, ecx
test esi, esi
jle 0x51baaf
lea edx, [edi + 0x18]
nop dword [eax + eax]
movzx eax, word [edx]
cmp eax, ebp
je 0x51baaf
inc ecx
add edx, 0x14
cmp ecx, esi
jl 0x51baa0
cmp ecx, esi
jne 0x51bb52
push 0
push 0x35
push dword [esp + 0x2c]
call fcn.0053c1d0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x51bbeb
push 0x34
push 0
push esi
call fcn.00423ff0
or eax, 0xffffffff
mov byte [esi], 0x9b
mov word [esi + 0x22], ax
add esp, 0xc
lea eax, [esi + 0x34]
mov byte [eax], 0
or dword [esi + 4], 0x800
mov dword [esi + 0x18], 1
mov dword [esi + 8], ebp
test edi, edi
jne 0x51bb1d
mov eax, dword [esp + 0x94]
push esi
push dword [eax]
call fcn.00543b60
mov edi, eax
add esp, 8
mov dword [esp + 0x4c], edi
jmp 0x51bb40
mov eax, dword [edi]
lea edx, [eax + 1]
cmp dword [edi + 4], edx
jge 0x51bba5
mov eax, dword [esp + 0x94]
push esi
push edi
push dword [eax]
call fcn.00543aa0
add esp, 0xc
mov dword [esp + 0x4c], eax
mov edi, eax
mov eax, dword [esp + 0x98]
mov dword [eax + 0x30], edi
test edi, edi
jne 0x51bbcd
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
inc ebp
cmp byte [ecx + 0x57], 0
je 0x51ba80
mov ebp, dword [esp + 0x98]
movzx eax, word [ecx + 0x134]
cdq
mov dword [esp + 0x54], eax
xor eax, eax
cmp eax, edx
lea eax, [esi*4 + 4]
jb 0x51bc3f
ja 0x51bb91
cmp eax, dword [esp + 0x54]
jbe 0x51bc3f
cmp dword [ecx + 0x130], 0
jne 0x51bbfb
inc dword [ecx + 0x144]
jmp 0x51bcc4
movups xmm0, xmmword [0x6045ac]
lea eax, [eax + eax*4]
mov dword [edi], edx
lea ecx, [edi + eax*4]
mov eax, dword [0x6045bc]
movups xmmword [ecx + 8], xmm0
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x98]
mov dword [ecx + 8], esi
mov dword [eax + 0x30], edi
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x40]
inc esi
mov dword [esp + 0x40], esi
mov word [edx + edi + 0x18], bp
add edx, 0x14
mov dword [esp + 0x48], edx
jmp 0x51bb52
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x80
ret
cmp byte [ecx + 0x57], 0
je 0x51bcc4
mov dword [esp + 0x20], 0
mov esi, dword [esp + 0x94]
mov dword [esp + 0x48], 0
mov dl, byte [esp + 0x13]
cmp dl, 0x87
jne 0x51bd22
mov esi, dword [esp + 0x24]
mov ecx, 1
mov dword [esp + 0x30], 0
jmp 0x51be8e
cmp eax, 0x80
ja 0x51bc82
mov edx, dword [ecx + 0x158]
mov dword [esp + 0x20], edx
test edx, edx
je 0x51bc64
mov eax, dword [edx]
mov dword [ecx + 0x158], eax
inc dword [ecx + 0x140]
jmp 0x51bce1
mov edx, dword [ecx + 0x154]
mov dword [esp + 0x20], edx
test edx, edx
je 0x51bc82
mov eax, dword [edx]
mov dword [ecx + 0x154], eax
inc dword [ecx + 0x140]
jmp 0x51bce1
mov edx, dword [ecx + 0x150]
mov dword [esp + 0x20], edx
test edx, edx
je 0x51bca0
mov eax, dword [edx]
mov dword [ecx + 0x150], eax
inc dword [ecx + 0x140]
jmp 0x51bce1
mov edx, dword [ecx + 0x14c]
mov dword [esp + 0x20], edx
test edx, edx
je 0x51bcbe
mov eax, dword [edx]
inc dword [ecx + 0x140]
mov dword [ecx + 0x14c], eax
jmp 0x51bce1
inc dword [ecx + 0x148]
mov edx, ecx
xor ecx, ecx
push ecx
push eax
push edx
call fcn.004e73c0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x20], edx
test edx, edx
je 0x51bc0d
mov ecx, 1
mov dword [edx], esi
cmp esi, ecx
jl 0x51bd06
mov ebx, dword [esp + 0x20]
lea edx, [edi + 0x18]
movzx eax, word [edx]
lea edx, [edx + 0x14]
dec eax
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, esi
jle 0x51bcf3
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x94]
push 1
push ebp
push esi
call fcn.0051ce00
add esp, 0xc
mov dword [esp + 0x48], eax
jmp 0x51bc1c
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x34], edx
lea ecx, [eax + 1]
inc eax
add eax, edx
mov dword [esp + 0x30], ecx
mov dword [esi + 0x2c], eax
mov ecx, dword [ebx + 0x6c]
mov esi, dword [esp + 0x30]
cmp dword [ebx + 0x70], ecx
jg 0x51bd5d
push 0
push esi
push 0
push 0x47
push ebx
call fcn.0050f290
mov edx, dword [esp + 0x48]
add esp, 0x14
jmp 0x51bd8c
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], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0x24]
lea edx, [edx + 5]
lea eax, [edx + edx*4]
push 0
push eax
push esi
call fcn.0053c1d0
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x51bdf2
mov edx, dword [esp + 0x34]
lea eax, [edx + 6]
lea eax, [ecx + eax*4]
mov dword [ecx + 0x10], eax
movzx eax, dx
mov word [ecx + 6], ax
inc eax
mov word [ecx + 8], ax
mov al, byte [esi + 0x54]
mov byte [ecx + 4], al
lea eax, [edx*4 + 1]
add eax, edx
mov dword [ecx + 0xc], esi
push eax
lea eax, [ecx + 0x18]
mov dword [ecx], 1
push 0
push eax
call fcn.00423ff0
mov eax, dword [esp + 0x34]
add esp, 0xc
jmp 0x51be03
push esi
call fcn.00558640
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
je 0x51be80
xor esi, esi
cmp dword [esp + 0x34], esi
jle 0x51be7c
mov ebx, dword [esp + 0x94]
lea ecx, [eax + 0x14]
xor edi, edi
mov dword [esp + 0x38], ecx
nop dword [eax + eax]
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x51be3c
push esi
push eax
push ebx
call fcn.0051b9b0
mov ecx, dword [esp + 0x44]
add esp, 0xc
test eax, eax
jne 0x51be56
jmp 0x51be3e
xor eax, eax
mov edx, dword [ebp + 0x1c]
cmp esi, dword [edx]
jge 0x51be56
push dword [edi + edx + 8]
push ebx
call fcn.00542300
mov ecx, dword [esp + 0x40]
add esp, 8
mov dword [ecx], eax
add edi, 0x14
mov eax, dword [esp + 0x28]
add ecx, 4
mov dword [esp + 0x38], ecx
mov eax, dword [eax + 0x10]
mov byte [esi + eax], 0
inc esi
cmp esi, dword [esp + 0x34]
jl 0x51be20
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x24]
mov dl, byte [esp + 0x13]
mov ecx, 1
cmp dl, 0x86
jne 0x51bece
test dword [esi + 0x50], 0x200000
jne 0x51bece
cmp dword [ebp + 0x34], 0
mov eax, ebp
je 0x51bece
nop
cmp byte [eax], dl
jne 0x51beae
mov eax, dword [eax + 0x34]
inc ecx
cmp dword [eax + 0x34], 0
jne 0x51bea0
cmp ecx, 3
jle 0x51bece
lea eax, [ecx - 3]
mov edx, ebp
shr eax, 1
inc eax
nop dword [eax + eax]
mov edx, dword [edx + 0x34]
sub eax, 1
jne 0x51bec0
mov dword [esp + 0x54], edx
jmp 0x51bed4
mov edx, ebp
mov dword [esp + 0x54], ebp
mov eax, dword [edx + 0x34]
push 0
push edi
mov edi, dword [esp + 0x9c]
mov dword [edx + 0x34], 0
mov dword [eax + 0x38], 0
mov dword [esp + 0x34], eax
push dword [edi]
call fcn.00543e90
mov ecx, dword [esp + 0x38]
push str.ORDER
mov dword [ecx + 0x30], eax
push dword [ebp + 0x30]
push ebp
push edi
call fcn.00563db0
mov eax, dword [esp + 0x48]
push str.ORDER
push dword [eax + 0x30]
push eax
push edi
call fcn.00563db0
push dword [esp + 0x40]
push ebp
push edi
call fcn.004e4970
add esp, 0x38
cmp dword [ebp + 8], 0
je 0x51c006
cmp byte [esp + 0x13], 0x87
jne 0x51c006
mov edx, dword [edi + 0x2c]
inc edx
mov dword [esp + 0x4c], edx
lea eax, [edx + 1]
mov dword [esp + 0x44], eax
mov dword [edi + 0x2c], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x51bf62
inc eax
jmp 0x51bf65
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x38], eax
cmp dword [ebx + 0x70], ecx
jg 0x51bf86
push 0
push edx
push eax
push 0x50
push ebx
call fcn.0050f290
mov edx, dword [esp + 0x60]
add esp, 0x14
jmp 0x51bfb9
mov esi, dword [esp + 0x38]
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], esi
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x50
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 0x51bfd5
push 0
push dword [esp + 0x48]
push edx
push 0x50
push ebx
call fcn.0050f290
add esp, 0x14
jmp 0x51c016
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], 0x50
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x51c016
mov dword [esp + 0x44], 0
mov dword [esp + 0x4c], 0
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x51c027
push eax
push esi
call fcn.00542b00
add esp, 8
mov dword [ebp + 0x3c], 0
mov edx, dword [edi + 0x2c]
inc edx
mov byte [esp + 0x74], 0xd
mov eax, edx
mov dword [esp + 0x7c], 0
inc edx
mov dword [esp + 0x18], eax
mov ecx, edx
mov dword [esp + 0x78], eax
inc edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x34], edx
inc edx
mov dword [edi + 0x2c], edx
movzx eax, byte [ebp]
mov dword [esp + 0x38], edx
mov dword [esp + 0x88], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov byte [esp + 0x58], 0xd
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
sub eax, 0x87
je 0x51c0d1
sub eax, 1
je 0x51c0ca
sub eax, 1
je 0x51c0c3
mov eax, str.UNION
jmp 0x51c0d6
mov eax, str.INTERSECT
jmp 0x51c0d6
mov eax, str.EXCEPT
jmp 0x51c0d6
mov eax, str.UNION_ALL
push eax
push str.MERGE___s_
push 1
push edi
call fcn.0057a3e0
mov esi, dword [ebx + 0x6c]
add esp, 0x10
lea edx, [esi + 1]
cmp dword [ebx + 0x70], esi
jg 0x51c108
push edx
push 0
push dword [esp + 0x20]
push 0xb
push ebx
call fcn.0050f290
add esp, 0x14
mov esi, eax
jmp 0x51c13b
mov eax, dword [ebx + 0x68]
lea ecx, [esi + esi*4]
mov ebp, dword [esp + 0x18]
mov dword [ebx + 0x6c], edx
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x98]
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 ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x4c]
push str.LEFT
push 1
push edi
mov dword [ecx + 8], eax
call fcn.0057a3e0
lea eax, [esp + 0x80]
push eax
push dword [esp + 0x3c]
push edi
call fcn.005656f0
mov ecx, dword [ebx + 0x6c]
add esp, 0x18
cmp dword [ebx + 0x70], ecx
jg 0x51c185
push 0
push 0
push dword [esp + 0x20]
push 0x44
push ebx
call fcn.0050f290
add esp, 0x14
jmp 0x51c1b8
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 0x51c1db
mov eax, 0x63d108
jmp 0x51c1e4
mov eax, dword [ebx + 0x68]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x50], eax
lea edx, [eax + 1]
cmp dword [ebx + 0x70], eax
jg 0x51c20e
push edx
push 0
push dword [esp + 0x24]
push 0xb
push ebx
call fcn.0050f290
add esp, 0x14
mov dword [esp + 0x50], eax
jmp 0x51c23a
mov esi, dword [esp + 0x1c]
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 + 0x44]
push str.RIGHT
push 1
push dword [esp + 0x9c]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], 0
call fcn.0057a3e0
lea eax, [esp + 0x64]
push eax
push ebp
push dword [esp + 0xa8]
call fcn.005656f0
mov dword [ebp + 8], edi
add esp, 0x18
mov dword [ebp + 0xc], esi
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x51c299
push 0
push 0
push dword [esp + 0x24]
push 0x44
push ebx
call fcn.0050f290
add esp, 0x14
jmp 0x51c2cc
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
push dword [esp + 0x14]
mov eax, dword [ebx + 0xc]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x98]
push esi
push dword [esp + 0x38]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
push dword [esp + 0x40]
push dword [esp + 0xac]
mov dword [eax + 0x1c], 0
lea eax, [esp + 0x88]
push eax
push ebp
push edi
call fcn.0050c5f0
mov dword [esp + 0x6c], eax
add esp, 0x20
mov al, byte [esp + 0x13]
cmp al, 0x87
je 0x51c31e
cmp al, 0x86
jne 0x51c345
push dword [esp + 0x14]
lea eax, [esp + 0x5c]
push esi
push dword [esp + 0x38]
push dword [esp + 0x44]
push dword [esp + 0xac]
push eax
push ebp
push edi
call fcn.0050c5f0
add esp, 0x20
mov dword [esp + 0x3c], eax
test esi, esi
je 0x51c35a
add dword [esi], 0xffffffff
jne 0x51c35a
push esi
push dword [esi + 0xc]
call fcn.0053c330
add esp, 8
mov cl, byte [esp + 0x13]
cmp cl, 0x88
je 0x51c507
cmp cl, 0x89
je 0x51c507
mov esi, dword [ebx + 0x6c]
mov dword [esp + 0x28], esi
cmp dword [ebx + 0x70], esi
jg 0x51c399
push 0
push dword [esp + 0x40]
push dword [esp + 0x40]
push 0xa
push ebx
call fcn.0050f290
mov esi, eax
add esp, 0x14
mov dword [esp + 0x28], esi
jmp 0x51c3cc
mov edx, dword [esp + 0x38]
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 + 0x3c]
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 + 0x30], edx
cmp dword [ebx + 0x70], edx
jg 0x51c3f3
push 0
push dword [esp + 0x18]
push dword [esp + 0x24]
push 0xc
push ebx
call fcn.0050f290
add esp, 0x14
mov dword [esp + 0x30], eax
jmp 0x51c426
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 + 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 0x51c440
push 0
push esi
push 0
push 9
push ebx
call fcn.0050f290
add esp, 0x14
jmp 0x51c46f
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 + 0x2c]
movzx esi, word [eax + 2]
movzx eax, word [ebp + 2]
movsx ecx, ax
movsx edx, si
cmp ax, si
jl 0x51c4b3
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x51c493
movzx eax, word [ebp + 2]
jmp 0x51c4d9
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x51c4a1
movzx eax, word [ebp + 2]
inc eax
jmp 0x51c4d6
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [ebp + 2]
add ax, cx
jmp 0x51c4d6
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x51c4be
mov eax, esi
jmp 0x51c4d9
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x51c4ca
lea eax, [esi + 1]
jmp 0x51c4d6
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 [ebp + 2], ax
mov esi, dword [ebx + 0x6c]
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x44], esi
cmp dword [ebx + 0x70], esi
jg 0x51c541
push 0
push ebp
push dword [esp + 0x3c]
push 0xa
push ebx
call fcn.0050f290
mov esi, eax
add esp, 0x14
mov dword [esp + 0x44], esi
jmp 0x51c570
mov edx, dword [esp + 0x14]
mov eax, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], edx
cmp cl, 0x89
jne 0x51c4dd
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x44], eax
movzx ecx, word [ecx + 2]
cmp word [ebp + 2], cx
jle 0x51c530
mov word [ebp + 2], cx
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], eax
jmp 0x51c60b
mov edx, dword [esp + 0x34]
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebp
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 0x51c58f
push 0
push dword [esp + 0x18]
push dword [esp + 0x20]
push 0xc
push ebx
call fcn.0050f290
add esp, 0x14
jmp 0x51c5c2
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 0x51c5dc
push 0
push esi
push 0
push 9
push ebx
call fcn.0050f290
add esp, 0x14
jmp 0x51c60b
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 esi, dword [ebx + 0x6c]
mov dword [esp + 0x4c], esi
cmp dword [ebx + 0x70], esi
jg 0x51c631
push 0
push ebp
push dword [esp + 0x3c]
push 0xa
push ebx
call fcn.0050f290
mov esi, eax
add esp, 0x14
mov dword [esp + 0x4c], esi
jmp 0x51c660
mov edx, dword [esp + 0x34]
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebp
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 0x51c67f
push 0
push dword [esp + 0x2c]
push dword [esp + 0x20]
push 0xc
push ebx
call fcn.0050f290
add esp, 0x14
jmp 0x51c6b2
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 + 0x28]
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 0x51c6d1
mov eax, dword [esp + 0x14]
push 0
dec eax
push eax
push 0
push 9
push ebx
call fcn.0050f290
add esp, 0x14
jmp 0x51c705
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
mov al, byte [esp + 0x13]
cmp al, 0x87
jne 0x51c71b
mov ecx, dword [ebx + 0x6c]
mov ebp, esi
mov dword [esp + 0x34], ecx
jmp 0x51c7ed
cmp al, 0x89
jne 0x51c732
mov eax, dword [ebx + 0x6c]
mov ebp, esi
inc esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x4c], esi
jmp 0x51c83c
mov ebp, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ebp
jg 0x51c753
push 0
push dword [esp + 0x2c]
push dword [esp + 0x20]
push 0xc
push ebx
call fcn.0050f290
add esp, 0x14
mov ebp, eax
jmp 0x51c78c
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 + 4], edx
mov edx, dword [esp + 0x28]
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 0x51c7ab
mov eax, dword [esp + 0x14]
push 0
dec eax
push eax
push 0
push 9
push ebx
call fcn.0050f290
add esp, 0x14
jmp 0x51c7df
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 + 0x34], ecx
jne 0x51c83c
cmp dword [ebx + 0x70], ecx
jg 0x51c809
push 0
push dword [esp + 0x40]
push dword [esp + 0x40]
push 0xa
push ebx
call fcn.0050f290
add esp, 0x14
jmp 0x51c83c
mov edx, dword [esp + 0x38]
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 + 0x3c]
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 0x51c85c
push 0
push esi
push dword [esp + 0x24]
push 0xc
push ebx
call fcn.0050f290
add esp, 0x14
jmp 0x51c88b
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], 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 0x51c8aa
mov eax, dword [esp + 0x14]
push 0
dec eax
push eax
push 0
push 9
push ebx
call fcn.0050f290
add esp, 0x14
jmp 0x51c8de
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
mov eax, dword [ebx]
mov edx, dword [ebx + 0x6c]
cmp byte [eax + 0x57], 0
je 0x51c8f0
mov eax, 0x63d108
jmp 0x51c8fd
mov eax, dword [esp + 0x50]
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 0x51c920
mov edx, dword [esp + 0x30]
push 0
push edx
push dword [esp + 0x20]
push 0xc
push ebx
call fcn.0050f290
add esp, 0x14
jmp 0x51c953
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 + 0x30]
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 0x51c96f
push 0
push esi
push dword [esp + 0x24]
push 0xc
push ebx
call fcn.0050f290
add esp, 0x14
jmp 0x51c99e
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], 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 + 0xc]
mov edx, dword [esp + 0x14]
dec edx
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x51c9bd
push edx
push ebx
push ecx
call fcn.00529000
add esp, 0xc
jmp 0x51c9c6
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 0x51c9e3
push 0
push 0
push 0
push 0x59
push ebx
call fcn.0050f290
add esp, 0x14
mov edx, eax
jmp 0x51ca16
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 ecx, dword [ebx]
cmp byte [ecx + 0x57], 0
je 0x51ca32
mov eax, dword [esp + 0x20]
test eax, eax
je 0x51ca6b
push eax
push ecx
call fcn.0053c330
add esp, 8
jmp 0x51ca6b
test edx, edx
jns 0x51ca3a
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 ecx, [eax + ecx*4]
je 0x51ca5c
push 0xfffffffffffffff2
push dword [esp + 0x24]
push ecx
push ebx
call fcn.0058edd0
add esp, 0x10
jmp 0x51ca6b
mov eax, dword [esp + 0x20]
test eax, eax
je 0x51ca6b
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xf2
mov esi, dword [ebx + 0x6c]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], ecx
cmp dword [ebx + 0x70], esi
jg 0x51ca9c
mov edx, dword [esp + 0x40]
push edx
push eax
push ecx
push 0x5a
push ebx
call fcn.0050f290
add esp, 0x14
mov esi, eax
jmp 0x51cacf
mov edx, dword [esp + 0x50]
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 + 8], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x51cafb
cmp dword [eax + 0x210], 0
jne 0x51cb31
mov eax, dword [esp + 0x48]
test eax, eax
je 0x51cb31
add dword [eax], 0xffffffff
jne 0x51cb31
push eax
push dword [eax + 0xc]
call fcn.0053c330
add esp, 8
jmp 0x51cb31
test esi, esi
jns 0x51cb03
mov esi, dword [ebx + 0x6c]
dec esi
mov eax, dword [ebx + 0x68]
lea ecx, [esi + esi*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x48]
je 0x51cb26
push 0xfffffffffffffff8
push ecx
push eax
push ebx
call fcn.0058edd0
add esp, 0x10
jmp 0x51cb31
test ecx, ecx
je 0x51cb31
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf8
mov eax, dword [ebx + 0x6c]
test eax, eax
jle 0x51cb48
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 0x51cb68
mov edx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x50]
push ebp
push edx
push 0xe
push ebx
call fcn.0050f290
add esp, 0x14
jmp 0x51cb97
mov edx, dword [esp + 0x4c]
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 + 0x34]
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 0x51cbb5
push edx
push ebx
push ecx
call fcn.00529000
add esp, 0xc
jmp 0x51cbbe
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov ebp, dword [esp + 0x54]
mov esi, dword [ebp + 0x34]
test esi, esi
je 0x51cd8d
mov eax, dword [edi]
push 0
push 0xc
test eax, eax
je 0x51cbe2
push eax
call fcn.0053c1d0
add esp, 0xc
jmp 0x51cbea
call fcn.00557720
add esp, 8
mov ecx, eax
test ecx, ecx
je 0x51cc0d
mov eax, dword [edi + 0x8c]
mov dword [ecx], eax
mov dword [edi + 0x8c], ecx
mov dword [ecx + 4], esi
mov dword [ecx + 8], 0x5688c0
jmp 0x51cd8d
mov edi, dword [edi]
nop
mov eax, dword [esi + 0x1c]
mov ebx, dword [esi + 0x34]
test eax, eax
je 0x51cc24
push eax
push edi
call fcn.004ec290
add esp, 8
push dword [esi + 0x20]
push edi
call fcn.005695d0
mov eax, dword [esi + 0x24]
add esp, 8
test eax, eax
je 0x51cc41
push eax
push edi
call fcn.00542b00
add esp, 8
mov eax, dword [esi + 0x28]
test eax, eax
je 0x51cc52
push eax
push edi
call fcn.004ec290
add esp, 8
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x51cc63
push eax
push edi
call fcn.00542b00
add esp, 8
mov eax, dword [esi + 0x30]
test eax, eax
je 0x51cc74
push eax
push edi
call fcn.004ec290
add esp, 8
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x51cc85
push eax
push edi
call fcn.00542b00
add esp, 8
mov eax, dword [esi + 0x40]
test eax, eax
je 0x51cc96
push eax
push edi
call fcn.00589c20
add esp, 8
mov eax, dword [esi + 0x48]
test eax, eax
je 0x51cca7
push eax
push edi
call fcn.00588d70
add esp, 8
mov eax, dword [esi + 0x44]
test eax, eax
je 0x51ccd7
nop
mov edx, dword [eax + 0x20]
test edx, edx
je 0x51ccd0
mov ecx, dword [eax + 0x24]
mov dword [edx], ecx
mov edx, dword [eax + 0x24]
test edx, edx
je 0x51ccc9
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x20], ecx
mov dword [eax + 0x20], 0
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x51ccb0
cmp esi, dword [edi + 0x164]
jae 0x51cd12
cmp esi, dword [edi + 0x15c]
jb 0x51ccfa
mov eax, dword [edi + 0x158]
mov dword [esi], eax
mov dword [edi + 0x158], esi
jmp 0x51cd7c
cmp esi, dword [edi + 0x160]
jb 0x51cd12
mov eax, dword [edi + 0x150]
mov dword [esi], eax
mov dword [edi + 0x150], esi
jmp 0x51cd7c
cmp dword [edi + 0x210], 0
je 0x51cd27
push esi
push edi
call fcn.0051a400
add esp, 8
jmp 0x51cd7c
cmp dword [0x635d20], 0
je 0x51cd72
mov eax, dword [0x63cf30]
test eax, eax
je 0x51cd43
push eax
call dword [0x635d70]
add esp, 4
push esi
call dword [0x635d4c]
sub dword [0x63ced0], eax
dec dword [0x63cef4]
push esi
call dword [0x635d44]
mov eax, dword [0x63cf30]
add esp, 8
test eax, eax
je 0x51cd7c
push eax
call dword [0x635d78]
jmp 0x51cd79
push esi
call dword [0x635d44]
add esp, 4
mov esi, ebx
test ebx, ebx
jne 0x51cc10
mov edi, dword [esp + 0x94]
mov ebx, dword [esp + 0x2c]
mov dword [ebp + 0x34], ebx
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x38], ebp
test eax, eax
je 0x51cdab
push eax
push dword [esp + 0x28]
call fcn.004ec290
add esp, 8
mov dword [ebx + 0x30], 0
mov ecx, dword [edi + 0xe8]
test ecx, ecx
jne 0x51cdc0
xor eax, eax
jmp 0x51cdde
mov edx, dword [edi + 8]
mov eax, dword [edx]
cmp byte [eax + 0x57], 0
je 0x51cdd2
mov eax, 0x63d108
jmp 0x51cddb
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [edi + 0xe8], eax
xor eax, eax
cmp dword [edi + 0x24], eax
pop edi
pop esi
pop ebp
setne al
pop ebx
add esp, 0x80
ret