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

Disassembly:
sub esp, 0x60
lea eax, [esp + 0x64]
lea ecx, [esp + 0x3c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x70]
push edi
push eax
mov edx, dword [esi]
push 0x24
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.005f789d
mov edx, dword [eax]
xor ebx, ebx
add esp, 0x14
xor ecx, ecx
cmp edx, ebx
mov ebp, 1
setge cl
xor ecx, ebp
je 0x5b76e4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
cmp dword [esp + 0x4c], 0xe7
je 0x5b76f8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov edx, dword [esp + 0x78]
mov edx, dword [edx + 0xd4]
cmp edx, ebx
je 0x5b7778
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x34], ecx
mov cx, word [esp + 0x64]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x66]
mov word [esp + 0x3c], cx
mov ecx, dword [esp + 0x6a]
mov dword [esp + 0x3e], eax
mov ax, word [esp + 0x6e]
mov dword [esp + 0x42], ecx
mov ecx, dword [esp + 0x54]
mov word [esp + 0x46], ax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 0xdc]
lea eax, [esp + 0x2c]
push ecx
push eax
call edx
add esp, 8
test eax, eax
jne 0x5b7778
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov eax, dword [esi]
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x18]
push 8
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.005f789d
mov ecx, dword [eax]
add esp, 0x14
xor edx, edx
cmp ecx, ebx
setge dl
xor edx, ebp
je 0x5b77ab
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
cmp dword [esp + 0x14], 0xe8
je 0x5b77bf
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov edi, dword [esp + 0x78]
cmp dword [edi + 0xd8], ebx
je 0x5b7896
mov eax, dword [esp + 0x54]
mov dword [esp + 0x78], ebx
cmp eax, ebx
jbe 0x5b78c4
mov edx, dword [esi]
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x20]
push 0x10
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.005f789d
mov edx, dword [eax]
add esp, 0x14
xor ecx, ecx
cmp edx, ebx
setge cl
xor ecx, ebp
jne 0x5b78ba
xor edx, edx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x40], ecx
mov ecx, dword [edi + 0xdc]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
push edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x50], eax
call dword [edi + 0xd8]
add esp, 8
test eax, eax
je 0x5b78ba
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x54]
inc eax
cmp eax, ecx
mov dword [esp + 0x78], eax
jb 0x5b77df
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov eax, dword [esi]
push eax
call fcn.005f74d0
mov ecx, dword [esi]
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x18]
push ebp
push eax
push ecx
add edi, eax
call fcn.005f74d9
add esp, 0xc
cmp eax, edi
je 0x5b78c4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x60
ret