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

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, edx
push edi
mov edi, ecx
mov dword [esp + 0x10], esi
movzx ebx, byte [esi + 0x10]
and ebx, 3
inc ebx
mov dword [esp + 0x14], ebx
cmp ebx, dword [edi + 8]
jne 0x100ce96e
cmp dword [edi + 0xc], 0
je 0x100ce975
test ebp, ebp
jne 0x100ce979
mov eax, 1
jmp 0x100ce9c6
test ebp, ebp
jne 0x100ce96e
xor esi, esi
mov dword [esp + 0x18], 0
test ebx, ebx
je 0x100ce9c2
mov eax, ebx
lea ecx, [edi + 0x48]
shl eax, 5
add edx, 0xfffffff8
add edx, eax
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100ce9b7
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 4]
jne 0x100ce9b7
inc esi
add ecx, 8
sub edx, 0x20
cmp esi, ebx
jb 0x100ce994
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
jmp 0x100ce9c6
mov esi, dword [esp + 0x10]
mov eax, 1
jmp 0x100ce9c6
xor eax, eax
mov esi, edx
mov ecx, dword [esp + 0x24]
mov dword [edi + 0xc], ebp
mov dword [edi + 0x10], ecx
test eax, eax
je 0x100ceb56
mov ecx, edi
call fcn.100ce730
xor ebp, ebp
test ebx, ebx
je 0x100ceb51
nop dword [eax]
mov eax, ebx
sub eax, ebp
shl eax, 5
mov ecx, dword [eax + esi - 8]
mov eax, dword [eax + esi - 4]
lea esi, [ebp*2]
add esi, ebp
mov dword [esp + 0x18], ecx
mov dword [edi + ebp*8 + 0x48], ecx
mov dword [edi + ebp*8 + 0x4c], eax
cmp ecx, 0x21
jne 0x100ceab3
test eax, eax
jne 0x100ceab3
mov eax, dword [edi + esi*8 + 0x78]
test eax, eax
jne 0x100cea8c
mov eax, dword [edi]
lea edx, [ecx + 0x57]
mov ecx, eax
mov eax, dword [eax]
call eax
test eax, eax
jne 0x100cea46
mov eax, 2
jmp 0x100ceb3b
mov dword [edi + esi*8 + 0x78], eax
mov dword [edi + esi*8 + 0x7c], 0x100ce390
mov dword [edi + esi*8 + 0x80], 0x100ce3d0
mov dword [edi + esi*8 + 0x84], 0x100ce3c0
mov dword [edi + esi*8 + 0x88], 0x100ce320
mov dword [edi + esi*8 + 0x8c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x18], 0
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x74], 0
test ecx, ecx
je 0x100ceaac
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x74], 1
mov dword [eax + 0x24], ecx
xor eax, eax
jmp 0x100ceb3b
test ebp, ebp
je 0x100cec74
add ecx, 0xfffffffd
adc eax, 0xffffffff
test eax, eax
ja 0x100ceb36
jb 0x100ceacc
cmp ecx, 6
ja 0x100ceb36
mov eax, dword [edi + esi*8 + 0x78]
test eax, eax
jne 0x100ceb24
mov eax, dword [edi]
mov edx, 0x4120
mov ecx, eax
mov eax, dword [eax]
call eax
test eax, eax
jne 0x100ceaec
mov eax, 2
jmp 0x100ceb3b
mov dword [edi + esi*8 + 0x78], eax
mov dword [edi + esi*8 + 0x7c], 0x100ce1c0
mov dword [edi + esi*8 + 0x80], 0x100ce290
mov dword [edi + esi*8 + 0x84], 0x100ce1d0
mov dword [edi + esi*8 + 0x88], 0x100cdf60
mov dword [edi + esi*8 + 0x8c], fcn.100ce090
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0
xor eax, eax
jmp 0x100ceb3b
mov eax, 4
test eax, eax
jne 0x100cec79
inc ebp
cmp ebp, ebx
jae 0x100ceb51
mov esi, dword [esp + 0x10]
jmp 0x100ce9f0
mov dword [edi + 8], ebx
jmp 0x100ceb96
mov eax, ebx
shl eax, 5
cmp dword [eax + esi - 8], 0x21
jne 0x100cec74
cmp dword [eax + esi - 4], 0
jne 0x100cec74
mov eax, dword [edi + 0x78]
cmp dword [eax + 0x74], 0
je 0x100cec62
test ebp, ebp
je 0x100cec6a
mov dword [eax + 0x20], ebp
mov dword [eax + 0x24], ecx
xor eax, eax
test eax, eax
jne 0x100cec79
xor ebp, ebp
test ebx, ebx
je 0x100cebd3
mov esi, dword [esp + 0x14]
lea ebx, [edi + 0x78]
shl esi, 5
add esi, dword [esp + 0x10]
nop word [eax + eax]
push dword [edi]
mov ecx, dword [ebx]
lea edx, [esi + 4]
push dword [esi]
mov eax, dword [ebx + 8]
call eax
test eax, eax
jne 0x100cec79
inc ebp
add ebx, 0x18
sub esi, 0x20
cmp ebp, dword [esp + 0x14]
jb 0x100cebb0
xor ebx, ebx
mov dword [edi + 0x3c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x2c], 0
cmp dword [edi + 8], ebx
jbe 0x100cec3a
lea ebp, [edi + 0x68]
lea esi, [edi + 0x78]
nop
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
call eax
mov dword [ebp], 0
lea esi, [esi + 0x18]
inc ebx
lea ebp, [ebp + 4]
cmp ebx, dword [edi + 8]
jb 0x100cec20
mov dword [edi + 0x14], 0
xor eax, eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
test ebp, ebp
je 0x100ceb8c
mov eax, 0xb
jmp 0x100ceb8e
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8