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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xe0]
cmp eax, dword [ecx + 8]
jbe 0x5b6dd7
sub esp, 0x160
mov ecx, dword [esp + 0x164]
mov edx, dword [ecx + 0x58]
test edx, edx
jne 0x5b651d
lea edi, [esp + 0x84]
xor eax, eax
call fcn.0045e6d9
mov ecx, dword [esp + 0x164]
lea edx, [esp + 0x84]
mov dword [esp + 0x5c], edx
mov eax, dword [ecx + 0x44]
mov ebx, dword [ecx + 0x48]
mov ebp, dword [ecx + 0x4c]
mov dword [esp], edx
mov byte [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.005b5fe0
movzx eax, word [esp + 0x14]
movzx ecx, byte [esp + 0x16]
test cl, cl
je 0x5b67ab
mov word [esp + 0x20], ax
mov ecx, dword [esp + 0x164]
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x5b6636
mov eax, dword [esp + 0x168]
mov dword [esp], eax
call fcn.005b7480
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
test ecx, ecx
je 0x5b65f9
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
test edx, edx
je 0x5b65a6
mov edx, dword [edx + 4]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ebx
lea eax, [0x6406cb]
mov dword [esp], eax
mov dword [esp + 4], 0x1f
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004b27a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], ecx
add esp, 0x160
ret
mov ecx, dword [esp + 0x164]
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 0x10]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.005aca10
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
jne 0x5b6741
movzx eax, word [esp + 0x20]
mov ecx, dword [esp + 0x164]
lea edi, [esp + 0x70]
mov edx, eax
xor eax, eax
call fcn.0045e70b
lea ecx, [0x5b6e70]
mov dword [esp + 0x70], ecx
mov word [esp + 0x74], dx
mov ecx, dword [esp + 0x168]
mov dword [esp + 0x78], ecx
mov ebx, dword [esp + 0x164]
mov dword [esp + 0x7c], ebx
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x80], ebp
mov esi, dword [ebx + 0x30]
mov eax, ecx
mov ecx, dword [ebx + 0x2c]
mov edi, ecx
mov ecx, dword [ebx + 0x34]
test esi, esi
je 0x5b66c4
mov word [esp], dx
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call fcn.005b3190
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
test edx, edx
jne 0x5b6713
mov eax, dword [esp + 0x168]
movzx edx, word [esp + 0x20]
mov ebx, dword [esp + 0x164]
mov ebp, dword [esp + 0x5c]
cmp dx, 0x304
je 0x5b66f6
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x58], ecx
mov esi, dword [ebx + 0x18]
mov edi, dword [ebx + 0x20]
mov dword [esp + 0x54], edi
mov ebx, dword [ebx + 0x24]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x4c]
jmp 0x5b6806
mov dword [esp + 0x16c], 0
mov dword [esp + 0x170], 0
add esp, 0x160
ret
mov ebx, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [esp + 0x70]
call ebx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], ecx
add esp, 0x160
ret
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
test ecx, ecx
je 0x5b6758
mov ecx, dword [ecx + 4]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
lea eax, [0x646d79]
mov dword [esp], eax
mov dword [esp + 4], 0x36
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004b27a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], ecx
add esp, 0x160
ret
lea eax, [0x618d20]
mov dword [esp], eax
call fcn.0040b460
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x27
lea ecx, [0x643674]
mov dword [eax], ecx
lea ecx, [0x690a60]
mov dword [esp + 0x16c], ecx
mov dword [esp + 0x170], eax
add esp, 0x160
ret
lea eax, [edx + 1]
mov ebp, dword [esp + 0x5c]
movzx edx, word [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x168]
mov edx, dword [esp + 0x30]
cmp edx, esi
jge 0x5b685c
movzx eax, word [ecx + edx*2]
nop
test ebp, ebp
je 0x5b682f
mov edi, dword [ebp + 0x94]
mov ebx, dword [ebp + 0x90]
test edi, edi
jne 0x5b6847
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x54]
mov ebp, dword [0x7b55b0]
mov ecx, dword [0x7b55b4]
mov edi, ecx
mov ebx, ebp
mov ecx, dword [esp + 0x58]
mov ebp, dword [esp + 0x5c]
mov word [esp + 0x3c], ax
xor eax, eax
mov dword [esp + 0x30], eax
movzx eax, word [esp + 0x3c]
jmp 0x5b6dab
xor ecx, ecx
jmp 0x5b6865
inc ecx
mov ebp, dword [esp + 0x5c]
cmp ecx, ebx
jge 0x5b687b
movzx ebp, byte [edi + ecx]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5b6860
cmp edx, esi
mov ebp, dword [esp + 0x5c]
jmp 0x5b687d
cmp edx, esi
jge 0x5b6b7d
cmp ecx, ebx
jge 0x5b6b7d
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
lea ebx, [0x619580]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00409150
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x5b6b38
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 + 4]
test eax, eax
je 0x5b6af3
mov eax, dword [eax + 8]
cmp eax, 0x188a5798
je 0x5b6a8a
cmp eax, 0x2fd00e80
jne 0x5b6a62
lea eax, [0x62b980]
cmp edx, eax
jne 0x5b6af3
mov eax, dword [ecx]
mov dword [esp + 0x2c], eax
mov ecx, dword [ecx + 4]
mov dword [esp + 0x64], ecx
lea edx, [0x7e0878]
mov dword [esp], edx
lea ebx, [0x649dd4]
mov dword [esp + 4], ebx
call fcn.00473090
mov eax, dword [0x7b9920]
mov ecx, dword [esp + 0x2c]
lea edx, [0x6917dc]
cmp ecx, edx
jne 0x5b695a
mov dword [esp], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004033f0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5b695a
mov eax, 0x17
jmp 0x5b69f8
lea eax, [0x7e0878]
mov dword [esp], eax
lea ecx, [0x649dd4]
mov dword [esp + 4], ecx
call fcn.00473090
mov eax, dword [0x7b992c]
mov ecx, dword [esp + 0x2c]
lea edx, [0x691804]
cmp ecx, edx
jne 0x5b69aa
mov dword [esp], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004033f0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5b69aa
mov eax, 0x18
jmp 0x5b69f8
lea eax, [0x7e0878]
mov dword [esp], eax
lea eax, [0x649dd4]
mov dword [esp + 4], eax
call fcn.00473090
mov eax, dword [0x7b9930]
mov ecx, dword [esp + 0x2c]
lea edx, [0x69182c]
cmp ecx, edx
jne 0x5b6a1d
mov dword [esp], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004033f0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5b6a1d
mov eax, 0x19
mov word [esp + 0x22], ax
mov ecx, dword [esp + 0x164]
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x60], edx
mov ebx, dword [ecx + 0x18]
mov dword [esp + 0x30], ebx
mov ebp, dword [esp + 0x5c]
xor esi, esi
jmp 0x5b6cc3
mov eax, dword [esp + 0x168]
mov dword [esp], eax
call fcn.005b32b0
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea edx, [esp + 0x70]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], ecx
add esp, 0x160
ret
cmp eax, 0xcc456746
jne 0x5b6af3
lea eax, [0x61a180]
cmp edx, eax
jne 0x5b6af3
movzx eax, word [esp + 0x20]
mov ecx, dword [esp + 0x164]
xor edx, edx
jmp 0x5b6bd2
lea eax, [0x616dc0]
cmp edx, eax
jne 0x5b6af3
movzx eax, word [esp + 0x20]
cmp ax, 0x303
jb 0x5b6aad
mov ecx, dword [esp + 0x164]
mov edx, dword [ecx + 0x30]
test edx, edx
jne 0x5b6ae9
lea eax, [0x618d20]
mov dword [esp], eax
call fcn.0040b460
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x22
lea ecx, [0x641a18]
mov dword [eax], ecx
lea ecx, [0x690a60]
mov dword [esp + 0x16c], ecx
mov dword [esp + 0x170], eax
add esp, 0x160
ret
mov edx, 1
jmp 0x5b6bd2
mov eax, dword [esp + 0x168]
mov dword [esp], eax
call fcn.005b32b0
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea edx, [esp + 0x70]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], ecx
add esp, 0x160
ret
mov eax, dword [esp + 0x168]
mov dword [esp], eax
call fcn.005b32b0
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea edx, [esp + 0x70]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], ecx
add esp, 0x160
ret
lea eax, [0x618d20]
mov dword [esp], eax
call fcn.0040b460
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x42
lea ecx, [0x64831f]
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
lea edx, [0x690a60]
mov dword [esp], edx
mov dword [esp + 4], eax
lea edx, [esp + 0x70]
call ecx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], ecx
add esp, 0x160
ret
mov ebx, dword [esp + 0x5c]
mov ebp, dword [ebx + 0x54]
mov esi, dword [ebx + 0x58]
mov ebx, dword [ebx + 0x5c]
test ebp, ebp
jne 0x5b6bf5
mov ebp, dword [0x7ba240]
mov esi, dword [0x7ba244]
mov ebx, dword [0x7ba248]
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
mov word [esp + 0x3a], 0
lea edi, [0x5b6df0]
mov dword [esp + 0x34], edi
mov byte [esp + 0x38], dl
mov word [esp + 0x3a], ax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x34]
mov dword [esp + 0x18], eax
call fcn.005b37b0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5b6c6d
mov dword [esp + 0x16c], 0
mov dword [esp + 0x170], 0
add esp, 0x160
ret
lea eax, [0x618d20]
mov dword [esp], eax
call fcn.0040b460
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x48
lea ecx, [0x64883a]
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
lea edx, [0x690a60]
mov dword [esp], edx
mov dword [esp + 4], eax
lea edx, [esp + 0x70]
call ecx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], ecx
add esp, 0x160
ret
inc esi
cmp esi, ebx
jge 0x5b6d18
movzx edi, word [edx + esi*2]
cmp ax, di
jne 0x5b6cc2
test ebp, ebp
je 0x5b6cf0
mov ecx, dword [ebp + 0x94]
mov eax, dword [ebp + 0x90]
test ecx, ecx
jne 0x5b6d08
movzx eax, word [esp + 0x22]
mov ecx, dword [esp + 0x164]
mov edx, dword [0x7b55b0]
mov ebx, dword [0x7b55b4]
mov ecx, ebx
mov eax, edx
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
jmp 0x5b6d61
lea eax, [0x618d20]
mov dword [esp], eax
call fcn.0040b460
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0x643ac3]
mov dword [eax], ecx
lea ecx, [0x690a60]
mov dword [esp + 0x16c], ecx
mov dword [esp + 0x170], eax
add esp, 0x160
ret
inc edx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x60]
mov edx, dword [esp + 0x28]
cmp ecx, edx
jle 0x5b6d87
lea ebx, [eax + edx*2]
cmp word [ebx], di
jne 0x5b6d54
movzx eax, word [esp + 0x20]
mov ecx, dword [esp + 0x164]
mov edx, 1
jmp 0x5b6bd2
movzx eax, word [esp + 0x22]
mov ecx, dword [esp + 0x164]
mov edx, dword [esp + 0x60]
jmp 0x5b6cc2
lea ecx, [ebp + 1]
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x58]
mov ebp, dword [esp + 0x30]
cmp ebp, edi
jge 0x5b67e7
lea ecx, [ebx + ebp*2]
cmp word [ecx], ax
jne 0x5b6d9c
mov eax, dword [esp + 0x168]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x5c]
mov edi, dword [esp + 0x54]
jmp 0x5b685c
call fcn.0045d0a0
jmp fcn.005b64d0