Function at 0x5b45b0
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 0x5b504f
sub esp, 0xb0
mov eax, 0
mov dword [esp + 0xac], eax
mov byte [esp + 0x27], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x50]
test ecx, ecx
jne 0x5b4dd3
mov byte [esp + 0x26], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea ecx, [0x5b51d0]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
lea ecx, [esp + 0x26]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0xac], ecx
mov byte [esp + 0x27], 1
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x5b46ae
mov ecx, dword [eax + 0x60]
test ecx, ecx
jne 0x5b46ae
mov ecx, dword [eax + 0xac]
test ecx, ecx
jne 0x5b46ae
lea eax, [0x5e8460]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x10
lea ecx, [0x60f2ef]
mov dword [eax], ecx
lea ecx, [0x661abc]
mov edx, dword [esp + 0xb4]
mov dword [edx + 0x60], ecx
mov ebx, dword [0x7c78f0]
test ebx, ebx
jne 0x5b46a4
mov dword [edx + 0x64], eax
jmp 0x5b46b6
lea edi, [edx + 0x64]
call fcn.00463730
jmp 0x5b46b6
lea ecx, [0x661abc]
mov edx, eax
mov eax, dword [edx + 0x60]
mov ebx, dword [edx + 0x64]
test eax, eax
jne 0x5b46ca
mov ebp, dword [edx + 0xac]
test ebp, ebp
je 0x5b4724
mov ecx, dword [edx + 0xac]
mov ebp, dword [edx + 0xb0]
test ecx, ecx
je 0x5b46ff
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], ebp
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0xac]
mov eax, dword [edx]
call eax
add esp, 0xb0
ret
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ebx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0xac]
mov eax, dword [edx]
call eax
add esp, 0xb0
ret
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov ebx, dword [edx + 0x20]
mov ebp, dword [edx + 0x24]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.005b42d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test eax, eax
jne 0x5b4dae
mov edi, dword [esp + 0xb4]
mov dword [edi + 4], ebp
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x5b4777
mov dword [edi], ebx
jmp 0x5b477e
mov eax, ebx
call fcn.00463730
mov eax, dword [edi + 0x68]
test eax, eax
je 0x5b47d8
mov eax, dword [edi + 0x58]
test eax, eax
jne 0x5b47d8
lea eax, [0x5e8460]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x47
lea ecx, [0x61d8db]
mov dword [eax], ecx
lea ecx, [0x661abc]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0xac]
mov eax, dword [edx]
call eax
add esp, 0xb0
ret
mov eax, dword [edi + 0x58]
mov ecx, dword [edi + 0x5c]
test eax, eax
je 0x5b480a
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
call eax
mov dword [esp], 0
call fcn.00405fc0
movzx eax, byte [esp + 8]
test al, al
jne 0x5b4d6c
mov edi, dword [esp + 0xb4]
mov eax, dword [edi + 0x44]
lea ecx, [0x6066a0]
mov dword [esp], ecx
mov dword [esp + 4], 0
add eax, 3
mov dword [esp + 0x2c], eax
mov dword [esp + 8], eax
call fcn.0044a130
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0xb4]
mov dword [esp], ecx
call fcn.005b3770
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
test ecx, ecx
jne 0x5b4d47
mov ecx, dword [esp + 0x2c]
cmp ecx, 1
jb 0x5b486c
mov edx, dword [esp + 0x64]
jmp 0x5b48ac
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
lea eax, [0x6066a0]
mov dword [esp + 0x10], eax
call fcn.0044a1f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x54], edx
mov dword [esp + 0x2c], ecx
mov ebx, dword [0x7c78f0]
test ebx, ebx
jne 0x5b48c2
mov dword [edx], eax
jmp 0x5b48c9
mov edi, edx
call fcn.00463730
nop
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x30]
mov edx, dword [eax + 0x34]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.005b3dd0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0xc]
test eax, eax
jne 0x5b4d22
mov ecx, dword [esp + 0x2c]
cmp ecx, 2
jb 0x5b490e
mov edx, dword [esp + 0x54]
jmp 0x5b4948
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6066a0]
mov dword [esp + 0x10], eax
call fcn.0044a1f0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x54], edx
mov dword [esp + 0x2c], ecx
mov ebp, dword [0x7c78f0]
test ebp, ebp
jne 0x5b495f
mov dword [edx + 4], ebx
jmp 0x5b4969
lea edi, [edx + 4]
mov eax, ebx
call fcn.00463730
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.005b3d10
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test ecx, ecx
jne 0x5b4cfd
mov ecx, dword [esp + 0x2c]
cmp ecx, 3
jb 0x5b49a3
mov edx, dword [esp + 0x54]
jmp 0x5b49dd
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 3
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6066a0]
mov dword [esp + 0x10], eax
call fcn.0044a1f0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov ebx, dword [0x7c78f0]
test ebx, ebx
jne 0x5b49ec
mov dword [edx + 8], eax
jmp 0x5b49f4
lea edi, [edx + 8]
call fcn.00463730
mov eax, dword [esp + 0xb4]
mov ebx, dword [eax + 0x44]
lea ebp, [ebx + 3]
mov esi, dword [eax + 0x40]
cmp ecx, ebp
jae 0x5b4a42
mov dword [esp + 0x34], ebx
mov dword [esp + 0x60], esi
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
lea eax, [0x6066a0]
mov dword [esp + 0x10], eax
call fcn.0044a1f0
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x54], edx
mov dword [esp + 0x2c], ecx
lea eax, [0x6066a0]
mov dword [esp], eax
lea eax, [ecx - 3]
neg eax
sar eax, 0x1f
and eax, 0xc
add eax, edx
mov dword [esp + 4], eax
lea eax, [ebp - 3]
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.00410970
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
call fcn.005b5e40
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
test eax, eax
jne 0x5b4cd8
mov ecx, dword [esp + 0xb4]
mov edx, dword [ecx + 0xc]
mov eax, esi
mov esi, dword [ecx + 8]
mov edi, ebp
mov ebp, dword [ecx + 0x10]
test edx, edx
jne 0x5b4af6
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov edx, ebx
mov ebx, dword [ecx]
mov ebp, ecx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ecx
mov ecx, ebp
mov ebx, edx
mov ebp, 1
mov edx, 1
lea esi, [esp + 0x68]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edi
lea edi, [esp + 0x88]
xor eax, eax
call fcn.00463957
mov ecx, dword [esp + 0xb4]
mov eax, ebp
mov ebp, dword [ecx + 0x20]
mov edi, edx
mov edx, dword [ecx + 0x24]
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xa4], edx
mov dword [esp + 0x90], ebx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x98], edx
mov edx, dword [ecx + 0x4c]
mov dword [esp + 0xa8], edx
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
lea edx, [esp + 0x88]
mov dword [esp + 0x14], edx
call fcn.0049aa00
mov ecx, dword [0x7c78f0]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
test ecx, ecx
jne 0x5b4bc1
mov ecx, dword [esp + 0xb4]
mov dword [ecx + 0x50], eax
jmp 0x5b4bd0
mov ecx, dword [esp + 0xb4]
lea edi, [ecx + 0x50]
call fcn.00463730
test edx, edx
jne 0x5b4cb3
mov byte [esp + 0x26], 1
mov eax, dword [ecx + 0x90]
test eax, eax
je 0x5b4e0f
lea eax, [0x5dcbc0]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00404b50
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x5b4c22
mov ecx, dword [esp + 0xb4]
mov dword [ecx + 0x98], eax
jmp 0x5b4c34
mov ecx, dword [esp + 0xb4]
lea edi, [ecx + 0x98]
call fcn.00463730
lea eax, [0x5dce00]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00404b50
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0xb4]
mov edx, dword [ecx + 0x90]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x7c], edx
mov dword [esp], eax
lea edx, [esp + 0x7c]
mov dword [esp + 4], edx
call fcn.00404d20
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x8c]
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 0x90]
mov dword [esp + 0x34], edx
xor ebx, ebx
jmp 0x5b4f44
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebp
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0xac]
mov eax, dword [edx]
call eax
add esp, 0xb0
ret
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0xac]
mov eax, dword [edx]
call eax
add esp, 0xb0
ret
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ebx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0xac]
mov eax, dword [edx]
call eax
add esp, 0xb0
ret
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0xac]
mov eax, dword [edx]
call eax
add esp, 0xb0
ret
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ebx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0xac]
mov eax, dword [edx]
call eax
add esp, 0xb0
ret
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x58]
mov eax, dword [eax + 0x5c]
mov ecx, dword [ecx + 0x18]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0xac]
mov eax, dword [edx]
call eax
add esp, 0xb0
ret
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0xac]
mov eax, dword [edx]
call eax
add esp, 0xb0
ret
lea eax, [0x5e8460]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x15
lea ecx, [0x6118d2]
mov dword [eax], ecx
lea ecx, [0x661abc]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0xb0
ret
mov eax, dword [ecx + 0x68]
test eax, eax
jne 0x5b4e30
mov eax, dword [ecx + 0x70]
test eax, eax
setne al
mov ebx, dword [ecx + 0x6c]
test ebx, ebx
setne bl
or eax, ebx
test al, al
je 0x5b4ef9
mov eax, dword [ecx + 0x58]
mov ebx, dword [ecx + 0x5c]
test eax, eax
je 0x5b4ef9
mov eax, dword [eax + 0x14]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 4]
test eax, eax
je 0x5b4ef9
lea eax, [0x5dcdc0]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00404b50
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x5b4e89
mov ecx, dword [esp + 0xb4]
mov dword [ecx + 0x9c], eax
jmp 0x5b4e9b
mov ecx, dword [esp + 0xb4]
lea edi, [ecx + 0x9c]
call fcn.00463730
lea eax, [0x5eb9e0]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [esp + 4]
lea ecx, [0x5b5060]
mov dword [eax], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x5b4ed2
mov ecx, dword [esp + 0xb4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], ecx
jmp 0x5b4ef1
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0xb4]
call fcn.00463730
lea edi, [ecx + 8]
mov eax, dword [esp + 0x48]
call fcn.00463730
mov eax, ecx
mov dword [esp], eax
call fcn.00440d50
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0xac]
mov eax, dword [edx]
call eax
add esp, 0xb0
ret
mov dword [esp], eax
call fcn.00440d50
mov eax, dword [esp + 0x30]
lea ebx, [eax + 1]
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x34]
cmp ebx, edx
jge 0x5b5001
mov dword [esp + 0x30], ebx
mov eax, dword [ecx + ebx*4]
mov dword [esp + 0x50], eax
lea edx, [0x5ebaa0]
mov dword [esp], edx
call fcn.0040bd40
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
lea ecx, [0x5b50f0]
mov dword [eax], ecx
mov edx, dword [0x7c78f0]
test edx, edx
jne 0x5b4f8f
mov edx, dword [esp + 0x44]
mov dword [eax + 4], edx
mov ebx, dword [esp + 0x4c]
mov dword [eax + 8], ebx
jmp 0x5b4fa9
lea edi, [eax + 4]
mov edx, eax
mov eax, dword [esp + 0x44]
call fcn.00463730
lea edi, [edx + 8]
mov eax, dword [esp + 0x4c]
call fcn.00463730
lea eax, [0x5eb980]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [esp + 4]
lea ecx, [0x5b50b0]
mov dword [eax], ecx
mov edx, dword [0x7c78f0]
test edx, edx
jne 0x5b4fe0
mov edx, dword [esp + 0x58]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 8], edx
jmp 0x5b4f26
lea edi, [eax + 4]
mov edx, eax
mov eax, dword [esp + 0x58]
call fcn.00463730
lea edi, [edx + 8]
mov eax, dword [esp + 0x50]
call fcn.00463730
mov eax, edx
jmp 0x5b4f26
mov dword [eax + 0x90], 0
mov dword [eax + 0x94], 0
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x5b502b
mov dword [eax + 0x8c], 0
jmp 0x5b503c
lea edi, [eax + 0x8c]
mov ecx, eax
xor eax, eax
call fcn.00463730
mov eax, ecx
mov ecx, eax
jmp 0x5b4e0f
call fcn.00462320
jmp fcn.005b45b0