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

Disassembly:
sub esp, 0x24c
lea eax, [esp + 0xc]
lea ecx, [esp + 0x40]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x25c]
push edi
push eax
mov edx, dword [esi]
push 0x24
push ecx
lea eax, [esp + 0x24]
push edx
push eax
call fcn.005f789d
mov edx, dword [eax]
add esp, 0x14
xor ecx, ecx
test edx, edx
setge cl
xor ecx, 1
je 0x5b5a52
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24c
ret
cmp dword [esp + 0x50], 0xbf
je 0x5b5a69
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24c
ret
mov ebx, dword [esp + 0x264]
mov edx, dword [ebx + 0x74]
test edx, edx
je 0x5b5ae8
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x28], ecx
mov cx, word [esp + 0x68]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x6a]
mov word [esp + 0x30], cx
mov ecx, dword [esp + 0x6e]
mov dword [esp + 0x32], eax
mov ax, word [esp + 0x72]
mov dword [esp + 0x36], ecx
mov ecx, dword [esp + 0x58]
mov word [esp + 0x3a], ax
mov eax, dword [ebx + 0xac]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x20]
push eax
push ecx
call edx
add esp, 8
test eax, eax
jne 0x5b5ae8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24c
ret
mov ecx, dword [esi]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x90]
push 8
push eax
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.005f789d
mov edx, dword [eax]
add esp, 0x14
xor ecx, ecx
test edx, edx
setge cl
xor ecx, 1
je 0x5b5b22
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24c
ret
cmp dword [esp + 0x8c], 0xc0
je 0x5b5b3c
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24c
ret
mov eax, dword [esp + 0x58]
xor ebp, ebp
test eax, eax
jbe 0x5b605f
mov ecx, dword [esi]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x14]
push 8
push eax
lea edx, [esp + 0x8c]
push ecx
push edx
call fcn.005f789d
mov edx, dword [eax]
add esp, 0x14
xor ecx, ecx
test edx, edx
setge cl
xor ecx, 1
jne 0x5b6052
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc2]
cmp eax, 0xb
ja case.default.0x5b5b8e
jmp dword [eax*4 + 0x5b6078]
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x5b5c15
mov edx, dword [esi]
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0xc4]
push 0x18
push ecx
lea eax, [esp + 0x84]
push edx
push eax
call fcn.005f789d
mov edx, dword [eax]
add esp, 0x14
xor ecx, ecx
test edx, edx
setge cl
xor ecx, 1
jne 0x5b6052
lea ecx, [esp + 0x190]
call fcn.005b5343
lea edx, [esp + 0xc0]
lea ecx, [esp + 0x190]
push edx
call fcn.005b539b
mov eax, dword [ebx + 0xac]
lea ecx, [esp + 0x190]
push eax
push ecx
call dword [ebx + 0x78]
add esp, 8
test eax, eax
je 0x5b6052
jmp 0x5b6044
mov edx, dword [esi]
push edx
call fcn.005f74d0
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x14]
push 1
add edi, eax
push eax
mov eax, dword [esi]
push eax
jmp 0x5b5ccc
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x5b5cb3
mov eax, dword [esi]
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0x174]
push 0x20
push edx
lea ecx, [esp + 0xa8]
push eax
push ecx
call fcn.005f789d
mov ecx, dword [eax]
add esp, 0x14
xor edx, edx
test ecx, ecx
setge dl
xor edx, 1
jne 0x5b6052
lea ecx, [esp + 0x208]
call fcn.005b5408
lea eax, [esp + 0x170]
lea ecx, [esp + 0x208]
push eax
call fcn.005b548d
mov ecx, dword [ebx + 0xac]
lea edx, [esp + 0x208]
push ecx
push edx
call dword [ebx + 0x7c]
add esp, 8
test eax, eax
je 0x5b6052
jmp 0x5b6044
mov eax, dword [esi]
push eax
call fcn.005f74d0
mov ecx, dword [esi]
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x14]
push 1
push eax
add edi, eax
push ecx
call fcn.005f74d9
add esp, 0xc
cmp eax, edi
jne 0x5b6052
jmp 0x5b6044
mov eax, dword [ebx + 0x80]
test eax, eax
je 0x5b5e2f
mov ecx, dword [esi]
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x128]
push 0x1c
push eax
lea edx, [esp + 0xb0]
push ecx
push edx
call fcn.005f789d
mov edx, dword [eax]
add esp, 0x14
xor ecx, ecx
test edx, edx
setge cl
xor ecx, 1
jne 0x5b6052
lea ecx, [esp + 0x1c8]
call fcn.005b552c
lea edx, [esp + 0x124]
lea ecx, [esp + 0x1c8]
push edx
call fcn.005b558d
mov eax, dword [ebx + 0xac]
lea ecx, [esp + 0x1c8]
push eax
push ecx
call dword [ebx + 0x80]
jmp 0x5b5f71
mov eax, dword [ebx + 0x84]
test eax, eax
je 0x5b5e2f
mov eax, dword [esp + 0x14]
cmp eax, 0x14
je 0x5b5dbc
xor ecx, ecx
lea edx, [esp + 0x18]
mov dword [esp + 0x3c], ecx
push edx
mov dword [esp + 0x44], ecx
push eax
mov dword [esp + 0x4c], ecx
lea eax, [esp + 0x44]
mov dword [esp + 0x50], ecx
push eax
mov dword [esp + 0x58], ecx
mov ecx, dword [esi]
lea edx, [esp + 0xb8]
push ecx
push edx
call fcn.005f789d
mov edx, dword [eax]
add esp, 0x14
xor ecx, ecx
test edx, edx
setge cl
xor ecx, 1
jne 0x5b6052
jmp 0x5b5ded
mov ecx, dword [esi]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x40]
push 0x14
push eax
lea edx, [esp + 0x94]
push ecx
push edx
call fcn.005f789d
mov edx, dword [eax]
add esp, 0x14
xor ecx, ecx
test edx, edx
setge cl
xor ecx, 1
jne 0x5b6052
lea ecx, [esp + 0xfc]
call fcn.005b5603
lea edx, [esp + 0x3c]
lea ecx, [esp + 0xfc]
push edx
call fcn.005b5643
mov eax, dword [ebx + 0xac]
lea ecx, [esp + 0xfc]
push eax
push ecx
call dword [ebx + 0x84]
add esp, 8
test eax, eax
je 0x5b6052
jmp 0x5b6044
mov edx, dword [esi]
push edx
call fcn.005f74d0
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x14]
push 1
add edi, eax
push eax
mov eax, dword [esi]
push eax
call fcn.005f74d9
add esp, 0xc
cmp eax, edi
jne 0x5b6052
jmp 0x5b6044
mov eax, dword [ebx + 0x88]
test eax, eax
je 0x5b5ee3
mov eax, dword [esi]
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0xb4]
push 0x10
push edx
lea ecx, [esp + 0xa0]
push eax
push ecx
call fcn.005f789d
mov ecx, dword [eax]
add esp, 0x14
xor edx, edx
test ecx, ecx
setge dl
xor edx, 1
jne 0x5b6052
lea ecx, [esp + 0xd8]
call fcn.005b5693
lea eax, [esp + 0xb0]
lea ecx, [esp + 0xd8]
push eax
call fcn.005b56d0
mov ecx, dword [ebx + 0xac]
lea edx, [esp + 0xd8]
push ecx
push edx
call dword [ebx + 0x88]
add esp, 8
test eax, eax
je 0x5b6052
jmp 0x5b6044
mov eax, dword [esi]
push eax
call fcn.005f74d0
mov ecx, dword [esi]
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x14]
push 1
push eax
add edi, eax
push ecx
jmp 0x5b5f9a
mov eax, dword [ebx + 0x8c]
test eax, eax
je 0x5b5f81
mov ecx, dword [esi]
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x24]
push 0x18
push eax
lea edx, [esp + 0x80]
push ecx
push edx
call fcn.005f789d
mov edx, dword [eax]
add esp, 0x14
xor ecx, ecx
test edx, edx
setge cl
xor ecx, 1
jne 0x5b6052
lea ecx, [esp + 0x140]
call fcn.005b571e
lea edx, [esp + 0x20]
lea ecx, [esp + 0x140]
push edx
call fcn.005b5764
mov eax, dword [ebx + 0xac]
lea ecx, [esp + 0x140]
push eax
push ecx
call dword [ebx + 0x8c]
add esp, 8
test eax, eax
je 0x5b6052
jmp 0x5b6044
mov edx, dword [esi]
push edx
call fcn.005f74d0
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x14]
push 1
add edi, eax
push eax
mov eax, dword [esi]
push eax
call fcn.005f74d9
add esp, 0xc
cmp eax, edi
jne 0x5b6052
jmp 0x5b6044
push ebx
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.005b60a8
add esp, 0xc
test eax, eax
je 0x5b6052
jmp 0x5b6044
push ebx
lea edx, [esp + 0x14]
push esi
push edx
call fcn.005b620c
add esp, 0xc
test eax, eax
je 0x5b6052
jmp 0x5b6044
push ebx
lea eax, [esp + 0x14]
push esi
push eax
call fcn.005b64f1
add esp, 0xc
test eax, eax
je 0x5b6052
jmp 0x5b6044
push ebx
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.005b6612
add esp, 0xc
test eax, eax
je 0x5b6052
jmp 0x5b6044
push ebx
lea edx, [esp + 0x14]
push esi
push edx
call fcn.005b687b
add esp, 0xc
test eax, eax
je 0x5b6052
jmp 0x5b6044
push ebx
lea eax, [esp + 0x14]
push esi
push eax
call fcn.005b69fa
add esp, 0xc
test eax, eax
je 0x5b6052
jmp 0x5b6044
push ebx
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.005b679c
add esp, 0xc
test eax, eax
je 0x5b6052
mov eax, dword [esp + 0x58]
inc ebp
cmp ebp, eax
jae 0x5b605f
jmp 0x5b5b4a
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24c
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24c
ret