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

Disassembly:
mov eax, 0x67e4d9
call fcn.006313fc
sub esp, 0x7c
push ebx
push ebp
xor ebp, ebp
mov ebx, ecx
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
call fcn.005c128c
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x90], ebp
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebp
mov word [esp + 0x40], ax
mov eax, dword [ebx + 0x40]
mov byte [esp + 0x90], 1
mov dword [esp + 0x14], ebp
cmp dword [eax + 0x18], ebp
je 0x5bfc78
push edi
mov edi, ebp
mov eax, dword [ebx + 0x3c]
add eax, 0x14
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x5bfaa6
mov eax, dword [eax]
push 0x2e
push eax
call fcn.00637ecd
pop ecx
pop ecx
mov ecx, dword [ebx + 0x3c]
cmp dword [ecx + edi + 0x24], ebp
je 0x5bfb74
test eax, eax
je 0x5bfb74
push eax
lea ecx, [esp + 0x60]
call fcn.004249e7
lea eax, [esp + 0x5c]
mov byte [esp + 0x94], 2
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
call fcn.004816e6
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x24]
jne 0x5bfb1f
mov esi, dword [ebx + 0x3c]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x28]
call fcn.005bf978
mov ecx, dword [esi + edi + 0x2c]
mov dword [eax], ecx
mov ecx, dword [esi + edi + 0x30]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0x3c]
mov esi, dword [eax + edi + 0x2c]
mov ebp, dword [eax + edi + 0x30]
jmp 0x5bfb36
mov edx, dword [ebx + 0x3c]
mov ecx, dword [edx + edi + 0x2c]
add dword [eax + 0x28], ecx
mov ecx, dword [edx + edi + 0x30]
adc dword [eax + 0x2c], ecx
mov esi, dword [eax + 0x28]
mov ebp, dword [eax + 0x2c]
cmp ebp, dword [esp + 0x14]
jl 0x5bfb5e
jg 0x5bfb44
cmp esi, dword [esp + 0x10]
jbe 0x5bfb5e
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x50]
call fcn.0042358a
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebp
xor ebp, ebp
mov byte [esp + 0x94], 1
push ebp
push 1
lea ecx, [esp + 0x64]
call fcn.0042341c
mov ecx, dword [esp + 0x18]
add edi, 0x44
mov eax, dword [ebx + 0x40]
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, dword [eax + 0x18]
jne 0x5bfa96
cmp dword [esp + 0x54], 0
pop edi
je 0x5bfc78
xor eax, eax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], ax
lea eax, [esp + 0x40]
mov byte [esp + 0x90], 3
push eax
lea eax, [esp + 0x74]
push eax
call fcn.0043d091
push eax
mov byte [esp + 0x94], 4
call fcn.005fb2ed
push ebp
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0x98], 3
mov esi, eax
call fcn.0040a0e9
cmp esi, 1
jne 0x5bfbf3
mov esi, dword [str.Default_audio_rule]
jmp 0x5bfc0b
cmp esi, 2
jne 0x5bfc00
mov esi, dword [str.Default_video_rule]
jmp 0x5bfc0b
cmp esi, 3
jne 0x5bfc1d
mov esi, dword [str.Default_document_rule]
push esi
call fcn.004236bc
pop ecx
push eax
push esi
lea ecx, [esp + 0x30]
call fcn.00434a57
mov eax, dword [0x791b60]
mov esi, dword [eax]
mov dword [esp + 0x14], esi
cmp esi, eax
je 0x5bfc6c
lea eax, [esi + 0x28]
cmp dword [eax + 0x14], 8
jb 0x5bfc37
mov eax, dword [eax]
cmp dword [esp + 0x3c], 8
mov ecx, dword [esp + 0x28]
jae 0x5bfc46
lea ecx, [esp + 0x28]
push dword [esi + 0x38]
push eax
push ecx
call fcn.00632b09
add esp, 0xc
test eax, eax
je 0x5bfcba
lea ecx, [esp + 0x14]
call fcn.0045d8b6
mov esi, dword [esp + 0x14]
cmp esi, dword [0x791b60]
jne 0x5bfc2c
push ebp
push 1
lea ecx, [esp + 0x30]
call fcn.0042341c
mov esi, dword [esp + 0x9c]
lea ecx, [esp + 0x40]
push ebp
xor eax, eax
push 1
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebp
mov word [esi], ax
call fcn.0042341c
lea ecx, [esp + 0x20]
call fcn.004ca8f9
mov eax, esi
mov ecx, dword [esp + 0x88]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret 4
add esi, 0x10
cmp dword [esi + 0x14], 8
jb 0x5bfcc5
mov esi, dword [esi]
mov ecx, dword [esp + 0x9c]
push esi
call fcn.004249e7
push ebp
push 1
lea ecx, [esp + 0x30]
call fcn.0042341c
push ebp
push 1
lea ecx, [esp + 0x48]
call fcn.0042341c
lea ecx, [esp + 0x20]
call fcn.004ca8f9
mov eax, dword [esp + 0x9c]
jmp 0x5bfca5