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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x60
mov edi, dword [esp + 0x7c]
mov esi, ecx
lea ebp, [esp + 0x74]
lea ebx, [esp + 0x10]
mov ecx, ebp
push ebx
call fcn.1004b548
push ebx
push dword [esi]
call fcn.1000630c
add esp, 8
mov ecx, ebx
call fcn.1000419e
mov bl, byte [0x1020c8b0]
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
test bl, bl
jne 0x1005bcd3
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1005bcd3
mov eax, dword [eax]
mov bl, byte [esp + 0x78]
mov dword [esp], eax
mov ecx, dword [esi + 0x18]
mov ecx, dword [ecx]
mov dword [esp + 4], ecx
jmp 0x1005bdf8
lea ecx, [esp + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
push 5
push str..text
call fcn.100055a8
test bl, bl
je 0x1005bd55
lea ebx, [esp + 0x48]
mov eax, 0xf
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
mov ecx, ebx
push 1
push 0x101c8f6d
call fcn.100055a8
mov eax, ebp
lea ebp, [esp + 0x30]
push eax
push ebx
push ebp
call fcn.1004f210
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp dword [ebp + 0x14], 0xf
mov edx, ebp
jbe 0x1005bd3c
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
push edx
call fcn.10004e32
mov ecx, ebp
call fcn.1000419e
mov ecx, ebx
call fcn.1000419e
mov eax, dword [edi]
mov ecx, edi
mov ebp, edi
call dword [eax + 0xc]
xor edx, edx
mov ecx, eax
xor ebx, ebx
inc edx
mov edi, edx
shl edi, cl
mov ecx, esi
mov eax, edi
sar eax, 0x1f
push ebx
push ebx
push eax
push edi
push ebx
push 6
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.1005beb4
mov ebx, eax
mov ecx, esi
mov dword [esp], eax
push dword [eax + 0x54]
push dword [eax + 0x50]
call fcn.1005bbd2
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x38], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
cmp eax, ecx
je 0x1005bdac
mov dword [ecx], ebx
add dword [esi + 0x10], 4
jmp 0x1005bdb8
mov edx, esp
lea ecx, [esi + 0xc]
push edx
push eax
call fcn.100034fe
mov bl, byte [esp + 0x78]
mov edi, ebp
mov ecx, esi
push dword [esp]
call fcn.1005b6f2
mov dword [esp + 4], eax
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
cmp edx, ecx
je 0x1005bdde
mov dword [ecx], eax
add dword [esi + 0x1c], 4
jmp 0x1005bdec
lea eax, [esp + 4]
lea ecx, [esi + 0x18]
push eax
push edx
call fcn.100034fe
lea ecx, [esp + 0x10]
call fcn.1000419e
mov eax, dword [esp]
xor bl, 1
cmp byte [0x1020c861], 0
mov ecx, dword [eax + 0x40]
setne dl
or dl, bl
mov ebx, ecx
mov ecx, dword [esi + 0x68]
movzx edx, dl
push 0
push ebx
push eax
push edx
add edx, edx
push edx
push dword [esp + 0x88]
call fcn.1005eeb4
mov eax, dword [esp + 0x74]
test eax, eax
je 0x1005be3e
mov ecx, eax
and ecx, 1
jne 0x1005be3e
mov ecx, dword [esi + 0x6c]
push eax
call fcn.1005f358
mov ebp, dword [edi + 0x68]
mov ecx, edi
mov edi, dword [edi + 0x6c]
cmp ebp, edi
je 0x1005be8d
lea eax, [ecx + 0x68]
mov ecx, dword [esp + 4]
cmp dword [ecx + 0x24], 4
je 0x1005be7f
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 8], eax
mov ecx, dword [ebp]
mov eax, dword [ecx]
push ebx
call dword [eax + 8]
add ebp, 4
cmp edi, ebp
jne 0x1005be63
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push dword [esi + 0x68]
push eax
push ebx
call fcn.1005ecf8
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp]
lea edi, [esp + 0x28]
push edi
call fcn.1004a47a
mov ecx, ebx
push dword [edi + 4]
push dword [edi]
push dword [esi + 4]
call fcn.1005ec1c
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret 0xc