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

Disassembly:
sub esp, 0x17c
mov edx, dword [0x107ab964]
xor eax, eax
mov dword [esp + 8], eax
push ebx
push ebp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x18c]
lea ecx, [esp + 0x14]
push edi
mov dword [esp + 0x20], eax
push ecx
mov dword [esp + 0x28], eax
push esi
push edx
mov dword [esp + 0x34], eax
call fcn.1000fbb0
add esp, 0xc
test eax, eax
je 0x100ced4b
mov eax, dword [0x107ab964]
push esi
push eax
call fcn.1000fcc0
mov ecx, dword [esp + 0x22]
lea edx, [esp + 0x18]
and ecx, 0xffff
push 1
push edx
mov edx, dword [0x107ab964]
lea ecx, [ecx + ecx*4]
lea edi, [eax + ecx*8]
mov ecx, dword [esp + 0x1a4]
lea eax, [esp + 0x3c]
push eax
push 0x100
push 0x100
push edi
push ecx
push esi
push edx
call fcn.100253e0
add esp, 0x2c
test eax, eax
je 0x100ced4b
cmp dword [esp + 0x10], 0x100
jne 0x100ced4b
mov eax, dword [esp + 0x2c]
xor esi, esi
xor ebx, ebx
xor ebp, ebp
cmp eax, esi
mov dword [esp + 0x14], esi
jne 0x100ceafc
mov esi, 4
mov edx, 0xe8
mov ecx, 0x840fc00b
cmp ebx, 2
jge 0x100cecc2
mov eax, ebx
sub eax, 0
je 0x100cebe5
dec eax
jne 0x100cecb5
cmp dword [esp + esi + 0x2c], 0x4a8b328b
jne 0x100cecb5
cmp dword [esp + esi + 0x30], 0x75c23b04
jne 0x100cecb5
cmp dword [esp + esi + 0x34], 0xeba4f304
jne 0x100cecb5
cmp dword [esp + esi + 0x38], 0xa068a12
jne 0x100cecb5
cmp dword [esp + esi + 0x3c], 0x380674c0
jne 0x100cecb5
cmp dword [esp + esi + 0x40], 0x320274d8
jne 0x100cecb5
cmp dword [esp + esi + 0x44], 0x470788c3
jne 0x100cecb5
cmp dword [esp + esi + 0x48], 0x8beee246
jne 0x100cecb5
cmp dword [esp + esi + 0x4c], 0x8c283c2
jne 0x100cecb5
cmp dword [esp + esi + 0x50], 0x75003a83
jne 0x100cecb5
cmp dword [esp + esi + 0x54], 0x8d585bd7
jne 0x100cecb5
cmp byte [esp + esi + 0x58], 0x88
jne 0x100cecb5
cmp word [esp + esi + 0x5d], 0xe1ff
jne 0x100cecb5
mov eax, dword [esp + esi + 0x59]
mov ebx, 2
mov dword [esp + 0x14], eax
jmp 0x100cecb5
cmp dword [esp + esi + 0x2c], edx
jne 0x100cecb5
cmp dword [esp + esi + 0x30], 0xeb815b00
jne 0x100cecb5
cmp word [esp + esi + 0x38], 0xdb0b
jne 0x100cecb5
cmp byte [esp + esi + 0x3a], 0x74
jne 0x100cecb5
cmp dword [esp + esi + 0x3c], 0x2424548b
jne 0x100cecb5
cmp byte [esp + esi + 0x40], 0xeb
jne 0x100cecb5
cmp dword [esp + esi + 0x42], 0x2024548b
jne 0x100cecb5
cmp byte [esp + esi + 0x46], dl
jne 0x100cecb5
cmp word [esp + esi + 0x4b], 0xe88b
jne 0x100cecb5
cmp byte [esp + esi + 0x4d], 0x68
jne 0x100cecb5
cmp word [esp + esi + 0x52], 0xe855
jne 0x100cecb5
cmp dword [esp + esi + 0x58], ecx
jne 0x100cecb5
cmp dword [esp + esi + 0x60], 0x68406a
jne 0x100cecb5
cmp dword [esp + esi + 0x64], 0x68000010
jne 0x100cecb5
mov eax, dword [esp + esi + 0x68]
cmp eax, 0x1b00
jbe 0x100cecb5
cmp eax, 0x2000
jae 0x100cecb5
cmp dword [esp + esi + 0x6c], 0xd0ff006a
jne 0x100cecb5
cmp dword [esp + esi + 0x70], ecx
jne 0x100cecb5
cmp dword [esp + esi + 0x78], 0x938df88b
jne 0x100cecb5
mov eax, dword [esp + esi + 0x7c]
mov ebp, dword [esp + esi + 0x34]
sub eax, ebp
mov ebx, 1
add eax, esi
add esi, 0x4f
lea ebp, [eax + edi + 5]
inc esi
cmp esi, 0xac
jl 0x100ceb06
mov edx, dword [esp + 0x190]
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x12c]
rep stosd dword es:[edi], eax
mov eax, dword [0x107ab964]
lea ecx, [esp + 0x12c]
push ecx
push edx
push eax
call fcn.1000fc50
add esp, 0xc
test eax, eax
je 0x100ced4b
cmp ebx, 2
jne 0x100ced4b
mov ecx, dword [esp + 0x10]
add ecx, 0xffffffac
cmp esi, ecx
jge 0x100ced4b
test ebp, ebp
je 0x100ced4b
cmp dword [esp + 0x164], ebp
jbe 0x100ced4b
mov edx, dword [esp + 0x14]
test edx, edx
jle 0x100ced4b
cmp edx, 0x500
jge 0x100ced4b
mov ecx, dword [esp + 0x198]
test ecx, ecx
je 0x100ced3b
mov eax, dword [esp + 0x19c]
test eax, eax
je 0x100ced3b
mov dword [eax], edx
mov dword [ecx], ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x17c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x17c
ret