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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b48b1
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10223008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0
call fcn.1005fce0
cmp ebx, edi
je 0x1005faba
mov ecx, dword [ebx]
mov eax, dword [edi]
mov dword [ebx], eax
mov dword [edi], ecx
mov ecx, dword [ebx + 4]
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov dword [edi + 4], ecx
lea edi, [ebx + 0x40]
cmp edi, esi
je 0x1005fad6
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1005facb
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edi
push eax
call fcn.10004a60
mov eax, dword [esi + 0x18]
lea edx, [ebx + 0x78]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov al, byte [esi + 0x30]
mov byte [edi + 0x30], al
mov eax, dword [ebp - 0x10]
cmp edx, eax
je 0x1005fb1f
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x1005fb14
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edx
call fcn.10004a60
mov eax, dword [ebx]
mov esi, dword [eax]
cmp esi, eax
je 0x1005fbd4
nop dword [eax + eax]
cmp byte [esi + 8], 0x65
lea edx, [esi + 8]
je 0x1005fb40
mov esi, dword [esi]
jmp 0x1005fbcc
cmp dword [edx + 0x14], 0
je 0x1005fb77
cmp dword [edx + 0x30], 8
lea eax, [edx + 0x1c]
mov dword [ebp - 0x10], eax
jb 0x1005fb57
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [edx + 4]
push eax
lea ecx, [ebx + 8]
call fcn.10062c70
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov edi, eax
call fcn.100a0ae0
mov dword [edi], eax
mov dword [edi + 4], edx
lea edx, [esi + 8]
mov eax, dword [esi + 4]
mov edi, dword [esi]
mov dword [ebp - 0x10], edx
mov dword [eax], edi
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 4]
mov dword [ebp - 4], 3
lea ecx, [edx + 0x40]
call fcn.10008850
mov byte [ebp - 4], 2
lea ecx, [esi + 0x3c]
call fcn.10008850
mov byte [ebp - 4], 1
lea ecx, [esi + 0x24]
call fcn.100049f0
mov byte [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.100049f0
push 0x54
push esi
call fcn.1018d5e5
add esp, 8
mov esi, edi
cmp esi, dword [ebx]
jne 0x1005fb30
mov ecx, ebx
call fcn.1005fe10
mov ecx, ebx
call fcn.1005ffa0
mov eax, dword [ebx]
mov esi, dword [eax]
cmp esi, eax
je 0x1005fc89
nop
cmp byte [esi + 8], 0x68
je 0x1005fbfd
mov esi, dword [esi]
jmp 0x1005fc81
cmp dword [esi + 0x1c], 0
je 0x1005fc29
lea eax, [esi + 0xc]
push eax
lea ecx, [ebx + 0x20]
call fcn.1000ed30
mov ecx, eax
lea eax, [esi + 0x24]
cmp ecx, eax
je 0x1005fc29
cmp dword [esi + 0x38], 8
jb 0x1005fc20
mov eax, dword [eax]
push dword [esi + 0x34]
push eax
call fcn.10004a60
mov eax, dword [esi + 4]
mov edi, dword [esi]
mov dword [eax], edi
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea eax, [esi + 8]
dec dword [ebx + 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 7
lea ecx, [eax + 0x40]
call fcn.10008850
mov byte [ebp - 4], 6
lea ecx, [esi + 0x3c]
call fcn.10008850
mov byte [ebp - 4], 5
lea ecx, [esi + 0x24]
call fcn.100049f0
mov byte [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.100049f0
push 0x54
push esi
call fcn.1018d5e5
add esp, 8
mov esi, edi
cmp esi, dword [ebx]
jne 0x1005fbf0
mov ecx, ebx
call fcn.10060130
mov ecx, ebx
call fcn.100602f0
mov ecx, ebx
call fcn.100607c0
mov ecx, ebx
call fcn.10060a50
mov esi, dword [ebp - 0x14]
mov ecx, ebx
push esi
call fcn.10060c70
mov dword [ebp - 4], 0
mov ecx, ebx
mov dword [ebp - 0x18], 1
call fcn.1005fce0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10