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

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
add ebx, 0xffffffec
mov edi, dword [ebp + 8]
add edi, 0xffffffe8
xor eax, eax
push ebp
push 0x5b7fcb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
cmp byte [eax + 0x25], 0
je 0x5b75f7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp byte [eax + 0xf2], 0
jne 0x5b75f7
lea edx, [ebp - 4]
mov eax, dword [0x644104]
call fcn.00406fd4
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
call fcn.005a7a18
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax + 0x8c], 0
jne 0x5b7660
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax + 0x138], 0
jne 0x5b7660
push 0
push 0
push 8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
add eax, 0x138
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b9fb4
call dword [eax + 0x58]
add esp, 0x14
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b6d60
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax + 0x13c], 0
jne 0x5b76ac
push 0
push 0
push 9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
add eax, 0x13c
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b9fb4
call dword [eax + 0x58]
add esp, 0x14
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b6d60
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax + 0xac], 0
je 0x5b775a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + 8]
cmp word [eax + 0x38], 0x2328
jb 0x5b775a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov cl, byte [eax + 0x25]
mov eax, dword [ebp + 8]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xac]
call fcn.0059f7ac
mov dword [ebx], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + 0x20]
push eax
push 0x116
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
mov eax, dword [ebx]
push eax
push 9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x13c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b9fb4
call dword [eax + 0x14]
add esp, 0x18
mov dword [edi], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov dl, byte [eax + 0x25]
mov eax, dword [ebx]
call fcn.0059f858
mov edx, dword [edi]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b6d60
xor eax, eax
push ebp
push 0x5b7f05
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax + 0x8c], 0
jne 0x5b77f2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov cl, byte [eax + 0x25]
mov eax, dword [ebp + 8]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3c]
call fcn.0059f7ac
mov dword [ebx], eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
mov eax, dword [ebx]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + 0x20]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x138]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b9fb4
call dword [eax + 0x74]
add esp, 0x14
mov dword [edi], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov dl, byte [eax + 0x25]
mov eax, dword [ebx]
call fcn.0059f858
mov edx, dword [edi]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b6d60
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov esi, dword [eax + 0x60]
mov eax, dword [esi + 8]
test byte [eax + 0x3c], 2
je 0x5b7889
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax + 0x8c], 0
jne 0x5b7889
mov eax, dword [ebp + 8]
mov cl, byte [esi + 0x25]
mov eax, dword [ebp + 8]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x78]
call fcn.0059f7ac
mov dword [ebx], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + 0x20]
push eax
push 0x19
push 0
mov eax, dword [ebx]
push eax
push 8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x138]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b9fb4
call dword [eax + 0x14]
add esp, 0x18
mov dword [edi], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov dl, byte [eax + 0x25]
mov eax, dword [ebx]
call fcn.0059f858
mov edx, dword [edi]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b6d60
xor eax, eax
push ebp
push 0x5b7ea0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax + 0x8c], 0
jne 0x5b78ed
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov esi, dword [eax + 0x60]
mov eax, dword [esi + 0x20]
push eax
push 6
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x138]
push eax
push 3
mov eax, dword [ebp + 8]
mov eax, dword [esi + 0x1c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b9fb4
call dword [eax + 0x14]
add esp, 0x18
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b6d60
jmp 0x5b7938
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov esi, dword [eax + 0x60]
mov eax, dword [esi + 0x20]
push eax
push 6
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 0x138]
push eax
push 3
mov eax, dword [ebp + 8]
mov eax, dword [esi + 0x1c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b9fb4
call dword [eax + 0x14]
add esp, 0x18
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b6d60
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax + 0x8c], 0
je 0x5b7ab1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov cl, byte [eax + 0x25]
mov eax, dword [ebp + 8]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x34]
call fcn.0059f7ac
mov dword [ebx], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + 0x20]
push eax
push 0x16
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
mov eax, dword [ebx]
push eax
push 9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x13c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b9fb4
call dword [eax + 0x14]
add esp, 0x18
mov dword [edi], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov dl, byte [eax + 0x25]
mov eax, dword [ebx]
call fcn.0059f858
mov edx, dword [edi]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b6d60
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax + 0x38], 0
je 0x5b7a51
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov cl, byte [eax + 0x25]
mov eax, dword [ebp + 8]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
call fcn.0059f7ac
mov dword [ebx], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + 0x20]
push eax
push 0x17
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
mov eax, dword [ebx]
push eax
push 9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x13c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b9fb4
call dword [eax + 0x14]
add esp, 0x18
mov dword [edi], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov dl, byte [eax + 0x25]
mov eax, dword [ebx]
call fcn.0059f858
mov edx, dword [edi]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b6d60
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + 0x20]
push eax
push 0x63
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 0x13c]
push eax
push 9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x13c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b9fb4
call dword [eax + 0x14]
add esp, 0x18
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b6d60
mov eax, dword [ebp + 8]
mov dword [eax - 0x1c], 3
jmp 0x5b7bd1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax + 0x34], 0
je 0x5b7bc7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov cl, byte [eax + 0x25]
mov eax, dword [ebp + 8]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x34]
call fcn.0059f7ac
mov dword [ebx], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + 0x20]
push eax
push 0x16
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
mov eax, dword [ebx]
push eax
push 9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x13c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b9fb4
call dword [eax + 0x14]
add esp, 0x18
mov dword [edi], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov dl, byte [eax + 0x25]
mov eax, dword [ebx]
call fcn.0059f858
mov edx, dword [edi]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b6d60
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov cl, byte [eax + 0x25]
mov eax, dword [ebp + 8]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
call fcn.0059f7ac
mov dword [ebx], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + 0x20]
push eax
push 0x17
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
mov eax, dword [ebx]
push eax
push 9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x13c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b9fb4
call dword [eax + 0x14]
add esp, 0x18
mov dword [edi], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov dl, byte [eax + 0x25]
mov eax, dword [ebx]
call fcn.0059f858
mov edx, dword [edi]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b6d60
mov eax, dword [ebp + 8]
mov dword [eax - 0x1c], 1
jmp 0x5b7bd1
mov eax, dword [ebp + 8]
mov dword [eax - 0x1c], 2
mov eax, dword [ebp + 8]
push eax
xor eax, eax
call fcn.005b7510
pop ecx
mov edx, dword [ebp + 8]
mov dword [edx - 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp byte [eax + 0x9c], 0
je 0x5b7c2b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + 8]
test byte [eax + 0x3c], 2
je 0x5b7c2b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp byte [eax + 0x64], 2
jne 0x5b7c2b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + 8]
cmp word [eax + 0x38], 0x23f0
jbe 0x5b7c2b
mov eax, dword [ebp + 8]
or dword [eax - 0x20], 0x40
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + 8]
mov dl, byte [0x5b7fd8]
cmp dl, byte [eax + 0x3c]
jne 0x5b7d6e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov esi, dword [eax + 0x60]
mov eax, dword [esi + 0x20]
push eax
push 0x2711
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
add eax, 0x94
push eax
push 3
mov eax, dword [ebp + 8]
mov eax, dword [esi + 0x1c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b9fb4
call dword [eax + 0x18]
add esp, 0x18
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b6d60
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp byte [eax + 0xf2], 0
je 0x5b7cea
mov eax, dword [ebp + 8]
mov dword [eax - 0xc], 0x3e8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x60]
mov eax, dword [ebx + 0x20]
push eax
push 0x1f
push 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff4
push eax
push 3
mov eax, dword [ebp + 8]
mov eax, dword [ebx + 0x1c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b9fb4
call dword [eax + 0x18]
add esp, 0x18
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b6d60
jmp 0x5b7d6e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax + 0xe4], 0
je 0x5b7d6e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov cl, byte [eax + 0x25]
mov eax, dword [ebp + 8]
lea edx, [eax - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xe4]
call fcn.0059f7ac
mov dword [ebx], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov esi, dword [eax + 0x60]
mov eax, dword [esi + 0x20]
push eax
push 0x14
push 0
mov eax, dword [ebx]
push eax
push 3
mov eax, dword [ebp + 8]
mov eax, dword [esi + 0x1c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b9fb4
call dword [eax + 0x14]
add esp, 0x18
mov dword [edi], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov dl, byte [eax + 0x25]
mov eax, dword [ebx]
call fcn.0059f858
mov edx, dword [edi]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b6d60
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp byte [eax + 0xa9], 0
je 0x5b7dd4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
movzx eax, byte [eax + 0xaa]
mov edx, dword [ebp + 8]
mov dword [edx - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x60]
mov eax, dword [ebx + 0x20]
push eax
push 0x2712
push 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
push 3
mov eax, dword [ebp + 8]
mov eax, dword [ebx + 0x1c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b9fb4
call dword [eax + 0x18]
add esp, 0x18
mov dword [edi], eax
mov edx, dword [edi]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b6d60
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x13c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x60]
mov eax, dword [ebx + 0x20]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [ebx + 0x1c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b9fb4
call dword [eax + 0x80]
add esp, 0x14
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b6d60
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x60]
mov eax, dword [ebx + 0x20]
push eax
push 7
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x13c]
push eax
push 3
mov eax, dword [ebp + 8]
mov eax, dword [ebx + 0x1c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b9fb4
call dword [eax + 0x14]
add esp, 0x18
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b6d60
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + 8]
test byte [eax + 0x3c], 2
je 0x5b7e96
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005b8c38
cmp ax, 0x1f40
jae 0x5b7e96
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov byte [eax + 0x65], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5b7ef8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5b7fb5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b7fd2
lea eax, [ebp - 4]
call fcn.00404a88
ret