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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10199e60
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x10279264]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
movzx edi, word [ebp + 8]
lea ebx, [ecx + 0x250]
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], ebx
cmp edi, eax
jb 0x100ffae0
call fcn.1016d669
mov eax, edi
imul eax, eax, 0xf8
add eax, dword [ebx + 0xc]
lea esi, [esp + 0x1c]
push eax
call fcn.100652e0
mov dword [esp + 0x60], 0
cmp dword [eax + 0x18], 0x10
jb 0x100ffb08
mov edx, dword [eax + 4]
jmp 0x100ffb0b
lea edx, [eax + 4]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100ffb10
mov ecx, dword [ebp + 0xc]
sub eax, esi
push eax
push edx
call fcn.10004620
mov dword [esp + 0x60], 0xffffffff
cmp dword [esp + 0x34], 0x10
jb 0x100ffb3f
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1016d679
add esp, 4
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x100ffb61
call fcn.1016d669
mov eax, edi
imul eax, eax, 0xf8
add eax, dword [ebx + 0xc]
lea esi, [esp + 0x1c]
call fcn.100cfc40
mov dword [esp + 0x60], 1
cmp dword [eax + 0x18], 0x10
jb 0x100ffb88
mov edx, dword [eax + 4]
jmp 0x100ffb8b
lea edx, [eax + 4]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100ffb90
mov ecx, dword [ebp + 0xc]
sub eax, esi
push eax
push edx
add ecx, 0x1c
call fcn.10004620
mov dword [esp + 0x60], 0xffffffff
cmp dword [esp + 0x34], 0x10
jb 0x100ffbc2
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1016d679
add esp, 4
mov eax, dword [esp + 0x14]
add eax, 0x158
lea esi, [esp + 0x1c]
call fcn.100d74e0
mov ecx, dword [0x1028a184]
mov esi, 0x10
cmp dword [0x1028a198], esi
jae 0x100ffbec
mov ecx, 0x1028a184
cmp dword [eax + 0x18], esi
jb 0x100ffbf6
mov eax, dword [eax + 4]
jmp 0x100ffbf9
add eax, 4
push ecx
push eax
call fcn.10188c3e
add esp, 8
test eax, eax
setg byte [esp + 0x13]
cmp dword [esp + 0x34], esi
jb 0x100ffc1d
mov edx, dword [esp + 0x20]
push edx
call fcn.1016d679
add esp, 4
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp byte [esp + 0x13], 0
je 0x100fff4f
cmp edi, eax
jb 0x100ffc4a
call fcn.1016d669
mov ecx, dword [ebx + 0xc]
mov esi, dword [ebp + 0xc]
mov eax, edi
imul eax, eax, 0xf8
mov edx, dword [eax + ecx + 0x80]
mov eax, dword [eax + ecx + 0x84]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x14]
add eax, 0x158
push eax
mov dword [esi + 0x38], edx
call fcn.1010d720
cmp eax, 2
jne 0x100ffeff
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x100ffca6
call fcn.1016d669
mov eax, edi
imul eax, eax, 0xf8
add eax, dword [ebx + 0xc]
lea esi, [esp + 0x1c]
call fcn.100fb970
push eax
mov dword [esp + 0x64], 2
call fcn.10103fe0
mov edx, dword [ebp + 0xc]
add esp, 4
mov dword [esp + 0x60], 0xffffffff
cmp dword [esp + 0x34], 0x10
mov dword [edx + 0x3f4], eax
jb 0x100ffcf0
mov eax, dword [esp + 0x20]
push eax
call fcn.1016d679
add esp, 4
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 0x3c]
mov dword [esi + 0x44], edx
mov dword [esi + 0x40], ecx
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x100ffd21
call fcn.1016d669
mov eax, edi
imul eax, eax, 0xf8
add eax, dword [ebx + 0xc]
lea esi, [esp + 0x1c]
call fcn.100fb940
push eax
mov dword [esp + 0x64], 4
call fcn.101040e0
mov esi, dword [ebp + 0xc]
add esp, 4
mov dword [esp + 0x60], 0xffffffff
cmp dword [esp + 0x34], 0x10
mov dword [esi + 0x64], eax
jb 0x100ffd68
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1016d679
add esp, 4
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x100ffd8a
call fcn.1016d669
mov edx, dword [ebx + 0xc]
mov ecx, edi
imul ecx, ecx, 0xf8
mov al, byte [ecx + edx + 0x54]
mov byte [esi + 0x5b9], al
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x100ffdc1
call fcn.1016d669
mov edx, dword [ebx + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, edi
imul ecx, ecx, 0xf8
mov al, byte [ecx + edx + 0xc9]
mov byte [esi + 0x5ba], al
mov esi, dword [esp + 0x14]
mov eax, ebx
call fcn.100fff90
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0x5bb], al
mov eax, ebx
mov ebx, esi
call fcn.10100120
mov eax, dword [ebp + 8]
call fcn.10100040
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x100ffe27
call fcn.1016d669
mov eax, edi
imul eax, eax, 0xf8
add eax, dword [ebx + 0xc]
lea esi, [esp + 0x38]
call fcn.100fb9d0
push eax
mov dword [esp + 0x64], 5
call fcn.10104160
mov esi, dword [ebp + 0xc]
add esp, 4
cmp dword [esp + 0x50], 0x10
mov dword [esi + 0x5bc], eax
jb 0x100ffe69
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.1016d679
add esp, 4
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x100ffe8b
call fcn.1016d669
mov ecx, dword [ebx + 0xc]
mov eax, edi
imul eax, eax, 0xf8
mov edx, dword [eax + ecx + 0x88]
mov dword [esi + 0x5c0], edx
mov eax, dword [eax + ecx + 0x8c]
mov dword [esi + 0x5c4], eax
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x100ffed2
call fcn.1016d669
mov edx, dword [ebx + 0xc]
imul edi, edi, 0xf8
mov eax, dword [edi + edx + 0xe8]
mov dword [esi + 0x5d0], eax
mov al, 1
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp eax, 4
jne 0x100ffcf3
mov esi, ebx
call fcn.10103c60
lea esi, [esp + 0x1c]
call fcn.100fb970
push eax
mov dword [esp + 0x64], 3
call fcn.10104060
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [esp + 0x60], 0xffffffff
cmp dword [esp + 0x34], 0x10
mov dword [ecx + 0x3f4], eax
jb 0x100ffcf0
mov edx, dword [esp + 0x20]
push edx
jmp 0x100ffce8
cmp edi, eax
jb 0x100fff58
call fcn.1016d669
mov ecx, dword [ebx + 0xc]
mov eax, edi
imul eax, eax, 0xf8
mov edx, dword [eax + ecx + 0x78]
mov eax, dword [eax + ecx + 0x7c]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x38], edx
mov dword [ecx + 0x3c], eax
mov dword [ecx + 0x3f4], 0xff
mov esi, ecx
jmp 0x100ffcf3