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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x5bf372
sub esp, 0x98
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 4]
mov dword [esp + 0x3c], ecx
mov eax, dword [eax]
xor edx, edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x4c], eax
cmp edx, ecx
jge 0x5beda1
mov ebx, dword [eax + 8]
mov dword [esp + 0x2c], ebx
mov ebp, dword [eax + 4]
mov dword [esp + 0x48], ebp
mov esi, dword [eax]
mov dword [esp + 0x28], esi
cmp esi, 0x10
je 0x5bf318
test esi, esi
je 0x5bf287
cmp esi, 0xe
jne 0x5bedbe
mov ebx, dword [esp + 0xa4]
test byte [ebx], al
add eax, 0xc
inc edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x4c], eax
cmp edx, ecx
jl 0x5bed5e
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x98
ret
cmp esi, 0xd
je 0x5bf208
cmp esi, 4
jg 0x5bef38
cmp esi, 2
jg 0x5beee9
cmp esi, 1
je 0x5beebe
cmp esi, 2
jne 0x5bee80
mov esi, dword [esp + 0xa4]
test byte [esi], al
mov dword [esp + 4], esi
lea edi, [0x60ce00]
mov dword [esp], edi
call fcn.0040a860
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov ecx, dword [esp + 0xac]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
lea edx, [esp + 0x50]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.004996f0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0xa4]
jmp 0x5bed91
lea eax, [0x65096c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0x15
lea eax, [0x60cc40]
mov dword [esp], eax
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
call fcn.0040a860
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004254c0
ud2
mov esi, dword [esp + 0xa4]
test byte [esi], al
lea edi, [esi + 0x20]
mov dword [esp + 4], edi
lea edi, [0x610680]
mov dword [esp], edi
call fcn.0040a860
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
jmp 0x5bee0e
cmp esi, 3
jne 0x5bef13
lea esi, [0x60c540]
mov dword [esp], esi
lea edi, [0x77c5fc]
mov dword [esp + 4], edi
call fcn.0040a860
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
jmp 0x5bee0e
lea esi, [0x60cc40]
mov dword [esp], esi
lea edi, [0x76ad08]
mov dword [esp + 4], edi
call fcn.0040a860
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
jmp 0x5bee0e
cmp esi, 6
jg 0x5befb8
cmp esi, 5
jne 0x5bef6d
mov esi, dword [esp + 0xa4]
test byte [esi], al
lea edi, [esi + 0x18]
mov dword [esp + 4], edi
lea edi, [0x60cc40]
mov dword [esp], edi
call fcn.0040a860
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
jmp 0x5bee0e
mov esi, dword [esp + 0xa4]
mov dword [esp], esi
call fcn.005c0030
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
lea eax, [0x60cc40]
mov dword [esp], eax
lea ecx, [esp + 0x80]
mov dword [esp + 4], ecx
call fcn.0040a860
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
jmp 0x5bee0e
lea edi, [esi - 7]
cmp edi, 1
jbe 0x5bf0ab
lea edi, [esi - 9]
cmp edi, 3
ja 0x5bee80
lea edi, [0x64adfe]
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], 3
lea esi, [0x60cc40]
mov dword [esp], esi
lea esi, [esp + 0x68]
mov dword [esp + 4], esi
call fcn.0040a860
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0xa0]
lea ebx, [edx + 1]
mov dword [esp], ebx
call fcn.00405bb0
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0x14]
test cl, cl
jne 0x5bf034
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
jmp 0x5bee0e
mov dword [esp], eax
call fcn.0043c050
mov eax, dword [esp + 4]
test eax, eax
jne 0x5bf057
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, eax
mov eax, ecx
mov ecx, edx
jmp 0x5bee0e
mov dword [esp], eax
call fcn.0043c090
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x28]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.005bf380
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea eax, [0x60cc40]
mov dword [esp], eax
lea ecx, [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.0040a860
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
jmp 0x5bf04c
mov edi, dword [esp + 0xa0]
inc edi
mov dword [esp], edi
call fcn.00405bb0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
test cl, cl
je 0x5bf1f6
mov ecx, dword [esp + 0x28]
cmp ecx, 8
je 0x5bf1d9
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea eax, [0x60cc40]
mov dword [esp], eax
lea ecx, [esp + 0x78]
mov dword [esp + 4], ecx
call fcn.0040a860
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
lea eax, [0x60c540]
mov dword [esp], eax
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.0040a860
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
lea eax, [0x64b355]
mov dword [esp], eax
mov dword [esp + 4], 5
lea ecx, [esp + 0x88]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004997c0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
lea eax, [0x60cc40]
mov dword [esp], eax
lea ecx, [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.0040a860
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
jmp 0x5bee0e
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.00517530
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
mov eax, dword [esp + 0x30]
jmp 0x5bf0e5
xor eax, eax
mov edx, 3
lea ebx, [0x64adfe]
jmp 0x5bf0e5
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.004502f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x5bf222
xor eax, eax
mov ecx, dword [esp + 0xa0]
lea edx, [ecx + 1]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.005bf570
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0043a7d0
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xac]
mov dword [esp], edx
call ecx
jmp 0x5bee68
mov esi, dword [esp + 0xa4]
mov edi, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov esi, dword [esi + 0x14]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
call fcn.0046c850
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0043a7d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xa8]
mov edx, dword [ecx + 0x14]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xac]
mov dword [esp], eax
call edx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0xa4]
jmp 0x5bed91
mov dword [esp], 0
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.0043a7d0
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov edx, dword [esp + 0xac]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0xa4]
jmp 0x5bed91
call fcn.00448420
jmp fcn.005bed20