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

Disassembly:
mov ecx, dword [0x7da588]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x5bda02
sub esp, 0x8c
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x5bd4b3
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x5bd4ab
movzx ecx, byte [eax + 0xf]
nop
mov edx, ecx
and ecx, 0x1f
test dl, 0x20
jne 0x5bd4a5
or ecx, 0x80
mov edx, dword [esp + 0x60]
jmp 0x5bd4b9
xor ecx, ecx
xor eax, eax
xor edx, edx
jmp 0x5bd4b9
xor ecx, ecx
xor eax, eax
xor edx, edx
mov ebx, ecx
and ecx, 0x1f
nop
cmp ecx, 0x16
jne 0x5bd4e2
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.004c2840
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ebx, ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x3c], ebx
test ebx, ebx
je 0x5bd504
test ebx, 0x200
jne 0x5bd504
mov ecx, eax
lea ebp, [0x65a1a0]
jmp 0x5bd52c
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.004c5b70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x3c]
mov ebp, eax
mov eax, ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x50], eax
mov esi, dword [esp + 0xac]
test esi, esi
je 0x5bd560
test esi, 0x200
jne 0x5bd560
lea edi, [0x65a1a0]
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x4c], edi
lea edi, [0x65a1a0]
jmp 0x5bd5a7
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.004c5b70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0xac]
mov edi, eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
cmp edi, ebp
jne 0x5bd5df
mov dword [esp], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
call fcn.00404b80
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5bd9a8
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0xac]
mov eax, ebx
and ebx, 0x1f
nop
nop
cmp ebx, 0x15
je 0x5bd940
cmp ebx, 0x19
jne 0x5bd887
lea ebx, [0x5df340]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], 0
mov ebx, dword [esp + 0x64]
test ebx, ebx
je 0x5bd61a
lea ebp, [0x65a1a0]
jmp 0x5bd61e
xor ebp, ebp
xor ebx, ebx
nop
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
call fcn.004c64c0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x88], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x84], edx
test eax, eax
je 0x5bd664
test eax, 0x200
jne 0x5bd664
lea ebx, [0x65a1a0]
jmp 0x5bd67e
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004c5b70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, eax
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.004c6640
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov ecx, eax
and eax, 0x1f
mov dword [esp + 0x40], eax
mov edx, dword [esp + 8]
mov dword [esp + 0x80], edx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x7c], ebx
nop
cmp eax, 0x16
jne 0x5bd6d2
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.004c2840
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, eax
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x88]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x14], edx
call fcn.004c4ac0
mov eax, dword [esp + 0x40]
cmp eax, 0x16
je 0x5bd71a
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x7c]
jmp 0x5bd747
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 8], edx
call fcn.004c2840
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov ebp, dword [esp + 0x94]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x98]
mov dword [esp + 8], esi
mov edi, dword [esp + 0x54]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x58]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
call fcn.005ba3b0
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x5bd86e
mov eax, dword [esp + 0x40]
cmp eax, 0x16
je 0x5bd7d4
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x7c]
jmp 0x5bd7ff
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
call fcn.004c2840
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x20], eax
call fcn.005bda10
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x8c
ret
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x8c
ret
mov dword [esp + 0x48], ebx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
call fcn.0040aa80
mov eax, dword [esp + 8]
lea ecx, [0x5dd3e0]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.0040a980
mov eax, dword [esp + 4]
lea ecx, [0x5e0ca0]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
lea eax, [0x613eb7]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cadf0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x8c
ret
mov ebx, dword [esp + 0x90]
mov dword [esp], ebx
mov ebx, dword [esp + 0x94]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x98]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
call fcn.005bda10
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x8c
ret
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
call fcn.004c4ac0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x8c
ret
call fcn.0046aa70
jmp fcn.005bd450