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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x103b9004]
xor eax, esp
mov dword [esp + 0x68], eax
mov dword [esp + 4], ecx
mov eax, edx
mov ecx, dword [ebp + 0x14]
push ebx
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 0xc]
push esi
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x30]
push edi
push ecx
mov ecx, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], str.Kids
mov dword [esp + 0x3c], 4
call fcn.1008aeb0
mov edx, eax
mov dword [esp + 0x64], edx
test edx, edx
je 0x100d037b
cmp byte [edx], 5
jne 0x100d037b
mov eax, dword [edx + 0x14]
xor ecx, ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x18], ecx
test eax, eax
jle 0x100d0367
nop word [eax + eax]
mov eax, dword [edx + 0x14]
cmp ecx, eax
jae 0x100d0076
test ecx, ecx
js 0x100cff8b
cmp ecx, eax
jge 0x100cff8b
mov eax, dword [edx + 0x10]
lea edi, [eax + ecx*4]
jmp 0x100cff8d
xor edi, edi
mov edi, dword [edi]
test edi, edi
je 0x100d0076
cmp byte [edi], 9
jne 0x100cffb3
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x100d0076
push 0
push dword [edi + 0x10]
call fcn.1008ca50
mov edi, eax
test edi, edi
je 0x100d0076
mov al, byte [edi]
cmp al, 6
je 0x100cffcc
cmp al, 7
jne 0x100cffca
mov edi, dword [edi + 0xc]
jmp 0x100cffcc
xor edi, edi
mov dword [esp + 0x2c], str.Type
mov dword [esp + 0x30], 4
test edi, edi
je 0x100d0088
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0xc]
test eax, eax
je 0x100d0088
lea edx, [esp + 0x2c]
mov dword [esp + 0x6c], 0
push edx
push ecx
push eax
lea eax, [esp + 0x78]
push eax
movzx eax, byte [ecx + 0xb]
push eax
call fcn.10089090
test eax, eax
je 0x100d0088
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100d0088
lea eax, [esp + 0x20]
push eax
call fcn.10089600
mov esi, dword [esp + 0x20]
test esi, esi
je 0x100d0090
cmp dword [esi + 4], 4
jne 0x100d004d
push 4
lea ecx, [esi + 0xc]
mov edx, 0x10397f88
call fcn.100a4410
add esp, 4
test eax, eax
jne 0x100d004d
mov bl, 1
jmp 0x100d004f
xor bl, bl
dec dword [esi]
mov eax, dword [esp + 0x20]
cmp dword [eax], 1
jge 0x100d0064
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
test bl, bl
je 0x100d0090
mov edx, dword [ebp + 8]
test edx, edx
je 0x100d010c
dec edx
jmp 0x100d00ed
xor edi, edi
mov dword [esp + 0x2c], str.Type
mov dword [esp + 0x30], 4
mov dword [esp + 0x20], 0
mov dword [esp + 0x3c], str.Count
mov dword [esp + 0x40], 5
test edi, edi
je 0x100d00de
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0xc]
test eax, eax
je 0x100d00de
lea edx, [esp + 0x3c]
mov dword [esp + 0x70], 0
push edx
push ecx
push eax
lea eax, [esp + 0x7c]
push eax
movzx eax, byte [ecx + 0xb]
push eax
call fcn.10089090
test eax, eax
je 0x100d00de
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100d00de
call fcn.100898b0
jmp 0x100d00e0
xor eax, eax
mov edx, dword [ebp + 8]
cmp edx, eax
jl 0x100d0245
sub edx, eax
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [ebp + 8], edx
mov dword [esp + 0x18], ecx
cmp ecx, dword [esp + 0x68]
jge 0x100d0367
mov edx, dword [esp + 0x64]
jmp 0x100cff70
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x100d019e
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
push 0x14
add esi, 0x1c
mov ebx, dword [ebx + 8]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x100d015b
xor eax, eax
xor edx, edx
cmp dword [esp + 0x10], edx
mov word [ecx + 1], ax
mov byte [ecx + 3], al
mov dword [ecx + 8], eax
mov dword [ecx + 4], eax
mov eax, esi
cmove eax, edx
mov byte [ecx], 9
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], ebx
jmp 0x100d015d
xor ecx, ecx
push 0
push ecx
push dword [esp + 0x20]
mov ecx, dword [esp + 0x70]
call fcn.1008ab40
mov ebx, dword [esp + 0x28]
xor eax, eax
cmp dword [esp + 0x10], eax
mov ecx, dword [esp + 0x24]
cmove esi, eax
mov dword [esp + 0x18], str.Parent
push dword [ebx + 8]
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 6
push esi
push eax
call fcn.1008b9f0
jmp 0x100d01af
push dword [esp + 0x18]
mov ecx, dword [esp + 0x68]
call fcn.1008aa30
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x44], str.Count
mov dword [esp + 0x48], 5
mov dword [esp + 0x4c], str.Count
mov dword [esp + 0x50], 5
test ebx, ebx
je 0x100d020f
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0xc]
test eax, eax
je 0x100d020f
lea edx, [esp + 0x44]
mov dword [esp + 0x68], 0
push edx
push ecx
push eax
lea eax, [esp + 0x74]
push eax
movzx eax, byte [ecx + 0xb]
push eax
call fcn.10089090
test eax, eax
je 0x100d020f
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100d020f
call fcn.100898b0
mov ecx, eax
jmp 0x100d0211
xor ecx, ecx
xor eax, eax
test edi, edi
setne al
lea eax, [eax*2 - 1]
add eax, ecx
mov ecx, ebx
push eax
lea eax, [esp + 0x50]
push eax
call fcn.1008b8c0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.101f3fd0
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov ebx, dword [edx + 8]
mov eax, ebx
test ebx, ebx
jle 0x100d0278
test ecx, ecx
js 0x100d025d
cmp ecx, dword [edx + 8]
jl 0x100d0264
mov byte [0], 0
mov eax, dword [edx + 4]
cmp edi, dword [eax + ecx*4]
je 0x100d037b
inc ecx
cmp ecx, ebx
jl 0x100d0254
mov eax, dword [edx + 8]
lea ecx, [eax + 1]
cmp eax, dword [edx + 0xc]
jge 0x100d0285
mov dword [edx + 8], ecx
jmp 0x100d0296
push ecx
push ecx
mov ecx, edx
call fcn.10088940
mov edx, dword [esp + 0x14]
test eax, eax
je 0x100d02a0
mov esi, dword [edx + 8]
mov eax, dword [edx + 4]
mov dword [eax + esi*4 - 4], edi
mov esi, dword [ebp + 0x10]
mov ecx, dword [esp + 0x10]
push edx
push esi
push dword [esp + 0x2c]
mov edx, edi
push dword [ebp + 8]
call fcn.100cfef0
add esp, 0x10
test eax, eax
js 0x100d037b
push ecx
mov ecx, dword [esp + 0x18]
push ebx
call fcn.10088bc0
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x54], str.Count
mov dword [esp + 0x58], 5
mov dword [esp + 0x5c], str.Count
mov dword [esp + 0x60], 5
test ebx, ebx
je 0x100d0331
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0xc]
test eax, eax
je 0x100d0331
lea edx, [esp + 0x54]
mov dword [esp + 0x64], 0
push edx
push ecx
push eax
lea eax, [esp + 0x70]
push eax
movzx eax, byte [ecx + 0xb]
push eax
call fcn.10089090
test eax, eax
je 0x100d0331
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100d0331
call fcn.100898b0
mov ecx, eax
jmp 0x100d0333
xor ecx, ecx
xor eax, eax
test esi, esi
setne al
lea eax, [eax*2 - 1]
add eax, ecx
mov ecx, ebx
push eax
lea eax, [esp + 0x60]
push eax
call fcn.1008b8c0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.101f3fd0
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.101f3fd0
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x74]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101f3fd0
mov esp, ebp
pop ebp
ret