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

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x268
push ebx
push esi
mov esi, dword [ebp + 0x78]
xor ebx, ebx
lea eax, [ebp + 0x28]
mov dword [ebp + 0x6c], eax
push edi
mov eax, esi
mov dword [ebp + 0x60], ebx
xor edi, edi
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x30], ebx
call fcn.005b88b0
mov ecx, eax
shr ecx, 3
and ecx, 0x1f
push eax
push ecx
push esi
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x50], ecx
call fcn.005b79b0
add esp, 0xc
cmp eax, ebx
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x30], eax
je 0x5b8a72
mov ecx, dword [ebp + 0x7c]
push ecx
push eax
mov eax, esi
call fcn.005b8450
add esp, 8
mov edi, eax
cmp edi, ebx
jne 0x5b8e34
lea edx, [ebp - 0x178]
mov ecx, 0x3a
lea edi, [ebp - 0x178]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.005b36c0
mov eax, dword [0x6bf1f4]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov dword [ebp + 0x58], ecx
lea ecx, [eax + 0x18]
mov dword [ebp + 0x54], edx
mov edx, dword [ebp - 0x10c]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x108]
mov dword [ecx], eax
call fcn.00441210
mov ecx, dword [eax]
lea edx, [ebp - 0x90]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], ebx
mov dword [ebp + 0x4c], eax
mov dword [eax], edx
lea eax, [ebp - 0x80]
push ebx
push eax
call sub.MSVCR71.dll__setjmp3
add esp, 0xc
test eax, eax
jne 0x5b8dce
mov esi, dword [ebp + 0x64]
cmp esi, ebx
mov dword [ebp + 0x5c], ebx
je 0x5b8af9
or dword [esi + 4], 4
mov eax, dword [ebp - 0x120]
test al, al
jns 0x5b8b43
push 0x5b6220
push 0x5b5f60
push 0x5b5dc0
push 0x5b5a90
lea ecx, [ebp - 0x16c]
shr eax, 8
push ecx
and eax, 1
push eax
lea edx, [ebp - 0x178]
push edx
call fcn.0053ba90
mov ebx, eax
mov eax, dword [ebp + 0x6c]
add esp, 0x1c
mov dword [ebp + 0x60], ebx
mov dword [eax], ebx
jmp 0x5b8caa
lea ecx, [ebp + 0x40]
push ecx
lea edx, [ebp + 0x34]
test al, 4
push edx
lea eax, [ebp - 0x178]
push eax
je 0x5b8b5d
call fcn.004a3d50
jmp 0x5b8b62
call fcn.005b58f0
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x7c]
add esp, 0xc
cmp eax, ebx
je 0x5b8ba4
mov ecx, dword [0x6bf1f4]
add ecx, 4
mov edx, dword [ecx]
mov dword [ebp + 0x10], edx
mov edx, dword [ecx + 4]
mov dword [ebp + 0x14], edx
mov edx, dword [ecx + 8]
mov dword [ebp + 0x18], edx
mov edx, dword [ecx + 0xc]
mov dword [ebp + 0x1c], edx
mov edx, dword [ecx + 0x10]
mov dword [ebp + 0x20], edx
mov ecx, dword [ecx + 0x14]
push eax
mov dword [ebp + 0x24], ecx
call fcn.004a4c20
add esp, 4
call fcn.00441210
mov edx, dword [eax]
mov dword [ebp - 0x40], edx
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x40]
push ebx
mov dword [ebp - 0x3c], ebx
push edx
mov dword [ebp + 0x3c], eax
mov dword [eax], ecx
call sub.MSVCR71.dll__setjmp3
add esp, 8
test eax, eax
jne 0x5b8c70
lea eax, [ebp - 0x1f8]
push eax
xor esi, esi
call fcn.005c6a80
mov eax, dword [0x6bf1f4]
mov ecx, dword [eax + 0xd4]
mov edx, dword [ecx]
mov ecx, dword [edx + 0x78]
add esp, 4
cmp ecx, ebx
je 0x5b8c14
mov ecx, dword [ebp - 0x120]
test ch, 2
jne 0x5b8c14
mov eax, dword [eax + 0xd4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x78]
mov esi, eax
mov eax, dword [0x6bf1f4]
add esp, 4
mov edx, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x40]
mov eax, dword [eax + 0xc4]
push edx
mov edx, dword [ebp + 0x38]
push ecx
mov ecx, dword [ebp + 0x34]
push edx
mov edx, dword [ebp + 0x68]
push ecx
push edx
push 0x5b6290
push 0x5b5f60
push 0x5b5e30
push eax
lea ecx, [ebp - 0x16c]
push ecx
push esi
lea edx, [ebp - 0x1f8]
push edx
lea eax, [ebp - 0x178]
push eax
call fcn.0053bc30
mov ecx, dword [ebp + 0x6c]
mov edx, dword [ebp + 0x3c]
mov ebx, eax
mov dword [ecx], ebx
mov eax, dword [ebp - 0x40]
add esp, 0x34
mov dword [ebp + 0x60], ebx
mov dword [edx], eax
jmp 0x5b8c94
cmp dword [ebp + 0x7c], ebx
je 0x5b8c81
lea ecx, [ebp + 0x10]
push ecx
call fcn.004a4b60
add esp, 4
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
push edx
push eax
call fcn.0047e830
mov ebx, dword [ebp + 0x60]
add esp, 8
mov eax, dword [ebp + 0x7c]
test eax, eax
je 0x5b8ca7
lea ecx, [ebp + 0x10]
push ecx
call fcn.004a4b60
add esp, 4
mov esi, dword [ebp + 0x64]
push ebx
call fcn.00553700
mov edi, dword [ebp + 0x78]
add esp, 4
test esi, esi
mov dword [ebp + 0x68], eax
jne 0x5b8ce1
mov edx, dword [ebp + 0x48]
push eax
mov eax, dword [ebp + 0x50]
push edx
push eax
push edi
call fcn.005b7b60
mov ecx, dword [ebp + 0x6c]
mov esi, eax
mov eax, dword [ebp + 0x68]
add esp, 0x10
test esi, esi
mov dword [ebp + 0x64], esi
mov dword [ecx + 8], esi
je 0x5b8d5b
mov cl, byte [ebp - 0x120]
add eax, 0x34
test cl, cl
js 0x5b8cff
mov edx, dword [0x6bf1f4]
movzx ecx, word [edx + 0xa6]
lea eax, [eax + ecx*4 + 0x3c]
movzx edx, word [esi + 0x20]
add edx, eax
mov eax, dword [0x6bf21c]
cmp edx, dword [eax + 0x34]
ja 0x5b8d5b
push ebx
call fcn.00553c50
mov ecx, dword [ebp + 0x6c]
mov edi, eax
push ebx
mov dword [ecx + 4], edi
call fcn.00553620
mov eax, dword [ebp + 0x6c]
mov edx, dword [ebp + 0x68]
push edx
mov dword [eax], edi
mov dword [eax + 4], 0
mov eax, dword [ebp + 0x7c]
push edi
push eax
lea ecx, [ebp - 0x178]
push ecx
mov ebx, edi
push esi
mov dword [ebp + 0x60], ebx
call fcn.005b8100
mov eax, dword [esi + 4]
mov edi, dword [ebp + 0x78]
add esp, 0x1c
and eax, 0xfffffffb
mov dword [esi + 4], eax
jmp 0x5b8d94
mov edx, dword [edi + 0x58]
or edx, 0x400
test esi, esi
mov dword [edi + 0x58], edx
mov dword [ebp + 0x5c], 1
mov eax, 0xfffffffb
je 0x5b8d94
mov ecx, dword [esi + 4]
and ecx, eax
test esi, esi
mov dword [esi + 4], ecx
je 0x5b8d94
and ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x5b8d94
call fcn.005b77f0
mov edx, dword [ebp + 0x4c]
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp + 0x58]
mov dword [edx], eax
mov edx, dword [0x6bf1f4]
mov eax, dword [ebp + 0x54]
mov dword [edx + 0x14], ecx
mov ecx, dword [0x6bf1f4]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp + 0x5c]
test eax, eax
je 0x5b8e45
mov eax, ebx
pop edi
pop esi
pop ebx
add ebp, 0x70
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x6c]
mov esi, dword [edi + 8]
cmp esi, ebx
mov dword [ebp + 0x64], esi
je 0x5b8de9
and dword [esi + 4], 0xfffffffb
cmp dword [esi + 0x24], ebx
jne 0x5b8de9
call fcn.005b77f0
mov eax, dword [0x6bf1f4]
mov edx, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x54]
mov dword [eax + 0x14], edx
mov edx, dword [0x6bf1f4]
mov dword [edx + 0x18], ecx
mov eax, dword [edi]
cmp eax, ebx
je 0x5b8e0f
push eax
call fcn.00553620
add esp, 4
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x5b8e1f
push eax
call fcn.00553620
add esp, 4
push ebx
call fcn.00479cc0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add ebp, 0x70
mov esp, ebp
pop ebp
ret
mov esi, edi
call fcn.005b8940
test eax, eax
je 0x5b8e28
mov ebx, dword [edi + 0x2c]
mov edi, dword [ebp + 0x78]
and dword [edi + 0x58], 0xfffffbff
pop edi
pop esi
mov eax, ebx
mov dword [0x69d460], 1
pop ebx
add ebp, 0x70
mov esp, ebp
pop ebp
ret