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

Disassembly:
sub esp, 0xfc
lea eax, [esp]
lea ecx, [esp + 0x14]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10c]
push edi
push eax
mov edx, dword [esi]
push 0x24
push ecx
lea eax, [esp + 0x20]
push edx
push eax
call fcn.005f789d
mov edx, dword [eax]
xor ebx, ebx
add esp, 0x14
xor ecx, ecx
cmp edx, ebx
setge cl
xor ecx, 1
je 0x5b261d
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret
cmp dword [esp + 0x24], 0xdd
je 0x5b2634
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret
mov ebp, dword [esp + 0x114]
mov edx, dword [ebp + 0xc0]
cmp edx, ebx
je 0x5b26c2
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x50], ecx
mov cx, word [esp + 0x3c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x3e]
mov word [esp + 0x58], cx
mov ecx, dword [esp + 0x42]
mov dword [esp + 0x5a], eax
mov ax, word [esp + 0x46]
mov dword [esp + 0x5e], ecx
mov cx, word [esp + 0x2c]
mov word [esp + 0x62], ax
mov ax, word [esp + 0x2e]
mov word [esp + 0x48], cx
mov ecx, dword [ebp + 0xd0]
mov word [esp + 0x4a], ax
lea eax, [esp + 0x48]
push ecx
push eax
call edx
add esp, 8
test eax, eax
jne 0x5b26c2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x68]
push 8
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.005f789d
mov ecx, dword [eax]
add esp, 0x14
xor edx, edx
cmp ecx, ebx
setge dl
xor edx, 1
je 0x5b26f9
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret
cmp dword [esp + 0x64], 0xdf
je 0x5b2710
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret
mov edx, dword [esp + 0x68]
cmp edx, 0x6453
je 0x5b2763
mov ecx, 0x1914
xor eax, eax
mov edi, 0x7254a0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, dword [esi]
lea eax, [esp + 0x10]
push eax
push edx
push 0x7254a0
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.005f789d
mov edx, dword [eax]
add esp, 0x14
xor ecx, ecx
cmp edx, ebx
setge cl
xor ecx, 1
je 0x5b279d
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret
mov eax, dword [esi]
lea edx, [esp + 0x10]
push edx
push 0x6453
push 0x7254a0
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.005f789d
mov ecx, dword [eax]
add esp, 0x14
xor edx, edx
cmp ecx, ebx
setge dl
xor edx, 1
je 0x5b279d
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret
cmp dword [ebp + 0xc4], ebx
je 0x5b27e7
mov eax, 0x72b8f3
test eax, eax
je 0x5b27b9
mov ecx, eax
call fcn.005b203a
mov edi, eax
jmp 0x5b27bb
xor edi, edi
push 0x7254a0
mov ecx, edi
call fcn.005b21f6
mov ecx, dword [ebp + 0xd0]
push ecx
push edi
call dword [ebp + 0xc4]
add esp, 8
test eax, eax
jne 0x5b27e7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret
mov ecx, dword [esi]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x70]
push 8
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.005f789d
mov edx, dword [eax]
add esp, 0x14
xor ecx, ecx
cmp edx, ebx
setge cl
xor ecx, 1
je 0x5b281e
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret
cmp dword [esp + 0x6c], 0xde
je 0x5b2835
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret
cmp dword [ebp + 0xc8], ebx
je 0x5b290d
cmp word [esp + 0x2c], bx
mov dword [esp + 0x14], ebx
jbe 0x5b294c
mov ecx, dword [esi]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0xc8]
push 0x48
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.005f789d
mov edx, dword [eax]
add esp, 0x14
xor ecx, ecx
cmp edx, ebx
setge cl
xor ecx, 1
jne 0x5b2a0c
mov ecx, 0x12
xor eax, eax
lea edi, [esp + 0x7c]
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
rep stosd dword es:[edi], eax
mov eax, 1
push 0x40
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
lea eax, [esp + 0xd0]
lea ecx, [esp + 0x88]
push eax
push ecx
mov dword [esp + 0x88], edx
call fcn.00675cb5
mov edx, dword [ebp + 0xd0]
add esp, 0xc
lea eax, [esp + 0x74]
mov byte [esp + 0xc3], 0
push edx
push eax
call dword [ebp + 0xc8]
add esp, 8
test eax, eax
je 0x5b2a0c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
inc eax
and ecx, 0xffff
cmp eax, ecx
mov dword [esp + 0x14], eax
jb 0x5b2850
jmp 0x5b294c
mov eax, dword [esp + 0x2c]
mov edx, dword [esi]
and eax, 0xffff
push edx
lea edi, [eax + eax*8]
shl edi, 3
call fcn.005f74d0
add esp, 4
mov ebx, eax
mov eax, dword [esi]
add ebx, edi
push 1
push edi
push eax
call fcn.005f74d9
add esp, 0xc
cmp eax, ebx
je 0x5b294a
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret
xor ebx, ebx
cmp dword [ebp + 0xcc], ebx
je 0x5b29de
xor edi, edi
cmp word [esp + 0x2e], bx
jbe 0x5b2a19
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push 4
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.005f789d
mov ecx, dword [eax]
add esp, 0x14
xor edx, edx
cmp ecx, ebx
setge dl
xor edx, 1
jne 0x5b2a0c
mov ecx, dword [ebp + 0xd0]
mov al, byte [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push edx
mov dword [esp + 0x1c], 1
mov byte [esp + 0x20], al
call dword [ebp + 0xcc]
add esp, 8
test eax, eax
je 0x5b2a0c
mov eax, dword [esp + 0x2e]
inc edi
and eax, 0xffff
cmp edi, eax
jb 0x5b2965
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret
mov edi, dword [esp + 0x2e]
mov ecx, dword [esi]
and edi, 0xffff
push ecx
shl edi, 2
call fcn.005f74d0
mov edx, dword [esi]
add esp, 4
mov ebp, eax
push 1
push edi
push edx
add ebp, edi
call fcn.005f74d9
add esp, 0xc
cmp eax, ebp
je 0x5b2a19
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xfc
ret