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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 0x14]
xorps xmm0, xmm0
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], eax
mov ebx, edx
mov dword [esp + 0x10], edi
mov edx, dword [ebp + 0x10]
add edx, 3
movlpd qword [esp + 0x27], xmm0
mov ecx, dword [edi + 0x1c]
and edx, 0xfffffffc
mov byte [esp + 0x2f], 0
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x40], xmm0
mov dword [esp + 0x50], 0
mov dword [esp + 0x56], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], 0x464c457f
mov word [esp + 0x24], 0x102
mov byte [esp + 0x26], 1
sub ecx, 2
je 0x1001dbc1
sub ecx, 1
je 0x1001dba5
sub ecx, 1
jne 0x1001dbc1
mov eax, 1
mov word [esp + 0x30], ax
jmp 0x1001dc0c
mov eax, 3
mov word [esp + 0x30], ax
mov eax, dword [edi + 0x358]
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x3c], eax
jmp 0x1001dc08
mov esi, dword [edi + 0x38c]
mov eax, 2
mov edx, str._start
mov word [esp + 0x30], ax
mov ecx, esi
call fcn.1001c880
test eax, eax
je 0x1001de4c
lea ecx, [eax + eax*2]
mov eax, dword [esi + 4]
cmp word [eax + ecx*8 + 6], 0
lea edx, [eax + ecx*8]
je 0x1001de4c
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
mov eax, 0x3e
mov dword [esp + 0x34], 1
mov word [esp + 0x32], ax
mov eax, edx
cdq
mov dword [esp + 0x48], eax
mov eax, 0x40
mov word [esp + 0x54], ax
mov word [esp + 0x5a], ax
mov eax, dword [edi + 0x344]
movzx eax, ax
mov word [esp + 0x5c], ax
dec eax
push ebx
push 0x40
mov word [esp + 0x66], ax
lea eax, [esp + 0x28]
push 1
push eax
mov dword [esp + 0x5c], edx
call fcn.1003b25d
push ebx
push 0
push 1
push 0
call fcn.1003b25d
mov edx, dword [edi + 0x378]
add esp, 0x20
mov ecx, edi
mov esi, 0x40
call fcn.1001cf90
mov edx, dword [edi + 0x344]
mov ecx, 1
mov dword [esp + 0x14], ecx
cmp edx, ecx
jle 0x1001dd08
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + ecx*4]
mov eax, dword [edi + 0x340]
mov edi, dword [eax + ecx*4]
mov eax, edx
cmp dword [edi + 0x18], 8
je 0x1001dcf5
cmp esi, dword [edi + 0x38]
jae 0x1001dccb
push ebx
push 0
call fcn.1003369e
inc esi
add esp, 8
cmp esi, dword [edi + 0x38]
jb 0x1001dcb0
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x344]
mov ecx, dword [edi + 0x2c]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x1001dcf3
push ebx
push ecx
push 1
push dword [edi + 4]
call fcn.1003b25d
mov eax, dword [esp + 0x20]
add esp, 0x10
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 0x344]
add esi, ecx
mov ecx, dword [esp + 0x14]
mov edx, eax
mov edi, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, eax
jl 0x1001dc93
mov eax, esi
cdq
cmp edx, dword [esp + 0x4c]
ja 0x1001dd3d
jb 0x1001dd20
cmp eax, dword [esp + 0x48]
jae 0x1001dd3d
nop dword [eax]
push ebx
push 0
call fcn.1003369e
inc esi
add esp, 8
mov eax, esi
cdq
cmp edx, dword [esp + 0x4c]
jb 0x1001dd20
ja 0x1001dd3d
cmp eax, dword [esp + 0x48]
jb 0x1001dd20
cmp dword [edi + 0x344], 0
mov dword [esp + 0x14], 0
jle 0x1001de37
xor esi, esi
mov dword [esp + 0x10], esi
push 0x40
lea eax, [esp + 0x64]
push 0
push eax
call fcn.10030f60
mov eax, dword [edi + 0x340]
add esp, 0xc
mov esi, dword [esi + eax]
test esi, esi
je 0x1001de05
mov eax, dword [esi + 0x10]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x1c]
cdq
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov eax, dword [esi + 0x28]
cdq
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], edx
mov eax, dword [esi + 0x20]
mov dword [esp + 0x8c], eax
mov eax, dword [esi + 0x40]
test eax, eax
je 0x1001ddc1
mov eax, dword [eax + 0x14]
mov dword [esp + 0x88], eax
mov eax, dword [esi + 0x24]
cdq
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edx
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov eax, dword [esi + 0x38]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
push ebx
push 0x40
lea eax, [esp + 0x68]
push 1
push eax
call fcn.1003b25d
mov eax, dword [esp + 0x24]
add esp, 0x10
mov esi, dword [esp + 0x10]
inc eax
add esi, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
cmp eax, dword [edi + 0x344]
jl 0x1001dd58
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1002fab8
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.1002c040
push str._start
push str._s_not_defined
call fcn.1002c510
int3