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

Disassembly:
sub esp, 0x84
mov ecx, dword [esp + 0x88]
push ebx
push ebp
push esi
mov eax, dword [ecx + 0x38]
mov edx, dword [ecx]
dec eax
mov ebx, dword [ecx + 8]
mov dword [esp + 0x10], eax
dec eax
mov dword [ecx + 0x38], eax
mov eax, dword [esp + 0x98]
push edi
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], 0
mov ebp, dword [eax + 0x30]
mov cl, byte [eax]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x50], ebx
mov esi, dword [ebp]
mov byte [esp + 0x13], cl
mov dword [esp + 0x28], ebp
mov dword [esp + 0x40], esi
cmp cl, 0x87
je 0x4b9a2a
cmp byte [edx + 0x57], 0
mov edi, 1
jne 0x4b9a2a
lea ecx, [esi + esi*4]
shl ecx, 2
mov dword [esp + 0x3c], ecx
nop word [eax + eax]
mov eax, dword [eax + 0x1c]
cmp edi, dword [eax]
jg 0x4b9a2a
xor ecx, ecx
test esi, esi
jle 0x4b9917
lea edx, [ebp + 0x18]
movzx eax, word [edx]
cmp eax, edi
je 0x4b9913
inc ecx
add edx, 0x14
cmp ecx, esi
jl 0x4b9904
mov edx, dword [esp + 0x1c]
cmp ecx, esi
jne 0x4b99bc
push 0
push 0x35
push edx
call fcn.004d5b60
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4b9a1a
push 0x34
push 0
push esi
call fcn.005326d0
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], edi
test ebp, ebp
jne 0x4b9982
mov eax, dword [esp + 0x98]
push esi
push dword [eax]
call fcn.004dc630
mov ebp, eax
add esp, 8
mov dword [esp + 0x28], ebp
jmp 0x4b99a6
mov eax, dword [ebp]
lea edx, [eax + 1]
cmp dword [ebp + 4], edx
jge 0x4b99cf
mov eax, dword [esp + 0x98]
push esi
push ebp
push dword [eax]
call fcn.004dc570
add esp, 0xc
mov dword [esp + 0x28], eax
mov ebp, eax
mov ecx, dword [esp + 0x9c]
mov dword [ecx + 0x30], ebp
test ebp, ebp
jne 0x4b99ff
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
inc edi
cmp byte [edx + 0x57], 0
jne 0x4b9a2a
mov eax, dword [esp + 0x9c]
jmp 0x4b98f0
movups xmm0, xmmword [0x5711b4]
lea eax, [eax + eax*4]
mov dword [ebp], edx
lea ecx, [eax*4]
mov eax, dword [0x5711c4]
movups xmmword [ecx + ebp + 8], xmm0
mov dword [ecx + ebp + 0x18], eax
mov dword [ecx + ebp + 8], esi
mov ecx, dword [esp + 0x9c]
mov dword [ecx + 0x30], ebp
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
inc esi
mov dword [esp + 0x40], esi
mov word [ecx + ebp + 0x18], di
add ecx, 0x14
mov dword [esp + 0x3c], ecx
jmp 0x4b99b8
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x84
ret
movzx eax, word [edx + 0x134]
lea ecx, [esi*4 + 4]
xor esi, esi
cdq
cmp esi, edx
jb 0x4b9a94
ja 0x4b9a45
cmp ecx, eax
jbe 0x4b9a94
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x130], esi
jne 0x4b9a5c
inc dword [eax + 0x144]
jmp 0x4b9b20
cmp byte [eax + 0x57], 0
je 0x4b9b20
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x9c]
mov dl, byte [esp + 0x13]
cmp dl, 0x87
jne 0x4b9b81
mov dword [esp + 0x30], 0
mov ecx, 1
jmp 0x4b9cfc
mov edx, dword [esp + 0x1c]
cmp ecx, 0x80
ja 0x4b9adc
mov edi, dword [edx + 0x158]
mov dword [esp + 0x34], edi
test edi, edi
je 0x4b9abe
mov eax, dword [edi]
mov dword [edx + 0x158], eax
inc dword [edx + 0x140]
jmp 0x4b9b3d
mov edi, dword [edx + 0x154]
mov dword [esp + 0x34], edi
test edi, edi
je 0x4b9adc
mov eax, dword [edi]
mov dword [edx + 0x154], eax
inc dword [edx + 0x140]
jmp 0x4b9b3d
mov edi, dword [edx + 0x150]
mov dword [esp + 0x34], edi
test edi, edi
je 0x4b9afa
mov eax, dword [edi]
mov dword [edx + 0x150], eax
inc dword [edx + 0x140]
jmp 0x4b9b3d
mov edi, dword [edx + 0x14c]
mov dword [esp + 0x34], edi
test edi, edi
je 0x4b9b18
mov eax, dword [edi]
inc dword [edx + 0x140]
mov dword [edx + 0x14c], eax
jmp 0x4b9b3d
inc dword [edx + 0x148]
mov eax, edx
push esi
push ecx
push eax
call fcn.004a4a70
mov edi, eax
add esp, 0xc
mov dword [esp + 0x34], edi
mov dword [esp + 0x54], edi
test edi, edi
je 0x4b9a6a
mov esi, dword [esp + 0x40]
mov ecx, 1
mov dword [edi], esi
cmp esi, ecx
jl 0x4b9b5f
lea edx, [ebp + 0x18]
nop
movzx eax, word [edx]
lea edx, [edx + 0x14]
dec eax
mov dword [edi + ecx*4], eax
inc ecx
cmp ecx, esi
jle 0x4b9b50
mov esi, dword [esp + 0x9c]
push 1
push esi
push dword [esp + 0xa0]
call fcn.004bac30
add esp, 0xc
mov dword [esp + 0x3c], eax
jmp 0x4b9a75
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x98]
mov edi, dword [eax]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x54], edi
lea edx, [eax + 1]
inc eax
add eax, edi
mov dword [esp + 0x30], edx
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4b9bbb
push 0
push edx
push 0
push 0x47
push ebx
call fcn.004b0300
add esp, 0x14
jmp 0x4b9bee
mov ebp, dword [esp + 0x28]
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, [edi + 5]
lea eax, [eax + eax*4]
push 0
push eax
push dword [esp + 0x24]
call fcn.004d5b60
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x4b9c53
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 0x18]
lea eax, [eax + edi*4]
mov dword [ecx + 0x10], eax
movzx eax, di
mov word [ecx + 6], ax
inc eax
mov word [ecx + 8], ax
mov al, byte [edx + 0x54]
mov byte [ecx + 4], al
lea eax, [edi*4 + 1]
add eax, edi
mov dword [ecx + 0xc], edx
push eax
lea eax, [ecx + 0x18]
mov dword [ecx], 1
push 0
push eax
call fcn.005326d0
mov eax, dword [esp + 0x24]
add esp, 0xc
jmp 0x4b9c6b
push dword [esp + 0x1c]
call fcn.004e9170
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x4b9cee
xor esi, esi
test edi, edi
jle 0x4b9ce7
mov ebx, dword [esp + 0x54]
xor edi, edi
mov ebp, dword [esp + 0x9c]
add eax, 0x14
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x4b9ca3
push esi
push eax
push dword [esp + 0xa0]
call fcn.004b9820
add esp, 0xc
test eax, eax
jne 0x4b9cbf
jmp 0x4b9ca5
xor eax, eax
mov ecx, dword [ebp + 0x1c]
cmp esi, dword [ecx]
jge 0x4b9cbf
push dword [edi + ecx + 8]
push dword [esp + 0x9c]
call fcn.004db080
add esp, 8
mov ecx, dword [esp + 0x2c]
add edi, 0x14
mov dword [ecx], eax
add ecx, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov eax, dword [eax + 0x10]
mov byte [esi + eax], 0
inc esi
cmp esi, ebx
jl 0x4b9c85
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x9c]
mov dl, byte [esp + 0x13]
mov ecx, 1
cmp dl, 0x86
jne 0x4b9d3e
mov eax, dword [esp + 0x1c]
test dword [eax + 0x50], 0x200000
jne 0x4b9d3e
cmp dword [esi + 0x34], 0
mov eax, esi
je 0x4b9d3e
cmp byte [eax], dl
jne 0x4b9d1f
mov eax, dword [eax + 0x34]
inc ecx
cmp dword [eax + 0x34], 0
jne 0x4b9d11
cmp ecx, 3
jle 0x4b9d3e
lea eax, [ecx - 3]
mov edx, esi
shr eax, 1
inc eax
nop dword [eax]
mov edx, dword [edx + 0x34]
sub eax, 1
jne 0x4b9d30
mov dword [esp + 0x54], edx
jmp 0x4b9d44
mov edx, esi
mov dword [esp + 0x54], esi
mov esi, dword [edx + 0x34]
mov edi, dword [esp + 0x98]
push 0
mov dword [edx + 0x34], 0
mov dword [esi + 0x38], 0
push ebp
push dword [edi]
mov dword [esp + 0x34], esi
call fcn.004dc910
mov ebp, dword [esp + 0xa8]
push str.ORDER
mov dword [esi + 0x30], eax
push dword [ebp + 0x30]
push ebp
push edi
call fcn.004f2d50
push str.ORDER
push dword [esi + 0x30]
push esi
push edi
call fcn.004f2d50
push dword [esp + 0x40]
push ebp
push edi
call fcn.004a2590
add esp, 0x38
cmp dword [ebp + 8], 0
je 0x4b9e6f
cmp byte [esp + 0x13], 0x87
jne 0x4b9e6f
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 0x4b9dd4
inc edx
jmp 0x4b9dd7
mov edx, dword [ebp + 8]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4b9df0
push 0
push esi
push edx
push 0x50
push ebx
call fcn.004b0300
add esp, 0x14
jmp 0x4b9e1b
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 0x4b9e3b
push 0
push edi
push esi
push 0x50
push ebx
call fcn.004b0300
mov edi, dword [esp + 0xac]
add esp, 0x14
jmp 0x4b9e79
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 0x4b9e79
mov dword [esp + 0x2c], 0
xor esi, esi
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x4b9e8d
push eax
push dword [esp + 0x20]
call fcn.004db740
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 + 0x20], ecx
add eax, 3
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], eax
inc eax
mov dword [esp + 0x44], 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 0x4b9f3c
sub eax, 1
je 0x4b9f35
sub eax, 1
je 0x4b9f2e
mov eax, str.UNION
jmp 0x4b9f41
mov eax, str.INTERSECT
jmp 0x4b9f41
mov eax, str.EXCEPT
jmp 0x4b9f41
mov eax, str.UNION_ALL
push eax
push str.MERGE___s_
push 1
push edi
call fcn.00507a40
mov edi, dword [ebx + 0x6c]
add esp, 0x10
lea edx, [edi + 1]
cmp dword [ebx + 0x70], edi
jg 0x4b9f73
push edx
push 0
push dword [esp + 0x28]
push 0xb
push ebx
call fcn.004b0300
add esp, 0x14
mov edi, eax
jmp 0x4b9fa6
mov eax, dword [ebx + 0x68]
lea ecx, [edi + edi*4]
mov ebp, dword [esp + 0x20]
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 + 0x28]
push str.LEFT
push 1
mov dword [eax + 8], esi
mov esi, dword [esp + 0xa0]
push esi
call fcn.00507a40
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x38]
push esi
call fcn.004f4400
mov ecx, dword [ebx + 0x6c]
add esp, 0x18
cmp dword [ebx + 0x70], ecx
jg 0x4b9ff3
push 0
push 0
push dword [esp + 0x28]
push 0x44
push ebx
call fcn.004b0300
add esp, 0x14
jmp 0x4ba026
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 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 0x4ba049
mov eax, 0x590c20
jmp 0x4ba052
mov eax, dword [ebx + 0x68]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov esi, dword [esp + 0x38]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x4c], eax
lea edx, [eax + 1]
cmp dword [ebx + 0x70], eax
jg 0x4ba07d
push edx
push 0
push esi
push 0xb
push ebx
call fcn.004b0300
add esp, 0x14
mov dword [esp + 0x4c], eax
jmp 0x4ba0a5
lea ecx, [eax + eax*4]
mov dword [ebx + 0x6c], edx
mov eax, dword [ebx + 0x68]
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.00507a40
lea eax, [esp + 0x68]
push eax
push ebp
push dword [esp + 0xac]
call fcn.004f4400
mov dword [ebp + 8], edi
add esp, 0x18
mov edi, dword [esp + 0x38]
mov dword [ebp + 0xc], esi
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4ba105
push 0
push 0
push edi
push 0x44
push ebx
call fcn.004b0300
add esp, 0x14
jmp 0x4ba134
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], edi
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]
push dword [esp + 0x1c]
mov esi, dword [esp + 0xa8]
push dword [esp + 0x38]
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.004ae410
mov dword [esp + 0x4c], eax
add esp, 0x20
mov al, byte [esp + 0x13]
cmp al, 0x87
je 0x4ba185
cmp al, 0x86
jne 0x4ba1af
push dword [esp + 0x14]
lea eax, [esp + 0x60]
push dword [esp + 0x1c]
push dword [esp + 0x38]
push dword [esp + 0x50]
push esi
push eax
push ebp
push dword [esp + 0xb4]
call fcn.004ae410
add esp, 0x20
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4ba1c8
add dword [eax], 0xffffffff
jne 0x4ba1c8
push eax
push dword [eax + 0xc]
call fcn.004d5c80
add esp, 8
mov al, byte [esp + 0x13]
cmp al, 0x88
je 0x4ba35a
cmp al, 0x89
je 0x4ba35a
mov esi, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], esi
jg 0x4ba1fd
push 0
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push 0xa
push ebx
call fcn.004b0300
add esp, 0x14
mov esi, eax
jmp 0x4ba230
mov edx, dword [esp + 0x44]
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 + 0x48]
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 0x4ba254
push 0
push dword [esp + 0x18]
push edi
push 0xc
push ebx
call fcn.004b0300
add esp, 0x14
mov dword [esp + 0x30], eax
jmp 0x4ba283
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 4], edi
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 0x4ba29d
push 0
push esi
push 0
push 9
push ebx
call fcn.004b0300
add esp, 0x14
jmp 0x4ba2cc
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 + 0x28]
movzx ebp, word [ebp + 2]
movsx ecx, bp
movzx edi, word [eax + 2]
movsx edx, di
cmp bp, di
jl 0x4ba308
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x4ba2ee
mov eax, ebp
jmp 0x4ba32e
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x4ba2fa
lea eax, [ebp + 1]
jmp 0x4ba32b
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, bp
jmp 0x4ba32b
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x4ba313
mov eax, edi
jmp 0x4ba32e
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x4ba31f
lea eax, [edi + 1]
jmp 0x4ba32b
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, di
movzx eax, ax
mov ecx, dword [esp + 0x9c]
mov word [ecx + 2], ax
mov edi, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], edi
jg 0x4ba385
push 0
push dword [esp + 0x30]
push dword [esp + 0x2c]
push 0xa
push ebx
call fcn.004b0300
add esp, 0x14
mov edi, eax
jmp 0x4ba3b8
mov ecx, dword [esp + 0x14]
mov esi, ecx
mov dword [esp + 0x30], ecx
cmp al, 0x89
jne 0x4ba339
mov eax, dword [esp + 0x28]
mov edi, esi
movzx eax, word [eax + 2]
cmp word [ebp + 2], ax
jle 0x4ba37c
mov word [ebp + 2], ax
mov dword [esp + 0x30], ecx
jmp 0x4ba453
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 0x4ba3d7
push 0
push dword [esp + 0x18]
push dword [esp + 0x28]
push 0xc
push ebx
call fcn.004b0300
add esp, 0x14
jmp 0x4ba40a
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 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 0x4ba424
push 0
push edi
push 0
push 9
push ebx
call fcn.004b0300
add esp, 0x14
jmp 0x4ba453
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 + 0x18], ebp
cmp dword [ebx + 0x70], ebp
jg 0x4ba47c
push 0
push dword [esp + 0x30]
push dword [esp + 0x2c]
push 0xa
push ebx
call fcn.004b0300
mov ebp, eax
add esp, 0x14
mov dword [esp + 0x18], ebp
jmp 0x4ba4b5
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 0x4ba4d1
push 0
push esi
push dword [esp + 0x28]
push 0xc
push ebx
call fcn.004b0300
add esp, 0x14
jmp 0x4ba500
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 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 0x4ba51f
mov eax, dword [esp + 0x14]
push 0
dec eax
push eax
push 0
push 9
push ebx
call fcn.004b0300
add esp, 0x14
jmp 0x4ba557
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov ebp, dword [esp + 0x18]
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 0x4ba56b
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x24], ecx
jmp 0x4ba633
cmp al, 0x89
jne 0x4ba57f
mov eax, dword [ebx + 0x6c]
inc dword [esp + 0x18]
mov dword [esp + 0x24], eax
jmp 0x4ba682
mov ebp, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ebp
jg 0x4ba59d
push 0
push esi
push dword [esp + 0x28]
push 0xc
push ebx
call fcn.004b0300
add esp, 0x14
mov ebp, eax
jmp 0x4ba5d2
mov edx, dword [esp + 0x20]
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 0x4ba5f1
mov eax, dword [esp + 0x14]
push 0
dec eax
push eax
push 0
push 9
push ebx
call fcn.004b0300
add esp, 0x14
jmp 0x4ba625
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 0x4ba682
cmp dword [ebx + 0x70], ecx
jg 0x4ba64f
push 0
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push 0xa
push ebx
call fcn.004b0300
add esp, 0x14
jmp 0x4ba682
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 + 4], edx
mov edx, dword [esp + 0x48]
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 + 0x38]
cmp dword [ebx + 0x70], ecx
jg 0x4ba69f
push 0
push edi
push esi
push 0xc
push ebx
call fcn.004b0300
add esp, 0x14
jmp 0x4ba6ca
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 0x4ba6e9
mov eax, dword [esp + 0x14]
push 0
dec eax
push eax
push 0
push 9
push ebx
call fcn.004b0300
add esp, 0x14
jmp 0x4ba721
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x38]
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 0x4ba733
mov eax, 0x590c20
jmp 0x4ba740
mov eax, dword [esp + 0x4c]
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 0x4ba763
mov edx, dword [esp + 0x30]
push 0
push edx
push dword [esp + 0x28]
push 0xc
push ebx
call fcn.004b0300
add esp, 0x14
jmp 0x4ba796
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 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 0x4ba7af
push 0
push edi
push esi
push 0xc
push ebx
call fcn.004b0300
add esp, 0x14
jmp 0x4ba7da
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 0x4ba7f9
push edx
push ebx
push ecx
call fcn.004c4330
add esp, 0xc
jmp 0x4ba802
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 0x4ba81f
push 0
push 0
push 0
push 0x59
push ebx
call fcn.004b0300
add esp, 0x14
mov edx, eax
jmp 0x4ba852
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 0x4ba86e
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x4ba8a4
push ecx
push eax
call fcn.004d5c80
add esp, 8
jmp 0x4ba8a4
test edx, edx
jns 0x4ba876
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 + 0x34]
je 0x4ba899
push 0xfffffffffffffff2
push ecx
push eax
push ebx
call fcn.00519000
add esp, 0x10
jmp 0x4ba8a4
test ecx, ecx
je 0x4ba8a4
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 0x4ba8cc
push dword [esp + 0x40]
push esi
push edi
push 0x5a
push ebx
call fcn.004b0300
add esp, 0x14
mov edx, eax
jmp 0x4ba8fb
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov ebx, dword [esp + 0x50]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x40]
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 0x4ba927
cmp dword [eax + 0x210], 0
jne 0x4ba95d
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4ba95d
add dword [eax], 0xffffffff
jne 0x4ba95d
push eax
push dword [eax + 0xc]
call fcn.004d5c80
add esp, 8
jmp 0x4ba95d
test edx, edx
jns 0x4ba92f
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 + 0x3c]
je 0x4ba952
push 0xfffffffffffffff8
push ecx
push eax
push ebx
call fcn.00519000
add esp, 0x10
jmp 0x4ba95d
test ecx, ecx
je 0x4ba95d
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf8
mov eax, dword [ebx + 0x6c]
test eax, eax
jle 0x4ba974
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 0x4ba994
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x1c]
push ebp
push edx
push 0xe
push ebx
call fcn.004b0300
add esp, 0x14
jmp 0x4ba9c3
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 + 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 0x4ba9e1
push edx
push ebx
push ecx
call fcn.004c4330
add esp, 0xc
jmp 0x4ba9ea
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov ebp, dword [esp + 0x54]
mov ebx, dword [esp + 0x98]
mov esi, dword [ebp + 0x34]
test esi, esi
je 0x4babbd
mov eax, dword [ebx]
push 0
push 0xc
test eax, eax
je 0x4baa15
push eax
call fcn.004d5b60
add esp, 0xc
jmp 0x4baa1d
call fcn.004e8780
add esp, 8
mov ecx, eax
test ecx, ecx
je 0x4baa40
mov eax, dword [ebx + 0x88]
mov dword [ecx], eax
mov dword [ebx + 0x88], ecx
mov dword [ecx + 4], esi
mov dword [ecx + 8], fcn.004f74b0
jmp 0x4babbd
mov edi, dword [ebx]
mov eax, dword [esi + 0x1c]
mov ebx, dword [esi + 0x34]
test eax, eax
je 0x4baa56
push eax
push edi
call fcn.004a90a0
add esp, 8
push dword [esi + 0x20]
push edi
call fcn.004f7ff0
mov eax, dword [esi + 0x24]
add esp, 8
test eax, eax
je 0x4baa73
push eax
push edi
call fcn.004db740
add esp, 8
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4baa84
push eax
push edi
call fcn.004a90a0
add esp, 8
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4baa95
push eax
push edi
call fcn.004db740
add esp, 8
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4baaa6
push eax
push edi
call fcn.004a90a0
add esp, 8
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4baab7
push eax
push edi
call fcn.004db740
add esp, 8
mov eax, dword [esi + 0x40]
test eax, eax
je 0x4baac8
push eax
push edi
call fcn.00514fb0
add esp, 8
mov eax, dword [esi + 0x48]
test eax, eax
je 0x4baad9
push eax
push edi
call fcn.00514130
add esp, 8
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x4bab07
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x4bab00
mov eax, dword [ecx + 0x24]
mov dword [edx], eax
mov edx, dword [ecx + 0x24]
test edx, edx
je 0x4baaf9
mov eax, dword [ecx + 0x20]
mov dword [edx + 0x20], eax
mov dword [ecx + 0x20], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
jne 0x4baae0
cmp esi, dword [edi + 0x164]
jae 0x4bab42
cmp esi, dword [edi + 0x15c]
jb 0x4bab2a
mov eax, dword [edi + 0x158]
mov dword [esi], eax
mov dword [edi + 0x158], esi
jmp 0x4babac
cmp esi, dword [edi + 0x160]
jb 0x4bab42
mov eax, dword [edi + 0x150]
mov dword [esi], eax
mov dword [edi + 0x150], esi
jmp 0x4babac
cmp dword [edi + 0x210], 0
je 0x4bab57
push esi
push edi
call fcn.004b8600
add esp, 8
jmp 0x4babac
cmp dword [0x58d428], 0
je 0x4baba2
mov eax, dword [0x590a50]
test eax, eax
je 0x4bab73
push eax
call dword [0x58d478]
add esp, 4
push esi
call dword [0x58d454]
sub dword [0x5909e8], eax
dec dword [0x590a0c]
push esi
call dword [0x58d44c]
mov eax, dword [0x590a50]
add esp, 8
test eax, eax
je 0x4babac
push eax
call dword [0x58d480]
jmp 0x4baba9
push esi
call dword [0x58d44c]
add esp, 4
mov esi, ebx
test ebx, ebx
jne 0x4baa42
mov ebx, dword [esp + 0x98]
mov esi, dword [esp + 0x28]
mov dword [ebp + 0x34], esi
mov eax, dword [esi + 0x30]
mov dword [esi + 0x38], ebp
test eax, eax
je 0x4babdb
push eax
push dword [esp + 0x20]
call fcn.004a90a0
add esp, 8
mov dword [esi + 0x30], 0
mov ecx, dword [ebx + 0xe4]
test ecx, ecx
jne 0x4babf0
xor eax, eax
jmp 0x4bac0e
mov edx, dword [ebx + 8]
mov eax, dword [edx]
cmp byte [eax + 0x57], 0
je 0x4bac02
mov eax, 0x590c20
jmp 0x4bac0b
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [ebx + 0xe4], eax
xor eax, eax
cmp dword [ebx + 0x24], eax
pop edi
pop esi
pop ebp
setne al
pop ebx
add esp, 0x84
ret