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

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x30]
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
mov ecx, dword [eax]
mov dword [esp + 8], edx
mov dword [esp + 0x10], ecx
mov edx, dword [edi]
mov dword [eax], 0
mov dword [edi], 0
cmp dword [esi + 0x18], 0
mov dword [esp + 0x20], edx
je 0x100ce43c
mov eax, dword [esi + 0x1c]
pop edi
pop esi
add esp, 0x2c
ret 0x18
cmp dword [esi + 0xc], 0
lea eax, [esi + 0x20]
push ebx
push ebp
mov dword [esp + 0x38], eax
mov dword [eax], 2
je 0x100ce531
mov ebx, dword [esp + 0x50]
push eax
push dword [esp + 0x58]
lea eax, [esp + 0x54]
mov dword [esp + 0x54], edx
push ebx
push eax
push dword [esp + 0x58]
lea eax, [esp + 0x28]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x78]
xor edx, edx
push eax
mov eax, dword [esi + 0x88]
call eax
mov edx, dword [esi + 0x20]
mov ebp, eax
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x1c], ebp
mov dword [edi], ecx
mov eax, dword [esi + 0x14]
mov edi, dword [esp + 0x14]
add eax, edi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x54], edx
mov dword [esi + 0x14], eax
test ebp, ebp
jne 0x100ce4b1
test ebx, ebx
jne 0x100ce4b1
cmp edx, 1
jne 0x100ce4b8
mov dword [esi + 0x18], 1
mov ecx, dword [esi + 8]
cmp ecx, 1
jne 0x100ce4d2
mov eax, dword [esp + 0x40]
mov dword [eax], edi
mov eax, ebp
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x2c
ret 0x18
cmp dword [esi + 0x18], 0
je 0x100ce525
mov ebx, 1
cmp ecx, ebx
jbe 0x100ce51f
mov ebp, dword [esp + 0x44]
lea edi, [esi + 0x90]
nop dword [eax + eax]
mov edx, dword [esi + 0xc]
mov ecx, dword [edi]
push eax
mov eax, dword [edi + 0x14]
call eax
cmp dword [esp + 0x54], 1
je 0x100ce50f
test ebp, ebp
je 0x100ce512
mov ecx, dword [esp + 0x18]
cmp dword [esi + 0x14], ecx
jne 0x100ce512
mov eax, dword [esi + 0x14]
inc ebx
add edi, 0x18
cmp ebx, dword [esi + 8]
jb 0x100ce4f0
mov ebp, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov dword [ecx], eax
mov eax, ebp
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x2c
ret 0x18
cmp dword [esi + 8], 1
je 0x100ce56d
cmp dword [esi + 4], 0
jne 0x100ce563
mov eax, dword [esi]
mov edx, 0x60000
mov ecx, eax
mov eax, dword [eax]
call eax
mov dword [esi + 4], eax
test eax, eax
jne 0x100ce560
pop ebp
pop ebx
pop edi
mov eax, 2
pop esi
add esp, 0x2c
ret 0x18
lea eax, [esi + 0x20]
mov dword [esp + 0x1c], 0
jmp 0x100ce575
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x48], ecx
nop dword [eax]
mov edx, dword [esi + 8]
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x54], 0
mov dword [esp + 0x24], 1
mov dword [eax], 2
test edx, edx
je 0x100ce666
mov dword [esp + 0x2c], ebx
lea eax, [edi + 5]
lea eax, [eax + eax*2]
lea eax, [esi + eax*8]
mov dword [esp + 0x30], eax
test edi, edi
jne 0x100ce5d0
mov eax, dword [esp + 0x50]
mov ebp, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
sub ecx, dword [eax]
jmp 0x100ce5f3
mov eax, dword [esi + edi*4 + 0x2c]
lea ebp, [edi - 1]
mov ecx, dword [esi + edi*4 + 0x38]
shl ebp, 0x11
add ebp, dword [esi + 4]
mov dword [esp + 0x44], eax
add ebp, eax
mov eax, dword [esi + edi*4 + 0x20]
sub ecx, dword [esp + 0x44]
mov dword [esp + 0x20], eax
lea eax, [edx - 1]
mov dword [esp + 0x44], ecx
cmp edi, eax
jne 0x100ce60e
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, dword [ecx]
jmp 0x100ce625
mov eax, dword [esi + edi*4 + 0x30]
cmp eax, dword [esi + edi*4 + 0x3c]
jne 0x100ce63c
mov edx, edi
mov eax, 0x20000
shl edx, 0x11
add edx, dword [esi + 4]
mov dword [esp + 0x14], eax
mov eax, dword [esi + edi*4 + 0x68]
test eax, eax
je 0x100ce678
mov ebx, eax
mov eax, dword [esp + 0x2c]
test eax, eax
cmovne ebx, eax
mov ebp, dword [esp + 0x54]
mov edx, dword [esi + 8]
inc edi
mov ecx, dword [esp + 0x48]
cmp edi, edx
jb 0x100ce5a5
lea eax, [esi + 0x20]
test ebp, ebp
jne 0x100ce580
cmp dword [esp + 0x24], 0
je 0x100ce66c
mov eax, dword [esp + 0x38]
mov dword [eax], 1
pop ebp
mov eax, ebx
pop ebx
pop edi
pop esi
add esp, 0x2c
ret 0x18
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x4c]
push dword [esp + 0x28]
push eax
push ebp
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x100ce6aa
test ebx, ebx
mov dword [esi + edi*4 + 0x68], ecx
cmove ebx, ecx
mov eax, dword [esp + 0x34]
xor edx, edx
cmp eax, 1
sete dl
je 0x100ce6cd
cmp dword [esi + 8], 1
mov dword [esp + 0x24], 0
jne 0x100ce6cd
test ecx, ecx
jne 0x100ce6cd
mov dword [esi + 0x20], eax
mov ecx, dword [esp + 0x44]
test edi, edi
jne 0x100ce6e1
mov eax, dword [esp + 0x4c]
add dword [eax], ecx
add dword [esp + 0x48], ecx
jmp 0x100ce6e5
add dword [esi + edi*4 + 0x2c], ecx
mov eax, dword [esi + 8]
dec eax
cmp edi, eax
mov eax, dword [esp + 0x14]
jne 0x100ce6fd
mov edx, dword [esp + 0x40]
add dword [edx], eax
add dword [esp + 0x10], eax
jmp 0x100ce70d
mov dword [esi + edi*4 + 0x3c], eax
mov dword [esi + edi*4 + 0x30], 0
mov dword [esi + edi*4 + 0x24], edx
test eax, eax
jne 0x100ce719
test ecx, ecx
je 0x100ce63c
mov ebp, 1
mov dword [esp + 0x54], ebp
jmp 0x100ce640