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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
mov eax, dword [0x101e3070]
xor eax, esp
mov dword [esp + 0xe4], eax
mov eax, ecx
mov dword [esp + 8], 0
push esi
push edi
lea ecx, [esp + 0x80]
mov dword [esp + 0x1c], eax
mov edi, dword [eax]
mov esi, edx
mov edx, ecx
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], edi
mov dword [esp + 8], edx
mov eax, dword [edi + 0x58]
mov dword [esp + 0x68], ecx
xor ecx, ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x64], edi
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], 0x64
mov dword [esp + 0x78], eax
mov word [esp + 0x7c], cx
cmp dword [edi + 0xa0], 1
mov dword [esp + 0x18], ecx
jle 0x10040029
mov al, byte [esi]
test al, al
je 0x10040376
mov edi, esi
nop word [eax + eax]
inc esi
cmp al, 0xa
je 0x1003ffab
mov al, byte [esi]
test al, al
jne 0x1003ffa0
add ecx, 3
cmp ecx, dword [esp + 0x74]
jb 0x1003ffc9
push 3
mov edx, 0x101d5744
lea ecx, [esp + 0x68]
call fcn.1001d890
add esp, 4
jmp 0x1003ffe1
mov ax, word [0x101d5744]
mov dword [esp + 0x70], ecx
mov word [ecx + edx - 3], ax
mov al, byte [0x101d5746]
mov byte [ecx + edx - 1], al
mov eax, dword [esp + 0x70]
mov ecx, esi
sub ecx, edi
add eax, ecx
push ecx
cmp eax, dword [esp + 0x78]
jb 0x10040002
mov edx, edi
lea ecx, [esp + 0x68]
call fcn.1001d890
add esp, 4
jmp 0x10040016
mov dword [esp + 0x74], eax
sub eax, ecx
add eax, dword [esp + 0x70]
push edi
push eax
call fcn.101544a0
add esp, 0xc
mov al, byte [esi]
test al, al
je 0x1004004f
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
jmp 0x1003ff98
mov eax, dword [esp + 0x1c]
cmp word [eax + 0x44], cx
jne 0x10040095
test esi, esi
jne 0x10040064
xor ecx, ecx
push ecx
lea eax, [esp + 0x84]
mov dword [esp + 0x74], ecx
push esi
push eax
call fcn.101544a0
add esp, 0xc
mov edx, dword [esp + 0x6c]
test edx, edx
je 0x1004035e
mov ecx, dword [esp + 0x70]
jmp 0x10040376
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10040070
sub ecx, edx
and ecx, 0x3fffffff
cmp ecx, 0x64
jb 0x10040039
push ecx
mov edx, esi
lea ecx, [esp + 0x68]
call fcn.1001d890
add esp, 4
jmp 0x1004004f
mov cl, byte [esi]
test cl, cl
je 0x10040374
nop
xor eax, eax
mov edi, esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
test cl, cl
je 0x100400ea
lea edx, [esp + 0x28]
mov ecx, edi
call fcn.1008aa60
cmp dword [esp + 0x28], 0x87
mov ecx, eax
mov eax, dword [esp + 0xc]
je 0x100400e2
add edi, ecx
add eax, ecx
mov dword [esp + 0xc], eax
cmp byte [edi], 0
jne 0x100400b0
mov edx, dword [esp + 8]
mov edi, dword [esp + 0x14]
jmp 0x100400ec
mov edx, dword [esp + 8]
mov edi, ecx
jmp 0x100400ec
mov edi, eax
mov ecx, dword [esp + 0x18]
add ecx, eax
push eax
cmp ecx, dword [esp + 0x78]
jb 0x10040109
mov edx, esi
lea ecx, [esp + 0x68]
call fcn.1001d890
add esp, 4
jmp 0x1004011b
mov dword [esp + 0x74], ecx
sub ecx, eax
add ecx, edx
push esi
push ecx
call fcn.101544a0
add esp, 0xc
add esi, dword [esp + 0xc]
test edi, edi
je 0x1004004f
cmp byte [esi], 0x3f
jne 0x10040149
cmp edi, 1
jle 0x10040143
lea ecx, [esi + 1]
lea edx, [esp + 0x10]
call fcn.1001f5e0
mov eax, dword [esp + 0x10]
jmp 0x1004015c
mov eax, dword [esp + 0x20]
jmp 0x10040158
mov ecx, dword [esp + 0x1c]
mov edx, esi
push edi
call fcn.1003fc70
add esp, 4
mov dword [esp + 0x10], eax
lea ecx, [eax + 1]
add esi, edi
mov dword [esp + 0x20], ecx
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], esi
mov edi, dword [eax + 0x3c]
add edi, 0xffffffd8
movzx eax, word [edi + ecx*8 + 8]
lea edi, [edi + ecx*8]
mov dword [esp + 0x18], edi
test al, 1
je 0x100401c2
mov edx, dword [esp + 0x70]
add edx, 4
cmp edx, dword [esp + 0x74]
jb 0x100401ab
push 4
mov edx, str.NULL
lea ecx, [esp + 0x68]
call fcn.1001d890
add esp, 4
jmp 0x1004033f
mov eax, dword [esp + 0x6c]
mov ecx, dword [str.NULL]
mov dword [esp + 0x70], edx
mov dword [edx + eax - 4], ecx
jmp 0x1004033f
test al, 4
je 0x100401e4
push dword [edi + 4]
lea eax, [esp + 0x68]
push dword [edi]
push str._lld
push 0
push eax
call fcn.1001dda0
add esp, 0x14
jmp 0x1004033f
test al, 8
je 0x1004020d
movsd xmm0, qword [edi]
lea eax, [esp + 0x64]
sub esp, 8
movsd qword [esp], xmm0
push str.__.15g
push 0
push eax
call fcn.1001dda0
add esp, 0x14
jmp 0x1004033f
test al, 2
je 0x100402a3
mov ecx, dword [esp + 0x2c]
mov al, byte [ecx + 0x3e]
mov byte [esp + 0x24], al
cmp al, 1
je 0x10040270
mov edx, dword [edi + 0x10]
xorps xmm0, xmm0
push 0
push dword [esp + 0x28]
movq qword [esp + 0x58], xmm0
push dword [edi + 0xc]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x3c]
movaps xmmword [esp + 0x3c], xmm0
movaps xmmword [esp + 0x4c], xmm0
call fcn.10038320
add esp, 0xc
test byte [esp + 0x38], 2
je 0x1004026c
cmp byte [esp + 0x3a], 1
je 0x1004026c
mov dl, 1
lea ecx, [esp + 0x30]
call fcn.1001e150
lea edi, [esp + 0x30]
push dword [edi + 0x10]
lea eax, [esp + 0x68]
push dword [edi + 0xc]
push str._.q
push 0
push eax
call fcn.1001dda0
add esp, 0x14
cmp byte [esp + 0x24], 1
je 0x1004033f
lea ecx, [esp + 0x30]
call fcn.10037ca0
jmp 0x1004033f
test eax, 0x4000
je 0x100402c2
push dword [edi]
lea eax, [esp + 0x68]
push str.zeroblob__d_
push 0
push eax
call fcn.1001dda0
add esp, 0x10
jmp 0x1004033f
push 2
mov edx, 0x101d5760
lea ecx, [esp + 0x68]
call fcn.1001d8d0
mov eax, dword [edi + 0xc]
add esp, 4
xor edi, edi
mov dword [esp + 0x14], eax
test eax, eax
jle 0x1004030d
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0x10]
movzx eax, byte [eax + edi]
push eax
push str._02x
lea eax, [esp + 0x6c]
push 0
push eax
call fcn.1001dda0
inc edi
add esp, 0x10
cmp edi, dword [esp + 0x14]
jl 0x100402e6
mov esi, dword [esp + 8]
mov edx, dword [esp + 0x70]
inc edx
cmp edx, dword [esp + 0x74]
jb 0x1004032d
push 1
mov edx, 0x101d576c
lea ecx, [esp + 0x68]
call fcn.1001d890
add esp, 4
jmp 0x1004033f
mov eax, dword [esp + 0x6c]
mov cl, byte [0x101d576c]
mov dword [esp + 0x70], edx
mov byte [edx + eax - 1], cl
mov cl, byte [esi]
test cl, cl
je 0x1004004f
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
mov dword [esp + 8], edx
jmp 0x100400a0
mov eax, edx
pop edi
pop esi
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov byte [ecx + edx], 0
cmp dword [esp + 0x78], 0
jbe 0x100403b7
cmp byte [esp + 0x7d], 0
jne 0x100403b7
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x64]
inc eax
push 0
push eax
call fcn.1001bee0
add esp, 8
mov dword [esp + 0x6c], eax
test eax, eax
je 0x100403bb
mov ecx, dword [esp + 0x70]
inc ecx
push ecx
push dword [esp + 0x6c]
push eax
call fcn.101544a0
add esp, 0xc
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0xec]
pop edi
pop esi
xor ecx, esp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret