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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, ecx
mov dword [esp + 0x34], 0
push ebx
push esi
push edi
mov ecx, dword [eax]
mov edi, edx
mov ebx, dword [eax + 8]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0x38]
dec ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ecx
dec ecx
mov dword [eax + 0x38], ecx
mov esi, dword [edi + 0x30]
mov al, byte [edi]
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 0x34]
mov edx, dword [esi]
mov dword [esp + 0x14], edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x48], ebx
mov byte [esp + 0x13], al
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x50], esi
mov dword [esp + 0x28], edx
cmp al, 0x85
je 0x49bd51
mov eax, dword [esp + 0x38]
mov edi, 1
cmp byte [eax + 0x51], 0
jne 0x49bd4d
lea eax, [edx + edx*4]
shl eax, 2
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x14]
nop dword [eax + eax]
mov eax, dword [eax + 0x1c]
cmp edi, dword [eax]
jg 0x49bd4d
xor ecx, ecx
test edx, edx
jle 0x49bcaf
lea edx, [esi + 0x14]
mov esi, dword [esp + 0x28]
movzx eax, word [edx]
cmp eax, edi
je 0x49bca7
inc ecx
add edx, 0x14
cmp ecx, esi
jl 0x49bc98
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x28]
cmp ecx, edx
jne 0x49bd3a
mov ecx, dword [esp + 0x38]
push 0
push 0x35
call fcn.0043eff0
mov esi, eax
add esp, 8
test esi, esi
je 0x49bdaf
push 0x34
push 0
push esi
call fcn.00502470
mov edx, dword [esp + 0x5c]
add esp, 0xc
mov ecx, dword [esp + 0x18]
or eax, 0xffffffff
mov byte [esi], 0x98
mov word [esi + 0x22], ax
mov byte [esi + 0x34], 0
or dword [esi + 4], 0x400
push esi
mov dword [esi + 0x18], 1
mov dword [esi + 8], edi
call fcn.00474550
mov edx, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x50], esi
mov dword [eax + 0x30], esi
test esi, esi
je 0x49bd3e
mov ecx, dword [esp + 0x4c]
inc edx
mov dword [esp + 0x28], edx
mov word [ecx + esi + 0x14], di
add ecx, 0x14
mov dword [esp + 0x4c], ecx
jmp 0x49bd3e
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
inc edi
cmp byte [ecx + 0x51], 0
je 0x49bc80
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
lea eax, [edx*4 + 4]
push 0
push eax
call fcn.0043eff0
add esp, 8
mov dword [esp + 0x58], eax
test eax, eax
je 0x49bdbb
mov edi, dword [esp + 0x28]
mov ecx, 1
mov dword [eax], edi
cmp edi, ecx
jl 0x49bd96
lea edx, [esi + 0x14]
mov ebx, eax
movzx eax, word [edx]
lea edx, [edx + 0x14]
dec eax
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, edi
jle 0x49bd83
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x14]
mov edx, edi
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0049a7f0
add esp, 4
mov dword [esp + 0x5c], eax
jmp 0x49bdc3
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x18]
mov edx, esi
mov dword [edi + 0x30], esi
push 0
mov ecx, dword [eax]
call fcn.00473d00
mov ecx, dword [esp + 0x30]
add esp, 4
cmp byte [esp + 0x13], 0x85
mov dword [ecx + 0x30], eax
jne 0x49bdf3
mov dword [esp + 0x50], 0
jmp 0x49beee
mov eax, dword [edi + 0x1c]
mov ecx, dword [esp + 0x18]
mov esi, dword [eax]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x4c], esi
lea edx, [eax + 1]
inc eax
add eax, esi
mov dword [esp + 0x50], edx
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x49be2e
push 0
push edx
push 0
mov edx, 0x45
mov ecx, ebx
call fcn.0045dec0
add esp, 0xc
jmp 0x49be61
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x38]
mov edx, esi
push 1
call fcn.00499200
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
je 0x49beee
xor esi, esi
cmp dword [esp + 0x4c], esi
jle 0x49beee
mov ebx, dword [esp + 0x14]
lea ecx, [eax + 0x14]
xor edi, edi
mov dword [esp + 0x44], ecx
nop
mov edx, dword [ebx + 0x34]
test edx, edx
je 0x49beae
mov ecx, dword [esp + 0x18]
push esi
call fcn.0049a7a0
mov ecx, dword [esp + 0x48]
add esp, 4
test eax, eax
jne 0x49bec8
jmp 0x49beb0
xor eax, eax
mov edx, dword [ebx + 0x1c]
cmp esi, dword [edx]
jge 0x49bec8
mov edx, dword [edx + edi + 4]
mov ecx, dword [esp + 0x18]
call fcn.004726f0
mov ecx, dword [esp + 0x44]
mov dword [ecx], eax
add edi, 0x14
mov eax, dword [esp + 0x30]
add ecx, 4
mov dword [esp + 0x44], ecx
mov eax, dword [eax + 0x10]
mov byte [esi + eax], 0
inc esi
cmp esi, dword [esp + 0x4c]
jl 0x49be90
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov edx, edi
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x34], 0
push str.ORDER
mov dword [eax + 0x38], 0
push dword [edi + 0x30]
call fcn.00471b00
mov eax, dword [esp + 0x34]
add esp, 8
cmp dword [eax + 0x34], 0
jne 0x49bf36
mov ecx, dword [esp + 0x18]
mov edx, eax
push str.ORDER
push dword [eax + 0x30]
call fcn.00471b00
add esp, 8
push dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, edi
call fcn.0049a660
add esp, 4
cmp dword [edi + 8], 0
je 0x49c019
cmp byte [esp + 0x13], 0x85
jne 0x49c019
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 0x2c]
inc esi
lea eax, [esi + 1]
mov dword [ecx + 0x2c], eax
mov edx, dword [edi + 0xc]
mov dword [esp + 0x44], eax
test edx, edx
je 0x49bf79
inc edx
jmp 0x49bf7c
mov edx, dword [edi + 8]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x49bf99
push 0
push esi
push edx
mov edx, 0x4d
mov ecx, ebx
call fcn.0045dec0
add esp, 0xc
jmp 0x49bfc8
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x4d
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 0x49bfe8
push 0
push dword [esp + 0x48]
mov edx, 0x4d
mov ecx, ebx
push esi
call fcn.0045dec0
add esp, 0xc
jmp 0x49c023
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], 0x4d
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x49c023
mov dword [esp + 0x44], 0
xor esi, esi
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x49c033
mov ecx, dword [esp + 0x38]
call fcn.004737c0
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x3c], 0
mov byte [esp + 0x78], 0xd
mov dword [esp + 0x88], 0
mov eax, dword [ecx + 0x2c]
inc eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], 0
lea edx, [eax + 1]
mov byte [esp + 0x60], 0xd
mov dword [esp + 0x1c], edx
add edx, 2
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x64], eax
mov dword [ecx + 0x2c], edx
movzx eax, byte [edi]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x70], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
sub eax, 0x85
je 0x49c0cf
sub eax, 1
je 0x49c0c8
sub eax, 1
je 0x49c0c1
mov eax, str.UNION
jmp 0x49c0d4
mov eax, str.INTERSECT
jmp 0x49c0d4
mov eax, str.EXCEPT
jmp 0x49c0d4
mov eax, str.UNION_ALL
push eax
push str.MERGE___s_
push 1
push ecx
call fcn.0045e3f0
mov eax, dword [ebx + 0x6c]
add esp, 0x10
mov dword [esp + 0x4c], eax
lea edx, [eax + 1]
cmp dword [ebx + 0x70], eax
jg 0x49c110
push edx
push 0
push dword [esp + 0x28]
mov edx, 0xd
mov ecx, ebx
call fcn.0045dec0
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x49c140
mov edi, dword [esp + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x6c], edx
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0xd
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 + 0x2c]
push str.LEFT
push 1
mov dword [eax + 8], esi
mov esi, dword [esp + 0x20]
push esi
call fcn.0045e3f0
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x84]
add esp, 0xc
mov ecx, esi
push eax
call fcn.0049f180
mov ecx, dword [ebx + 0x6c]
add esp, 4
cmp dword [ebx + 0x70], ecx
jg 0x49c192
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x42
mov ecx, ebx
call fcn.0045dec0
add esp, 0xc
jmp 0x49c1c5
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], 0x42
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 + 0x51], 0
je 0x49c1e8
mov eax, 0x561af8
jmp 0x49c1fd
mov ecx, dword [esp + 0x4c]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x54], eax
lea esi, [eax + 1]
cmp dword [ebx + 0x70], eax
jg 0x49c22b
push esi
push 0
push dword [esp + 0x24]
mov edx, 0xd
mov ecx, ebx
call fcn.0045dec0
add esp, 0xc
mov dword [esp + 0x54], eax
jmp 0x49c257
mov edx, dword [esp + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x6c], esi
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov edi, dword [edi + 8]
mov ecx, dword [esp + 0x44]
push str.RIGHT
mov esi, dword [eax + 0xc]
push 1
push dword [esp + 0x20]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0
call fcn.0045e3f0
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x6c]
mov ecx, dword [esp + 0x24]
add esp, 0xc
push eax
call fcn.0049f180
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [eax + 8], edi
mov edi, eax
mov dword [edi + 0xc], esi
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x49c2c4
push 0
push 0
push dword [esp + 0x24]
mov edx, 0x42
mov ecx, ebx
call fcn.0045dec0
add esp, 0xc
jmp 0x49c2f7
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], 0x42
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 edx, edi
push dword [esp + 0x24]
mov esi, dword [ebp + 8]
push dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
push dword [esp + 0x58]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x28]
inc eax
push eax
lea eax, [esp + 0x88]
push esi
push eax
call fcn.0049b820
mov dword [esp + 0x5c], eax
add esp, 0x18
mov al, byte [esp + 0x13]
cmp al, 0x85
je 0x49c344
cmp al, 0x84
jne 0x49c36c
push dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x64]
push dword [esp + 0x34]
mov edx, edi
push dword [esp + 0x58]
push dword [esp + 0x48]
push esi
push eax
call fcn.0049b820
add esp, 0x18
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x49c383
add dword [eax], 0xffffffff
jne 0x49c383
mov ecx, dword [eax + 0xc]
mov edx, eax
call fcn.0043ed00
mov al, byte [esp + 0x13]
cmp al, 0x86
je 0x49c54a
cmp al, 0x87
je 0x49c54a
mov esi, dword [ebx + 0x6c]
mov dword [esp + 0x30], esi
cmp dword [ebx + 0x70], esi
jg 0x49c3c4
push 0
push dword [esp + 0x44]
mov edx, 0xc
mov ecx, ebx
push dword [esp + 0x44]
call fcn.0045dec0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x30], esi
jmp 0x49c3f7
mov edx, dword [esp + 0x3c]
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 + 0x40]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x6c]
mov dword [esp + 0x4c], edx
cmp dword [ebx + 0x70], edx
jg 0x49c422
push 0
push dword [esp + 0x28]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x24]
call fcn.0045dec0
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x49c455
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 + 0x24]
mov dword [eax + ecx*4], 0xe
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 0x49c473
push 0
push esi
push 0
mov edx, 0xb
mov ecx, ebx
call fcn.0045dec0
add esp, 0xc
jmp 0x49c4a2
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
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 [edi + 2]
movsx ecx, ax
movsx edx, si
cmp ax, si
jl 0x49c507
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x49c4d1
movzx eax, word [edi + 2]
mov word [edi + 2], ax
mov eax, dword [esp + 0x30]
jmp 0x49c558
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x49c4ea
movzx eax, word [edi + 2]
inc eax
movzx eax, ax
mov word [edi + 2], ax
mov eax, dword [esp + 0x30]
jmp 0x49c558
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [edi + 2]
add ax, cx
movzx eax, ax
mov word [edi + 2], ax
mov eax, dword [esp + 0x30]
jmp 0x49c558
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x49c51a
mov eax, esi
mov word [edi + 2], ax
mov eax, dword [esp + 0x30]
jmp 0x49c558
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x49c531
lea eax, [esi + 1]
movzx eax, ax
mov word [edi + 2], ax
mov eax, dword [esp + 0x30]
jmp 0x49c558
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 [edi + 2], ax
mov eax, dword [esp + 0x30]
jmp 0x49c558
mov ecx, dword [esp + 0x24]
mov eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], ecx
cmp byte [esp + 0x13], 0x87
jne 0x49c57e
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x2c]
movzx eax, word [eax + 2]
cmp word [edi + 2], ax
jle 0x49c684
mov word [edi + 2], ax
jmp 0x49c684
mov esi, dword [ebx + 0x6c]
mov dword [esp + 0x48], esi
cmp dword [ebx + 0x70], esi
jg 0x49c5ad
mov eax, dword [esp + 0x1c]
mov edx, 0xc
push 0
push dword [esp + 0x48]
inc eax
mov ecx, ebx
push eax
call fcn.0045dec0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x48], esi
jmp 0x49c5e1
mov edx, dword [esp + 0x1c]
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
inc edx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
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 0x49c604
push 0
push dword [esp + 0x28]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x28]
call fcn.0045dec0
add esp, 0xc
jmp 0x49c637
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 + 0x24]
mov dword [eax + ecx*4], 0xe
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 0x49c655
push 0
push esi
push 0
mov edx, 0xb
mov ecx, ebx
call fcn.0045dec0
add esp, 0xc
jmp 0x49c684
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
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 + 0x50], esi
cmp dword [ebx + 0x70], esi
jg 0x49c6b3
mov eax, dword [esp + 0x1c]
mov edx, 0xc
push 0
push dword [esp + 0x48]
inc eax
mov ecx, ebx
push eax
call fcn.0045dec0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x50], esi
jmp 0x49c6eb
mov edx, dword [esp + 0x1c]
lea eax, [esi + 1]
mov edi, dword [esp + 0x14]
lea ecx, [esi + esi*4]
mov dword [ebx + 0x6c], eax
inc edx
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
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 0x49c70e
push 0
push dword [esp + 0x34]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x28]
call fcn.0045dec0
add esp, 0xc
jmp 0x49c741
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], 0xe
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 0x49c762
push 0
push dword [esp + 0x38]
mov edx, 0xb
mov ecx, ebx
push 0
call fcn.0045dec0
add esp, 0xc
jmp 0x49c795
mov edx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
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, 0x85
jne 0x49c7a6
mov dword [esp + 0x44], esi
jmp 0x49c86e
cmp al, 0x87
jne 0x49c7b8
mov dword [esp + 0x44], esi
inc esi
mov dword [esp + 0x50], esi
jmp 0x49c86e
mov edx, dword [ebx + 0x6c]
mov dword [esp + 0x44], edx
cmp dword [ebx + 0x70], edx
jg 0x49c7e3
push 0
push dword [esp + 0x34]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x28]
call fcn.0045dec0
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x49c816
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0xe
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 0x49c837
push 0
push dword [esp + 0x38]
mov edx, 0xb
mov ecx, ebx
push 0
call fcn.0045dec0
add esp, 0xc
jmp 0x49c86a
mov edx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
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]
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x30], ecx
cmp al, 0x85
je 0x49c87d
cmp al, 0x84
jne 0x49c8d0
cmp dword [ebx + 0x70], ecx
jg 0x49c89d
push 0
push dword [esp + 0x44]
mov edx, 0xc
mov ecx, ebx
push dword [esp + 0x44]
call fcn.0045dec0
add esp, 0xc
jmp 0x49c8d0
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
mov esi, dword [esp + 0x48]
cmp dword [ebx + 0x70], ecx
jg 0x49c8f4
push 0
push esi
push dword [esp + 0x24]
mov edx, 0xe
mov ecx, ebx
call fcn.0045dec0
add esp, 0xc
jmp 0x49c923
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], 0xe
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 0x49c944
push 0
push dword [esp + 0x38]
mov edx, 0xb
mov ecx, ebx
push 0
call fcn.0045dec0
add esp, 0xc
jmp 0x49c977
mov edx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
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 + 0x51], 0
je 0x49c989
mov eax, 0x561af8
jmp 0x49c99e
mov ecx, dword [esp + 0x54]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
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 0x49c9c5
mov edx, dword [esp + 0x4c]
mov ecx, ebx
push 0
push edx
push dword [esp + 0x28]
mov edx, 0xe
call fcn.0045dec0
add esp, 0xc
jmp 0x49c9f8
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 + 0x4c]
mov dword [eax + ecx*4], 0xe
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 0x49ca18
push 0
push esi
push dword [esp + 0x24]
mov edx, 0xe
mov ecx, ebx
call fcn.0045dec0
add esp, 0xc
jmp 0x49ca47
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], 0xe
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 + 0x34]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x49ca65
push edx
mov edx, ebx
call fcn.0045e5c0
add esp, 4
jmp 0x49ca6e
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 0x49ca8f
push 0
push 0
push 0
mov edx, 0x55
mov ecx, ebx
call fcn.0045dec0
add esp, 0xc
mov edx, eax
jmp 0x49cac2
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x55
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffff1
push dword [esp + 0x5c]
mov ecx, ebx
call fcn.0045ecb0
mov esi, dword [ebx + 0x6c]
add esp, 8
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x58], eax
cmp dword [ebx + 0x70], esi
jg 0x49cb02
push dword [esp + 0x28]
mov ecx, ebx
push edx
push eax
mov edx, 0x56
call fcn.0045dec0
add esp, 0xc
mov esi, eax
jmp 0x49cb35
mov edi, dword [esp + 0x58]
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x56
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffff7
push dword [esp + 0x60]
mov edx, esi
mov ecx, ebx
call fcn.0045ecb0
mov ecx, dword [ebx + 0x6c]
add esp, 8
test ecx, ecx
jle 0x49cb61
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 0x49cb86
mov edx, dword [esp + 0x30]
mov ecx, ebx
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x58]
push edx
mov edx, 0x10
call fcn.0045dec0
add esp, 0xc
jmp 0x49cbb9
mov edx, dword [esp + 0x50]
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 + 8], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x24]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x49cbd7
push edx
mov edx, ebx
call fcn.0045e5c0
add esp, 4
jmp 0x49cbe0
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov edx, dword [edi + 0x34]
test edx, edx
je 0x49cbf5
mov ecx, dword [esp + 0x38]
push 1
call fcn.004976e0
add esp, 4
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x18]
mov dword [edi + 0x34], eax
mov dword [eax + 0x38], edi
mov ecx, dword [ebx + 0xd4]
test ecx, ecx
jne 0x49cc11
xor eax, eax
jmp 0x49cc37
mov edx, dword [ebx + 8]
test ecx, ecx
jns 0x49cc1c
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x49cc2b
mov eax, 0x561af8
jmp 0x49cc34
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [ebx + 0xd4], eax
xor eax, eax
cmp dword [ebx + 0x24], eax
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret