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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ebx
push esi
mov esi, dword [eax + 8]
push edi
mov eax, esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x4c], esi
call fcn.004cc760
mov dword [esp + 0x14], eax
mov eax, esi
call fcn.004cc760
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebx + 0x30]
mov edx, dword [ebx + 0x34]
mov edi, dword [esi]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], edi
cmp eax, 0x7c
je 0x505b3a
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x49], 0
mov dword [esp + 0x28], 1
jne 0x505b3a
lea eax, [edi + edi*2]
add eax, eax
add eax, eax
add eax, eax
mov dword [esp + 0x54], eax
mov edx, dword [ebx]
mov ecx, dword [esp + 0x28]
cmp ecx, dword [edx]
jg 0x505b3a
xor eax, eax
test edi, edi
jle 0x505ab6
lea edx, [esi + 0x18]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x48]
movzx edx, word [edx]
cmp edx, ecx
je 0x505ab6
add dword [esp + 0x48], 0x18
inc eax
cmp eax, edi
jl 0x505aa1
cmp eax, edi
jne 0x505b28
mov eax, dword [esp + 0x20]
xor edi, edi
push edi
push 0x8f
push eax
lea eax, [esp + 0x64]
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
call fcn.004e0470
add esp, 0xc
cmp eax, edi
je 0x505b98
mov ecx, dword [esp + 0x28]
or dword [eax + 4], 0x400
mov dword [eax + 8], ecx
mov ebx, eax
mov eax, dword [ebp + 8]
mov ecx, esi
call fcn.004e1520
mov edx, dword [ebp + 0xc]
mov esi, eax
mov dword [edx + 0x30], esi
mov ebx, edx
test esi, esi
je 0x505b24
mov eax, dword [esp + 0x54]
mov cx, word [esp + 0x28]
inc dword [esp + 0x2c]
mov word [eax + esi + 0x18], cx
add eax, 0x18
mov dword [esp + 0x54], eax
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
inc dword [esp + 0x28]
cmp byte [edx + 0x49], 0
je 0x505a86
lea eax, [edi*4 + 4]
push 0
push eax
mov eax, dword [esp + 0x28]
call fcn.004ab890
add esp, 8
mov dword [esp + 0x54], eax
test eax, eax
je 0x505ba4
mov ecx, 1
cmp edi, ecx
mov dword [eax], edi
jl 0x505b85
lea edx, [esi + 0x18]
mov dword [esp + 0x48], edx
lea ebx, [ebx]
mov edx, dword [esp + 0x48]
movzx edx, word [edx]
add dword [esp + 0x48], 0x18
dec edx
mov dword [eax + ecx*4], edx
inc ecx
cmp ecx, edi
jle 0x505b70
mov edi, dword [ebp + 8]
push ebx
push edi
call fcn.00504890
add esp, 8
mov dword [esp + 0x48], eax
jmp 0x505baf
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
mov dword [esp + 0x48], 0
push 0
mov dword [ebx + 0x30], esi
mov eax, dword [edi]
push esi
push eax
call fcn.004e1000
mov ecx, dword [esp + 0x30]
add esp, 0xc
cmp dword [esp + 0x18], 0x7c
mov dword [ecx + 0x30], eax
jne 0x505bdb
mov dword [esp + 0x50], 0
jmp 0x505cc0
mov edx, dword [ebx]
mov ecx, dword [edx]
mov eax, dword [edi + 0x2c]
lea edx, [eax + 1]
lea eax, [eax + ecx + 1]
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x4c]
mov esi, dword [eax + 0xc]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x88]
cmp dword [esi + 0x30], ecx
mov dword [esp + 0x50], edx
jg 0x505c17
push 0
push edx
push 0
push 0x46
call fcn.004cc1b0
add esp, 0x10
jmp 0x505c41
lea esi, [ecx + 1]
mov dword [eax + 0x88], esi
mov eax, dword [eax + 0x58]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
xor ecx, ecx
mov byte [eax], 0x46
mov word [eax + 2], cx
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x20]
push 1
push edx
call fcn.005034b0
add esp, 8
mov dword [esp + 0x44], eax
test eax, eax
je 0x505cc0
xor esi, esi
cmp dword [esp + 0x3c], esi
jle 0x505cc0
mov edi, eax
mov dword [esp + 0x40], esi
add edi, 0x14
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x505d62
push esi
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00504840
add esp, 0xc
test eax, eax
jne 0x505ca4
mov ecx, dword [ebx]
cmp esi, dword [ecx]
jge 0x505ca4
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x40]
mov eax, dword [eax + ecx + 4]
push edx
call fcn.004df870
add esp, 4
mov ecx, dword [esp + 0x44]
add dword [esp + 0x40], 0x18
mov dword [edi], eax
mov edx, dword [ecx + 0x10]
mov byte [esi + edx], 0
inc esi
add edi, 4
cmp esi, dword [esp + 0x3c]
jl 0x505c6d
mov esi, dword [esp + 0x24]
mov edi, dword [ebp + 8]
xor eax, eax
push str.ORDER
mov dword [ebx + 0x34], eax
mov dword [esi + 0x38], eax
mov eax, dword [ebx + 0x30]
push ebx
push edi
call fcn.004dedf0
add esp, 0xc
cmp dword [esi + 0x34], 0
jne 0x505cf9
mov eax, dword [esi + 0x30]
push str.ORDER
push esi
push edi
call fcn.004dedf0
add esp, 0xc
mov eax, dword [esp + 0x14]
push eax
push ebx
mov esi, edi
call fcn.005046f0
xor ecx, ecx
add esp, 8
cmp dword [ebx + 0xc], ecx
je 0x505de9
cmp dword [esp + 0x18], 0x7c
jne 0x505de9
mov esi, dword [edi + 0x2c]
inc esi
lea eax, [esi + 1]
mov dword [edi + 0x2c], eax
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x10]
cmp eax, ecx
mov dword [esp + 0x58], esi
lea ecx, [eax + 1]
jne 0x505d3e
mov ecx, dword [ebx + 0xc]
mov edi, dword [esp + 0x4c]
mov eax, dword [edi + 0x88]
mov edx, dword [edi + 0xc]
cmp dword [edx + 0x30], eax
jg 0x505d69
push 0
push esi
push ecx
push 0x4e
mov eax, edi
call fcn.004cc1b0
add esp, 0x10
jmp 0x505d95
xor eax, eax
jmp 0x505c8a
lea edx, [eax + 1]
mov dword [edi + 0x88], edx
mov edx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x4e
mov word [eax + 2], dx
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], dl
mov eax, dword [edi + 0x88]
mov ecx, dword [edi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x505db9
mov edx, dword [esp + 0x40]
push 0
push edx
push esi
push 0x4e
mov eax, edi
call fcn.004cc1b0
add esp, 0x10
jmp 0x505df1
lea ecx, [eax + 1]
mov dword [edi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x40]
xor ecx, ecx
mov byte [eax], 0x4e
mov word [eax + 2], cx
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
jmp 0x505df1
mov dword [esp + 0x40], ecx
mov dword [esp + 0x58], ecx
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x505e06
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.004e0a30
add esp, 8
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebx + 0x3c], eax
mov edi, dword [esi + 0x2c]
inc edi
lea ecx, [edi + 1]
lea edx, [ecx + 1]
mov dword [esp + 0x30], edx
inc edx
mov dword [esi + 0x2c], edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
movzx eax, byte [ebx + 4]
sub eax, 0x7c
mov dword [esp + 0x34], edx
mov dl, 0xd
mov dword [esp + 0x10], edi
mov dword [esp + 0x28], ecx
mov byte [esp + 0x60], dl
mov dword [esp + 0x64], edi
mov byte [esp + 0x78], dl
mov dword [esp + 0x7c], ecx
je 0x505e87
sub eax, 1
je 0x505e80
sub eax, 1
je 0x505e79
mov eax, str.UNION
jmp 0x505e8c
mov eax, str.INTERSECT
jmp 0x505e8c
mov eax, str.EXCEPT
jmp 0x505e8c
mov eax, str.UNION_ALL
push eax
push str.MERGE___s_
push 1
mov ebx, esi
call fcn.004cc530
mov esi, dword [esp + 0x58]
mov ecx, dword [esi + 0x88]
mov eax, dword [esi + 0xc]
add esp, 0xc
cmp dword [eax + 0x30], ecx
lea edx, [ecx + 1]
jg 0x505ec9
push edx
push 0
push edi
push 0xd
mov eax, esi
call fcn.004cc1b0
add esp, 0x10
mov dword [esp + 0x3c], eax
jmp 0x505ef4
mov ebx, dword [esi + 0x58]
mov dword [esi + 0x88], edx
lea eax, [ecx + ecx*4]
lea eax, [ebx + eax*4]
xor ebx, ebx
mov byte [eax], 0xd
mov word [eax + 2], bx
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x24]
mov ebx, dword [ebp + 8]
push str.LEFT
push 1
mov dword [edx + 0xc], ecx
call fcn.004cc530
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x68]
push eax
push ecx
mov edx, ebx
push edx
call fcn.005094b0
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0xc]
add esp, 0x14
cmp dword [ecx + 0x30], eax
jg 0x505f44
xor ebx, ebx
push ebx
push ebx
push edi
push 0x43
mov eax, esi
call fcn.004cc1b0
add esp, 0x10
jmp 0x505f72
mov ecx, dword [esi + 0x58]
lea edx, [eax + 1]
mov dword [esi + 0x88], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
xor edx, edx
mov byte [eax], 0x43
mov word [eax + 2], dx
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
xor ebx, ebx
mov eax, dword [esi + 0xc]
mov byte [eax + 0x13], bl
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x3c]
cmp eax, ebx
mov dword [ecx + 0x1c], ebx
mov ecx, dword [esi + 0x88]
jge 0x505f8f
lea eax, [ecx - 1]
mov edx, dword [esi]
cmp byte [edx + 0x49], bl
je 0x505f9d
mov eax, 0x6403fc
jmp 0x505fa6
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x88]
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], ecx
lea edx, [ecx + 1]
jg 0x505fd3
mov ecx, dword [esp + 0x28]
push edx
push ebx
push ecx
push 0xd
mov eax, esi
call fcn.004cc1b0
add esp, 0x10
mov dword [esp + 0x3c], eax
jmp 0x506002
mov edi, dword [esi + 0x58]
mov dword [esi + 0x88], edx
lea eax, [ecx + ecx*4]
lea eax, [edi + eax*4]
xor edi, edi
mov word [eax + 2], di
mov edi, dword [esp + 0x28]
mov byte [eax], 0xd
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov dword [esp + 0x3c], ecx
mov edi, dword [ebp + 0xc]
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x40]
mov dword [edi + 0x10], ebx
mov ebx, dword [ebp + 8]
push str.RIGHT
push 1
mov dword [esp + 0x60], ecx
mov dword [esp + 0x54], edx
mov dword [edi + 0xc], eax
call fcn.004cc530
lea ecx, [esp + 0x80]
push ecx
mov edx, ebx
push edi
push edx
call fcn.005094b0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x60]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
add esp, 0x14
cmp dword [edx + 0x30], eax
jg 0x506073
mov eax, dword [esp + 0x28]
xor ebx, ebx
push ebx
push ebx
push eax
push 0x43
mov eax, esi
call fcn.004cc1b0
add esp, 0x10
jmp 0x5060a3
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x28]
xor ecx, ecx
mov byte [eax], 0x43
mov word [eax + 2], cx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
xor ebx, ebx
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x44]
push edx
mov edx, dword [ebp + 0x10]
mov byte [eax + 0x13], bl
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x54]
push edi
push eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0x1c], ebx
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
lea eax, [esp + 0x7c]
call fcn.005056d0
add esp, 0x1c
cmp dword [esp + 0x18], 0x7c
mov dword [esp + 0x44], eax
je 0x5060ed
cmp dword [esp + 0x18], 0x7b
jne 0x50611c
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [ebp + 0x10]
push edi
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
lea eax, [esp + 0x94]
call fcn.005056d0
add esp, 0x1c
mov dword [esp + 0x38], eax
cmp edi, ebx
je 0x506166
add dword [edi], 0xffffffff
jne 0x506166
mov ecx, dword [edi + 0xc]
cmp ecx, ebx
je 0x50615d
cmp dword [ecx + 0x1d8], ebx
je 0x50613d
mov eax, edi
call fcn.004ab500
jmp 0x506166
cmp edi, dword [ecx + 0x128]
jb 0x50615d
cmp edi, dword [ecx + 0x12c]
jae 0x50615d
mov edx, dword [ecx + 0x124]
mov dword [edi], edx
mov dword [ecx + 0x124], edi
jmp 0x506166
push edi
call fcn.004ab490
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, 0x7d
je 0x50631b
cmp eax, 0x7e
je 0x50631b
mov ecx, dword [esi + 0x88]
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x5061a5
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ebx
push ecx
push edx
push 0xc
mov eax, esi
call fcn.004cc1b0
add esp, 0x10
mov edi, eax
jmp 0x5061d9
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x58]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x34]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x38]
mov byte [eax], 0xc
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov edi, ecx
mov ecx, dword [esi + 0x88]
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], ecx
mov dword [esp + 0x28], edi
jg 0x506205
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push ebx
push ecx
inc eax
push eax
push 0xe
mov eax, esi
call fcn.004cc1b0
add esp, 0x10
jmp 0x50623a
lea edx, [ecx + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x10]
inc edx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x14]
mov byte [eax], 0xe
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x88]
cmp dword [ecx + 0x30], eax
jg 0x50625d
push ebx
push edi
push ebx
push 0xb
mov eax, esi
call fcn.004cc1b0
add esp, 0x10
jmp 0x506287
mov ecx, dword [esi + 0x58]
lea edx, [eax + 1]
mov dword [esi + 0x88], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor edx, edx
mov byte [eax], 0xb
mov word [eax + 2], dx
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0xc]
movzx eax, word [eax + 6]
movzx ecx, word [ecx + 6]
cmp cx, ax
jl 0x5062d5
movsx edx, ax
movsx eax, cx
lea edi, [edx + 0x31]
cmp eax, edi
jg 0x50630f
lea edi, [edx + 0x1f]
cmp eax, edi
jle 0x5062bc
mov edx, dword [ebp + 0xc]
inc ecx
movzx eax, cx
mov word [edx + 6], ax
jmp 0x506327
sub eax, edx
movzx dx, byte [eax + 0x5e4318]
add dx, cx
movzx eax, dx
mov edx, dword [ebp + 0xc]
mov word [edx + 6], ax
jmp 0x506327
movsx edx, cx
movsx ecx, ax
lea edi, [edx + 0x31]
cmp ecx, edi
jle 0x5062ee
mov edx, dword [ebp + 0xc]
movzx eax, ax
mov word [edx + 6], ax
jmp 0x506327
lea edi, [edx + 0x1f]
cmp ecx, edi
jle 0x506302
mov edx, dword [ebp + 0xc]
inc eax
movzx eax, ax
mov word [edx + 6], ax
jmp 0x506327
sub ecx, edx
movzx cx, byte [ecx + 0x5e4318]
add cx, ax
mov edx, dword [ebp + 0xc]
movzx eax, cx
mov word [edx + 6], ax
jmp 0x506327
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov dword [esp + 0x4c], eax
cmp dword [esp + 0x18], 0x7e
jne 0x506354
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x40], eax
movzx eax, word [ecx + 6]
mov ecx, dword [ebp + 0xc]
cmp word [ecx + 6], ax
jle 0x506457
mov word [ecx + 6], ax
jmp 0x506457
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x30], ecx
jg 0x50637d
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
push ebx
push eax
push ecx
push 0xc
mov eax, esi
call fcn.004cc1b0
add esp, 0x10
mov edi, eax
jmp 0x5063b1
lea edx, [ecx + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov byte [eax], 0xc
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov edi, ecx
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x30], eax
mov dword [esp + 0x40], edi
jg 0x5063dc
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push ebx
push edx
push eax
push 0xe
mov eax, esi
call fcn.004cc1b0
add esp, 0x10
jmp 0x50640e
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x14]
mov byte [eax], 0xe
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x30], eax
jg 0x50642d
push ebx
push edi
push ebx
push 0xb
mov eax, esi
call fcn.004cc1b0
add esp, 0x10
jmp 0x506457
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
xor ecx, ecx
mov byte [eax], 0xb
mov word [eax + 2], cx
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x30], ecx
jg 0x506482
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
push ebx
push eax
push ecx
push 0xc
mov eax, esi
call fcn.004cc1b0
add esp, 0x10
mov dword [esp + 0x50], eax
jmp 0x5064ba
lea edx, [ecx + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov byte [eax], 0xc
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 0xc]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x88]
cmp dword [ecx + 0x30], eax
jg 0x5064e5
mov edx, dword [esp + 0x28]
push ebx
push edx
push edi
push 0xe
mov eax, esi
call fcn.004cc1b0
add esp, 0x10
jmp 0x506513
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x28]
xor ecx, ecx
mov byte [eax], 0xe
mov word [eax + 2], cx
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x506536
mov edx, dword [esp + 0x1c]
push ebx
push edx
push ebx
push 0xb
mov eax, esi
call fcn.004cc1b0
add esp, 0x10
jmp 0x506564
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x1c]
xor ecx, ecx
mov byte [eax], 0xb
mov word [eax + 2], cx
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x18]
cmp eax, 0x7c
jne 0x50657a
mov eax, dword [esp + 0x50]
mov dword [esp + 0x44], eax
jmp 0x506639
cmp eax, 0x7e
jne 0x506591
mov eax, dword [esp + 0x50]
mov dword [esp + 0x44], eax
inc eax
mov dword [esp + 0x30], eax
jmp 0x506639
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x30], ecx
jg 0x5065b4
mov eax, dword [esp + 0x28]
push ebx
push eax
push edi
push 0xe
mov eax, esi
call fcn.004cc1b0
add esp, 0x10
jmp 0x5065e4
lea edx, [ecx + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x28]
mov byte [eax], 0xe
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x88]
cmp dword [ecx + 0x30], eax
jg 0x50660b
mov edx, dword [esp + 0x1c]
push ebx
push edx
push ebx
push 0xb
mov eax, esi
call fcn.004cc1b0
add esp, 0x10
jmp 0x506639
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x1c]
xor ecx, ecx
mov byte [eax], 0xb
mov word [eax + 2], cx
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x88]
mov dword [esp + 0x58], eax
cmp ecx, 0x7c
je 0x506651
cmp ecx, 0x7b
jne 0x5066a4
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x506672
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push ebx
push edx
push eax
push 0xc
mov eax, esi
call fcn.004cc1b0
add esp, 0x10
jmp 0x5066a4
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x34]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x38]
mov byte [eax], 0xc
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x30], eax
mov edi, dword [esp + 0x10]
jg 0x5066cc
mov eax, dword [esp + 0x40]
push ebx
push eax
inc edi
push edi
push 0xe
mov eax, esi
call fcn.004cc1b0
add esp, 0x10
jmp 0x5066fb
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x40]
xor ecx, ecx
inc edi
mov byte [eax], 0xe
mov word [eax + 2], cx
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x50671e
mov edx, dword [esp + 0x1c]
push ebx
push edx
push ebx
push 0xb
mov eax, esi
call fcn.004cc1b0
add esp, 0x10
jmp 0x50674c
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x1c]
xor ecx, ecx
mov byte [eax], 0xb
mov word [eax + 2], cx
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x3c]
cmp eax, ebx
mov ecx, dword [esi + 0x88]
jge 0x50675d
lea eax, [ecx - 1]
mov edx, dword [esi]
cmp byte [edx + 0x49], bl
je 0x50676b
mov eax, 0x6403fc
jmp 0x506774
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x50679e
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x10]
push ebx
push edx
push eax
push 0xe
mov eax, esi
call fcn.004cc1b0
add esp, 0x10
jmp 0x5067d0
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x4c]
mov byte [eax], 0xe
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x30], eax
jg 0x5067f3
mov eax, dword [esp + 0x40]
push ebx
push eax
push edi
push 0xe
mov eax, esi
call fcn.004cc1b0
add esp, 0x10
jmp 0x506821
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x40]
xor ecx, ecx
mov byte [eax], 0xe
mov word [eax + 2], cx
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x40]
cmp eax, ebx
je 0x506840
mov ecx, dword [esp + 0x1c]
lea edx, [ecx*4 + 4]
mov ecx, dword [esi + 0x88]
sub eax, edx
mov dword [eax], ecx
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x30], ecx
jg 0x50685f
push ebx
push ebx
push ebx
push 0x56
mov eax, esi
call fcn.004cc1b0
add esp, 0x10
jmp 0x50688b
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x58]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
xor edx, edx
mov byte [eax], 0x56
mov word [eax + 2], dx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, ecx
mov ecx, dword [esi]
cmp byte [ecx + 0x49], bl
je 0x5068a2
mov eax, dword [esp + 0x54]
mov edx, 0xfffffff1
call fcn.004cccf0
jmp 0x5068e2
cmp eax, ebx
jge 0x5068ad
mov eax, dword [esi + 0x88]
dec eax
mov ecx, dword [esi + 0x58]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], bl
lea eax, [ecx + eax*4]
je 0x5068d3
mov edx, dword [esp + 0x54]
push edx
push eax
mov eax, 0xfffffff1
mov ecx, esi
call fcn.004cce90
add esp, 8
jmp 0x5068e2
mov ecx, dword [esp + 0x54]
cmp ecx, ebx
je 0x5068e2
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf1
mov eax, dword [esp + 0x68]
mov ecx, dword [esi + 0x88]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x506918
mov ecx, dword [esp + 0x2c]
push ecx
push edx
mov edx, dword [esp + 0x70]
push edx
push 0x57
mov eax, esi
call fcn.004cc1b0
add esp, 0x10
jmp 0x50694c
mov edi, dword [esi + 0x58]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea eax, [ecx + ecx*4]
lea eax, [edi + eax*4]
xor edi, edi
mov word [eax + 2], di
mov edi, dword [esp + 0x54]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x2c]
mov byte [eax], 0x57
mov dword [eax + 4], edi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, ecx
mov ecx, dword [esi]
cmp byte [ecx + 0x49], bl
je 0x506963
mov eax, dword [esp + 0x48]
mov edx, 0xfffffff7
call fcn.004cccf0
jmp 0x5069a3
cmp eax, ebx
jge 0x50696e
mov eax, dword [esi + 0x88]
dec eax
mov ecx, dword [esi + 0x58]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], bl
lea eax, [ecx + eax*4]
je 0x506994
mov edx, dword [esp + 0x48]
push edx
push eax
mov eax, 0xfffffff7
mov ecx, esi
call fcn.004cce90
add esp, 8
jmp 0x5069a3
mov ecx, dword [esp + 0x48]
cmp ecx, ebx
je 0x5069a3
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf7
mov eax, dword [esi + 0x88]
cmp eax, ebx
jle 0x5069bd
mov ecx, dword [esi + 0x58]
lea eax, [eax + eax*4]
mov edx, 1
mov word [ecx + eax*4 - 0x12], dx
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x5069e8
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
push 0x10
mov eax, esi
call fcn.004cc1b0
add esp, 0x10
jmp 0x506a1e
mov ecx, dword [esi + 0x58]
lea edx, [eax + 1]
mov dword [esi + 0x88], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x30]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x44]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x58]
mov byte [eax], 0x10
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x40]
cmp eax, ebx
je 0x506a3d
mov edx, dword [esp + 0x14]
lea ecx, [edx*4 + 4]
mov edx, dword [esi + 0x88]
sub eax, ecx
mov dword [eax], edx
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x34]
cmp eax, ebx
je 0x506a57
push 1
push eax
mov eax, dword [esp + 0x28]
push eax
call fcn.005019f0
add esp, 0xc
mov eax, dword [esp + 0x24]
mov edx, dword [ebp + 8]
mov dword [esi + 0x34], eax
mov dword [eax + 0x38], esi
mov eax, dword [edx + 0xd0]
cmp eax, ebx
jne 0x506a72
xor eax, eax
jmp 0x506a9a
cmp eax, ebx
mov ecx, dword [edx + 8]
jge 0x506a80
mov eax, dword [ecx + 0x88]
dec eax
mov esi, dword [ecx]
cmp byte [esi + 0x49], bl
je 0x506a8e
mov eax, 0x6403fc
jmp 0x506a97
mov ecx, dword [ecx + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov eax, dword [eax + 8]
mov dword [edx + 0xd0], eax
xor eax, eax
cmp dword [edx + 0x24], ebx
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret