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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5b793f
sub esp, 0x68
mov ebx, dword [esp + 0x6c]
mov ebp, dword [ebx + 0x198]
mov ecx, dword [ebx + 0x19c]
mov esi, dword [ebx + 0x1a0]
mov eax, dword [ebx + 0x1a4]
mov edi, ecx
sub ecx, eax
cmp ecx, 4
jge 0x5b70f7
mov dword [esp], ebx
mov byte [esp + 4], 0
call fcn.005b3570
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x5b7099
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
add esp, 0x68
ret
nop
cmp edi, eax
jb 0x5b7937
sub esi, eax
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and eax, esi
movzx esi, byte [ebp + eax + 1]
shl esi, 0x10
movzx edi, byte [ebp + eax + 2]
shl edi, 8
or edi, esi
movzx ebp, byte [ebp + eax + 3]
or ebp, edi
mov dword [esp + 0x24], ebp
cmp ebp, 0x10000
jle 0x5b72cb
mov dword [esp], ebx
mov byte [esp + 4], 0x50
call fcn.005b61a0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.004090d0
mov eax, dword [esp + 4]
lea ecx, [0x68db80]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
lea eax, [0x738950]
mov dword [esp + 0x64], eax
lea eax, [0x6d9b97]
mov dword [esp], eax
mov dword [esp + 4], 0x45
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c2610
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
lea edx, [0x69ea00]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004093f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x5b722b
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0xc4], ecx
mov ecx, dword [0x8e84e0]
test ecx, ecx
jne 0x5b721a
mov eax, dword [esp + 0x3c]
mov dword [edx + 0xc8], eax
jmp 0x5b729b
lea edi, [edx + 0xc8]
mov eax, dword [esp + 0x3c]
call fcn.00463080
jmp 0x5b729b
mov dword [esp + 0x54], edx
mov dword [esp + 0x48], ecx
lea eax, [0x697e60]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x54]
mov dword [eax], ecx
mov ecx, dword [0x8e84e0]
test ecx, ecx
jne 0x5b725e
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
jmp 0x5b726e
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x48]
call fcn.00463080
mov eax, ecx
lea ecx, [0x7394f4]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0xc4], ecx
mov ecx, dword [0x8e84e0]
test ecx, ecx
jne 0x5b7290
mov dword [edx + 0xc8], eax
jmp 0x5b729b
lea edi, [edx + 0xc8]
call fcn.00463080
mov eax, dword [edx + 0xc4]
mov ecx, dword [edx + 0xc8]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x68
ret
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x24]
lea esi, [ebp + 4]
mov edi, dword [ebx + 0x19c]
sub edi, dword [ebx + 0x1a4]
cmp edi, esi
jge 0x5b7317
mov dword [esp], ebx
mov byte [esp + 4], 0
call fcn.005b3570
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x5b72c3
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
add esp, 0x68
ret
nop
mov byte [ebx + 0x1a8], 0
nop
mov edx, dword [ebx + 0x1a0]
mov ebp, dword [ebx + 0x198]
mov edi, dword [ebx + 0x19c]
mov eax, dword [ebx + 0x1a4]
sub edi, eax
cmp edi, esi
jl 0x5b7340
mov edi, esi
lea ecx, [edi + eax]
cmp edx, ecx
jb 0x5b7932
cmp eax, ecx
ja 0x5b792d
mov dword [ebx + 0x1a4], ecx
sub edx, eax
neg edx
sar edx, 0x1f
and eax, edx
lea edx, [ebp + eax]
test edi, edi
jle 0x5b7371
mov byte [ebx + 0x1a8], 0xff
jbe 0x5b7924
mov dword [esp + 0x20], edi
mov dword [esp + 0x4c], edx
movzx eax, byte [ebp + eax]
cmp al, 0xb
ja 0x5b74c7
cmp al, 2
ja 0x5b73ee
test al, al
jne 0x5b73a7
lea ecx, [0x739fe8]
lea eax, [0x8e8244]
jmp 0x5b7753
cmp al, 1
jne 0x5b73cd
lea eax, [0x6bca00]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x739f70]
jmp 0x5b7753
lea eax, [0x6baf00]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x73a060]
jmp 0x5b7753
cmp al, 5
ja 0x5b7455
cmp al, 4
jne 0x5b743b
cmp word [ebx + 0x24], 0x304
jne 0x5b741a
lea eax, [0x6aff60]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
lea ecx, [0x73a030]
jmp 0x5b7432
lea eax, [0x69de00]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
lea ecx, [0x73a018]
mov edi, dword [esp + 0x20]
jmp 0x5b7753
cmp al, 5
jne 0x5b7606
lea ecx, [0x739fb8]
lea eax, [0x8e8244]
jmp 0x5b7753
cmp al, 8
je 0x5b74a6
cmp al, 0xb
jne 0x5b7606
cmp word [ebx + 0x24], 0x304
jne 0x5b7485
lea eax, [0x6a90e0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
lea ecx, [0x739ef8]
jmp 0x5b749d
lea eax, [0x69db00]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
lea ecx, [0x739ee0]
mov edi, dword [esp + 0x20]
jmp 0x5b7753
lea eax, [0x69dc80]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x739fa0]
jmp 0x5b7753
cmp al, 0xf
ja 0x5b75a3
cmp al, 0xd
ja 0x5b755a
cmp al, 0xc
je 0x5b7539
cmp word [ebx + 0x24], 0x304
jne 0x5b7506
lea eax, [0x6afec0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
lea ecx, [0x739f28]
mov edx, eax
mov eax, dword [esp + 0x6c]
jmp 0x5b752e
lea eax, [0x6acfa0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 0x6c]
cmp word [eax + 0x24], 0x303
setae cl
mov edx, dword [esp + 4]
mov byte [edx + 0xc], cl
lea ecx, [0x739f10]
mov edi, dword [esp + 0x20]
mov eax, edx
jmp 0x5b7753
lea eax, [0x69df20]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x73a078]
jmp 0x5b7753
cmp al, 0xe
jne 0x5b7570
lea ecx, [0x73a048]
lea eax, [0x8e8244]
jmp 0x5b7753
lea eax, [0x6a9160]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 0x6c]
cmp word [eax + 0x24], 0x303
setae cl
mov edx, dword [esp + 4]
mov byte [edx + 0xc], cl
mov edi, dword [esp + 0x20]
lea ecx, [0x739f58]
mov eax, edx
jmp 0x5b7753
cmp al, 0x14
ja 0x5b75f4
cmp al, 0x10
je 0x5b75d3
cmp al, 0x14
jne 0x5b7606
lea eax, [0x69dce0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x739fd0]
jmp 0x5b7753
lea eax, [0x69dbc0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x739f88]
jmp 0x5b7753
cmp al, 0x16
je 0x5b7737
cmp al, 0x18
je 0x5b7719
mov dword [esp], ebx
mov byte [esp + 4], 0xa
call fcn.005b6370
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
lea edx, [0x69ea00]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004093f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x5b7681
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0xc4], ecx
mov ecx, dword [0x8e84e0]
test ecx, ecx
jne 0x5b7670
mov eax, dword [esp + 0x38]
mov dword [edx + 0xc8], eax
jmp 0x5b76f1
lea edi, [edx + 0xc8]
mov eax, dword [esp + 0x38]
call fcn.00463080
jmp 0x5b76f1
mov dword [esp + 0x54], edx
mov dword [esp + 0x44], ecx
lea eax, [0x697e60]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x54]
mov dword [eax], ecx
mov ecx, dword [0x8e84e0]
test ecx, ecx
jne 0x5b76b4
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
jmp 0x5b76c4
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x44]
call fcn.00463080
mov eax, ecx
lea ecx, [0x7394f4]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0xc4], ecx
mov ecx, dword [0x8e84e0]
test ecx, ecx
jne 0x5b76e6
mov dword [edx + 0xc8], eax
jmp 0x5b76f1
lea edi, [edx + 0xc8]
call fcn.00463080
mov eax, dword [edx + 0xc4]
mov ecx, dword [edx + 0xc8]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x68
ret
lea eax, [0x69dda0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x73a000]
jmp 0x5b7753
lea eax, [0x69db60]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x739f40]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
lea edx, [0x68e6c0]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], edi
call fcn.0044b870
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
mov dword [esp], eax
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 8], edx
call fcn.00463a10
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x30]
mov dword [esp], edx
mov ebx, dword [esp + 0x50]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
call ecx
movzx eax, byte [esp + 0x10]
test al, al
je 0x5b780d
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5b77eb
mov ecx, dword [eax + 4]
jmp 0x5b77ed
mov ecx, eax
mov dword [esp + 0x70], ecx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005b6370
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x34], ecx
lea edx, [0x69ea00]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004093f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x5b788c
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0xc4], ecx
mov ecx, dword [0x8e84e0]
test ecx, ecx
jne 0x5b787b
mov eax, dword [esp + 0x34]
mov dword [edx + 0xc8], eax
jmp 0x5b78fc
lea edi, [edx + 0xc8]
mov eax, dword [esp + 0x34]
call fcn.00463080
jmp 0x5b78fc
mov dword [esp + 0x40], ecx
mov dword [esp + 0x54], edx
lea eax, [0x697e60]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x54]
mov dword [eax], ecx
mov ecx, dword [0x8e84e0]
test ecx, ecx
jne 0x5b78bf
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
jmp 0x5b78cf
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x40]
call fcn.00463080
mov eax, ecx
lea ecx, [0x7394f4]
mov edx, dword [esp + 0x6c]
mov dword [edx + 0xc4], ecx
mov ecx, dword [0x8e84e0]
test ecx, ecx
jne 0x5b78f1
mov dword [edx + 0xc8], eax
jmp 0x5b78fc
lea edi, [edx + 0xc8]
call fcn.00463080
mov eax, dword [edx + 0xc4]
mov ecx, dword [edx + 0xc8]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x68
ret
xor eax, eax
mov ecx, eax
call fcn.00463100
call fcn.00463160
call fcn.00463140
mov ecx, edi
call fcn.00463160
nop
call fcn.00461c70
jmp fcn.005b7080