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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x10052004]
xor eax, esp
mov dword [esp + 0x48], eax
mov edx, ecx
mov ecx, dword [edx + 0x84]
mov dword [esp + 0x3c], edx
push ebx
push esi
lea esi, [edx + 0x78]
mov dword [esp + 0x4c], esi
push edi
test ecx, ecx
jne 0x1002ef40
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1002ef72
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xf80]
mov eax, dword [eax]
add eax, ecx
movzx ebx, word [eax + 0x4c0]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x2c], ebx
test ecx, ecx
jne 0x1002ef79
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1002efba
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xf80]
mov eax, dword [eax]
add eax, ecx
movzx ecx, word [eax + 0x4c2]
mov dword [esp + 0x1c], ecx
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x20], 0
test eax, eax
je 0x1002efc1
add eax, dword [ebp + 8]
mov ecx, 0
mov dword [esp + 0x38], eax
adc ecx, dword [ebp + 0xc]
mov dword [esp + 0x28], ecx
cmp ecx, dword [edx + 0x6c]
jb 0x1000ce94
ja 0x1000ce7d
cmp eax, dword [edx + 0x68]
jbe 0x1000ce94
push ecx
push eax
mov ecx, edx
call fcn.1000d3a0
mov ecx, eax
test ecx, ecx
js 0x1000d1a7
mov edx, dword [esp + 0x48]
mov ecx, dword [esi]
test ecx, ecx
je 0x1000d1ef
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xf80]
mov eax, dword [eax]
add eax, ecx
je 0x1000d1ef
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x1002efd1
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1002f003
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xf80]
mov eax, dword [eax]
add eax, ecx
mov ecx, dword [eax]
test ecx, ecx
je 0x1002f00a
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xf80]
mov eax, dword [eax]
add eax, ecx
mov eax, dword [eax]
mov dword [esp + 0x24], eax
movzx eax, bx
mov dword [esp + 0x4c], eax
cdq
mov edi, edx
mov dword [esp + 0x18], eax
push edi
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10028b60
mov dword [esp + 0xc], eax
movzx eax, cx
mov ecx, dword [esp + 0x38]
push edi
push dword [esp + 0x1c]
mov dword [esp + 0x3c], ebx
add ecx, 0xffffffff
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x30]
adc edx, 0xffffffff
mov dword [esp + 0x38], eax
push edx
push ecx
call fcn.10028b60
mov edi, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x3c], ebx
xor ebx, ebx
mov dword [esp + 0x3c], edx
movzx edx, cx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], ebx
cmp ecx, eax
jne 0x1000cf7b
mov eax, edi
sub eax, edx
movzx eax, ax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x44]
push eax
push 0
push ecx
mov ecx, esi
call fcn.1000dc70
mov ecx, eax
test ecx, ecx
js 0x1000d1a7
mov eax, dword [esp + 0x1c]
movzx eax, ax
mov dword [esp + 0x28], eax
nop
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xc]
test cx, cx
je 0x1000d065
mov eax, edi
sub eax, dword [esp + 0x10]
sub eax, ecx
movzx eax, ax
mov dword [esp + 0x1c], eax
movzx eax, ax
add ebx, eax
cmp ebx, dword [ebp + 0x14]
ja 0x1002f072
mov eax, dword [esp + 0x44]
cmp eax, 0xfffffffe
je 0x1000d1ae
mov ecx, dword [esp + 0x28]
xor edx, edx
mov dword [esp + 0x14], eax
inc eax
call fcn.10028ac0
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
movsx ecx, cx
add eax, ecx
lea ecx, [esp + 0x20]
push ecx
mov edi, dword [edi]
adc edx, 0
movzx ecx, si
push ecx
push dword [ebp + 0x10]
mov edi, dword [edi + 0x10]
mov ecx, edi
push edx
push eax
push dword [esp + 0x38]
call dword [0x100532e8]
call edi
mov esi, dword [esp + 0x50]
mov ecx, eax
test ecx, ecx
js 0x1000d1a7
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
movzx eax, cx
add dword [ebp + 0x10], eax
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x18]
jne 0x1000d213
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
xor eax, eax
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100281a0
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [esp + 0x18]
cmp edx, eax
je 0x1000cfb1
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
cmp ecx, 0xfffffffe
je 0x1000d306
mov dword [esp + 0x30], ecx
lea ecx, [edx + 1]
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jb 0x1000d257
lea eax, [esp + 0x14]
push eax
push 0
push ecx
mov ecx, esi
call fcn.1000dc70
mov ecx, eax
test ecx, ecx
js 0x1000d1a7
mov ecx, dword [esp + 0x14]
mov eax, edi
sub eax, dword [esp + 0x38]
movzx edx, ax
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], ecx
cmp ecx, 0xfffffffe
je 0x1000d345
mov dword [esp + 0x38], 1
mov eax, dword [esp + 0x30]
inc eax
cmp ecx, eax
jne 0x1000d0e6
test dx, dx
je 0x1000d29d
mov eax, dword [esp + 0x10]
xor edx, edx
mov ecx, dword [esp + 0x28]
inc eax
call fcn.10028ac0
mov ecx, dword [esp + 0x24]
lea edi, [esp + 0x20]
push edi
mov edi, dword [esp + 0x34]
sub edi, dword [esp + 0x14]
mov esi, dword [ecx]
inc edi
imul edi, dword [esp + 0x50]
mov esi, dword [esi + 0x10]
push edi
push dword [ebp + 0x10]
push edx
push eax
push ecx
mov ecx, esi
call dword [0x100532e8]
call esi
mov edi, dword [esp + 0x2c]
mov ecx, eax
test ecx, ecx
js 0x1000d1a7
mov ecx, dword [ebp + 0x10]
add ecx, dword [esp + 0x20]
add ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ebp + 0x10], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
test dx, dx
je 0x1000d29d
sub edi, edx
movzx edx, di
mov edi, edx
add ebx, edi
cmp ebx, dword [ebp + 0x14]
ja 0x1002f072
cmp dword [esp + 0x38], 0
je 0x1000d37a
mov ecx, dword [esp + 0x28]
inc eax
xor edx, edx
call fcn.10028ac0
mov ecx, dword [esp + 0x24]
lea esi, [esp + 0x20]
push esi
push edi
push dword [ebp + 0x10]
mov esi, dword [ecx]
push edx
push eax
push ecx
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x100532e8]
call esi
mov ecx, eax
test ecx, ecx
js 0x1000d1a7
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
mov eax, ecx
jmp 0x1000d051
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push 1
push edx
call fcn.1000dc70
mov ecx, eax
test ecx, ecx
js 0x1000d1a7
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
push ecx
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x54]
push dword [esp + 0x20]
push dword [esp + 0x1c]
call fcn.1000c838
mov ecx, eax
test ecx, ecx
jns 0x1000d032
jmp 0x1000d051
cmp dword [esi + 0x14], 0xfffffffe
jne 0x1000ceb4
push edx
push dword [edx + 0x6c]
mov ecx, esi
push dword [edx + 0x68]
call fcn.1000da90
mov ecx, eax
test ecx, ecx
jns 0x1000ceb4
jmp 0x1000d1a7
xor ecx, ecx
inc eax
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x44]
push ecx
push 0
push eax
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.1000dc70
mov ecx, eax
test ecx, ecx
js 0x1000d1a7
mov eax, dword [esp + 0x18]
cmp dword [esp + 0xc], eax
jne 0x1000cfa0
mov eax, edi
sub eax, dword [esp + 0x38]
movzx eax, ax
mov dword [esp + 0x10], eax
jmp 0x1000cfa0
lea eax, [esp + 0x14]
push eax
push 1
push ecx
mov ecx, esi
call fcn.1000dc70
mov ecx, eax
test ecx, ecx
js 0x1000d1a7
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
inc eax
cmp ecx, eax
jne 0x1002f011
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, dword [esp + 0x18]
jb 0x1000d257
mov edi, dword [esp + 0x2c]
jmp 0x1000d095
mov eax, dword [esp + 0x10]
xor edx, edx
mov ecx, dword [esp + 0x28]
inc eax
call fcn.10028ac0
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x10]
sub ecx, dword [esp + 0x14]
mov esi, dword [edi]
inc ecx
imul ecx, dword [esp + 0x50]
mov esi, dword [esi + 0x10]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x1c]
movsx ecx, cx
sub dword [esp + 0x10], ecx
mov ecx, esi
push dword [esp + 0x10]
push dword [ebp + 0x10]
push edx
push eax
push edi
call dword [0x100532e8]
call esi
mov ecx, eax
test ecx, ecx
js 0x1000d1a7
mov eax, dword [ebp + 0x18]
add ebx, dword [esp + 0x20]
mov dword [eax], ebx
mov eax, ecx
jmp 0x1000d051
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push 1
push edx
call fcn.1000dc70
mov ecx, eax
test ecx, ecx
js 0x1000d1a7
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
cmp ecx, 0xfffffffe
jne 0x1000d082
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
jmp 0x1000d082
lea eax, [esp + 0x14]
mov dword [esp + 0x38], 0
push eax
push 1
push dword [esp + 0x24]
mov ecx, esi
call fcn.1000dc70
mov ecx, eax
test ecx, ecx
js 0x1000d1a7
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0xc], ecx
jmp 0x1000d0d4
push edx
push 0
push ecx
mov ecx, dword [esp + 0x54]
push eax
push dword [esp + 0x2c]
call fcn.1000c838
jmp 0x1000d19c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xf80]
mov eax, dword [eax]
add eax, ecx
je 0x1000cdf4
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1002ef72
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xf80]
mov eax, dword [eax]
add eax, ecx
jmp 0x1000ce0f
xor eax, eax
jmp 0x1000ce0f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xf80]
mov eax, dword [eax]
add eax, ecx
je 0x1000ce25
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1002efa8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xf80]
mov eax, dword [eax]
add eax, ecx
jmp 0x1002efaa
xor eax, eax
movzx eax, word [eax + 0x4c2]
mov dword [esp + 0x1c], eax
jmp 0x1000ce4b
xor eax, eax
jmp 0x1000ce40
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
xor eax, eax
jmp 0x1000d051
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xf80]
mov eax, dword [eax]
add eax, ecx
je 0x1000cebf
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1002f003
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xf80]
mov eax, dword [eax]
add eax, ecx
jmp 0x1000ceda
xor eax, eax
jmp 0x1000ceda
xor eax, eax
jmp 0x1000cef4
mov eax, dword [esp + 0x10]
xor edx, edx
mov ecx, dword [esp + 0x28]
inc eax
call fcn.10028ac0
mov ecx, dword [esp + 0x24]
lea esi, [esp + 0x20]
push esi
mov esi, dword [esp + 0x34]
sub esi, dword [esp + 0x14]
mov edi, dword [ecx]
inc esi
imul esi, dword [esp + 0x50]
mov edi, dword [edi + 0x10]
push esi
push dword [ebp + 0x10]
push edx
push eax
push ecx
mov ecx, edi
call dword [0x100532e8]
call edi
mov esi, dword [esp + 0x50]
mov ecx, eax
test ecx, ecx
js 0x1000d1a7
mov eax, dword [esp + 0x20]
add dword [ebp + 0x10], eax
add ebx, eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
jmp 0x1000d281
mov ecx, 0x800300fa
jmp 0x1000d1a7