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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x8c
mov ebx, edx
mov dword [esp + 8], ecx
mov ecx, dword [edx]
mov eax, dword [ecx]
mov edx, dword [sym.imp.libLLVM_17.dll_llvm::ErrorInfoBase::ID]
push edx
call dword [eax + 0x18]
mov edi, dword [ebx]
mov dword [ebx], 0
test al, al
je 0x40f846
mov ebp, dword [esp + 0xa0]
call fcn.0041d042
mov ecx, dword [0x425a88]
mov edx, dword [0x425a8c]
mov dword [esp + 0x88], edx
mov dword [esp + 0x84], ecx
sub esp, 0x10
movsd xmm0, qword [esp + 0x94]
movsd qword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0xc], 0
call fcn.0041d0ba
add esp, 0x10
mov ebx, eax
lea ecx, [esp + 0x78]
push dword [ebp]
call fcn.0041d0ea
movzx eax, byte [esp + 0x78]
test al, 1
je 0x40f851
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x40f857
mov ecx, dword [ebp]
movzx eax, byte [ecx + 0x10]
test eax, eax
je 0x40f870
cmp eax, 1
jne 0x40f88a
mov dword [esp + 0x2c], 0x41f9c5
mov ecx, 0x41f9c5
mov word [esp + 0x3c], 0x103
mov al, 3
mov dword [esp], eax
mov al, 1
mov dword [esp + 4], eax
mov eax, dword [ebp + 4]
movzx edx, byte [eax + 0x10]
cmp edx, 1
je 0x40f8d7
test edx, edx
jne 0x40f901
mov word [esp + 0x1c], 0x100
mov word [esp + 0x50], 0x100
jmp 0x40f9a7
mov eax, dword [esp + 8]
mov dword [eax], edi
jmp 0x40fae2
shr eax, 1
test eax, eax
jne 0x40f7e8
mov eax, dword [ebp + 4]
movzx ecx, word [eax + 0x10]
mov word [esp + 0x50], cx
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x40], xmm0
jmp 0x40f9a7
mov word [esp + 0x3c], 0x100
mov word [esp + 0x1c], 0x100
mov word [esp + 0x50], 0x100
jmp 0x40f9a7
cmp byte [ecx + 0x11], 1
mov edx, dword [ecx + 4]
cmove ecx, dword [ecx]
movzx esi, al
mov eax, 2
cmove eax, esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 0x41f9c5
mov dword [esp], eax
mov byte [esp + 0x3c], al
mov byte [esp + 0x3d], 3
mov dword [esp + 4], 0
mov eax, dword [ebp + 4]
movzx edx, byte [eax + 0x10]
cmp edx, 1
jne 0x40f82b
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x1c], ecx
movups xmm0, xmmword [esp + 0x2c]
movups xmmword [esp + 0xc], xmm0
cmp cl, 1
je 0x40f95c
movzx eax, cl
test eax, eax
jne 0x40f96d
mov word [esp + 0x50], 0x100
jmp 0x40f9a7
cmp byte [esp + 4], 0
lea ebp, [esp + 0x2c]
cmovne ebp, ecx
movzx ecx, byte [esp]
mov esi, 2
cmove ecx, esi
cmp byte [eax + 0x11], 1
mov esi, dword [eax + 4]
mov dword [esp], esi
cmove eax, dword [eax]
movzx edx, dl
mov esi, 2
cmovne edx, esi
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov eax, dword [esp]
mov dword [esp + 0x18], eax
mov byte [esp + 0x1c], cl
mov byte [esp + 0x1d], dl
cmp cl, 1
jne 0x40f8ee
mov dword [esp + 0x40], 0x41f967
mov word [esp + 0x50], 0x103
jmp 0x40f9a7
cmp byte [esp + 0x1d], 1
mov ebp, dword [esp + 0x10]
lea edx, [esp + 0xc]
cmove edx, dword [esp + 0xc]
mov ecx, 2
cmove ecx, eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0xa0]
mov dword [esp + 0x48], 0x41f967
mov byte [esp + 0x50], cl
mov byte [esp + 0x51], 3
lea ecx, [esp + 0x40]
push ebx
call fcn.0041d0f0
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
sub ecx, eax
cmp ecx, 1
ja 0x40f9d0
mov ecx, ebx
push 2
push 0x41f8c0
call fcn.0041cfca
mov ebx, eax
jmp 0x40f9d9
mov word [eax], 0x203a
add dword [ebx + 0x10], 2
lea ecx, [esp + 0x6c]
push dword [ebp + 8]
call fcn.0041d0ea
movzx eax, byte [esp + 0x6c]
test al, 1
je 0x40fa0f
mov eax, dword [esp + 0x70]
test eax, eax
je 0x40fa15
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x10]
cmp ecx, 1
je 0x40fa1e
test ecx, ecx
jne 0x40fa2f
mov word [esp + 0x68], 0x100
jmp 0x40fa5d
shr eax, 1
test eax, eax
jne 0x40f9f6
mov word [esp + 0x68], 0x101
jmp 0x40fa5d
mov dword [esp + 0x58], 0x41f8c0
mov word [esp + 0x68], 0x103
jmp 0x40fa5d
cmp byte [eax + 0x11], 1
mov ebp, dword [eax + 4]
cmove eax, dword [eax]
movzx ecx, cl
mov edx, 2
cmove edx, ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], 0x41f8c0
mov byte [esp + 0x68], dl
mov byte [esp + 0x69], 3
lea ecx, [esp + 0x58]
push ebx
call fcn.0041d0f0
mov eax, dword [edi]
lea ecx, [esp + 0x20]
push edi
call dword [eax + 0xc]
movzx eax, byte [esp + 0x20]
test al, 1
je 0x40fa84
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
jmp 0x40fa8a
shr eax, 1
lea edx, [esp + 0x21]
mov ecx, ebx
push eax
push edx
call fcn.0041cfca
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x40fb02
mov byte [ecx], 0xa
inc dword [eax + 0x10]
test byte [esp + 0x20], 1
je 0x40fab4
push dword [esp + 0x28]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x6c], 1
jne 0x40faed
test byte [esp + 0x78], 1
je 0x40fad1
push dword [esp + 0x80]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov eax, dword [esp + 8]
mov dword [eax], 0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
add esp, 0x8c
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [esp + 0x74]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x78], 1
jne 0x40fac2
jmp 0x40fad1
mov ecx, eax
push 1
push 0x41f8c3
call fcn.0041cfca
test byte [esp + 0x20], 1
jne 0x40faa8
jmp 0x40fab4