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

Disassembly:
sub esp, 0x7c
and dword [esp + 0x30], 0
and dword [esp + 0x10], 0
push ebx
push ebp
mov ebp, dword [esp + 0x8c]
push esi
push edi
mov edi, dword [esp + 0x90]
mov eax, dword [edi + 0x38]
mov esi, dword [edi]
dec eax
mov ebx, dword [edi + 8]
mov dword [esp + 0x1c], eax
dec eax
mov dword [edi + 0x38], eax
mov ecx, dword [ebp + 0x34]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0x30]
mov dword [esp + 0x34], eax
mov al, byte [ebp]
mov dword [esp + 0x44], esi
mov edx, dword [ecx]
mov dword [esp + 0x38], ebx
mov byte [esp + 0x13], al
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
cmp al, 0x85
je 0x10130a45
cmp byte [esi + 0x51], 0
mov dword [esp + 0x18], 1
jne 0x10130a45
imul eax, edx, 0x14
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x1c]
mov edi, dword [esp + 0x18]
cmp edi, dword [eax]
mov edi, dword [esp + 0x90]
jg 0x10130a45
xor eax, eax
test edx, edx
jle 0x101309c7
lea ebx, [ecx + 0x14]
mov edi, eax
movzx eax, word [ebx]
cmp eax, dword [esp + 0x18]
je 0x101309b4
inc edi
add ebx, 0x14
cmp edi, edx
jl 0x101309a3
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x90]
mov eax, dword [esp + 0x30]
cmp eax, edx
jne 0x10130a32
push 0
push 0x98
push esi
call fcn.100d3840
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x10130a9f
mov eax, dword [esp + 0x18]
or dword [ecx + 4], 0x400
push ecx
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x2c]
push eax
push edi
call fcn.101462ca
mov ecx, eax
add esp, 0xc
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
mov dword [ebp + 0x30], ecx
test ecx, ecx
je 0x10130a2c
mov edx, dword [esp + 0x24]
mov word [edx + ecx + 0x14], ax
mov edx, dword [esp + 0x2c]
inc edx
add dword [esp + 0x24], 0x14
mov dword [esp + 0x2c], edx
jmp 0x10130a36
mov edx, dword [esp + 0x2c]
jmp 0x10130a36
mov eax, dword [esp + 0x18]
inc eax
cmp byte [esi + 0x51], 0
mov dword [esp + 0x18], eax
je 0x10130982
lea eax, [edx*4 + 4]
push 0
push eax
push esi
call fcn.10141b1e
add esp, 0xc
mov dword [esp + 0x48], eax
test eax, eax
je 0x10130aa7
mov ecx, dword [esp + 0x2c]
xor edx, edx
inc edx
mov dword [eax], ecx
cmp ecx, edx
jl 0x10130a8d
mov ebx, dword [esp + 0x28]
mov esi, eax
add ebx, 0x14
movzx eax, word [ebx]
lea ebx, [ebx + 0x14]
dec eax
mov dword [esi + edx*4], eax
inc edx
cmp edx, ecx
jle 0x10130a76
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x44]
push 1
push ebp
push edi
call fcn.101310a6
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x10130aac
push 7
pop eax
jmp 0x1013109e
and dword [esp + 0x4c], 0
mov eax, dword [esp + 0x28]
push 0
push eax
mov dword [ebp + 0x30], eax
push dword [edi]
call fcn.101464ed
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp byte [esp + 0x13], 0x85
mov dword [ecx + 0x30], eax
jne 0x10130ad8
and dword [esp + 0x3c], 0
jmp 0x10130b61
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x30], ecx
inc ecx
lea edx, [eax + 1]
add eax, ecx
push edx
push 0
push 0x45
push ebx
mov dword [esp + 0x4c], edx
mov dword [edi + 0x2c], eax
call fcn.101596d3
push 1
push dword [esp + 0x44]
push esi
call fcn.1014c3a0
add esp, 0x1c
mov dword [esp + 0x20], eax
test eax, eax
je 0x10130b61
and dword [esp + 0x24], 0
cmp dword [esp + 0x30], 0
jle 0x10130b61
mov esi, dword [esp + 0x24]
add eax, 0x14
mov ebx, dword [esp + 0x30]
lfence
mov dword [esp + 0x28], eax
push esi
push ebp
push edi
call fcn.101308ba
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov dword [ecx], eax
add ecx, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov eax, dword [eax + 0x10]
mov byte [esi + eax], 0
inc esi
cmp esi, ebx
jl 0x10130b31
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x14]
and dword [ebp + 0x34], 0
push str.ORDER
and dword [eax + 0x38], 0
push dword [ebp + 0x30]
push ebp
push edi
call fcn.10152d7d
mov eax, dword [esp + 0x24]
add esp, 0x10
cmp dword [eax + 0x34], 0
jne 0x10130b9b
push str.ORDER
push dword [eax + 0x30]
push eax
push edi
call fcn.10152d7d
add esp, 0x10
push dword [esp + 0x1c]
push ebp
push edi
call fcn.10125fb7
xor eax, eax
add esp, 0xc
cmp dword [ebp + 8], eax
je 0x10130bf5
cmp byte [esp + 0x13], 0x85
jne 0x10130bf5
mov eax, dword [edi + 0x2c]
inc eax
mov dword [esp + 0x38], eax
lea ecx, [eax + 1]
mov dword [esp + 0x30], ecx
mov dword [edi + 0x2c], ecx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x10130bd3
inc ecx
jmp 0x10130bd6
mov ecx, dword [ebp + 8]
push eax
push ecx
push 0x4d
push ebx
call fcn.101596d3
push dword [esp + 0x40]
push dword [esp + 0x4c]
push 0x4d
push ebx
call fcn.101596d3
add esp, 0x20
jmp 0x10130bfd
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
cmp dword [ebp + 0x3c], 0
je 0x10130c0e
push dword [ebp + 0x3c]
push esi
call fcn.10145850
pop ecx
pop ecx
xor edx, edx
mov byte [esp + 0x70], 0xd
mov dword [ebp + 0x3c], edx
mov esi, dword [edi + 0x2c]
inc esi
mov dword [esp + 0x78], edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x84], edx
lea eax, [esi + 1]
mov dword [esp + 0x7c], edx
lea ecx, [eax + 1]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ecx
inc ecx
mov dword [esp + 0x58], eax
mov dword [edi + 0x2c], ecx
movzx eax, byte [ebp]
push eax
mov dword [esp + 0x84], edx
mov byte [esp + 0x58], 0xd
mov dword [esp + 0x60], edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], edx
call fcn.10139bf9
push eax
push str.MERGE___s_
push 1
push edi
call fcn.1015fa1f
mov eax, dword [ebx + 0x6c]
inc eax
push eax
push 0
push esi
push 0xd
push ebx
call fcn.100d3840
mov ecx, dword [esp + 0x60]
mov esi, eax
mov eax, dword [esp + 0x3c]
push str.LEFT
push 1
push edi
mov dword [eax + 8], ecx
call fcn.1015fa1f
lea eax, [esp + 0xa4]
push eax
push dword [esp + 0x4c]
push edi
call fcn.10153d2c
add esp, 0x40
push dword [esp + 0x24]
push ebx
call fcn.10159fcc
push esi
push ebx
call fcn.1015fcbe
mov ecx, dword [ebx + 0x6c]
mov dword [eax + 8], ecx
mov eax, dword [ebx + 0x6c]
inc eax
push eax
push 0
push dword [esp + 0x40]
push 0xd
push ebx
call fcn.100d3840
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
and dword [ebp + 0xc], 0
push str.RIGHT
push 1
push dword [esp + 0xbc]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x60]
mov dword [ebp + 8], eax
call fcn.1015fa1f
lea eax, [esp + 0x84]
push eax
push ebp
push dword [esp + 0xc8]
call fcn.10153d2c
push dword [esp + 0x64]
mov dword [ebp + 8], edi
push ebx
mov dword [ebp + 0xc], esi
call fcn.10159fcc
mov esi, dword [esp + 0x60]
lea eax, [esp + 0xb4]
mov edi, dword [esp + 0xd4]
add esp, 0x44
push esi
push dword [esp + 0x24]
push dword [esp + 0x44]
push dword [esp + 0x24]
push dword [esp + 0xa8]
push eax
push ebp
push edi
call fcn.1012c7ce
mov dword [esp + 0x58], eax
add esp, 0x20
mov al, byte [esp + 0x13]
cmp al, 0x85
je 0x10130d7a
cmp al, 0x84
jne 0x10130da3
mov eax, dword [esp + 0x18]
push esi
push dword [esp + 0x24]
inc eax
push dword [esp + 0x44]
push eax
push dword [esp + 0xa8]
lea eax, [esp + 0x68]
push eax
push ebp
push edi
call fcn.1012c7ce
add esp, 0x20
mov dword [esp + 0x40], eax
push dword [esp + 0x20]
call fcn.1014c558
mov al, byte [esp + 0x17]
pop ecx
cmp al, 0x86
je 0x10130e82
cmp al, 0x87
je 0x10130e82
push dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
inc eax
push eax
push 0xc
push ebx
call fcn.101596d3
push dword [esp + 0x2c]
mov esi, eax
push dword [esp + 0x3c]
mov dword [esp + 0x48], esi
push 0xe
push ebx
call fcn.101596d3
push esi
push ebx
mov dword [esp + 0x48], eax
call fcn.1015fce3
mov eax, dword [esp + 0x3c]
movzx ecx, word [eax + 2]
push ecx
movzx ecx, word [ebp + 2]
push ecx
call fcn.1014cdff
add esp, 0x30
mov word [ebp + 2], ax
push dword [esp + 0x38]
push dword [esp + 0x1c]
push 0xc
push ebx
call fcn.101596d3
push dword [esp + 0x2c]
mov esi, eax
push dword [esp + 0x38]
mov dword [esp + 0x54], esi
push 0xe
push ebx
call fcn.101596d3
push esi
push ebx
call fcn.1015fce3
add esp, 0x28
push dword [esp + 0x38]
push dword [esp + 0x1c]
push 0xc
push ebx
call fcn.101596d3
push dword [esp + 0x40]
mov esi, eax
push dword [esp + 0x38]
push 0xe
push ebx
call fcn.101596d3
push dword [esp + 0x54]
push ebx
call fcn.1015fce3
mov al, byte [esp + 0x3b]
add esp, 0x28
cmp al, 0x85
jne 0x10130eb4
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], eax
jmp 0x10130efd
mov dword [esp + 0x30], esi
mov ecx, esi
mov dword [esp + 0x20], ecx
cmp al, 0x87
jne 0x10130e0e
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], esi
movzx eax, word [eax + 2]
cmp word [ebp + 2], ax
jle 0x10130eaa
mov word [ebp + 2], ax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], esi
jmp 0x10130e3e
cmp al, 0x87
jne 0x10130ec6
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x30], esi
inc esi
mov dword [esp + 0x38], eax
jmp 0x10130f12
push dword [esp + 0x30]
push dword [esp + 0x28]
push 0xe
push ebx
call fcn.101596d3
push dword [esp + 0x44]
mov dword [esp + 0x44], eax
push ebx
call fcn.1015fce3
mov eax, dword [ebx + 0x6c]
add esp, 0x18
cmp byte [esp + 0x13], 0x84
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
jne 0x10130f12
push dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
inc eax
push eax
push 0xc
push ebx
call fcn.101596d3
add esp, 0x10
push dword [esp + 0x3c]
push dword [esp + 0x2c]
push 0xe
push ebx
call fcn.101596d3
push dword [esp + 0x44]
push ebx
call fcn.1015fce3
push dword [esp + 0x68]
push ebx
call fcn.1015fcbe
push dword [esp + 0x40]
mov ecx, dword [ebx + 0x6c]
push dword [esp + 0x48]
mov dword [eax + 8], ecx
push 0xe
push ebx
call fcn.101596d3
push dword [esp + 0x6c]
push dword [esp + 0x5c]
push 0xe
push ebx
call fcn.101596d3
add esp, 0x40
push dword [esp + 0x34]
push ebx
call fcn.10161d60
push 0xfffffffffffffff1
push dword [esp + 0x54]
xor eax, eax
push eax
push eax
push eax
push 0x55
push ebx
call fcn.100d3840
push 0xfffffffffffffff7
push dword [esp + 0x74]
push dword [esp + 0x58]
push dword [esp + 0x90]
push dword [esp + 0xb0]
push 0x56
push ebx
call fcn.100d3840
add esp, 0x40
push 1
push ebx
call fcn.10159a50
push dword [esp + 0x40]
push dword [esp + 0x3c]
push esi
push 0x10
push ebx
call fcn.100d3840
push dword [esp + 0x38]
push ebx
call fcn.10161d60
mov esi, dword [ebp + 0x34]
add esp, 0x24
test esi, esi
je 0x10131085
mov ebx, dword [esp + 0x44]
cmp dword [esi + 0x1c], 0
mov eax, dword [esi + 0x34]
mov dword [esp + 0x50], eax
je 0x10130fec
push dword [esi + 0x1c]
push ebx
call fcn.1012a078
pop ecx
pop ecx
push dword [esi + 0x20]
push ebx
call fcn.10155b54
cmp dword [esi + 0x24], 0
pop ecx
pop ecx
je 0x10131008
push dword [esi + 0x24]
push ebx
call fcn.10145850
pop ecx
pop ecx
cmp dword [esi + 0x28], 0
je 0x10131019
push dword [esi + 0x28]
push ebx
call fcn.1012a078
pop ecx
pop ecx
cmp dword [esi + 0x2c], 0
je 0x1013102a
push dword [esi + 0x2c]
push ebx
call fcn.10145850
pop ecx
pop ecx
cmp dword [esi + 0x30], 0
je 0x1013103b
push dword [esi + 0x30]
push ebx
call fcn.1012a078
pop ecx
pop ecx
cmp dword [esi + 0x3c], 0
je 0x1013104c
push dword [esi + 0x3c]
push ebx
call fcn.10145850
pop ecx
pop ecx
cmp dword [esi + 0x48], 0
je 0x1013105d
push dword [esi + 0x48]
push ebx
call fcn.10167f73
pop ecx
pop ecx
cmp dword [esi + 0x40], 0
je 0x1013106e
push dword [esi + 0x40]
push ebx
call fcn.10168714
pop ecx
pop ecx
push esi
push ebx
call fcn.10141a5b
mov eax, dword [esp + 0x58]
mov esi, eax
pop ecx
pop ecx
test eax, eax
jne 0x10130fd4
mov eax, dword [esp + 0x14]
mov dword [ebp + 0x34], eax
push edi
mov dword [eax + 0x38], ebp
call fcn.1015fa6e
xor eax, eax
cmp dword [edi + 0x24], eax
pop ecx
setne al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret