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

Disassembly:
push 0xffffffffffffffff
push 0x751321
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
mov ebx, dword [esp + 0xc8]
push ebp
push esi
mov eax, dword [ebx + 8]
push edi
xor ebp, ebp
mov edi, ecx
cmp eax, ebp
mov dword [esp + 0x1c], edi
je 0x5b8017
cmp dword [edi + 0xbc], ebp
je 0x5b8017
lea esi, [edi + 0x104]
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
lea eax, [esi + 0x14]
mov edx, dword [esi + 0x14]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, esp
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
lea ecx, [esi + 4]
mov eax, dword [esi + 4]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
lea edx, [esp + 0x94]
push edx
mov ecx, esi
call fcn.005655b0
mov eax, dword [edi + 0xbc]
mov edx, dword [ebx + 8]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 0xbc]
cmp ecx, ebp
je 0x5b8017
lea eax, [esp + 0x3c]
push eax
push edx
push ebx
call fcn.00438080
cmp eax, ebp
je 0x5b8017
mov eax, dword [edi + 0xf8]
mov edx, dword [edi + 0xf0]
sub eax, edx
xor ebx, ebx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
test eax, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebx
jle 0x5b7ef1
mov ecx, dword [esp + 0xd4]
mov eax, dword [ecx + 4]
mov ecx, 0x765608
test eax, eax
je 0x5b7ab5
lea ecx, [eax + ebx]
cmp byte [ecx], 0xa
jne 0x5b7bee
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x48]
mov byte [esp + 0x48], dl
call fcn.00404760
mov eax, ebx
mov dword [esp + 0xcc], 0
sub eax, ebp
test eax, eax
jle 0x5b7b6d
lea edi, [eax + 1]
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x98]
mov byte [esp + 0x98], al
call fcn.00404760
push edi
lea ecx, [esp + 0xb8]
push ebp
push ecx
mov ecx, dword [esp + 0xe0]
mov byte [esp + 0xd8], 1
call fcn.0040aa70
mov edx, dword [0x76560c]
lea ecx, [esp + 0x44]
push edx
push 0
push eax
mov byte [esp + 0xd8], 2
call fcn.00404560
push 1
lea ecx, [esp + 0xb8]
mov byte [esp + 0xd0], 1
call fcn.00404760
push 1
lea ecx, [esp + 0x98]
mov byte [esp + 0xd0], 0
call fcn.00404760
mov edi, dword [esp + 0x1c]
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x5b7b9f
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
cmp eax, edx
je 0x5b7b9f
lea ecx, [eax + 0x10]
cmp ecx, edx
mov dword [esi + 0x1c], ecx
jne 0x5b7baf
lea ecx, [esp + 0x44]
push ecx
push eax
call fcn.004f1770
add esp, 8
mov ecx, esi
call fcn.0045cf00
jmp 0x5b7bbd
mov ecx, esi
call fcn.0045cf00
mov eax, dword [esi + 0x1c]
lea ecx, [eax + 0x10]
mov dword [esi + 0x1c], ecx
lea edx, [esp + 0x44]
push edx
push eax
call fcn.004f1770
add esp, 8
mov edx, dword [esi + 0x2c]
push 1
inc edx
inc ebx
mov dword [esi + 0x2c], edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x18], ebx
mov ebp, ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0xd0], 0xffffffff
call fcn.00404760
jmp 0x5b7edd
test eax, eax
mov ecx, 0x765608
je 0x5b7bfa
lea ecx, [eax + ebx]
cmp byte [ecx], 0x7c
jne 0x5b7d28
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x58]
mov byte [esp + 0x58], al
call fcn.00404760
mov edi, ebx
mov dword [esp + 0xcc], 3
sub edi, ebp
test edi, edi
jle 0x5b7ca7
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x88], cl
lea ecx, [esp + 0x88]
call fcn.00404760
mov ecx, dword [esp + 0xd4]
push edi
lea edx, [esp + 0xa8]
push ebp
push edx
mov byte [esp + 0xd8], 4
call fcn.0040aa70
mov ecx, dword [0x76560c]
mov byte [esp + 0xcc], 5
push ecx
push 0
push eax
lea ecx, [esp + 0x60]
call fcn.00404560
push 1
lea ecx, [esp + 0xa8]
mov byte [esp + 0xd0], 4
call fcn.00404760
push 1
lea ecx, [esp + 0x88]
mov byte [esp + 0xd0], 3
call fcn.00404760
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x5b7cd9
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
cmp eax, edx
je 0x5b7cd9
lea ecx, [eax + 0x10]
cmp ecx, edx
mov dword [esi + 0x1c], ecx
jne 0x5b7ce9
lea edx, [esp + 0x54]
push edx
push eax
call fcn.004f1770
add esp, 8
mov ecx, esi
call fcn.0045cf00
jmp 0x5b7cf7
mov ecx, esi
call fcn.0045cf00
mov eax, dword [esi + 0x1c]
lea edx, [eax + 0x10]
mov dword [esi + 0x1c], edx
lea ecx, [esp + 0x54]
push ecx
push eax
call fcn.004f1770
add esp, 8
mov edx, dword [esi + 0x2c]
push 1
inc edx
inc ebx
mov dword [esi + 0x2c], edx
lea ecx, [esp + 0x58]
mov dword [esp + 0x18], ebx
mov ebp, ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0xd0], 0xffffffff
call fcn.00404760
jmp 0x5b7ed9
test eax, eax
mov edi, 0x765608
je 0x5b7d34
lea edi, [eax + ebx]
mov dl, byte [edi]
and dl, 0x80
neg dl
sbb edx, edx
neg edx
inc edx
test eax, eax
mov dword [esp + 0x34], edx
jne 0x5b7d4f
mov ebx, 0x765608
jmp 0x5b7d51
add ebx, eax
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x68]
mov byte [esp + 0x68], al
call fcn.00404760
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
lea ecx, [esp + 0x6c]
call fcn.004047b0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xcc], 6
mov eax, dword [ecx + 0xbc]
mov ecx, dword [eax + 0xbc]
test ecx, ecx
je 0x5b7dae
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x3c]
push edx
lea edx, [esp + 0x68]
push eax
push edx
call fcn.00438080
or ebx, 0xffffffff
push 1
lea ecx, [esp + 0x68]
mov dword [esp + 0xd0], ebx
call fcn.00404760
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
add ecx, eax
mov eax, dword [esp + 0x38]
cmp ecx, eax
jle 0x5b7ebb
mov edi, dword [esp + 0x14]
sub edi, ebp
test edi, edi
jle 0x5b7ee9
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], dl
call fcn.00404760
mov ecx, dword [esp + 0xd4]
push edi
lea eax, [esp + 0x78]
push ebp
push eax
mov dword [esp + 0xd8], 7
call fcn.0040aa70
mov ecx, dword [0x76560c]
mov byte [esp + 0xcc], 8
push ecx
push 0
push eax
lea ecx, [esp + 0x30]
call fcn.00404560
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0xd0], 7
call fcn.00404760
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x5b7e78
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
cmp eax, edx
je 0x5b7e78
lea ecx, [eax + 0x10]
cmp ecx, edx
mov dword [esi + 0x1c], ecx
jne 0x5b7e88
lea edx, [esp + 0x24]
push edx
push eax
call fcn.004f1770
add esp, 8
mov ecx, esi
call fcn.0045cf00
jmp 0x5b7e96
mov ecx, esi
call fcn.0045cf00
mov eax, dword [esi + 0x1c]
lea edx, [eax + 0x10]
mov dword [esi + 0x1c], edx
lea ecx, [esp + 0x24]
push ecx
push eax
call fcn.004f1770
add esp, 8
mov ecx, dword [esi + 0x2c]
push 1
inc ecx
mov dword [esi + 0x2c], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0xd0], ebx
call fcn.00404760
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
add edi, edx
add ecx, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
mov ebx, edi
mov edi, dword [esp + 0x1c]
cmp ebx, dword [esp + 0x20]
jl 0x5b7a9f
jmp 0x5b7eed
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
sub eax, ebp
mov ebx, eax
test ebx, ebx
jle 0x5b7fc9
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x28], cl
lea ecx, [esp + 0x28]
call fcn.00404760
mov ecx, dword [esp + 0xd4]
push ebx
lea edx, [esp + 0x78]
push ebp
push edx
mov dword [esp + 0xd8], 9
call fcn.0040aa70
mov ecx, dword [0x76560c]
mov byte [esp + 0xcc], 0xa
push ecx
push 0
push eax
lea ecx, [esp + 0x30]
call fcn.00404560
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0xd0], 9
call fcn.00404760
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x5b7f8e
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
cmp eax, edx
je 0x5b7f8e
lea ecx, [eax + 0x10]
cmp ecx, edx
mov dword [esi + 0x1c], ecx
jne 0x5b7f9e
lea edx, [esp + 0x24]
push edx
push eax
call fcn.004f1770
add esp, 8
mov ecx, esi
call fcn.0045cf00
jmp 0x5b7fac
mov ecx, esi
call fcn.0045cf00
mov eax, dword [esi + 0x1c]
lea edx, [eax + 0x10]
mov dword [esi + 0x1c], edx
lea ecx, [esp + 0x24]
push ecx
push eax
call fcn.004f1770
add esp, 8
mov ecx, dword [esi + 0x2c]
push 1
inc ecx
mov dword [esi + 0x2c], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0xd0], 0xffffffff
call fcn.00404760
mov edx, dword [edi + 0x130]
mov eax, dword [edi + 0x100]
sub edx, eax
jns 0x5b7fdb
xor edx, edx
mov eax, dword [edi + 0xe8]
test eax, eax
je 0x5b800e
mov ecx, dword [eax + 0xbc]
test ecx, ecx
je 0x5b7ff7
push edx
push 0
call fcn.00414d30
mov eax, dword [edi + 0xe8]
mov ecx, dword [eax + 0xbc]
test ecx, ecx
je 0x5b800e
push 0
call fcn.00414d80
push 0
mov ecx, edi
call fcn.005b8040
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc0
ret 4