Function at 0x1007b1cc
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 + 8], ecx
and dword [esp + 0x20], eax
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 0x38]
dec eax
push ebx
mov ebx, edx
mov dword [esp + 0x28], eax
dec eax
mov dword [esp + 0x4c], ebx
push esi
mov esi, dword [ecx]
mov dword [ecx + 0x38], eax
push edi
mov edi, dword [ecx + 8]
mov ecx, dword [ebx + 0x34]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx + 0x30]
mov dword [esp + 0x44], eax
mov al, byte [ebx]
mov dword [esp + 0x34], esi
mov edx, dword [ecx]
mov dword [esp + 0x38], edi
mov byte [esp + 0xf], al
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], edx
cmp al, 0x85
je 0x1007b301
cmp byte [esi + 0x51], 0
mov dword [esp + 0x10], 1
jne 0x1007b301
imul eax, edx, 0x14
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov edi, dword [esp + 0x10]
cmp edi, dword [eax]
mov edi, dword [esp + 0x38]
jg 0x1007b301
xor eax, eax
test edx, edx
jle 0x1007b286
lea ebx, [ecx + 0x14]
mov edi, eax
movzx eax, word [ebx]
cmp eax, dword [esp + 0x10]
je 0x1007b276
inc edi
add ebx, 0x14
cmp edi, edx
jl 0x1007b265
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
cmp eax, edx
jne 0x1007b2ee
push 0
mov edx, 0x98
mov ecx, esi
call fcn.1005eb1f
mov ecx, eax
test ecx, ecx
je 0x1007b359
mov eax, dword [esp + 0x10]
or dword [ecx + 4], 0x400
mov edx, dword [esp + 0x20]
mov dword [ecx + 8], eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.1005f83f
mov ecx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov dword [ebx + 0x30], ecx
test ecx, ecx
je 0x1007b2e8
mov edx, dword [esp + 0x18]
mov word [edx + ecx + 0x14], ax
mov edx, dword [esp + 0x3c]
inc edx
add dword [esp + 0x18], 0x14
mov dword [esp + 0x3c], edx
jmp 0x1007b2f2
mov edx, dword [esp + 0x3c]
jmp 0x1007b2f2
mov eax, dword [esp + 0x10]
inc eax
cmp byte [esi + 0x51], 0
mov dword [esp + 0x10], eax
je 0x1007b247
lea eax, [edx*4 + 4]
mov ecx, esi
push 0
push eax
call fcn.1003670e
mov dword [esp + 0x4c], eax
test eax, eax
je 0x1007b361
mov ecx, dword [esp + 0x3c]
xor edx, edx
inc edx
mov dword [eax], ecx
cmp ecx, edx
jl 0x1007b347
mov edi, dword [esp + 0x20]
mov esi, eax
add edi, 0x14
movzx eax, word [edi]
lea edi, [edi + 0x14]
dec eax
mov dword [esi + edx*4], eax
inc edx
cmp edx, ecx
jle 0x1007b330
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x18]
mov edx, ebx
call fcn.1007a409
mov dword [esp + 0x50], eax
jmp 0x1007b366
push 7
pop eax
jmp 0x1007b9d9
and dword [esp + 0x50], 0
mov eax, dword [esp + 0x20]
mov edx, eax
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x14]
push 0
mov ecx, dword [eax]
call fcn.1005f32c
cmp byte [esp + 0xf], 0x85
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x30], eax
mov ecx, dword [esp + 0x14]
jne 0x1007b39f
and dword [esp + 0x1c], 0
lea eax, [ecx + 0x2c]
mov dword [esp + 0x10], eax
jmp 0x1007b44b
mov eax, dword [ebx + 0x1c]
add ecx, 0x2c
push 0
mov dword [esp + 0x24], ecx
mov edx, dword [eax]
mov eax, dword [ecx]
mov dword [esp + 0x1c], edx
lea esi, [eax + 1]
inc eax
push esi
push 0
add eax, edx
mov dword [esp + 0x28], esi
push 0x45
mov dword [ecx], eax
mov ecx, edi
pop edx
call fcn.1004e5e4
mov esi, dword [esp + 0x34]
mov ecx, esi
mov edx, dword [esp + 0x18]
push 1
call fcn.10079713
mov ecx, dword [esp + 0x20]
mov edx, eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x10], ecx
test edx, edx
je 0x1007b447
and dword [esp + 0x40], 0
cmp dword [esp + 0x18], 0
mov dword [esp + 0x10], ecx
jle 0x1007b447
mov esi, dword [esp + 0x14]
add edx, 0x14
mov edi, dword [esp + 0x40]
mov dword [esp + 0x24], edx
push edi
mov edx, ebx
mov ecx, esi
call fcn.1007a3cb
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
add ecx, 4
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], ecx
mov eax, dword [eax + 0x10]
mov byte [edi + eax], 0
inc edi
cmp edi, dword [esp + 0x18]
jl 0x1007b40e
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov edx, ebx
and dword [ebx + 0x34], 0
push str.ORDER
and dword [eax + 0x38], 0
push dword [ebx + 0x30]
call fcn.1005d43d
mov eax, dword [esp + 0x28]
cmp dword [eax + 0x34], 0
jne 0x1007b483
mov ecx, dword [esp + 0x14]
mov edx, eax
push str.ORDER
push dword [eax + 0x30]
call fcn.1005d43d
push dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
mov edx, ebx
call fcn.1007a2b9
xor eax, eax
cmp dword [ebx + 8], eax
je 0x1007b4e6
cmp byte [esp + 0xf], 0x85
jne 0x1007b4e6
mov eax, dword [esp + 0x10]
inc dword [eax]
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
lea edx, [ecx + 1]
mov dword [eax], edx
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x24], edx
test eax, eax
je 0x1007b4bf
inc eax
jmp 0x1007b4c2
mov eax, dword [ebx + 8]
push 0
push ecx
push eax
push 0x4d
pop edx
mov ecx, edi
call fcn.1004e5e4
push 0
push dword [esp + 0x28]
mov ecx, edi
push dword [esp + 0x20]
push 0x4d
pop edx
call fcn.1004e5e4
jmp 0x1007b4ee
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
mov edx, dword [ebx + 0x3c]
test edx, edx
je 0x1007b4fc
mov ecx, esi
call fcn.1005eeda
mov eax, dword [esp + 0x10]
and dword [ebx + 0x3c], 0
mov byte [esp + 0x74], 0xd
mov byte [esp + 0x58], 0xd
inc dword [eax]
mov esi, dword [eax]
mov dword [esp + 0x20], esi
mov dword [esp + 0x78], esi
lea edx, [esi + 1]
lea ecx, [edx + 1]
mov dword [esp + 0x10], edx
inc ecx
mov dword [esp + 0x5c], edx
mov dword [eax], ecx
xor eax, eax
movzx ecx, byte [ebx]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
call fcn.1007982f
push eax
push str.MERGE___s_
push 1
push dword [esp + 0x20]
call fcn.1004e7ee
mov eax, dword [edi + 0x6c]
add esp, 0x10
inc eax
mov ecx, edi
push eax
push 0
push esi
push 0xd
pop edx
call fcn.1004e5e4
mov ecx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [esp + 0x28]
push str.LEFT
push 1
push dword [esp + 0x1c]
mov dword [eax + 8], ecx
call fcn.1004e7ee
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x20]
add esp, 0xc
push eax
call fcn.1007d911
mov edx, dword [esp + 0x20]
mov ecx, edi
call fcn.1004e8f6
mov edx, esi
mov ecx, edi
call fcn.1004edea
mov ecx, dword [edi + 0x6c]
mov dword [eax + 8], ecx
mov ecx, edi
mov eax, dword [edi + 0x6c]
inc eax
push eax
push 0
push dword [esp + 0x18]
push 0xd
pop edx
call fcn.1004e5e4
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0xc]
and dword [ebx + 0xc], 0
push str.RIGHT
push 1
push dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x30]
mov dword [ebx + 8], eax
call fcn.1004e7ee
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x64]
add esp, 0xc
mov edx, ebx
push eax
call fcn.1007d911
mov dword [ebx + 8], esi
mov esi, dword [esp + 0x38]
mov ecx, esi
mov dword [ebx + 0xc], edi
mov edi, dword [esp + 0x10]
mov edx, edi
call fcn.1004e8f6
push dword [esp + 0x30]
lea eax, [edi + 1]
mov edx, ebx
push dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
mov ecx, edi
push dword [esp + 0x24]
push eax
push dword [ebp + 8]
lea eax, [esp + 0x88]
push eax
call fcn.1007af6a
mov dword [esp + 0x18], eax
mov al, byte [esp + 0xf]
cmp al, 0x85
je 0x1007b66f
cmp al, 0x84
jne 0x1007b69c
push dword [esp + 0x30]
mov eax, dword [esp + 0x14]
mov edx, ebx
push dword [esp + 0x30]
add eax, 2
mov ecx, edi
push dword [esp + 0x24]
push eax
push dword [ebp + 8]
lea eax, [esp + 0x6c]
push eax
call fcn.1007af6a
mov edi, eax
mov dword [esp + 0x48], edi
jmp 0x1007b6a0
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
call fcn.1007978b
mov al, byte [esp + 0xf]
cmp al, 0x86
je 0x1007b716
cmp al, 0x87
je 0x1007b716
mov eax, dword [esp + 0x10]
mov ecx, esi
push 0
push edi
add eax, 2
push eax
push 0xc
pop edx
call fcn.1004e5e4
push 0
push dword [esp + 0x34]
mov edi, eax
mov ecx, esi
push dword [esp + 0x18]
mov dword [esp + 0x28], edi
push 0xe
pop edx
call fcn.1004e5e4
push 0
push edi
push 0
push 0xb
pop edx
mov ecx, esi
mov dword [esp + 0x38], eax
call fcn.1004e5e4
mov edi, dword [esp + 0x28]
mov cx, word [ebx + 2]
mov dx, word [edi + 2]
call fcn.10039da8
mov ecx, dword [esp + 0x1c]
mov word [ebx + 2], ax
mov al, byte [esp + 0xf]
jmp 0x1007b728
mov edx, dword [esp + 0x30]
mov ecx, edx
mov edi, dword [esp + 0x28]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], edx
cmp al, 0x87
jne 0x1007b740
movzx eax, word [edi + 2]
mov dword [esp + 0x24], ecx
cmp word [ebx + 2], ax
jle 0x1007b77f
mov word [ebx + 2], ax
jmp 0x1007b77f
mov eax, dword [esp + 0x10]
mov ecx, esi
push 0
push dword [esp + 0x1c]
inc eax
push eax
push 0xc
pop edx
call fcn.1004e5e4
push 0
push dword [esp + 0x34]
mov edi, eax
mov ecx, esi
push dword [esp + 0x28]
mov dword [esp + 0x30], edi
push 0xe
pop edx
call fcn.1004e5e4
push 0
push edi
push 0
push 0xb
pop edx
mov ecx, esi
call fcn.1004e5e4
mov eax, dword [esp + 0x10]
mov ecx, esi
push 0
push dword [esp + 0x1c]
inc eax
push eax
push 0xc
pop edx
call fcn.1004e5e4
push 0
push dword [esp + 0x20]
mov ecx, esi
mov edi, eax
push dword [esp + 0x28]
push 0xe
pop edx
call fcn.1004e5e4
push 0
push dword [esp + 0x48]
mov ecx, esi
push 0
push 0xb
pop edx
call fcn.1004e5e4
mov al, byte [esp + 0xf]
cmp al, 0x85
jne 0x1007b7cb
mov dword [esp + 0x18], edi
jmp 0x1007b804
cmp al, 0x87
jne 0x1007b7d6
mov dword [esp + 0x18], edi
inc edi
jmp 0x1007b804
push 0
push dword [esp + 0x20]
mov ecx, esi
push dword [esp + 0x28]
push 0xe
pop edx
call fcn.1004e5e4
push 0
push dword [esp + 0x48]
mov ecx, esi
mov dword [esp + 0x20], eax
push 0
push 0xb
pop edx
call fcn.1004e5e4
mov al, byte [esp + 0xf]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x1c], ecx
cmp al, 0x85
je 0x1007b813
cmp al, 0x84
jne 0x1007b82c
mov eax, dword [esp + 0x48]
mov ecx, esi
push 0
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
push 0xc
pop edx
call fcn.1004e5e4
push 0
push dword [esp + 0x28]
mov ecx, esi
push dword [esp + 0x18]
push 0xe
pop edx
call fcn.1004e5e4
push 0
push dword [esp + 0x48]
mov ecx, esi
push 0
push 0xb
pop edx
call fcn.1004e5e4
mov edx, dword [esp + 0x40]
mov ecx, esi
call fcn.1004edea
mov ecx, dword [esi + 0x6c]
push 0
push dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, esi
push dword [esp + 0x28]
push 0xe
pop edx
call fcn.1004e5e4
push 0
push dword [esp + 0x28]
mov ecx, esi
push dword [esp + 0x18]
push 0xe
pop edx
call fcn.1004e5e4
mov edx, dword [esp + 0x44]
mov ecx, esi
call fcn.1004e95b
xor eax, eax
mov ecx, esi
push eax
push eax
push eax
push 0x55
pop edx
call fcn.1004e5e4
push 0xfffffffffffffff1
push dword [esp + 0x50]
mov edx, eax
mov ecx, esi
call fcn.1004ed2c
push dword [esp + 0x3c]
mov ecx, esi
push dword [esp + 0x68]
push dword [esp + 0x88]
push 0x56
pop edx
call fcn.1004e5e4
push 0xfffffffffffffff7
push dword [esp + 0x54]
mov edx, eax
mov ecx, esi
call fcn.1004ed2c
xor edx, edx
mov ecx, esi
inc edx
call fcn.1004eb34
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push edi
push 0x10
pop edx
call fcn.1004e5e4
mov edx, dword [esp + 0x30]
mov ecx, esi
call fcn.1004e95b
mov edi, dword [ebx + 0x34]
test edi, edi
je 0x1007b9bc
mov esi, dword [esp + 0x34]
mov edx, dword [edi + 0x1c]
mov ebx, dword [edi + 0x34]
mov dword [esp + 0x40], ebx
test edx, edx
je 0x1007b926
mov ecx, esi
call fcn.1005fa8a
mov edx, dword [edi + 0x20]
mov ecx, esi
call fcn.1006bcc0
mov edx, dword [edi + 0x24]
test edx, edx
je 0x1007b93e
mov ecx, esi
call fcn.1005eeda
mov edx, dword [edi + 0x28]
test edx, edx
je 0x1007b94c
mov ecx, esi
call fcn.1005fa8a
mov edx, dword [edi + 0x2c]
test edx, edx
je 0x1007b95a
mov ecx, esi
call fcn.1005eeda
mov edx, dword [edi + 0x30]
test edx, edx
je 0x1007b968
mov ecx, esi
call fcn.1005fa8a
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x1007b976
mov ecx, esi
call fcn.1005eeda
mov edx, dword [edi + 0x48]
test edx, edx
je 0x1007b997
mov ebx, dword [esp + 0x34]
mov esi, dword [edx + 0x24]
mov ecx, ebx
call fcn.1008ed09
mov edx, esi
test esi, esi
jne 0x1007b981
mov esi, ebx
mov ebx, dword [esp + 0x40]
mov edx, dword [edi + 0x40]
test edx, edx
je 0x1007b9a5
mov ecx, esi
call fcn.1006c771
mov edx, edi
mov ecx, esi
call fcn.10036499
mov edi, ebx
test ebx, ebx
jne 0x1007b911
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x34], eax
mov dword [eax + 0x38], ebx
mov ebx, dword [esp + 0x14]
mov ecx, ebx
call fcn.1004e84e
xor eax, eax
cmp dword [ebx + 0x24], eax
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4