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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x10125170]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov eax, dword [esi + 0xc]
push edi
mov ecx, dword [eax + 0x28]
add ecx, ecx
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
xor ecx, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ecx
jmp 0x100ceda0
movsx ecx, byte [esi + 0x44]
mov edi, dword [esi + 0x74]
mov dword [esp + 0x20], ecx
test ecx, ecx
jne 0x100cede2
cmp byte [edi + 0xc], cl
je 0x100cef72
lea edx, [esi + 0x7c]
mov ecx, edi
call fcn.100cefa0
mov ebx, eax
test ebx, ebx
jne 0x100cef72
mov edx, dword [esp + 0x1c]
mov byte [esi + 0x44], 1
mov dword [esi + 0x46], eax
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x78], edi
mov dword [esi + 0x74], eax
jmp 0x100ceda0
cmp byte [edi + 0xc], 0
jne 0x100cedf4
movzx eax, word [edi + 0x14]
cmp eax, edx
jle 0x100cef72
mov edx, dword [esi + ecx*4 + 0x74]
movzx eax, word [esi + ecx*2 + 0x46]
mov ebx, dword [edx + 0x48]
mov dword [esp + 0x10], edx
test byte [ebx + 0x1c], 4
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x18], eax
je 0x100cee3f
mov eax, dword [ecx + 0x18]
cmp eax, dword [ebx + 0x18]
jb 0x100cee3f
cmp dword [ecx + 0x60], 0
je 0x100cee7a
mov ecx, ebx
call fcn.100e0e80
test eax, eax
je 0x100cee37
mov ecx, ebx
call fcn.100dd450
mov dword [esp + 0xc], eax
jmp 0x100cee6e
xor eax, eax
mov dword [esp + 0xc], eax
jmp 0x100cee6e
mov eax, dword [ecx + 0x28]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x100cef01
mov eax, dword [ecx + 0x94]
cmp eax, dword [ecx + 0x98]
mov ecx, ebx
jbe 0x100cee65
call fcn.100dbe60
jmp 0x100cee6a
call fcn.100dc0b0
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x10]
test eax, eax
jne 0x100cef01
cmp byte [edi + 3], 0
je 0x100ceeb9
cmp byte [edi + 0xc], 1
jne 0x100ceeb9
mov ax, word [edi + 0x1a]
cmp ax, word [edi + 0x16]
jne 0x100ceeb9
cmp dword [edx + 4], 1
je 0x100ceeb9
movzx eax, word [edx + 0x16]
cmp eax, dword [esp + 0x18]
jne 0x100ceeb9
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
mov edx, edi
call fcn.100d0600
add esp, 4
mov dword [esp + 0xc], eax
jmp 0x100cef01
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x24]
call fcn.100e24d0
movzx ecx, byte [esi + 3]
mov edx, dword [esp + 0x18]
and ecx, 1
push ecx
xor ecx, ecx
cmp dword [esp + 0x24], 1
mov ebx, eax
sete cl
push ecx
mov ecx, dword [esp + 0x18]
push ebx
call fcn.100cf100
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x100ceefd
mov ecx, eax
call fcn.100e2410
mov dword [esp + 0x14], ebx
mov edx, dword [edi + 0x48]
mov byte [edi + 0xc], 0
test byte [edx + 0x1c], 0x20
je 0x100cef4d
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov edi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
mov ebx, dword [edi]
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.100070f0
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
add esp, 0x10
jmp 0x100cef54
mov ecx, edx
call fcn.100e2fe0
dec byte [esi + 0x44]
movsx eax, byte [esi + 0x44]
mov ebx, dword [esp + 0xc]
mov eax, dword [esi + eax*4 + 0x78]
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x74], eax
test ebx, ebx
je 0x100ceda0
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x100cef7f
call fcn.100e2410
mov ecx, dword [esp + 0x34]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.10001186
mov esp, ebp
pop ebp
ret