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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5c0427
sub esp, 0x6c
mov ebx, dword [esp + 0x70]
mov ebp, dword [ebx + 0x1a4]
mov ecx, dword [ebx + 0x1a8]
mov esi, dword [ebx + 0x1ac]
mov eax, dword [ebx + 0x1b0]
mov edi, ecx
sub ecx, eax
cmp ecx, 4
jge 0x5bfbca
mov dword [esp], ebx
mov byte [esp + 4], 0
call fcn.005bc080
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x5bfb69
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
add esp, 0x6c
ret
nop
cmp edi, eax
jb 0x5c041f
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 + 0x28], ebp
cmp ebp, 0x10000
jle 0x5bfda2
mov dword [esp], ebx
mov byte [esp + 4], 0x50
call fcn.005bec60
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00408f90
mov eax, dword [esp + 4]
lea ecx, [0x734020]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
lea eax, [0x7c84dc]
mov dword [esp + 0x68], eax
lea eax, [0x77b8da]
mov dword [esp], eax
mov dword [esp + 4], 0x45
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004a4ab0
nop
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
lea edx, [0x742760]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004092b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x5bfcff
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x70]
mov dword [edx + 0xd0], ecx
mov ecx, dword [0x901e80]
test ecx, ecx
jne 0x5bfcee
mov eax, dword [esp + 0x3c]
mov dword [edx + 0xd4], eax
jmp 0x5bfd6f
lea edi, [edx + 0xd4]
mov eax, dword [esp + 0x3c]
call fcn.00456ac0
jmp 0x5bfd6f
mov dword [esp + 0x58], edx
mov dword [esp + 0x50], ecx
lea eax, [0x73cac0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x58]
mov dword [eax], ecx
mov ecx, dword [0x901e80]
test ecx, ecx
jne 0x5bfd32
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
jmp 0x5bfd42
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x50]
call fcn.00456ac0
mov eax, ecx
lea ecx, [0x7ca850]
mov edx, dword [esp + 0x70]
mov dword [edx + 0xd0], ecx
mov ecx, dword [0x901e80]
test ecx, ecx
jne 0x5bfd64
mov dword [edx + 0xd4], eax
jmp 0x5bfd6f
lea edi, [edx + 0xd4]
call fcn.00456ac0
mov eax, dword [edx + 0xd0]
mov ecx, dword [edx + 0xd4]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x6c
ret
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x28]
lea esi, [ebp + 4]
mov edi, dword [ebx + 0x1a8]
sub edi, dword [ebx + 0x1b0]
cmp edi, esi
jge 0x5bfdf1
mov dword [esp], ebx
mov byte [esp + 4], 0
call fcn.005bc080
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x5bfd9a
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
add esp, 0x6c
ret
nop
mov byte [ebx + 0x1b4], 0
nop
mov edx, dword [ebx + 0x1ac]
mov ebp, dword [ebx + 0x1a4]
mov edi, dword [ebx + 0x1a8]
mov eax, dword [ebx + 0x1b0]
sub edi, eax
cmp edi, esi
jl 0x5bfe1a
mov edi, esi
lea ecx, [edi + eax]
cmp edx, ecx
jb 0x5c041a
cmp eax, ecx
ja 0x5c0415
mov dword [ebx + 0x1b0], ecx
sub edx, eax
neg edx
sar edx, 0x1f
and eax, edx
lea edx, [ebp + eax]
test edi, edi
jle 0x5bfe4b
mov byte [ebx + 0x1b4], 0xff
jbe 0x5c040c
mov dword [esp + 0x20], edi
mov dword [esp + 0x44], edx
movzx eax, byte [ebp + eax]
cmp al, 0xb
ja 0x5bffa1
cmp al, 2
ja 0x5bfec8
test al, al
jne 0x5bfe81
lea ecx, [0x7cb270]
lea eax, [0x901b24]
jmp 0x5c0231
cmp al, 1
jne 0x5bfea7
lea eax, [0x760560]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x7cb228]
jmp 0x5c0231
lea eax, [0x75f040]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x7cb210]
jmp 0x5c0231
cmp al, 5
ja 0x5bff2f
cmp al, 4
jne 0x5bff15
cmp word [ebx + 0x24], 0x304
jne 0x5bfef4
lea eax, [0x752ea0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
lea ecx, [0x7cb288]
jmp 0x5bff0c
lea eax, [0x741c20]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
lea ecx, [0x7cb150]
mov edi, dword [esp + 0x20]
jmp 0x5c0231
cmp al, 5
jne 0x5c00e0
lea ecx, [0x7cb1b0]
lea eax, [0x901b24]
jmp 0x5c0231
cmp al, 8
je 0x5bff80
cmp al, 0xb
jne 0x5c00e0
cmp word [ebx + 0x24], 0x304
jne 0x5bff5f
lea eax, [0x74bc80]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
lea ecx, [0x7cb108]
jmp 0x5bff77
lea eax, [0x741c80]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
lea ecx, [0x7cb168]
mov edi, dword [esp + 0x20]
jmp 0x5c0231
lea eax, [0x741e00]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x7cb1c8]
jmp 0x5c0231
cmp al, 0xf
ja 0x5c007d
cmp al, 0xd
ja 0x5c0034
cmp al, 0xc
je 0x5c0013
cmp word [ebx + 0x24], 0x304
jne 0x5bffe0
lea eax, [0x752e00]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
lea ecx, [0x7cb180]
mov edx, eax
mov eax, dword [esp + 0x70]
jmp 0x5c0008
lea eax, [0x74fb40]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 0x70]
cmp word [eax + 0x24], 0x303
setae cl
mov edx, dword [esp + 4]
mov byte [edx + 0xc], cl
lea ecx, [0x7cb0f0]
mov edi, dword [esp + 0x20]
mov eax, edx
jmp 0x5c0231
lea eax, [0x741e60]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x7cb1f8]
jmp 0x5c0231
cmp al, 0xe
jne 0x5c004a
lea ecx, [0x7cb1e0]
lea eax, [0x901b24]
jmp 0x5c0231
lea eax, [0x74be00]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 0x70]
cmp word [eax + 0x24], 0x303
setae cl
mov edx, dword [esp + 4]
mov byte [edx + 0xc], cl
mov edi, dword [esp + 0x20]
lea ecx, [0x7cb258]
mov eax, edx
jmp 0x5c0231
cmp al, 0x14
ja 0x5c00ce
cmp al, 0x10
je 0x5c00ad
cmp al, 0x14
jne 0x5c00e0
lea eax, [0x741d40]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x7cb198]
jmp 0x5c0231
lea eax, [0x741bc0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x7cb138]
jmp 0x5c0231
cmp al, 0x16
je 0x5c0215
cmp al, 0x18
je 0x5c01f7
mov dword [esp], ebx
mov byte [esp + 4], 0xa
call fcn.005bee30
nop
mov eax, dword [esp + 8]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
lea edx, [0x742760]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004092b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x5c015c
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x70]
mov dword [edx + 0xd0], ecx
mov ecx, dword [0x901e80]
test ecx, ecx
jne 0x5c014b
mov eax, dword [esp + 0x38]
mov dword [edx + 0xd4], eax
jmp 0x5c01cc
lea edi, [edx + 0xd4]
mov eax, dword [esp + 0x38]
call fcn.00456ac0
jmp 0x5c01cc
mov dword [esp + 0x58], edx
mov dword [esp + 0x4c], ecx
lea eax, [0x73cac0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x58]
mov dword [eax], ecx
mov ecx, dword [0x901e80]
test ecx, ecx
jne 0x5c018f
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
jmp 0x5c019f
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x4c]
call fcn.00456ac0
mov eax, ecx
lea ecx, [0x7ca850]
mov edx, dword [esp + 0x70]
mov dword [edx + 0xd0], ecx
mov ecx, dword [0x901e80]
test ecx, ecx
jne 0x5c01c1
mov dword [edx + 0xd4], eax
jmp 0x5c01cc
lea edi, [edx + 0xd4]
call fcn.00456ac0
mov eax, dword [edx + 0xd0]
mov ecx, dword [edx + 0xd4]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x6c
ret
lea eax, [0x741ec0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x7cb240]
jmp 0x5c0231
lea eax, [0x741aa0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [0x7cb120]
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], ecx
mov dword [esp], 0
mov dword [esp + 4], edi
mov dword [esp + 8], 0
mov dword [esp + 0xc], edi
lea edx, [0x734860]
mov dword [esp + 0x10], edx
call fcn.00442820
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x30], edx
mov dword [esp], eax
mov ebx, dword [esp + 0x44]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 8], ebx
call fcn.00457450
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x40]
mov dword [esp], edx
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0xc], ebx
call ecx
movzx eax, byte [esp + 0x10]
test al, al
je 0x5c02f2
mov eax, dword [esp + 0x24]
test eax, eax
je 0x5c02cd
mov ecx, dword [eax + 4]
jmp 0x5c02cf
mov ecx, eax
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x6c
ret
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005bee30
mov eax, dword [esp + 8]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x34], ecx
lea edx, [0x742760]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004092b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x5c0371
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x70]
mov dword [edx + 0xd0], ecx
mov ecx, dword [0x901e80]
test ecx, ecx
jne 0x5c0360
mov eax, dword [esp + 0x34]
mov dword [edx + 0xd4], eax
jmp 0x5c03e1
lea edi, [edx + 0xd4]
mov eax, dword [esp + 0x34]
call fcn.00456ac0
jmp 0x5c03e1
mov dword [esp + 0x48], ecx
mov dword [esp + 0x58], edx
lea eax, [0x73cac0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x58]
mov dword [eax], ecx
mov ecx, dword [0x901e80]
test ecx, ecx
jne 0x5c03a4
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
jmp 0x5c03b4
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x48]
call fcn.00456ac0
mov eax, ecx
lea ecx, [0x7ca850]
mov edx, dword [esp + 0x70]
mov dword [edx + 0xd0], ecx
mov ecx, dword [0x901e80]
test ecx, ecx
jne 0x5c03d6
mov dword [edx + 0xd4], eax
jmp 0x5c03e1
lea edi, [edx + 0xd4]
call fcn.00456ac0
mov eax, dword [edx + 0xd0]
mov ecx, dword [edx + 0xd4]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x6c
ret
xor eax, eax
mov ecx, eax
call fcn.00456b40
call fcn.00456ba0
call fcn.00456b80
mov ecx, edi
call fcn.00456ba0
nop
call fcn.00455690
jmp fcn.005bfb50