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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1021d67c
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
push esi
push edi
call fcn.100caf3f
test al, al
jne 0x100d0292
mov eax, dword [ebx + 0xcc]
xor esi, esi
test eax, eax
je 0x100cfe46
mov ecx, dword [eax - 4]
mov dword [esp + 0x10], ecx
jmp 0x100cfe4a
mov dword [esp + 0x10], esi
mov eax, dword [ebx + 0x2c]
test eax, eax
jne 0x100cfe58
mov eax, dword [0x102b7738]
jmp 0x100cfe6c
cmp eax, dword [0x102b7738]
jne 0x100cfe6c
push esi
push ecx
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.10079533
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], esi
call fcn.1000fd99
push dword [ebp + 0xc]
mov dword [esp + 0x98], esi
lea ecx, [esp + 0x5c]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x480]
mov edi, dword [esp + 0x14]
mov edx, 0x7fffffff
mov esi, dword [ebx + 0x8c]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x20], esi
mov ecx, dword [edi + 0x4b0]
mov dword [esp + 0x1c], eax
cmp ecx, 0x80000000
je 0x100cfec9
test ecx, ecx
je 0x100cfec9
mov esi, dword [esp + 0x64]
sub esi, eax
inc esi
jmp 0x100cfeed
mov eax, dword [ebx + 0xb8]
xor ecx, ecx
cmp eax, edx
cmove eax, ecx
cmp esi, eax
jge 0x100cfef1
mov esi, dword [ebx + 0xb8]
xor eax, eax
cmp esi, edx
cmove esi, eax
mov dword [ebx + 0x8c], esi
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x58]
mov ecx, ebx
mov dword [esp + 0x44], eax
call fcn.100caf6f
mov ecx, ebx
call fcn.100caf85
mov ecx, dword [esp + 0x10]
dec ecx
mov dword [esp + 0x34], eax
imul ecx, eax
mov eax, esi
sub eax, ecx
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x100d027f
mov eax, dword [edi + 0x4b0]
xor ecx, ecx
inc ecx
cmp eax, 0x80000000
je 0x100cff3b
cmp eax, ecx
jg 0x100d027f
mov ecx, ebx
call fcn.1006c483
mov ecx, dword [esp + 0x60]
xor edx, edx
sub ecx, dword [esp + 0x58]
mov esi, 0x7fffffff
mov eax, dword [ebx + 0xb0]
inc ecx
cmp eax, esi
mov dword [esp + 0x30], ecx
cmove eax, edx
cmp ecx, eax
jge 0x100cff76
mov eax, dword [ebx + 0xb0]
xor ecx, ecx
cmp eax, esi
cmove eax, ecx
mov dword [esp + 0x30], eax
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x68]
push esi
call fcn.10096601
xor ecx, ecx
mov byte [esp + 0x94], 1
mov dword [esp + 0x28], ecx
test esi, esi
jle 0x100d0169
mov edi, dword [esp + 0x2c]
mov eax, dword [ebx + 0xcc]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0xc], eax
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jne 0x100cffba
mov ecx, dword [0x102b7738]
jmp 0x100cffd1
cmp ecx, dword [0x102b7738]
jne 0x100cffd1
push 0
push ecx
push dword [ebp + 0xc]
mov ecx, eax
call fcn.10079533
mov ecx, eax
and dword [esp + 0x24], 0
push ecx
lea ecx, [esp + 0x28]
call fcn.1000fd99
mov byte [esp + 0x94], 2
mov esi, dword [esp + 0x24]
lea ecx, [esi + 0x98]
call fcn.1002b95f
test al, al
jne 0x100d013b
mov ecx, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov eax, dword [ecx]
call dword [eax + 0x34]
lea ecx, [esp + 0x48]
cmp eax, 4
jne 0x100d002e
mov eax, dword [esp + 0xc]
add eax, 0xf0
jmp 0x100d0034
lea eax, [esi + 0x438]
push eax
call fcn.1002b04d
mov ecx, dword [esp + 0xc]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x2fc]
mov ecx, dword [esp + 0x48]
xor edx, edx
and dword [esp + 0x40], edx
mov dword [esp + 0x18], eax
test ecx, ecx
jne 0x100d0078
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0xb8]
cmp ecx, 0x7fffffff
jne 0x100d00fe
xor ecx, ecx
jmp 0x100d0102
cmp ecx, 3
jne 0x100d0084
movsx eax, word [esp + 0x4c]
jmp 0x100d008d
cmp ecx, 4
jne 0x100d009c
mov eax, dword [esp + 0x4c]
imul eax, edi
push 0x64
pop ecx
cdq
idiv ecx
mov ecx, eax
mov edx, ecx
jmp 0x100d00fe
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x48]
mov ebx, dword [eax + 0xb8]
xor eax, eax
cmp ebx, 0x7fffffff
push eax
cmove ebx, eax
call fcn.1002b1eb
cmp ebx, eax
jle 0x100d00d3
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x38]
mov eax, dword [eax + 0xb8]
mov dword [esp + 0x38], eax
jmp 0x100d00e6
push 0
lea ecx, [esp + 0x4c]
call fcn.1002b1eb
mov dword [esp + 0x3c], eax
lea edx, [esp + 0x3c]
mov edx, dword [edx]
xor eax, eax
mov ebx, dword [ebp + 8]
cmp edx, 0x7fffffff
mov ecx, dword [esp + 0x40]
cmove edx, eax
mov dword [esp + 0x18], edx
test ecx, ecx
jne 0x100d012a
cmp dword [esp + 0x18], 0
jne 0x100d012a
and dword [esp + 0x40], 0
mov eax, dword [ebx + 0xb8]
cmp eax, 0x7fffffff
push 1
cmove eax, dword [esp + 0x44]
cmp dword [ebx + 0x8c], eax
pop eax
cmovg ecx, eax
push 0
push ecx
push edx
push dword [esp + 0x24]
lea ecx, [esp + 0x78]
call fcn.10069b77
xor eax, eax
inc eax
mov byte [esp + 0x94], al
test esi, esi
je 0x100d0150
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x28], ecx
cmp ecx, esi
jl 0x100cff9e
mov edi, dword [esp + 0x14]
push 0
push dword [esp + 0x30]
lea ecx, [esp + 0x70]
call fcn.10069bdc
xor ecx, ecx
mov dword [esp + 0x28], ecx
test esi, esi
jle 0x100d024b
and dword [esp + 0x2c], ecx
mov edi, dword [esp + 0x1c]
mov eax, dword [ebx + 0xcc]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x100d01a5
mov eax, dword [0x102b7738]
jmp 0x100d01ba
cmp eax, dword [0x102b7738]
jne 0x100d01ba
push 0
push ecx
push dword [ebp + 0xc]
mov ecx, esi
call fcn.10079533
lea ecx, [eax + 0x98]
call fcn.1002b95f
test al, al
jne 0x100d0230
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x68]
call dword [eax + 4]
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax + ecx + 8]
add ecx, 0x14
mov dword [esi + 0x8c], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x88], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0x78], eax
mov eax, dword [esi]
mov dword [esp + 0x2c], ecx
mov ecx, esi
mov dword [esi + 0x7c], edi
call dword [eax + 0x34]
cmp eax, 4
mov ecx, esi
mov eax, dword [esi]
jne 0x100d0215
call dword [eax + 0x414]
jmp 0x100d0224
push dword [esi + 0x8c]
push dword [ebp + 0xc]
call dword [eax + 0x1b4]
mov eax, dword [esi + 0x8c]
add eax, dword [esp + 0x34]
add edi, eax
mov ecx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x28], ecx
cmp ecx, dword [esp + 0x10]
jl 0x100d018e
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x4b0]
cmp eax, 0x80000000
je 0x100d025c
test eax, eax
jne 0x100d0273
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x34]
cmp dword [esp + 0x20], ecx
cmovg ecx, dword [esp + 0x20]
mov dword [ebx + 0x8c], ecx
lea ecx, [esp + 0x84]
call fcn.100a1c0d
or dword [esp + 0x94], 0xffffffff
test edi, edi
je 0x100d0292
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8