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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x484
mov eax, dword [0x101e6040]
xor eax, esp
mov dword [esp + 0x480], eax
cmp dword [ebp + 8], 0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 0x2c], edx
push edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x24], eax
je 0x1003dbba
mov dword [ebx + 0x74c], 0xa0000037
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x480]
xor ecx, esp
call fcn.10151433
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebx + 0x34]
push 0
push dword [edx + 0x5c]
mov eax, dword [ecx]
push dword [edx + 0x58]
call dword [eax + 0x20]
mov ecx, dword [ebx + 0x34]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
nop dword [eax]
mov esi, dword [ebx + 0x34]
lea eax, [esp + 0x80]
push 0x401
push 0
push eax
call fcn.10152e30
add esp, 0xc
mov dword [esp + 0x484], 0
mov ebx, 0x400
mov byte [esp + 0x37], 0
lea edi, [esp + 0x80]
mov eax, dword [esi]
lea ecx, [esp + 0x37]
push 0
push 1
push ecx
mov ecx, esi
call dword [eax + 0x18]
test eax, eax
je 0x1003dc50
mov al, byte [esp + 0x37]
cmp al, 0xd
je 0x1003dc16
cmp al, 0xa
je 0x1003dc16
inc dword [esp + 0x484]
lea edi, [esp + 0x81]
mov ebx, 0x3ff
mov byte [esp + 0x80], al
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
test eax, eax
jne 0x1003dc8b
mov eax, dword [esi]
mov ecx, esi
push 0
push 1
push edi
call dword [eax + 0x18]
test eax, eax
je 0x1003dc8b
mov al, byte [edi]
cmp al, 0xd
je 0x1003dc88
cmp al, 0xa
je 0x1003dc88
test al, al
je 0x1003dc8b
inc dword [esp + 0x484]
inc edi
sub ebx, 1
jne 0x1003dc50
jmp 0x1003dc8b
mov byte [edi], 0
mov edi, dword [esp + 0xc]
mov ecx, dword [edi + 0x34]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [edi + 0x34]
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
sbb edx, dword [esp + 0x20]
mov esi, dword [ecx]
mov dword [esp + 0x28], edx
mov esi, dword [esi + 0x24]
call esi
push 0x3f
mov dword [esp + 0x20], eax
lea eax, [esp + 0x3c]
push 0
push eax
mov dword [esp + 0x2c], edx
call fcn.10152e30
mov eax, dword [edi + 0x818]
xor ebx, ebx
add esp, 0xc
mov dword [esp + 0x78], ebx
mov byte [esp + 0x7c], bl
cmp eax, 0x34
jne 0x1003ddf7
mov edi, dword [esp + 0x484]
test edi, edi
je 0x1003df76
mov al, byte [esp + 0x80]
cmp al, 0x60
je 0x1003dfe8
movzx eax, al
mov ebx, dword [eax*4 + 0x10192780]
mov dword [esp + 0x14], ebx
cmp ebx, 0xffffffff
je 0x1003df76
cmp ebx, 0x3f
jg 0x1003df76
lea ecx, [ebx + 2]
mov eax, 0x55555556
imul ecx
mov esi, edx
shr esi, 0x1f
add esi, edx
shl esi, 2
lea eax, [esi + 1]
cmp edi, eax
jne 0x1003df76
test esi, esi
je 0x1003df16
lea eax, [esp + 0x3a]
mov dword [esp + 0x10], eax
lea edi, [esp + 0x83]
nop dword [eax]
movzx eax, byte [edi - 2]
mov ebx, dword [eax*4 + 0x10192780]
movzx eax, byte [edi - 1]
mov edx, dword [eax*4 + 0x10192780]
movzx eax, byte [edi]
mov ecx, dword [eax*4 + 0x10192780]
movzx eax, byte [edi + 1]
mov eax, dword [eax*4 + 0x10192780]
mov dword [esp + 0x18], eax
cmp esi, 4
jbe 0x1003ddb8
cmp ebx, 0xffffffff
je 0x1003df76
cmp edx, 0xffffffff
je 0x1003df76
cmp ecx, 0xffffffff
je 0x1003df76
cmp eax, 0xffffffff
je 0x1003df76
mov eax, edx
shl bl, 2
sar eax, 4
add edi, 4
or al, bl
shl dl, 4
mov ebx, dword [esp + 0x10]
mov byte [ebx - 2], al
mov eax, ecx
sar eax, 2
shl cl, 6
or al, dl
or cl, byte [esp + 0x18]
mov byte [ebx - 1], al
mov byte [ebx], cl
add ebx, 3
mov dword [esp + 0x10], ebx
sub esi, 4
jne 0x1003dd60
jmp 0x1003df12
cmp eax, 0x35
jne 0x1003df29
mov edi, dword [esp + 0x484]
test edi, edi
je 0x1003df76
lea eax, [esp + 0x80]
cmp dword [eax], 0x646e65
je 0x1003dfe8
movzx eax, byte [esp + 0x80]
mov ebx, dword [eax*4 + 0x10192380]
mov dword [esp + 0x14], ebx
cmp ebx, 0xffffffff
je 0x1003df76
cmp ebx, 0x3f
jg 0x1003df76
lea ecx, [ebx + 2]
mov eax, 0x55555556
imul ecx
mov esi, edx
shr esi, 0x1f
add esi, edx
shl esi, 2
lea eax, [esi + 1]
cmp edi, eax
jne 0x1003df76
test esi, esi
je 0x1003df16
lea eax, [esp + 0x3a]
mov dword [esp + 0x10], eax
lea edi, [esp + 0x83]
nop dword [eax]
movzx eax, byte [edi - 2]
mov ebx, dword [eax*4 + 0x10192380]
movzx eax, byte [edi - 1]
mov edx, dword [eax*4 + 0x10192380]
movzx eax, byte [edi]
mov ecx, dword [eax*4 + 0x10192380]
movzx eax, byte [edi + 1]
mov eax, dword [eax*4 + 0x10192380]
mov dword [esp + 0x18], eax
cmp esi, 4
jbe 0x1003ded8
cmp ebx, 0xffffffff
je 0x1003df76
cmp edx, 0xffffffff
je 0x1003df76
cmp ecx, 0xffffffff
je 0x1003df76
cmp eax, 0xffffffff
je 0x1003df76
mov eax, edx
shl bl, 2
sar eax, 4
add edi, 4
or al, bl
shl dl, 4
mov ebx, dword [esp + 0x10]
mov byte [ebx - 2], al
mov eax, ecx
sar eax, 2
shl cl, 6
or al, dl
or cl, byte [esp + 0x18]
mov byte [ebx - 1], al
mov byte [ebx], cl
add ebx, 3
mov dword [esp + 0x10], ebx
sub esi, 4
jne 0x1003de80
mov ebx, dword [esp + 0x14]
cmp byte [esp + 0x7c], 0
mov dword [esp + 0x78], ebx
jne 0x1003dfe8
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x24]
mov eax, ebx
mov ebx, dword [esp + 0x24]
mov ecx, ebx
cdq
push edx
mov esi, dword [esi]
push eax
lea eax, [esp + 0x40]
push eax
call dword [esi + 0x18]
test eax, eax
je 0x1003df9d
mov eax, dword [esp + 0x78]
lea ecx, [edi + 4]
push ebx
cdq
push edx
push eax
push dword [esp + 0x34]
push dword [esp + 0x3c]
call fcn.10057270
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0x754]
or eax, dword [ebx + 0x750]
je 0x1003dbe0
jmp 0x1003dfec
mov eax, dword [esp + 0xc]
mov dword [eax + 0x74c], 0xa0000035
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x480]
xor ecx, esp
call fcn.10151433
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x44]
mov ebx, dword [esp + 0xc]
mov edx, eax
mov esi, dword [ebx + 8]
mov dword [ebx + 0x74c], edx
test esi, esi
je 0x1003dfd3
cmp edx, 0xa0000059
je 0x1003dfd3
mov ecx, dword [esi]
lea eax, [ebx + 0x754]
push eax
push 0
push dword [esp + 0x38]
push edx
push esi
call dword [ecx + 0x14]
cmp byte [ebx + 0x734], 0
je 0x1003dfec
mov dword [ebx + 0x748], 1
jmp 0x1003dfec
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x48c]
xor eax, eax
cmp dword [ebx + 0x74c], eax
pop edi
pop esi
sete al
pop ebx
xor ecx, esp
call fcn.10151433
mov esp, ebp
pop ebp
ret 0xc