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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [0x1001600c]
cmp eax, 0x1001600c
je 0x1000fa02
test byte [eax + 0x1c], 4
je 0x1000fa02
cmp byte [eax + 0x19], 5
jb 0x1000fa02
push ebx
push dword [eax + 0x14]
mov edx, 0x10002790
push dword [eax + 0x10]
push 0x32
pop ecx
call fcn.100038aa
mov esi, dword [ebp + 8]
xor edi, edi
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx + 0x50]
mov dword [esi], eax
mov eax, dword [ecx + 0x54]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x3c], eax
cmp dword [esi + 0x5c], edi
je 0x1000fa2e
mov eax, dword [esi + 0x80]
jmp 0x1000fa30
mov eax, edi
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x20]
lea eax, [ebx + 0x10]
mov dword [esp + 0x20], 0x22
push 4
push ecx
mov ecx, eax
mov dword [esp + 0x18], eax
call fcn.10010900
mov ebx, dword [esp + 0x10]
mov ecx, ebx
push 0x48
push esi
call fcn.10010900
push 4
lea eax, [esp + 0x28]
mov ecx, ebx
push eax
call fcn.10010900
cmp dword [esi + 0x5c], edi
je 0x1000fc40
push 4
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
call fcn.10010ab0
cmp dword [esp + 0x20], edi
je 0x1000fc2c
mov ecx, dword [esi + 0x84]
mov ebx, dword [esi + 0x28]
mov dword [esp + 0x20], ebx
cmp ecx, 1
jne 0x1000fae6
mov eax, dword [0x1001600c]
cmp eax, 0x1001600c
je 0x1000fad1
test byte [eax + 0x1c], 4
je 0x1000fad1
cmp byte [eax + 0x19], 5
jb 0x1000fad1
push dword [esi + 0x80]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x33
mov edx, 0x10002790
pop ecx
call fcn.100038aa
push dword [esi + 0x80]
mov ecx, dword [esp + 0x14]
push ebx
call fcn.10010ab0
jmp 0x1000fc2c
imul eax, dword [esi + 8], 0x50
add eax, dword [esp + 0x1c]
cmp ecx, 2
jne 0x1000fb88
mov eax, dword [eax + 0xd8]
mov dword [esp + 0x20], eax
cmp dword [esi + 0x7c], eax
jne 0x1000fb2e
mov eax, dword [0x1001600c]
cmp eax, 0x1001600c
je 0x1000fad1
test byte [eax + 0x1c], 4
je 0x1000fad1
cmp byte [eax + 0x19], 5
jb 0x1000fad1
push dword [esi + 0x80]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x34
jmp 0x1000fac6
mov ecx, dword [0x1001600c]
cmp ecx, 0x1001600c
je 0x1000fb63
test byte [ecx + 0x1c], 4
je 0x1000fb63
cmp byte [ecx + 0x19], 5
jb 0x1000fb63
mov eax, dword [esi + 0x74]
mov edx, 0x10002790
imul eax, dword [esi + 0x7c]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x35
pop ecx
call fcn.100038aa
cmp dword [esi + 0x74], edi
jbe 0x1000fc2c
push dword [esi + 0x7c]
mov ecx, dword [esp + 0x14]
push ebx
call fcn.10010ab0
add ebx, dword [esp + 0x20]
inc edi
cmp edi, dword [esi + 0x74]
jb 0x1000fb6c
jmp 0x1000fc2c
mov ecx, dword [eax + 0xd8]
mov eax, dword [eax + 0xdc]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], eax
mov eax, dword [0x1001600c]
cmp eax, 0x1001600c
je 0x1000fbcd
test byte [eax + 0x1c], 4
je 0x1000fbcd
cmp byte [eax + 0x19], 5
jb 0x1000fbcd
push dword [esi + 0x80]
mov edx, 0x10002790
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x36
pop ecx
call fcn.100038aa
mov eax, edi
mov dword [esp + 0x1c], eax
cmp dword [esi + 0x78], edi
jbe 0x1000fc2c
mov ecx, dword [esi + 0x74]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], edi
test ecx, ecx
je 0x1000fc1c
mov edi, dword [esp + 0x10]
mov dword [esp + 0x28], ebx
push dword [esi + 0x7c]
mov ecx, edi
push ebx
call fcn.10010ab0
mov eax, dword [esp + 0x14]
add ebx, dword [esp + 0x2c]
inc eax
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x14], eax
cmp eax, ecx
jb 0x1000fbef
mov ebx, dword [esp + 0x20]
xor edi, edi
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
inc eax
add ebx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
cmp eax, dword [esi + 0x78]
jb 0x1000fbdf
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push 4
push eax
call fcn.10010ab0
mov edi, dword [esp + 0x2c]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4