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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b2a21
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10221008]
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.1005fa30
cmp ebx, edi
je 0x1005f80a
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 0x1005f826
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1005f81b
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 0x1005f86f
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x1005f864
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 0x1005f924
nop dword [eax + eax]
cmp byte [esi + 8], 0x65
lea edx, [esi + 8]
je 0x1005f890
mov esi, dword [esi]
jmp 0x1005f91c
cmp dword [edx + 0x14], 0
je 0x1005f8c7
cmp dword [edx + 0x30], 8
lea eax, [edx + 0x1c]
mov dword [ebp - 0x10], eax
jb 0x1005f8a7
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [edx + 4]
push eax
lea ecx, [ebx + 8]
call fcn.100629c0
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov edi, eax
call fcn.1009ed40
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.1018b7b5
add esp, 8
mov esi, edi
cmp esi, dword [ebx]
jne 0x1005f880
mov ecx, ebx
call fcn.1005fb60
mov ecx, ebx
call fcn.1005fcf0
mov eax, dword [ebx]
mov esi, dword [eax]
cmp esi, eax
je 0x1005f9d9
nop
cmp byte [esi + 8], 0x68
je 0x1005f94d
mov esi, dword [esi]
jmp 0x1005f9d1
cmp dword [esi + 0x1c], 0
je 0x1005f979
lea eax, [esi + 0xc]
push eax
lea ecx, [ebx + 0x20]
call fcn.1000ed30
mov ecx, eax
lea eax, [esi + 0x24]
cmp ecx, eax
je 0x1005f979
cmp dword [esi + 0x38], 8
jb 0x1005f970
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.1018b7b5
add esp, 8
mov esi, edi
cmp esi, dword [ebx]
jne 0x1005f940
mov ecx, ebx
call fcn.1005fe80
mov ecx, ebx
call fcn.10060040
mov ecx, ebx
call fcn.10060510
mov ecx, ebx
call fcn.100607a0
mov esi, dword [ebp - 0x14]
mov ecx, ebx
push esi
call fcn.100609c0
mov dword [ebp - 4], 0
mov ecx, ebx
mov dword [ebp - 0x18], 1
call fcn.1005fa30
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