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

Disassembly:
mov eax, dword [0x1000d28c]
mov ecx, dword [0x10033194]
sub esp, 0x920
mov dword [eax + 0x74], ecx
mov edx, dword [0x1000d28c]
mov eax, dword [0x100331dc]
push ebx
mov dword [edx + 0xa8], eax
mov ecx, dword [0x100331d8]
mov eax, dword [0x1000d28c]
mov edx, 1
shl edx, cl
push esi
push edi
mov edi, 0x10033198
xor ebx, ebx
mov dword [eax + 0xa4], edx
mov ecx, dword [0x1000d28c]
xor eax, eax
lea edx, [ecx + 0x78]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, 1
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x100331cc]
mov eax, dword [0x1000d28c]
shl edx, cl
mov edi, 0x100335cc
mov dword [eax + 0x98], edx
mov ecx, dword [0x100331d0]
mov eax, dword [0x1000d28c]
mov edx, 1
shl edx, cl
mov dword [eax + 0x9c], edx
mov ecx, dword [0x1000d28c]
mov edx, dword [0x100331d4]
xor eax, eax
mov dword [ecx + 0xa0], edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x10013ad8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [0x100331e0]
and ecx, 3
cmp eax, 1
rep movsb byte es:[edi], byte [esi]
jne 0x1000620f
mov edi, 0x100331e4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x15c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [0x1000d290]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x15c]
mov dword [esp + 0x14], ecx
call dword [edx + 0x7c]
mov dword [esp + 0x10], 0x14
mov ecx, dword [0x1000d588]
push 0x1000d72c
lea eax, [esp + 0x18]
push 0x3b
push eax
call dword [ecx + 0x186c]
mov dword [esp + 0x18], eax
mov cl, byte [eax]
add esp, 0xc
cmp cl, bl
je 0x10006200
mov eax, dword [0x1000d588]
push 0x1000d72c
lea edx, [esp + 0x10]
push 0x5f
push edx
call dword [eax + 0x186c]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x1000d0d8
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x5f
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [0x1000d588]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
lea esi, [eax + 0x1830]
push ecx
call dword [eax + 0x186c]
push eax
call dword [esi]
mov edx, 1
mov ecx, eax
mov eax, dword [0x1000d588]
push 0x1000d0d8
shl edx, cl
lea ecx, [esp + 0x2c]
push 0x5f
push ecx
lea esi, [eax + 0x1830]
mov dword [esp + 0xbc], edx
call dword [eax + 0x186c]
push eax
call dword [esi]
mov edx, 1
mov ecx, eax
mov eax, dword [0x1000d588]
push 0x1000d0d8
shl edx, cl
lea ecx, [esp + 0x3c]
push 0x5f
push ecx
lea esi, [eax + 0x1830]
mov dword [esp + 0xc4], edx
call dword [eax + 0x186c]
push eax
call dword [esi]
mov dword [esp + 0xcc], eax
mov eax, dword [0x1000d588]
push 0x1000d0d8
lea edx, [esp + 0x4c]
push 0x5f
push edx
lea esi, [eax + 0x1830]
call dword [eax + 0x186c]
add esp, 0x48
push eax
call dword [esi]
mov ecx, dword [0x1000d588]
mov dword [esp + 0x154], eax
push 0x1000d72c
lea eax, [esp + 0x14]
push 0x5f
push eax
call dword [ecx + 0x186c]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xa8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x110]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x164]
mov dword [esp + 0x154], ebx
mov dword [esp + 0x158], ebx
mov dword [esp + 0x15c], ebx
lea eax, [eax + eax*4]
mov dword [esp + 0x160], ebx
mov dword [esp + 0x110], ebx
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
mov eax, dword [0x1000d588]
shl ecx, 3
mov dword [esp + 0x164], ecx
call dword [eax + 0x8e4]
add esp, 0x14
cmp eax, ebx
je 0x100061e2
mov ecx, dword [eax + 0xb4]
mov dword [esp + 0x154], ecx
jmp 0x100061e9
mov dword [esp + 0x154], ebx
mov eax, dword [0x1000d290]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x15c], ebx
call dword [eax + 0x78]
add esp, 4
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x10006027
mov eax, dword [0x1000d28c]
cmp dword [eax + 0xa0], 1
jge 0x10006249
mov dword [eax + 0xa0], 1
mov ecx, dword [0x1000d28c]
pop edi
pop esi
mov dword [ecx + 0xac], ebx
mov edx, dword [0x1000d28c]
mov dword [edx + 0xb0], ebx
pop ebx
add esp, 0x920
ret
mov dword [eax + 0xac], ebx
mov eax, dword [0x1000d28c]
pop edi
pop esi
mov dword [eax + 0xb0], ebx
pop ebx
add esp, 0x920
ret