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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff48
mov ebp, eax
xor eax, eax
mov edi, edx
mov dword [esp], ecx
mov dword [esp + 0x24], eax
xor edx, edx
mov eax, ebp
mov dword [esp + 0x60], edx
mov ecx, dword [ebp]
mov dword [esp + 0x68], ecx
mov esi, dword [ebp + 8]
call fcn.006312b8
mov dword [esp + 0x54], eax
mov eax, ebp
call fcn.006312b8
mov dword [esp + 0x50], eax
xor edx, edx
mov dl, byte [edi]
mov dword [esp + 0x5c], edx
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x6c]
mov edx, dword [eax]
mov dword [esp + 0x70], edx
cmp dword [esp + 0x5c], 0x87
je 0x5f70df
mov ebx, 1
jmp 0x5f70ca
xor eax, eax
mov edx, dword [esp + 0x6c]
add edx, 8
cmp eax, dword [esp + 0x70]
jge 0x5f705b
movzx ecx, word [edx + 0xc]
cmp ebx, ecx
je 0x5f705b
inc eax
add edx, 0x10
cmp eax, dword [esp + 0x70]
jl 0x5f7049
cmp eax, dword [esp + 0x70]
jne 0x5f70c9
xor ecx, ecx
mov edx, 0x9b
mov eax, dword [esp + 0x68]
call fcn.0061bc10
mov dword [esp + 0x78], eax
cmp dword [esp + 0x78], 0
jne 0x5f7086
mov eax, 7
jmp 0x5f7767
mov edx, dword [esp + 0x78]
or dword [edx + 4], 0x800
mov ecx, dword [esp + 0x78]
mov dword [ecx + 8], ebx
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x6c]
mov eax, ebp
call fcn.0061cc4c
mov dword [esp + 0x6c], eax
mov dword [edi + 0x30], eax
cmp dword [esp + 0x6c], 0
je 0x5f70c9
mov edx, dword [esp + 0x70]
shl edx, 4
mov ecx, dword [esp + 0x6c]
mov word [ecx + edx + 0x14], bx
inc dword [esp + 0x70]
inc ebx
mov ecx, dword [esp + 0x68]
cmp byte [ecx + 0x57], 0
jne 0x5f70df
mov eax, dword [edi + 0x1c]
cmp ebx, dword [eax]
jle 0x5f703a
mov eax, dword [esp + 0x70]
inc eax
shl eax, 2
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x70]
call fcn.0064b8a4
mov dword [esp + 0x74], eax
cmp dword [esp + 0x74], 0
je 0x5f7145
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov dword [edx], ecx
mov ebx, 1
mov eax, dword [esp + 0x6c]
add eax, 8
cmp ebx, dword [esp + 0x70]
jg 0x5f7131
movzx edx, word [eax + 0xc]
dec edx
mov ecx, dword [esp + 0x74]
mov dword [ecx + ebx*4], edx
inc ebx
add eax, 0x10
cmp ebx, dword [esp + 0x70]
jle 0x5f711b
mov ecx, 1
mov edx, edi
mov eax, ebp
call fcn.005f60f4
mov dword [esp + 0x64], eax
jmp 0x5f714b
xor eax, eax
mov dword [esp + 0x64], eax
cmp dword [esp + 0x5c], 0x87
jne 0x5f715d
xor edx, edx
mov dword [esp + 0x44], edx
jmp 0x5f71d3
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov dword [esp + 0x7c], eax
mov edx, dword [ebp + 0x2c]
inc edx
mov dword [esp + 0x44], edx
mov edx, 0x47
mov ecx, dword [esp + 0x7c]
inc ecx
add dword [ebp + 0x2c], ecx
xor ecx, ecx
mov eax, dword [esp + 0x44]
push eax
mov eax, esi
call fcn.00630e98
mov ecx, 1
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x68]
call fcn.005f4d40
mov dword [esp + 0x60], eax
cmp dword [esp + 0x60], 0
je 0x5f71d3
xor ebx, ebx
cmp ebx, dword [esp + 0x7c]
jge 0x5f71d3
mov ecx, ebx
mov edx, edi
mov eax, ebp
call fcn.005f60b4
mov edx, dword [esp + 0x60]
mov dword [edx + ebx*4 + 0x14], eax
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x10]
mov byte [ecx + ebx], 0
inc ebx
cmp ebx, dword [esp + 0x7c]
jl 0x5f71ae
cmp dword [esp + 0x5c], 0x87
mov eax, 1
je 0x5f71ec
cmp dword [esp + 0x5c], 0x86
jne 0x5f7219
mov edx, dword [esp + 0x68]
test byte [edx + 0x52], 0x20
jne 0x5f7219
mov dword [esp + 4], edi
jmp 0x5f7201
inc eax
mov dword [esp + 4], edx
mov ecx, dword [esp + 4]
mov edx, dword [ecx + 0x34]
test edx, edx
je 0x5f7219
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx]
cmp ecx, dword [esp + 0x5c]
je 0x5f71fc
cmp eax, 3
jg 0x5f7224
mov dword [esp + 4], edi
jmp 0x5f7243
mov dword [esp + 4], edi
mov ebx, 2
cmp eax, ebx
jle 0x5f7243
mov edx, dword [esp + 4]
mov ecx, dword [edx + 0x34]
mov dword [esp + 4], ecx
add ebx, 2
cmp eax, ebx
jg 0x5f7231
mov eax, dword [esp + 4]
mov ebx, dword [eax + 0x34]
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax + 0x34], edx
xor ecx, ecx
mov dword [ebx + 0x38], ecx
mov eax, dword [ebp]
xor ecx, ecx
mov edx, dword [esp + 0x6c]
call fcn.0061c704
mov dword [ebx + 0x30], eax
push 0x6798f3
mov ecx, dword [edi + 0x30]
mov edx, edi
mov eax, ebp
call fcn.0061a690
push 0x6798f3
mov ecx, dword [ebx + 0x30]
mov edx, ebx
mov eax, ebp
call fcn.0061a690
mov ecx, dword [esp + 0x54]
mov edx, edi
mov eax, ebp
call fcn.005f5f88
cmp dword [edi + 8], 0
je 0x5f72f3
cmp dword [esp + 0x5c], 0x87
jne 0x5f72f3
inc dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x2c]
mov dword [esp + 0x3c], ecx
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x3c]
push edx
cmp dword [edi + 0xc], 0
je 0x5f72cd
mov ecx, dword [edi + 0xc]
inc ecx
jmp 0x5f72d0
mov ecx, dword [edi + 8]
mov edx, 0x50
mov eax, esi
call fcn.00630e98
mov ecx, dword [esp + 0x40]
mov edx, 0x50
push ecx
mov eax, esi
mov ecx, dword [esp + 0x40]
call fcn.00630e98
jmp 0x5f72fd
xor ecx, ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], ecx
mov edx, dword [edi + 0x3c]
mov eax, dword [esp + 0x68]
call fcn.0061c21c
xor ecx, ecx
mov dword [edi + 0x3c], ecx
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
mov dword [esp + 8], eax
inc dword [ebp + 0x2c]
mov edx, dword [ebp + 0x2c]
mov dword [esp + 0xc], edx
mov edx, 0xd
inc dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x2c]
mov dword [esp + 0x18], ecx
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x80]
mov ecx, dword [esp + 8]
call fcn.005f367c
lea eax, [esp + 0x9c]
mov ecx, dword [esp + 0xc]
mov edx, 0xd
call fcn.005f367c
xor eax, eax
mov al, byte [edi]
call fcn.005f4e54
push eax
push str.MERGE___s_
push 1
push ebp
call fcn.0063119c
add esp, 0x10
mov eax, esi
call fcn.00631490
inc eax
mov dword [esp + 0x10], eax
push 0
mov edx, dword [esp + 0x14]
mov eax, esi
push edx
mov edx, 0xb
mov ecx, dword [esp + 0x10]
call fcn.00630eac
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x3c]
mov dword [ebx + 8], ecx
push str.LEFT
push 1
push ebp
call fcn.0063119c
add esp, 0xc
lea ecx, [esp + 0x80]
mov edx, ebx
mov eax, ebp
call fcn.005fadf0
mov edx, dword [esp + 8]
mov eax, esi
call fcn.00631298
mov edx, dword [esp + 0x58]
mov eax, esi
call fcn.006317b4
mov eax, esi
call fcn.00631490
inc eax
mov dword [esp + 0x14], eax
push 0
mov edx, dword [esp + 0x18]
mov eax, esi
push edx
mov edx, 0xb
mov ecx, dword [esp + 0x14]
call fcn.00630eac
mov dword [esp + 0x58], eax
xor edx, edx
mov ecx, dword [edi + 8]
mov dword [esp + 0x48], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x40]
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
push str.RIGHT
push 1
push ebp
call fcn.0063119c
add esp, 0xc
lea ecx, [esp + 0x9c]
mov edx, edi
mov eax, ebp
call fcn.005fadf0
mov ecx, dword [esp + 0x48]
mov dword [edi + 8], ecx
mov eax, dword [esp + 0x4c]
mov dword [edi + 0xc], eax
mov eax, esi
mov edx, dword [esp + 0xc]
call fcn.00631298
mov edx, dword [esp]
push edx
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x4c]
push ecx
mov eax, dword [esp + 0x6c]
push eax
mov eax, ebp
mov edx, dword [esp + 0x64]
push edx
mov edx, edi
lea ecx, [esp + 0x94]
call fcn.005f6d4c
mov dword [esp + 0x20], eax
cmp dword [esp + 0x5c], 0x87
je 0x5f7498
cmp dword [esp + 0x5c], 0x86
jne 0x5f74c4
mov ecx, dword [esp]
push ecx
mov eax, dword [esp + 0x20]
push eax
mov edx, dword [esp + 0x4c]
push edx
mov edx, edi
mov ecx, dword [esp + 0x6c]
push ecx
mov eax, dword [esp + 0x64]
push eax
mov eax, ebp
lea ecx, [esp + 0xb0]
call fcn.005f6d4c
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x60]
call fcn.005f4dbc
cmp dword [esp + 0x5c], 0x88
je 0x5f74e1
cmp dword [esp + 0x5c], 0x89
jne 0x5f74ef
mov edx, dword [esp + 0x54]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
jmp 0x5f753d
mov eax, dword [esp + 0x24]
mov edx, 0xa
push eax
mov eax, esi
mov ecx, dword [esp + 0x20]
call fcn.00630e98
mov dword [esp + 0x28], eax
mov eax, esi
mov ecx, dword [esp + 0x54]
mov edx, 0xc
push ecx
mov ecx, dword [esp + 0x10]
call fcn.00630e98
mov dword [esp + 0x2c], eax
mov eax, esi
mov edx, dword [esp + 0x28]
call fcn.00630fa4
mov dx, word [ebx + 2]
mov ax, word [edi + 2]
call fcn.00645cdc
mov word [edi + 2], ax
cmp dword [esp + 0x5c], 0x89
jne 0x5f7563
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x30], ecx
mov cx, word [ebx + 2]
cmp cx, word [edi + 2]
jge 0x5f759c
mov ax, word [ebx + 2]
mov word [edi + 2], ax
jmp 0x5f759c
mov edx, dword [esp + 0x20]
mov eax, esi
push edx
mov edx, 0xa
mov ecx, dword [esp + 0x1c]
call fcn.00630e98
mov dword [esp + 0x30], eax
mov eax, esi
mov ecx, dword [esp + 0x54]
mov edx, 0xc
push ecx
mov ecx, dword [esp + 0xc]
call fcn.00630e98
mov edx, dword [esp + 0x30]
mov eax, esi
call fcn.00630fa4
mov ecx, dword [esp + 0x20]
mov edx, 0xa
push ecx
mov eax, esi
mov ecx, dword [esp + 0x1c]
call fcn.00630e98
mov edi, eax
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [esp + 0xc]
mov edx, 0xc
mov eax, esi
call fcn.00630e98
mov edx, dword [esp + 0x50]
mov eax, esi
call fcn.00630fa4
cmp dword [esp + 0x5c], 0x87
jne 0x5f75e3
mov dword [esp + 0x34], edi
jmp 0x5f7618
cmp dword [esp + 0x5c], 0x89
jne 0x5f75f4
mov dword [esp + 0x34], edi
inc edi
jmp 0x5f7618
mov edx, dword [esp + 0x28]
mov eax, esi
push edx
mov edx, 0xc
mov ecx, dword [esp + 0xc]
call fcn.00630e98
mov dword [esp + 0x34], eax
mov eax, esi
mov edx, dword [esp + 0x50]
call fcn.00630fa4
mov eax, esi
call fcn.00631490
mov dword [esp + 0x38], eax
cmp dword [esp + 0x5c], 0x87
je 0x5f7637
cmp dword [esp + 0x5c], 0x86
jne 0x5f764c
mov edx, dword [esp + 0x24]
mov eax, esi
push edx
mov edx, 0xa
mov ecx, dword [esp + 0x20]
call fcn.00630e98
mov ecx, dword [esp + 0x30]
mov edx, 0xc
push ecx
mov eax, esi
mov ecx, dword [esp + 0x10]
call fcn.00630e98
mov edx, dword [esp + 0x50]
mov eax, esi
call fcn.00630fa4
mov edx, dword [esp + 0x58]
mov eax, esi
call fcn.006317b4
mov ecx, dword [esp + 0x2c]
mov edx, 0xc
push ecx
mov eax, esi
mov ecx, dword [esp + 0xc]
call fcn.00630e98
mov ecx, dword [esp + 0x30]
mov edx, 0xc
push ecx
mov eax, esi
mov ecx, dword [esp + 0x10]
call fcn.00630e98
mov edx, dword [esp + 0x50]
mov eax, esi
call fcn.00631334
push 0
push 0
mov ecx, dword [esp + 0x7c]
push ecx
push 0xfffffffffffffff2
xor ecx, ecx
mov edx, 0x59
mov eax, esi
call fcn.00631048
mov ecx, dword [esp + 0xa8]
push ecx
mov eax, dword [esp + 0x74]
push eax
mov edx, dword [esp + 0x6c]
push edx
push 0xfffffffffffffff8
mov ecx, dword [esp + 0x9c]
mov edx, 0x5a
mov eax, esi
call fcn.00631048
mov dx, 1
mov eax, esi
call fcn.00631780
mov ecx, dword [esp + 0x34]
mov edx, 0xe
push ecx
mov eax, esi
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, edi
call fcn.00630eac
mov edx, dword [esp + 0x54]
mov eax, esi
call fcn.00631334
mov ecx, dword [esp + 4]
cmp dword [ecx + 0x34], 0
je 0x5f7737
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 0x34]
mov edx, 0x5f37a0
mov eax, ebp
call fcn.005ccf78
mov ecx, dword [esp + 4]
mov dword [ecx + 0x34], ebx
mov eax, dword [esp + 4]
mov dword [ebx + 0x38], eax
mov edx, dword [ebx + 0x30]
mov eax, dword [esp + 0x68]
call fcn.0061cee0
xor edx, edx
mov eax, ebp
mov dword [ebx + 0x30], edx
call fcn.00631230
cmp dword [ebp + 0x24], 0
setne al
and eax, 1
add esp, 0xb8
pop ebp
pop edi
pop esi
pop ebx
ret