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

Disassembly:
sub esp, 0x44
mov eax, dword [0x101ed004]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
push ebx
push ebp
push edi
mov ebx, dword [eax]
mov edi, ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
mov ebp, dword [ecx]
mov dword [eax], 0
mov dword [ecx], 0
cmp dword [edi + 0x18], 0
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebp
je 0x100c7932
mov eax, dword [edi + 0x1c]
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.10142783
add esp, 0x44
ret
cmp dword [edi + 0xc], 0
push esi
lea esi, [edi + 0x20]
mov dword [esi], 2
mov dword [esp + 0x3c], esi
je 0x100c7a3d
push esi
push dword [esp + 0x70]
mov dword [esp + 0x50], ebx
lea eax, [esp + 0x4c]
mov ebx, dword [esp + 0x70]
push ebx
push eax
push edx
lea eax, [esp + 0x5c]
mov dword [esp + 0x58], ebp
push eax
mov eax, dword [edi + 0x88]
push 0
push dword [edi + 0x78]
call eax
mov edx, dword [esi]
mov ebp, eax
mov eax, dword [esp + 0x30]
add esp, 0x20
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
mov dword [edi + 0x1c], ebp
mov dword [eax], ecx
mov eax, dword [edi + 0x14]
add eax, esi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], edx
mov dword [edi + 0x14], eax
test ebp, ebp
jne 0x100c79a9
test ebx, ebx
jne 0x100c79a9
cmp edx, 1
jne 0x100c79b0
mov dword [edi + 0x18], 1
mov ecx, dword [edi + 8]
cmp ecx, 1
jne 0x100c79d3
mov ecx, dword [esp + 0x18]
mov eax, ebp
mov dword [ecx], esi
pop esi
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.10142783
add esp, 0x44
ret
cmp dword [edi + 0x18], 0
je 0x100c7a28
mov ebx, 1
cmp ecx, ebx
jbe 0x100c7a22
mov ebp, dword [esp + 0x5c]
lea esi, [edi + 0x90]
nop dword [eax]
push eax
push dword [edi + 0xc]
mov eax, dword [esi + 0x14]
push dword [esi]
call eax
add esp, 0xc
cmp dword [esp + 0x24], 1
je 0x100c7a12
test ebp, ebp
je 0x100c7a15
mov ecx, dword [esp + 0x28]
cmp dword [edi + 0x14], ecx
jne 0x100c7a15
mov eax, dword [edi + 0x14]
inc ebx
add esi, 0x18
cmp ebx, dword [edi + 8]
jb 0x100c79f0
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
pop esi
pop edi
mov eax, ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.10142783
add esp, 0x44
ret
mov ebp, dword [edi + 8]
cmp ebp, 1
je 0x100c7a8e
cmp dword [edi + 4], 0
jne 0x100c7a81
mov eax, dword [edi]
push 0x60000
push eax
mov eax, dword [eax]
call eax
add esp, 8
mov dword [edi + 4], eax
test eax, eax
jne 0x100c7a79
pop esi
pop edi
pop ebp
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.10142783
add esp, 0x44
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebp, dword [edi + 8]
mov dword [esp + 0x2c], 0
jmp 0x100c7aa3
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x2c], eax
jmp 0x100c7aa3
lea esi, [edi + 0x20]
mov dword [esi], 2
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 1
test ebp, ebp
je 0x100c7b88
mov dword [esp + 0x34], ebx
lea eax, [esi + 5]
lea eax, [eax + eax*2]
lea eax, [edi + eax*8]
mov dword [esp + 0x38], eax
test esi, esi
jne 0x100c7aea
mov eax, dword [esp + 0x68]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
sub eax, dword [ecx]
jmp 0x100c7b13
mov edx, dword [edi + 4]
lea eax, [esi - 1]
mov ecx, dword [edi + esi*4 + 0x2c]
shl eax, 0x11
add edx, eax
mov eax, dword [edi + esi*4 + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [edi + esi*4 + 0x38]
mov dword [esp + 0x40], edx
add dword [esp + 0x40], ecx
sub eax, ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x40], eax
lea eax, [ebp - 1]
cmp esi, eax
jne 0x100c7b2f
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x48]
sub ecx, dword [ebp]
jmp 0x100c7b4a
mov eax, dword [edi + esi*4 + 0x30]
cmp eax, dword [edi + esi*4 + 0x3c]
jne 0x100c7b61
mov ebp, dword [esp + 0x18]
mov eax, esi
shl eax, 0x11
mov ecx, 0x20000
add eax, dword [edi + 4]
mov dword [esp + 0x44], ecx
mov ecx, dword [edi + esi*4 + 0x68]
test ecx, ecx
je 0x100c7ba7
mov eax, dword [esp + 0x34]
mov ebx, ecx
test eax, eax
cmovne ebx, eax
mov eax, dword [esp + 0x1c]
mov ebp, dword [edi + 8]
inc esi
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp esi, ebp
jb 0x100c7ac5
test eax, eax
jne 0x100c7aa0
cmp dword [esp + 0x24], 0
je 0x100c7b92
mov eax, dword [esp + 0x3c]
mov dword [eax], 1
mov ecx, dword [esp + 0x50]
mov eax, ebx
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.10142783
add esp, 0x44
ret
lea ecx, [esp + 0x4c]
push ecx
push dword [esp + 0x30]
lea ecx, [esp + 0x48]
push dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x58]
push ecx
push eax
mov eax, dword [esp + 0x54]
push dword [eax]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
add esp, 0x20
test ecx, ecx
je 0x100c7bdd
test ebx, ebx
mov dword [edi + esi*4 + 0x68], ecx
cmove ebx, ecx
mov eax, dword [esp + 0x4c]
xor edx, edx
cmp eax, 1
sete dl
je 0x100c7c00
cmp dword [edi + 8], 1
mov dword [esp + 0x24], 0
jne 0x100c7c00
test ecx, ecx
jne 0x100c7c00
mov dword [edi + 0x20], eax
mov ecx, dword [esp + 0x40]
test esi, esi
jne 0x100c7c14
mov eax, dword [esp + 0x10]
add dword [eax], ecx
add dword [esp + 0x14], ecx
jmp 0x100c7c18
add dword [edi + esi*4 + 0x2c], ecx
mov eax, dword [edi + 8]
dec eax
cmp esi, eax
mov eax, dword [esp + 0x44]
jne 0x100c7c2d
add dword [ebp], eax
add dword [esp + 0x48], eax
jmp 0x100c7c3d
mov dword [edi + esi*4 + 0x3c], eax
mov dword [edi + esi*4 + 0x30], 0
mov dword [edi + esi*4 + 0x24], edx
test eax, eax
jne 0x100c7c49
test ecx, ecx
je 0x100c7b61
mov eax, 1
mov dword [esp + 0x1c], eax
jmp 0x100c7b65