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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
and dword [esp + 0x40], 0
and dword [esp + 0x10], 0
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [esp + 0x30], esi
mov eax, dword [esi + 0x38]
mov ecx, dword [esi]
dec eax
mov edi, dword [esi + 8]
mov dword [esp + 0x38], eax
dec eax
mov dword [esi + 0x38], eax
mov edx, dword [ebx + 0x30]
mov dword [esp + 0x44], eax
mov al, byte [ebx]
mov byte [esp + 0xf], al
cmp byte [esp + 0xf], 0x85
mov eax, dword [ebx + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [edx]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], eax
je 0x1812c86a
cmp byte [ecx + 0x51], 0
mov dword [esp + 0x18], 1
jne 0x1812c86a
imul eax, eax, 0x14
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, dword [eax]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
jg 0x1812c86a
and dword [esp + 0x14], 0
test eax, eax
jle 0x1812c7f0
lea eax, [edx + 0x14]
mov dword [esp + 0x20], eax
jmp 0x1812c7d4
mov eax, dword [esp + 0x20]
movzx eax, word [eax]
cmp eax, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
je 0x1812c85c
inc dword [esp + 0x14]
add dword [esp + 0x20], 0x14
cmp dword [esp + 0x14], eax
jl 0x1812c7d0
cmp dword [esp + 0x14], eax
jne 0x1812c85c
push 0
mov edx, 0x98
call fcn.1810f8bd
pop ecx
mov ecx, eax
test ecx, ecx
je 0x1812c8c1
mov eax, dword [esp + 0x18]
or dword [ecx + 4], 0x400
mov edx, dword [esp + 0x10]
mov dword [ecx + 8], eax
push ecx
mov ecx, esi
call fcn.18110608
mov edx, eax
mov dword [esp + 0x14], edx
mov dword [ebx + 0x30], edx
pop ecx
test edx, edx
je 0x1812c854
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov word [ecx + edx + 0x14], ax
mov eax, dword [esp + 0x28]
inc eax
add ecx, 0x14
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
jmp 0x1812c858
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
inc dword [esp + 0x18]
cmp byte [ecx + 0x51], 0
je 0x1812c7a7
lea eax, [eax*4 + 4]
push 0
push eax
call fcn.180e69f7
mov dword [esp + 0x5c], eax
pop ecx
pop ecx
test eax, eax
je 0x1812c8c9
mov ecx, dword [esp + 0x28]
xor edx, edx
inc edx
mov dword [eax], ecx
cmp ecx, edx
jl 0x1812c8b0
mov edi, dword [esp + 0x10]
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 0x1812c899
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
push ecx
mov edx, ebx
mov ecx, esi
call fcn.1812b8fd
pop ecx
mov dword [esp + 0x40], eax
jmp 0x1812c8ce
push 7
pop eax
jmp 0x1812cf53
and dword [esp + 0x40], 0
mov eax, dword [esp + 0x10]
mov edx, eax
mov dword [ebx + 0x30], eax
mov ecx, dword [esi]
push 0
call fcn.181100e7
cmp byte [esp + 0x13], 0x85
pop ecx
mov ecx, dword [esp + 0x34]
mov dword [ecx + 0x30], eax
jne 0x1812c8f9
and dword [esp + 0x24], 0
jmp 0x1812c981
mov eax, dword [ebx + 0x1c]
push 0
mov ecx, dword [eax]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x18], ecx
inc ecx
lea edx, [eax + 1]
add eax, ecx
push edx
push 0
mov dword [esp + 0x30], edx
mov ecx, edi
push 0x45
pop edx
mov dword [esi + 0x2c], eax
call fcn.180ff616
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x3c]
push 1
call fcn.1812ab9b
mov dword [esp + 0x20], eax
pop ecx
test eax, eax
je 0x1812c981
and dword [esp + 0x48], 0
cmp dword [esp + 0x14], 0
jle 0x1812c981
mov edi, dword [esp + 0x48]
add eax, 0x14
mov dword [esp + 0x10], eax
push edi
mov edx, ebx
mov ecx, esi
call fcn.1812b8be
pop ecx
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
add ecx, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov eax, dword [eax + 0x10]
mov byte [edi + eax], 0
inc edi
cmp edi, dword [esp + 0x14]
jl 0x1812c953
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov edx, ebx
and dword [ebx + 0x34], 0
mov ecx, esi
push str.ORDER
and dword [eax + 0x38], 0
push dword [ebx + 0x30]
call fcn.1810e213
mov eax, dword [esp + 0x3c]
pop ecx
pop ecx
cmp dword [eax + 0x34], 0
jne 0x1812c9bd
push str.ORDER
push dword [eax + 0x30]
mov edx, eax
mov ecx, esi
call fcn.1810e213
pop ecx
pop ecx
push dword [esp + 0x38]
mov edx, ebx
mov ecx, esi
call fcn.1812b79b
xor edx, edx
pop ecx
cmp dword [ebx + 8], edx
je 0x1812ca21
cmp byte [esp + 0xf], 0x85
jne 0x1812ca21
mov eax, dword [esi + 0x2c]
inc eax
mov dword [esp + 0x14], eax
lea ecx, [eax + 1]
mov dword [esp + 0x10], ecx
mov dword [esi + 0x2c], ecx
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x1812c9f5
inc ecx
jmp 0x1812c9f8
mov ecx, dword [ebx + 8]
push edx
push eax
push ecx
push 0x4d
pop edx
mov ecx, edi
call fcn.180ff616
add esp, 0xc
mov ecx, edi
push 0
push dword [esp + 0x14]
push dword [esp + 0x1c]
push 0x4d
pop edx
call fcn.180ff616
add esp, 0xc
jmp 0x1812ca29
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
mov edx, dword [ebx + 0x3c]
test edx, edx
je 0x1812ca39
mov ecx, dword [esp + 0x3c]
call fcn.1810fc83
and dword [ebx + 0x3c], 0
mov eax, dword [esi + 0x2c]
inc eax
mov byte [esp + 0x74], 0xd
mov dword [esp + 0x20], eax
mov dword [esp + 0x78], eax
mov byte [esp + 0x58], 0xd
lea edx, [eax + 1]
xor eax, eax
lea ecx, [edx + 2]
mov dword [esp + 0x18], edx
mov dword [esi + 0x2c], ecx
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 + 0x5c], edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
call fcn.1812acb7
push eax
push str.MERGE___s_
push 1
push esi
call fcn.180ff83c
mov eax, dword [edi + 0x6c]
mov ecx, edi
inc eax
push eax
push 0
push dword [esp + 0x38]
push 0xd
pop edx
call fcn.180ff616
mov ecx, dword [esp + 0x30]
add esp, 0x1c
mov esi, eax
mov eax, dword [esp + 0x34]
push str.LEFT
push 1
push dword [esp + 0x38]
mov dword [eax + 8], ecx
call fcn.180ff83c
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push eax
call fcn.1812ee27
mov edx, dword [esp + 0x24]
pop ecx
mov ecx, edi
call fcn.180ff932
mov edx, esi
mov ecx, edi
call fcn.180ffe36
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 + 0x20]
push 0xd
pop edx
call fcn.180ff616
mov edi, dword [ebx + 8]
add esp, 0xc
mov esi, dword [ebx + 0xc]
and dword [ebx + 0xc], 0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
push str.RIGHT
push 1
push dword [esp + 0x38]
mov dword [ebx + 8], eax
call fcn.180ff83c
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x64]
add esp, 0xc
mov edx, ebx
push eax
call fcn.1812ee27
pop ecx
mov dword [ebx + 8], edi
mov edi, dword [esp + 0x18]
mov edx, edi
mov dword [ebx + 0xc], esi
mov esi, dword [esp + 0x2c]
mov ecx, esi
call fcn.180ff932
push dword [esp + 0x38]
lea eax, [edi + 1]
mov edx, ebx
push dword [esp + 0x20]
mov edi, dword [esp + 0x38]
mov ecx, edi
push dword [esp + 0x2c]
push eax
push dword [ebp + 8]
lea eax, [esp + 0x88]
push eax
call fcn.1812c4aa
mov dword [esp + 0x60], eax
add esp, 0x18
mov al, byte [esp + 0xf]
cmp al, 0x85
je 0x1812cbb0
cmp al, 0x84
jne 0x1812cbdc
push dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
mov edx, ebx
push dword [esp + 0x20]
add eax, 2
mov ecx, edi
push dword [esp + 0x2c]
push eax
push dword [ebp + 8]
lea eax, [esp + 0x6c]
push eax
call fcn.1812c4aa
add esp, 0x18
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x1c]
call fcn.1812ac14
mov al, byte [esp + 0xf]
cmp al, 0x86
je 0x1812cced
cmp al, 0x87
je 0x1812cced
mov eax, dword [esp + 0x18]
mov ecx, esi
push 0
push dword [esp + 0x50]
add eax, 2
push eax
push 0xc
pop edx
call fcn.180ff616
add esp, 0xc
mov dword [esp + 0x10], eax
mov ecx, esi
push 0
push dword [esp + 0x3c]
push dword [esp + 0x20]
push 0xe
pop edx
call fcn.180ff616
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.180ff66f
mov eax, dword [esp + 0x34]
mov cx, word [ebx + 2]
mov dx, word [eax + 2]
call fcn.180ea21b
mov word [ebx + 2], ax
mov eax, dword [esp + 0x18]
mov ecx, esi
push 0
push dword [esp + 0x4c]
inc eax
push eax
push 0xc
pop edx
call fcn.180ff616
add esp, 0xc
mov dword [esp + 0x2c], eax
mov ecx, esi
push 0
push dword [esp + 0x3c]
push dword [esp + 0x28]
push 0xe
pop edx
call fcn.180ff616
mov edx, dword [esp + 0x38]
add esp, 0xc
mov ecx, esi
call fcn.180ff66f
mov eax, dword [esp + 0x18]
mov ecx, esi
push 0
push dword [esp + 0x4c]
inc eax
push eax
push 0xc
pop edx
call fcn.180ff616
add esp, 0xc
mov dword [esp + 0x1c], eax
mov ecx, esi
push 0
push dword [esp + 0x14]
push dword [esp + 0x28]
push 0xe
pop edx
call fcn.180ff616
mov edx, dword [esp + 0x50]
add esp, 0xc
mov ecx, esi
call fcn.180ff66f
mov al, byte [esp + 0xf]
cmp al, 0x85
jne 0x1812cd26
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x24], eax
jmp 0x1812cd84
mov edx, dword [esp + 0x38]
mov ecx, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
cmp al, 0x87
jne 0x1812cc53
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], ecx
movzx eax, word [eax + 2]
cmp word [ebx + 2], ax
jle 0x1812cd19
mov word [ebx + 2], ax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
jmp 0x1812cc92
cmp al, 0x87
jne 0x1812cd40
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x24], eax
jmp 0x1812cd9f
push 0
push dword [esp + 0x14]
mov ecx, esi
push dword [esp + 0x28]
push 0xe
pop edx
call fcn.180ff616
mov edx, dword [esp + 0x50]
add esp, 0xc
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.180ff66f
cmp byte [esp + 0xf], 0x84
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
jne 0x1812cd9f
mov eax, dword [esp + 0x18]
mov ecx, esi
push 0
push dword [esp + 0x50]
add eax, 2
push eax
push 0xc
pop edx
call fcn.180ff616
add esp, 0xc
push 0
push dword [esp + 0x30]
mov ecx, esi
push dword [esp + 0x20]
push 0xe
pop edx
call fcn.180ff616
mov edx, dword [esp + 0x50]
add esp, 0xc
mov ecx, esi
call fcn.180ff66f
mov edx, dword [esp + 0x50]
mov ecx, esi
call fcn.180ffe36
mov ecx, dword [esi + 0x6c]
push 0
push dword [esp + 0x18]
mov dword [eax + 8], ecx
mov ecx, esi
push dword [esp + 0x28]
push 0xe
pop edx
call fcn.180ff616
add esp, 0xc
mov ecx, esi
push 0
push dword [esp + 0x30]
push dword [esp + 0x20]
push 0xe
pop edx
call fcn.180ff616
mov edx, dword [esp + 0x50]
add esp, 0xc
mov ecx, esi
call fcn.180ff99a
xor eax, eax
mov ecx, esi
push eax
push eax
push eax
push 0x55
pop edx
call fcn.180ff616
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff1
push dword [esp + 0x58]
call fcn.180ffd78
push 0xfffffffffffffff7
push dword [esp + 0x4c]
mov ecx, esi
push dword [esp + 0x38]
push dword [esp + 0x78]
push dword [esp + 0x98]
push 0x56
pop edx
call fcn.180ff738
add esp, 0x1c
xor edx, edx
inc edx
mov ecx, esi
call fcn.180ffb71
push dword [esp + 0x24]
push dword [esp + 0x14]
push dword [esp + 0x24]
push 0x10
pop edx
call fcn.180ff616
mov edx, dword [esp + 0x44]
add esp, 0xc
mov ecx, esi
call fcn.180ff99a
mov esi, dword [ebx + 0x34]
mov dword [esp + 0x40], esi
test esi, esi
je 0x1812cf3a
mov edi, dword [esp + 0x3c]
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x34]
mov dword [esp + 0x50], eax
test edx, edx
je 0x1812cea2
mov ecx, edi
call fcn.18110852
mov edx, dword [esi + 0x20]
mov ecx, edi
call fcn.1811cd7d
mov edx, dword [esi + 0x24]
test edx, edx
je 0x1812ceba
mov ecx, edi
call fcn.1810fc83
mov edx, dword [esi + 0x28]
test edx, edx
je 0x1812cec8
mov ecx, edi
call fcn.18110852
mov edx, dword [esi + 0x2c]
test edx, edx
je 0x1812ced6
mov ecx, edi
call fcn.1810fc83
mov edx, dword [esi + 0x30]
test edx, edx
je 0x1812cee4
mov ecx, edi
call fcn.18110852
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x1812cef2
mov ecx, edi
call fcn.1810fc83
mov edx, dword [esi + 0x48]
test edx, edx
je 0x1812cf0d
mov esi, dword [edx + 0x24]
mov ecx, edi
call fcn.18140342
mov edx, esi
test esi, esi
jne 0x1812cef9
mov esi, dword [esp + 0x40]
mov edx, dword [esi + 0x40]
test edx, edx
je 0x1812cf1b
mov ecx, edi
call fcn.1811d80a
mov edx, esi
mov ecx, edi
call fcn.180e676a
mov eax, dword [esp + 0x50]
mov esi, eax
mov dword [esp + 0x40], eax
test eax, eax
jne 0x1812ce8d
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, edi
mov dword [ebx + 0x34], eax
mov dword [eax + 0x38], ebx
call fcn.180ff88d
xor eax, eax
cmp dword [edi + 0x24], eax
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret