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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x9c
mov edi, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
mov dword [esp + 4], ebx
lea eax, [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 8], fcn.004073e0
call fcn.0041bc9a
movzx eax, byte [esp + 0x58]
test al, 1
je 0x40742a
mov eax, dword [esp + 0x5c]
lea esi, [esp + 0xb8]
test eax, eax
jne 0x407446
jmp 0x407437
shr eax, 1
lea esi, [esp + 0xb8]
test eax, eax
jne 0x407446
mov dword [esp], ebx
lea ecx, [esp + 0x58]
call fcn.0041bdcc
sub esp, 4
call fcn.0041bdea
or byte [edi + 0xc], 1
mov dword [edi], 0
mov dword [edi + 4], eax
mov word [esp + 0x44], 0x305
mov eax, dword [esi]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], str._clang
lea esi, [esp + 0x34]
mov dword [esp], esi
lea ecx, [esp + 0x90]
call fcn.0041bd66
sub esp, 4
mov dword [esp + 0x34], str.clang_
mov dword [esp + 0x3c], 0x11
mov word [esp + 0x44], 0x903
mov dword [esp], esi
lea ecx, [esp + 0x84]
call fcn.0041bd66
sub esp, 4
test byte [esp + 0x90], 1
je 0x4074db
mov eax, dword [esp + 0x98]
mov dword [esp + 0x34], eax
test byte [esp + 0x84], 1
jne 0x4074f0
lea eax, [esp + 0x85]
jmp 0x4074f7
lea eax, [esp + 0x91]
mov dword [esp + 0x34], eax
test byte [esp + 0x84], 1
je 0x4074d2
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], str.clang
mov dword [esp + 0x40], str.clang_cl
lea eax, [esp + 0x14]
cmp eax, edi
je 0x407792
xor edi, edi
nop dword [eax]
mov ebx, dword [esp + edi*4 + 0x34]
movzx eax, byte [esp + 0x58]
mov ecx, eax
shr ecx, 1
test al, 1
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x59]
cmove eax, edx
mov dword [esp + 0x7c], eax
cmovne ecx, dword [esp + 0x5c]
mov dword [esp + 0x80], ecx
movsd xmm0, qword [esp + 0x7c]
movsd qword [esp], xmm0
mov dword [esp + 8], 0
call fcn.0041bcb2
mov esi, eax
mov ebp, edx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x74], ecx
mov eax, 0
test ecx, ecx
je 0x407582
mov dword [esp], ecx
call sub.msvcrt.dll_strlen
mov dword [esp + 0x78], eax
movsd xmm0, qword [esp + 0x74]
movsd qword [esp], xmm0
mov dword [esp + 8], 0
call fcn.0041bcb2
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], esi
mov dword [esp + 0x2c], ebx
test ebx, ebx
mov dword [esp + 0x54], eax
je 0x4075c0
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
jmp 0x4075c2
xor eax, eax
mov esi, dword [esp + 0xb0]
lea ebp, [esp + 0x14]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 1
movsd xmm0, qword [esp + 0x24]
movsd qword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0x2c]
movsd qword [esp + 4], xmm0
mov dword [esp], ebp
call fcn.0041bc82
movzx eax, byte [esi + 0xc]
test al, 1
jne 0x40761d
test byte [esi], 1
je 0x40761d
mov eax, dword [esi + 8]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
movzx eax, byte [esi + 0xc]
test byte [esp + 0x20], 1
jne 0x407660
and al, 0xfe
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], ecx
movsd xmm0, qword [esp + 0x14]
movsd qword [esi], xmm0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0
mov byte [esi + 0xc], al
test byte [esp + 0x20], 1
je 0x407676
jmp 0x407689
or al, 1
movsd xmm0, qword [esp + 0x14]
movsd qword [esi], xmm0
mov byte [esi + 0xc], al
test byte [esp + 0x20], 1
jne 0x407689
test byte [esp + 0x14], 1
je 0x407689
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esi + 0xc], 1
je 0x407aae
mov eax, dword [esp + 0x54]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x2c], ebx
test ebx, ebx
je 0x4076c0
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
jmp 0x4076c2
xor eax, eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 1
movsd xmm0, qword [esp + 0x24]
movsd qword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0x2c]
movsd qword [esp + 4], xmm0
mov dword [esp], ebp
call fcn.0041bc82
movzx eax, byte [esi + 0xc]
test al, 1
jne 0x407712
test byte [esi], 1
je 0x407712
mov eax, dword [esi + 8]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
movzx eax, byte [esi + 0xc]
test byte [esp + 0x20], 1
jne 0x407750
and al, 0xfe
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], ecx
movsd xmm0, qword [esp + 0x14]
movsd qword [esi], xmm0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0
mov byte [esi + 0xc], al
test byte [esp + 0x20], 1
je 0x407766
jmp 0x407779
or al, 1
movsd xmm0, qword [esp + 0x14]
movsd qword [esi], xmm0
mov byte [esi + 0xc], al
test byte [esp + 0x20], 1
jne 0x407779
test byte [esp + 0x14], 1
je 0x407779
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esi + 0xc], 1
je 0x407aae
inc edi
cmp edi, 4
jne 0x407520
jmp 0x4079fd
xor edi, edi
nop word cs:[eax + eax]
mov ebx, dword [esp + edi*4 + 0x34]
movzx eax, byte [esp + 0x58]
mov ecx, eax
shr ecx, 1
test al, 1
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x59]
cmove eax, edx
mov dword [esp + 0x7c], eax
cmovne ecx, dword [esp + 0x5c]
mov dword [esp + 0x80], ecx
movsd xmm0, qword [esp + 0x7c]
movsd qword [esp], xmm0
mov dword [esp + 8], 0
call fcn.0041bcb2
mov ebp, eax
mov esi, edx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x74], ecx
mov eax, 0
test ecx, ecx
je 0x407802
mov dword [esp], ecx
call sub.msvcrt.dll_strlen
mov dword [esp + 0x78], eax
movsd xmm0, qword [esp + 0x74]
movsd qword [esp], xmm0
mov dword [esp + 8], 0
call fcn.0041bcb2
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebp
test ebx, ebx
je 0x407910
mov dword [esp + 0x2c], ebx
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov dword [esp + 0x30], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 1
movsd xmm0, qword [esp + 0x24]
movsd qword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0x2c]
movsd qword [esp + 4], xmm0
lea ebp, [esp + 0x14]
mov dword [esp], ebp
call fcn.0041bc82
test byte [esp + 0x20], 1
jne 0x407894
test byte [esp + 0x14], 1
je 0x407894
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
mov esi, dword [esp + 0xb0]
test byte [esi + 0xc], 1
je 0x407aae
mov eax, dword [esp + 0x50]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x2c], ebx
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov dword [esp + 0x30], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 1
movsd xmm0, qword [esp + 0x24]
movsd qword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0x2c]
movsd qword [esp + 4], xmm0
mov dword [esp], ebp
call fcn.0041bc82
test byte [esp + 0x20], 1
je 0x4079d6
jmp 0x4079e9
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
lea eax, [esp + 0x48]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 1
movsd xmm0, qword [esp + 0x24]
movsd qword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0x2c]
movsd qword [esp + 4], xmm0
lea ebx, [esp + 0x14]
mov dword [esp], ebx
call fcn.0041bc82
test byte [esp + 0x20], 1
jne 0x40796e
test byte [esp + 0x14], 1
je 0x40796e
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
mov esi, dword [esp + 0xb0]
test byte [esi + 0xc], 1
je 0x407aae
mov eax, dword [esp + 0x50]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
lea eax, [esp + 0x48]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 1
movsd xmm0, qword [esp + 0x24]
movsd qword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0x2c]
movsd qword [esp + 4], xmm0
mov dword [esp], ebx
call fcn.0041bc82
test byte [esp + 0x20], 1
jne 0x4079e9
test byte [esp + 0x14], 1
je 0x4079e9
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esi + 0xc], 1
je 0x407aae
inc edi
cmp edi, 4
jne 0x4077a0
mov dword [esp + 0x6c], str.clang
mov dword [esp + 0x70], 5
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
movsd xmm0, qword [esp + 0x64]
movsd qword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0x6c]
movsd qword [esp + 4], xmm0
lea edi, [esp + 0x34]
mov dword [esp], edi
call fcn.0041bc82
cmp edi, esi
je 0x407b22
movzx eax, byte [esi + 0xc]
test al, 1
jne 0x407a65
test byte [esi], 1
je 0x407a65
mov eax, dword [esi + 8]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
movzx eax, byte [esi + 0xc]
test byte [esp + 0x40], 1
jne 0x407b92
and al, 0xfe
mov ecx, dword [esp + 0x3c]
mov dword [esi + 8], ecx
movsd xmm0, qword [esp + 0x34]
movsd qword [esi], xmm0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov byte [esi + 0xc], al
test byte [esp + 0x40], 1
je 0x407ba8
jmp 0x407bbb
mov bl, 1
test byte [esp + 0x84], 1
je 0x407ac9
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esp + 0x90], 1
jne 0x407ad9
test bl, bl
je 0x407aec
jmp 0x407b02
mov eax, dword [esp + 0x98]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test bl, bl
jne 0x407b02
test byte [esi + 0xc], 1
jne 0x407b02
test byte [esi], 1
je 0x407b02
mov eax, dword [esi + 8]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esp + 0x58], 1
je 0x407b15
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
mov eax, esi
add esp, 0x9c
pop esi
pop edi
pop ebx
pop ebp
ret
test byte [esp + 0x40], 1
jne 0x407b3c
test byte [esp + 0x34], 1
je 0x407b3c
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esi + 0xc], 1
je 0x407bc1
mov dword [esp + 0x6c], str.clang_cl
mov dword [esp + 0x70], 8
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
movsd xmm0, qword [esp + 0x64]
movsd qword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0x6c]
movsd qword [esp + 4], xmm0
mov dword [esp], edi
call fcn.0041bc82
test byte [esp + 0x40], 1
je 0x407c8a
jmp 0x407c9d
or al, 1
movsd xmm0, qword [esp + 0x34]
movsd qword [esi], xmm0
mov byte [esi + 0xc], al
test byte [esp + 0x40], 1
jne 0x407bbb
test byte [esp + 0x34], 1
je 0x407bbb
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esi + 0xc], 1
jne 0x407bda
mov al, 1
xor ebx, ebx
or bl, al
test byte [esp + 0x84], 1
jne 0x407aba
jmp 0x407ac9
mov dword [esp + 0x6c], str.clang_cl
mov dword [esp + 0x70], 8
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
movsd xmm0, qword [esp + 0x64]
movsd qword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0x6c]
movsd qword [esp + 4], xmm0
mov dword [esp], edi
call fcn.0041bc82
movzx eax, byte [esi + 0xc]
test al, 1
jne 0x407c36
test byte [esi], 1
je 0x407c36
mov eax, dword [esi + 8]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
movzx eax, byte [esi + 0xc]
test byte [esp + 0x40], 1
jne 0x407c74
and al, 0xfe
mov ecx, dword [esp + 0x3c]
mov dword [esi + 8], ecx
movsd xmm0, qword [esp + 0x34]
movsd qword [esi], xmm0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov byte [esi + 0xc], al
test byte [esp + 0x40], 1
je 0x407c8a
jmp 0x407c9d
or al, 1
movsd xmm0, qword [esp + 0x34]
movsd qword [esi], xmm0
mov byte [esi + 0xc], al
test byte [esp + 0x40], 1
jne 0x407c9d
test byte [esp + 0x34], 1
je 0x407c9d
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
movzx ebx, byte [esi + 0xc]
and bl, 1
sete al
or bl, al
test byte [esp + 0x84], 1
jne 0x407aba
jmp 0x407ac9