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

Disassembly:
sub esp, 0x4c
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, dword [esp + 0x54]
push ebp
push esi
xor esi, esi
push edi
mov dword [eax], esi
mov eax, dword [ebx]
push 8
lea ecx, [esp + 0x38]
and eax, 0xfffffdff
push esi
push ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x6c], eax
call fcn.10030200
add esp, 0xc
mov ecx, ebx
mov dword [esp + 0x18], esi
call fcn.1000cd70
mov ebp, dword [esp + 0x70]
cmp ebp, esi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x30], eax
je 0x1000ce97
cmp dword [esp + 0x68], esi
je 0x1000ce3f
test dword [ebx], 0x8800
je 0x1000ce97
mov edx, dword [ebp]
mov edx, dword [edx]
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x6c]
push ecx
push ebp
call edx
add esp, 0xc
cmp eax, esi
jne 0x1000d3cb
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
push eax
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x28]
push ecx
push edi
call fcn.1000cbd0
add esp, 0x18
test eax, eax
je 0x1000ce97
test dword [ebx], 0x8000
je 0x1000ce97
pop edi
pop esi
pop ebp
mov eax, 0x803
pop ebx
add esp, 0x4c
ret
mov edx, dword [ebx + 0xc]
mov eax, dword [esp + 0x78]
cmp dword [eax + edx*4], 0x1005b680
jne 0x1000ceb3
mov dword [edi], esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4c
ret
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
push ecx
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x28]
push edx
push edi
call fcn.1000cbd0
mov edx, dword [esp + 0x78]
add esp, 0x18
cmp eax, esi
je 0x1000cefa
cmp eax, 0x800
jne 0x1000cef0
test eax, edx
je 0x1000cef0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
cmp dword [esp + 0x30], esi
je 0x1000d3cb
mov ecx, dword [edi]
cmp ecx, esi
jne 0x1000cf0b
mov eax, dword [esp + 0x28]
add eax, 4
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
test eax, eax
mov esi, dword [esp + 0x68]
je 0x1000cf1d
sub eax, esi
mov dword [esp + 0x20], eax
mov eax, edx
and eax, 0x1ff
cmp eax, 0x102
je 0x1000d3ac
movzx eax, dl
cmp dword [esp + 0x18], eax
je 0x1000cfdb
mov eax, edx
and eax, 0x4420
cmp eax, 0x4420
jne 0x1000cfa1
test byte [ebx + 0x14], 0x20
lea eax, [ebx + 0x14]
jne 0x1000cfa1
and edx, 0xdf
cmp dword [esp + 0x18], edx
jne 0x1000cfa1
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x7c]
push edx
lea edx, [esp + 0x34]
push edx
push ebp
push ecx
mov ecx, dword [esp + 0x78]
push esi
push ecx
push eax
call fcn.1000cdd0
add esp, 0x20
test eax, eax
je 0x1000cfdb
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x10]
push edx
push 0xffffffffffffffff
push ecx
push ebx
push eax
call fcn.1000c3c0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
test dword [ebx], 0x200
je 0x1000cfb9
mov dword [edi], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4c
ret
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x10]
push edx
push 0xffffffffffffffff
push eax
push ebx
push 0x807
call fcn.1000c3c0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
test byte [esp + 0x18], 0x20
je 0x1000d279
lea ecx, [esp + 0x14]
push ebx
push ecx
call fcn.1000be40
mov ecx, 1
add esp, 8
cmp dword [esp + 0x14], ecx
jbe 0x1000d02b
lea eax, [ebx + 0x14]
cmp dword [eax], 0x103
je 0x1000d017
mov edx, dword [eax + 0xc]
mov esi, dword [esp + 0x78]
cmp dword [esi + edx*4], 0
jne 0x1000d025
add ecx, 1
add eax, 0x14
cmp ecx, dword [esp + 0x14]
jb 0x1000d002
jmp 0x1000d02b
cmp ecx, dword [esp + 0x14]
jb 0x1000d05e
cmp dword [edi], 0
jne 0x1000d279
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
push eax
push ecx
push edi
call fcn.1000c060
add esp, 0xc
test eax, eax
jne 0x1000cf83
mov ecx, dword [edi]
sub ecx, dword [esp + 0x24]
mov dword [esp + 0x38], ecx
jmp 0x1000d27d
cmp dword [edi], 0
jne 0x1000d071
mov ecx, dword [esp + 0x6c]
sub ecx, dword [esp + 0x24]
mov dword [esp + 0x38], ecx
jmp 0x1000d075
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x60]
test al, 0xc0
je 0x1000d08c
test eax, 0x1000
mov dword [esp + 0x28], 1
je 0x1000d094
mov dword [esp + 0x28], 0
test ebp, ebp
je 0x1000d0b8
mov eax, dword [esp + 0x20]
mov edx, dword [ebp + 4]
add dword [ebp + 0x14], eax
mov ebp, dword [ebp + 0x14]
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], 0
mov esi, 1
jmp 0x1000d0d0
xor ebp, ebp
mov dword [esp + 0x20], ebp
mov esi, 1
jmp 0x1000d0d0
mov ecx, dword [esp + 0x38]
lea esp, [esp]
cmp dword [esp + 0x28], 0
jne 0x1000d122
test dword [esp + 0x60], 0x400
je 0x1000d0e8
add dword [esp + 0x1c], 1
jmp 0x1000d0f8
lea edx, [esi + esi*4]
cmp dword [ebx + edx*4], 0x103
je 0x1000d1da
mov eax, dword [esp + 0x74]
cmp dword [eax], 0
jne 0x1000d118
mov eax, dword [esp + 0x34]
cmp byte [eax + ebp], 0
jne 0x1000d122
cmp byte [eax + ebp + 1], 0
je 0x1000d1da
jmp 0x1000d122
cmp dword [esp + 0x20], ecx
jae 0x1000d1da
mov edx, dword [esp + 0x70]
test edx, edx
je 0x1000d132
mov eax, dword [edx + 0x10]
sub eax, dword [edx + 0x14]
jmp 0x1000d136
sub ecx, ebp
mov eax, ecx
lea ecx, [esi + esi*4]
lea edi, [ebx + ecx*4]
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x10]
push edx
push ecx
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x74]
push eax
lea eax, [edx + ebp]
push eax
push ecx
push edi
call fcn.1000cdd0
add esp, 0x20
test eax, eax
jne 0x1000d1b5
mov eax, dword [esp + 0x70]
test eax, eax
mov ecx, dword [esp + 0x2c]
je 0x1000d183
mov edx, dword [eax + 4]
mov ebp, dword [eax + 0x14]
mov dword [esp + 0x34], edx
jmp 0x1000d185
add ebp, ecx
add dword [esp + 0x20], ecx
cmp dword [esp + 0x28], 0
jne 0x1000d1d6
test dword [esp + 0x60], 0x400
jne 0x1000d0c5
lea eax, [esp + 0x14]
push edi
push eax
call fcn.1000be40
add esp, 8
add esi, dword [esp + 0x14]
jmp 0x1000d0c5
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ecx
push ebx
push eax
call fcn.1000c3c0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x74]
cmp dword [edx], 0
jne 0x1000d323
mov eax, dword [esp + 0x70]
test eax, eax
je 0x1000d1f3
add dword [eax + 0x14], 2
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov ecx, ebp
add eax, edi
mov dword [esp + 0x38], ecx
mov dword [edx], eax
cmp dword [esp + 0x28], 0
jne 0x1000d3e9
test dword [esp + 0x60], 0x400
jne 0x1000d3e9
lea edx, [esi + esi*4]
lea eax, [ebx + edx*4]
mov edx, dword [eax]
cmp edx, 0x103
je 0x1000d3e9
mov edi, dword [esp + 0x78]
test edx, 0x200
jne 0x1000d24e
mov ecx, dword [eax + 0xc]
cmp dword [edi + ecx*4], 0x1005b680
jne 0x1000d352
push eax
lea edx, [esp + 0x18]
push edx
call fcn.1000be40
add esi, dword [esp + 0x1c]
add esp, 8
lea eax, [esi + esi*4]
mov edx, dword [ebx + eax*4]
cmp edx, 0x103
lea eax, [ebx + eax*4]
jne 0x1000d236
mov ebp, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov ecx, dword [esp + 0x38]
mov eax, dword [ebx + 0xc]
mov edx, dword [esp + 0x78]
cmp dword [edx + eax*4], 0
lea eax, [edx + eax*4]
je 0x1000d433
mov esi, dword [ebx + 4]
test esi, esi
je 0x1000d413
mov edx, dword [esp + 0x18]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x68]
lea edi, [edx + 1]
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x64]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x50], edx
mov edx, dword [edi]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x58], 0
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x40]
push ecx
call esi
mov edx, dword [esp + 0x60]
mov esi, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], edx
call fcn.1000c0f0
add esp, 0xc
test esi, esi
je 0x1000d3f6
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
push ebx
push esi
call fcn.1000c3c0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
cmp dword [esp + 0x20], ecx
je 0x1000d205
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
push ebx
push 0x806
call fcn.1000c3c0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
lea ecx, [esi + esi*4]
mov eax, dword [ebx + ecx*4 + 0x10]
test eax, eax
lea esi, [ebx + ecx*4 + 0x10]
je 0x1000d387
push eax
call fcn.10030300
add eax, 1
push eax
call fcn.100302c0
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
je 0x1000d38b
mov edx, dword [esi]
push edx
push eax
call fcn.10030320
add esp, 8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push eax
push ebx
push 0x805
call fcn.1000c3c0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
test ecx, ecx
jne 0x1000d279
mov eax, dword [esp + 0x6c]
push eax
push esi
push edi
call fcn.1000c060
add esp, 0xc
test eax, eax
je 0x1000d04f
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x10]
push ecx
push 0xffffffffffffffff
push edx
push ebx
push eax
call fcn.1000c3c0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov ebp, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
jmp 0x1000d27d
mov ebp, dword [esp + 0x70]
test ebp, ebp
je 0x1000d433
test byte [ebx], 0x20
je 0x1000d40c
cmp dword [ebx + 0x14], 0x103
jne 0x1000d433
mov ecx, dword [edi]
add dword [ebp + 0x14], ecx
jmp 0x1000d433
test ebp, ebp
mov edx, dword [eax]
mov eax, dword [esp + 0x68]
mov dword [edx], eax
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x78]
mov eax, dword [edx + ecx*4]
mov ecx, dword [edi]
mov dword [eax + 4], ecx
je 0x1000d433
mov edx, dword [edi]
add dword [ebp + 0x14], edx
test dword [ebx], 0x8000
je 0x1000d45a
mov eax, dword [edi]
add dword [esp + 0x68], eax
mov ecx, dword [ebp]
mov ecx, dword [ecx]
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x6c]
push eax
push ebp
call ecx
add esp, 0xc
test eax, eax
jne 0x1000d45c
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret