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

Disassembly:
mov ecx, dword [0x7da588]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x68]
cmp eax, dword [ecx + 8]
jbe 0x5bd43c
sub esp, 0xe8
mov eax, dword [esp + 0xf8]
test eax, eax
je 0x5bc921
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0xfc]
mov dword [esp + 0x9c], ecx
mov edx, dword [esp + 0x98]
test edx, edx
je 0x5bc919
movzx ebx, byte [edx + 0xf]
nop
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5bc910
or ebx, 0x80
mov ebp, dword [esp + 0x9c]
jmp 0x5bc92e
xor ebx, ebx
xor edx, edx
xor ebp, ebp
jmp 0x5bc92e
mov ecx, dword [esp + 0xfc]
xor ebx, ebx
xor edx, edx
xor ebp, ebp
mov esi, ebx
and ebx, 0x1f
nop
cmp ebx, 0x16
jne 0x5bc965
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.004c2840
mov edx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0xfc]
mov esi, ebx
mov dword [esp + 0x5c], esi
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], edx
nop
nop
mov ebx, dword [esp + 0x108]
test ebx, ebx
je 0x5bc9a8
test ebx, 0x200
jne 0x5bc9a8
lea edi, [0x65a1a0]
mov edi, dword [esp + 0x100]
mov dword [esp + 0x80], edi
lea edi, [0x65a1a0]
jmp 0x5bc9d7
mov eax, dword [esp + 0x100]
mov dword [esp], eax
mov ecx, dword [esp + 0x104]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004c5b70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edi, eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x30], edi
mov eax, dword [edi + 0x28]
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0x30]
mov edx, dword [edx + 0x54]
mov ebx, dword [esp + 0x80]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 8], eax
call fcn.004bf8c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xac], ecx
mov edx, dword [esp + 0x100]
mov dword [esp], edx
mov ebx, dword [esp + 0x104]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x108]
mov dword [esp + 8], ebp
mov byte [esp + 0xc], 1
call fcn.004c2c90
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 0x108]
test edx, edx
je 0x5bcaa1
test edx, 0x200
jne 0x5bcaa1
lea ebx, [0x65a1a0]
mov ebp, dword [esp + 0x100]
jmp 0x5bcacb
mov eax, dword [esp + 0x100]
mov dword [esp], eax
mov ecx, dword [esp + 0x104]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004c5b70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, eax
mov ebp, ecx
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.004c6560
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004c2c90
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x10], eax
je 0x5bcb06
xor eax, eax
jmp 0x5bcb26
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00404aa0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x5c]
mov edx, ecx
and ecx, 0x1f
mov dword [esp + 0x78], ecx
test al, al
jne 0x5bcb62
mov eax, dword [esp + 0xec]
mov ebx, dword [eax]
movzx ebx, byte [ebx + 0xa]
test bl, bl
jne 0x5bcb69
mov ebx, dword [esp + 0x108]
mov ebp, dword [esp + 0x100]
mov esi, dword [esp + 0x104]
jmp 0x5bce75
mov eax, dword [esp + 0xec]
cmp ecx, 0x11
je 0x5bcdc9
cmp ecx, 0x17
je 0x5bcdc9
mov ebx, dword [eax]
movzx ebx, byte [ebx + 0xb]
test bl, bl
je 0x5bccf9
cmp ecx, 0x15
jne 0x5bcc2d
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004c3d20
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5bccf9
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
call fcn.004c6560
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x100]
mov dword [esp], ebx
mov ebx, dword [esp + 0x104]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x108]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004c4ac0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
add esp, 0xe8
ret
lea eax, [0x5da7e0]
mov dword [esp], eax
call fcn.0040d1f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xf8]
mov dword [eax], ecx
mov ecx, dword [0x7da640]
test ecx, ecx
jne 0x5bcc5b
mov ecx, dword [esp + 0xfc]
jmp 0x5bcc69
call fcn.0046be70
mov ecx, dword [esp + 0xfc]
mov dword [edi], ecx
mov dword [eax + 4], ecx
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0040ab00
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xec]
mov dword [esp], ecx
mov ecx, dword [esp + 0xf0]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xf4]
mov dword [esp + 8], ecx
lea ecx, [0x5d6ee0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x1c], eax
call fcn.005bc8b0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], ecx
add esp, 0xe8
ret
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov eax, dword [esp + 0xf0]
mov dword [esp], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 4], eax
call fcn.0040aa80
mov eax, dword [esp + 8]
lea ecx, [0x5dd3e0]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.0040a980
mov eax, dword [esp + 4]
lea ecx, [0x5e0ca0]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
lea eax, [0x619b0f]
mov dword [esp], eax
mov dword [esp + 4], 0x33
lea eax, [esp + 0xc8]
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 + 0x10c], eax
mov dword [esp + 0x110], ecx
add esp, 0xe8
ret
cmp ecx, 0x17
jne 0x5bcdda
mov ebx, dword [esp + 0xa8]
mov ebp, dword [ebx + 4]
jmp 0x5bcdfc
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004c3d20
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x54]
mov edx, dword [esp + 0xac]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x3c]
cmp dword [esp + 4], eax
jl 0x5bceba
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
call fcn.004c6640
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004c2840
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, edx
mov ebp, eax
mov esi, ecx
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebp
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x58], eax
lea eax, [0x7da440]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x64]
jmp 0x5bd02e
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x54]
mov ecx, dword [esp + 0xac]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x78]
cmp ecx, 0x17
jne 0x5bceea
mov ecx, dword [esp + 0xa8]
mov ecx, dword [ecx + 4]
jmp 0x5bcf10
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
call fcn.004c3d20
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
lea edi, [esp + 0xb0]
xor eax, eax
call fcn.0046c08a
mov ecx, dword [esp + 0xf0]
mov dword [esp], ecx
mov ecx, dword [esp + 0xf4]
mov dword [esp + 4], ecx
call fcn.0040aa80
mov ecx, dword [esp + 8]
lea edx, [0x5dd3e0]
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
call fcn.0040a980
mov ecx, dword [esp + 4]
lea edx, [0x5dd620]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
call fcn.0040a980
mov ecx, dword [esp + 4]
lea edx, [0x5dd620]
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], ecx
lea ecx, [0x61af5d]
mov dword [esp], ecx
mov dword [esp + 4], 0x45
lea ecx, [esp + 0xb0]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.004cadf0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], edx
add esp, 0xe8
ret
mov eax, dword [esp + 0x50]
inc eax
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0xa8]
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], edx
mov dword [esp + 0xa0], ebp
mov eax, dword [esp + 0xec]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x88]
cmp ecx, 0x17
jne 0x5bd038
mov ecx, dword [edi + 4]
jmp 0x5bd070
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edx
call fcn.004c3d20
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0xa8]
mov eax, dword [esp + 0x50]
cmp eax, ecx
jge 0x5bd388
mov ecx, dword [esp + 0xa4]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.004c2ae0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x50]
sar ebx, 0x1f
mov dword [esp + 0x70], ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004c2c90
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x88]
mov dword [esp], edx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x44]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x50]
mov dword [esp + 0xc], esi
call fcn.004c2ae0
mov eax, dword [esp + 0x10]
mov dword [esp + 0xe4], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xe0], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x50]
mov dword [esp], ebx
mov ebp, dword [esp + 0x70]
mov dword [esp + 4], ebp
mov dword [esp + 8], 0xa
call fcn.004b3620
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], 0
mov edx, dword [esp + 0xf0]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0xf4]
mov dword [esp + 8], ebx
lea ebp, [0x657e9c]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
lea eax, [0x657e98]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 1
call fcn.00453b90
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0xec]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x1c], eax
call fcn.005b4f00
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x5bd1fc
mov ebx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov ebp, dword [esp + 0xa0]
jmp 0x5bcfea
mov ecx, dword [esp + 0x24]
je 0x5bd2e2
cmp dword [eax + 8], 0x28299e99
jne 0x5bd2dc
lea edx, [0x658d74]
cmp eax, edx
jne 0x5bd2e2
mov eax, dword [ecx + 4]
mov ebx, dword [esp + 0x54]
lea ebp, [ebx + eax]
mov ecx, dword [ecx]
mov esi, dword [esp + 0x58]
cmp esi, ebp
jb 0x5bd23e
mov edi, dword [esp + 0xa0]
jmp 0x5bd28d
mov dword [esp + 0xdc], ecx
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
lea ecx, [0x5dd3e0]
mov dword [esp + 0x10], ecx
call fcn.00450060
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x54]
mov esi, ecx
mov edi, eax
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0x7c], edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], esi
lea edx, [0x5dd3e0]
mov dword [esp], edx
sub ebp, ebx
sub esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
shl ebx, 3
sar esi, 0x1f
and ebx, esi
add ebx, edi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00412400
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x7c]
jmp 0x5bcfea
lea edx, [0x658d74]
mov edx, dword [esp + 0x54]
inc edx
mov dword [esp + 0x74], edx
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x74]
cmp edx, ebx
jb 0x5bd310
mov ebp, dword [esp + 0xa0]
jmp 0x5bd361
mov dword [esp + 0xd8], eax
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x5dd3e0]
mov dword [esp + 0x10], eax
call fcn.00450060
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, edx
mov ebp, eax
mov edx, ecx
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0x74]
lea esi, [ebp + ebx*8 - 4]
mov dword [esi], ecx
mov ecx, dword [0x7da640]
lea esi, [ebp + ebx*8 - 8]
test ecx, ecx
je 0x5bd381
call fcn.0046be80
mov dword [edi], eax
mov ecx, dword [esi]
mov dword [edi + 4], ecx
mov dword [esi], eax
jmp 0x5bcfea
mov eax, dword [esp + 0x100]
mov dword [esp], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
call fcn.004c4ac0
mov eax, dword [esp + 0x54]
test eax, eax
je 0x5bd41f
lea eax, [0x5e58c0]
mov dword [esp], eax
call fcn.0040d1f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 8], ecx
mov ecx, dword [0x7da640]
test ecx, ecx
jne 0x5bd3f4
mov ecx, dword [esp + 0xa0]
jmp 0x5bd402
call fcn.0046be70
mov ecx, dword [esp + 0xa0]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x658d74]
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], eax
add esp, 0xe8
ret
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
add esp, 0xe8
ret
call fcn.0046aa70
jmp fcn.005bc8b0