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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x5bdc5d
sub esp, 0xb0
mov eax, dword [esp + 0xd4]
test eax, eax
je 0x5bd241
test eax, 0x200
jne 0x5bd241
lea ecx, [0x663100]
mov edx, dword [esp + 0xcc]
jmp 0x5bd26b
mov ecx, dword [esp + 0xcc]
mov dword [esp], ecx
mov edx, dword [esp + 0xd0]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004be9f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, ecx
mov ecx, eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x3c], ecx
mov eax, dword [ecx + 0x4c]
mov dword [esp], edx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0x3c]
mov edx, dword [edx + 0x28]
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x84], ecx
lea edx, [0x5e1fa0]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044a130
mov eax, dword [esp + 0xc]
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0xc8]
mov edx, ecx
and ecx, 0x1f
mov dword [esp + 0x60], ecx
cmp ecx, 0x17
jne 0x5bd301
mov ebx, dword [esp + 0xc4]
mov ebp, dword [ebx + 4]
jmp 0x5bd33c
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov ecx, dword [esp + 0xc4]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004bcca0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0xc8]
mov ebx, dword [esp + 0xc4]
test ebp, ebp
je 0x5bd375
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.004bd0c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x5c], ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
mov esi, dword [esp + 0xa4]
jmp 0x5bd56f
cmp ecx, 0x14
ja 0x5bd38c
lea eax, [ecx - 0x12]
cmp eax, 1
jbe 0x5bd3a8
cmp ecx, 0x14
je 0x5bd396
jmp 0x5bd51e
cmp ecx, 0x16
jbe 0x5bd3a8
cmp ecx, 0x17
jne 0x5bd39f
mov eax, dword [ebx]
test eax, eax
setne al
jmp 0x5bd3c3
cmp ecx, 0x1a
jne 0x5bd51e
test edx, 0x200
jne 0x5bd3c7
test edx, 0x80
je 0x5bd3bc
mov eax, dword [ebx]
jmp 0x5bd3be
mov eax, ebx
test eax, eax
setne al
test al, al
je 0x5bd412
mov eax, dword [esp + 0xcc]
mov dword [esp], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x14], eax
call fcn.004bd9d0
jmp 0x5bd4c7
nop
mov eax, dword [esp + 0xd4]
mov ecx, eax
and eax, 0x1f
mov dword [esp + 0x60], eax
cmp eax, 0x14
ja 0x5bd43a
lea ebp, [eax - 0x12]
cmp ebp, 1
jbe 0x5bd461
cmp eax, 0x14
je 0x5bd444
jmp 0x5bd4e4
cmp eax, 0x16
jbe 0x5bd461
cmp eax, 0x17
jne 0x5bd458
mov eax, dword [esp + 0xd0]
mov ebp, dword [eax]
test ebp, ebp
xchg ebp, ebx
setne bl
xchg ebp, ebx
jmp 0x5bd497
cmp eax, 0x1a
jne 0x5bd4e4
test ecx, 0x200
je 0x5bd472
mov eax, dword [esp + 0xd0]
jmp 0x5bd49d
test ecx, 0x80
je 0x5bd485
mov eax, dword [esp + 0xd0]
mov ebp, dword [eax]
jmp 0x5bd48e
mov eax, dword [esp + 0xd0]
mov ebp, eax
test ebp, ebp
xchg ebp, ebx
setne bl
xchg ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5bd4c7
mov ebp, dword [esp + 0xcc]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
call fcn.004bd9d0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
add esp, 0xb0
ret
lea eax, [0x5ecce0]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x610a61]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
lea ecx, [0x5e5f40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435720
lea eax, [0x5ecce0]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x610a61]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
lea ecx, [0x5e5f40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435720
mov edi, dword [esp + 0xa4]
lea eax, [edi + 0xc]
mov edi, dword [esp + 0x58]
inc edi
mov ecx, dword [esp + 0x5c]
mov ebp, edx
mov edx, edi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x90], esi
mov dword [esp + 0x4c], ebp
cmp edx, ecx
jge 0x5bdb96
mov dword [esp + 0x58], edx
mov dword [esp + 0xa4], eax
mov edi, dword [eax + 4]
mov dword [esp + 0xa0], edi
mov ecx, dword [eax + 8]
mov dword [esp + 0x60], ecx
mov edx, dword [eax]
mov dword [esp + 0x9c], edx
and ecx, 0x1f
cmp ecx, 0x18
jne 0x5bd5ba
mov ecx, dword [edi]
mov eax, dword [edi + 4]
jmp 0x5bd5d6
mov dword [esp], edx
mov dword [esp + 4], edi
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
call fcn.004be910
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov dword [esp], 0
mov edx, dword [esp + 0xb8]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0xbc]
mov dword [esp + 8], ebx
lea ebp, [0x661160]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
lea eax, [0x661164]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 1
call fcn.0044dd50
mov eax, dword [esp + 0x24]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0xac]
mov dword [esp], edx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
call fcn.004bf830
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, edx
and edx, 0x1f
cmp edx, 0x16
jne 0x5bd685
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004bc180
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x68], eax
mov edx, dword [esp + 0x9c]
mov dword [esp], edx
mov ebp, dword [esp + 0xa0]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x60]
mov dword [esp + 8], esi
mov byte [esp + 0xc], 1
call fcn.004bc5d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xb4]
mov dword [esp], edx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x48]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x30]
mov dword [esp + 0x1c], esi
call fcn.005b8580
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
test eax, eax
je 0x5bd88b
test ecx, ecx
je 0x5bd7f4
lea ecx, [0x661b20]
cmp ebx, ecx
jne 0x5bd7f4
mov eax, dword [edx + 4]
mov ebx, dword [esp + 0x4c]
lea ebp, [eax + ebx]
mov edx, dword [edx]
mov esi, dword [esp + 0x50]
cmp esi, ebp
jb 0x5bd751
mov edi, dword [esp + 0x90]
jmp 0x5bd7a0
mov dword [esp + 0x98], edx
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
lea ecx, [0x5e1fa0]
mov dword [esp + 0x10], ecx
call fcn.0044a1f0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x98]
mov edi, esi
mov esi, ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x78], edi
lea ecx, [0x5e1fa0]
mov dword [esp], ecx
sub esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
shl ebx, 3
sar esi, 0x1f
and esi, ebx
lea ebx, [edi + esi]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x4c]
sub ebp, ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.00410970
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x78]
jmp 0x5bd558
mov eax, dword [eax + 0x10]
mov dword [esp], ebp
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x4c]
inc edx
mov ebx, dword [esp + 0x50]
cmp ebx, edx
jb 0x5bd81a
mov esi, dword [esp + 0x90]
jmp 0x5bd865
mov dword [esp + 0x54], ecx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5e1fa0]
mov dword [esp + 0x10], eax
call fcn.0044a1f0
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x54]
lea ebp, [esi + edx*8 - 4]
mov dword [ebp], ecx
lea edi, [esi + edx*8 - 8]
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x5bd881
mov dword [edi], eax
jmp 0x5bd558
call fcn.00463730
jmp 0x5bd558
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov ecx, dword [esp + 0xc4]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xc8]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x14], ebx
call fcn.004bce60
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004bc5d0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x88], ecx
mov edx, dword [esp + 0xa8]
mov dword [esp], edx
mov ebx, dword [esp + 0x84]
mov dword [esp + 4], ebx
call fcn.004bf830
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
nop
mov ebx, eax
and eax, 0x1f
cmp eax, 0x16
jne 0x5bd954
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.004bc180
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ebx, eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov ebp, dword [esp + 0x8c]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x94]
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
call fcn.005b8580
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
test eax, eax
je 0x5bdb2d
test ecx, ecx
je 0x5bda96
lea ecx, [0x661b20]
cmp ebx, ecx
jne 0x5bda96
mov eax, dword [edx + 4]
mov ebx, dword [esp + 0x4c]
lea ebp, [eax + ebx]
mov edx, dword [edx]
mov esi, dword [esp + 0x50]
cmp esi, ebp
jb 0x5bd9f3
mov edi, dword [esp + 0x90]
jmp 0x5bda42
mov dword [esp + 0x54], eax
mov dword [esp + 0x98], edx
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
lea ecx, [0x5e1fa0]
mov dword [esp + 0x10], ecx
call fcn.0044a1f0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x98]
mov edi, esi
mov esi, ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x40], esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x74], edi
lea ecx, [0x5e1fa0]
mov dword [esp], ecx
sub esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
shl ebx, 3
sar esi, 0x1f
and esi, ebx
lea ebx, [edi + esi]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x4c]
sub ebp, ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.00410970
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x74]
jmp 0x5bd558
mov eax, dword [eax + 0x10]
mov dword [esp], ebp
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x4c]
inc edx
mov ebx, dword [esp + 0x50]
cmp ebx, edx
jb 0x5bdabc
mov esi, dword [esp + 0x90]
jmp 0x5bdb07
mov dword [esp + 0x94], eax
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5e1fa0]
mov dword [esp + 0x10], eax
call fcn.0044a1f0
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x54]
lea ebp, [esi + edx*8 - 4]
mov dword [ebp], ecx
lea edi, [esi + edx*8 - 8]
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x5bdb23
mov dword [edi], eax
jmp 0x5bd558
call fcn.00463730
jmp 0x5bd558
mov eax, dword [esp + 0xd8]
mov dword [esp], eax
mov ecx, dword [esp + 0xdc]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xe0]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x20], ebx
call fcn.004be070
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x90]
jmp 0x5bd558
mov eax, dword [esp + 0xcc]
mov dword [esp], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x14], eax
call fcn.004bd9d0
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x5bdc40
lea eax, [0x5e8520]
mov dword [esp], eax
call fcn.0040bd40
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x4c]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x50]
mov dword [edi + 8], eax
mov eax, dword [0x7c78f0]
test eax, eax
jne 0x5bdc19
mov eax, dword [esp + 0x90]
mov dword [edi], eax
jmp 0x5bdc25
mov eax, dword [esp + 0x90]
call fcn.00463730
lea eax, [0x661b20]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], edi
add esp, 0xb0
ret
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
add esp, 0xb0
ret
call fcn.00462320
jmp fcn.005bd200