Function at 0x406ea0
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.00406ea0
call fcn.0041ca76
movzx eax, byte [esp + 0x58]
test al, 1
je 0x406eea
mov eax, dword [esp + 0x5c]
lea esi, [esp + 0xb8]
test eax, eax
jne 0x406f06
jmp 0x406ef7
shr eax, 1
lea esi, [esp + 0xb8]
test eax, eax
jne 0x406f06
mov dword [esp], ebx
lea ecx, [esp + 0x58]
call fcn.0041cba8
sub esp, 4
call fcn.0041cbcc
or byte [edi + 0xc], 1
mov dword [edi], 0
mov dword [edi + 4], eax
mov word [esp + 0x4c], 0x305
mov eax, dword [esi]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], str._clang
lea esi, [esp + 0x3c]
mov dword [esp], esi
lea ecx, [esp + 0x90]
call fcn.0041cb42
sub esp, 4
mov dword [esp + 0x3c], str.clang_
mov dword [esp + 0x44], 0x12
mov word [esp + 0x4c], 0xa03
mov dword [esp], esi
lea ecx, [esp + 0x84]
call fcn.0041cb42
sub esp, 4
test byte [esp + 0x90], 1
je 0x406f9b
mov eax, dword [esp + 0x98]
mov dword [esp + 0x3c], eax
test byte [esp + 0x84], 1
jne 0x406fb0
lea eax, [esp + 0x85]
jmp 0x406fb7
lea eax, [esp + 0x91]
mov dword [esp + 0x3c], eax
test byte [esp + 0x84], 1
je 0x406f92
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], str.clang
mov dword [esp + 0x48], str.clang_cl
lea eax, [esp + 0x24]
cmp eax, edi
je 0x407254
xor edi, edi
nop dword [eax]
mov ebx, dword [esp + edi + 0x3c]
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.0041ca8e
mov esi, eax
mov ebp, edx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x74], ecx
mov eax, 0
test ecx, ecx
je 0x407042
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.0041ca8e
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x407080
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
jmp 0x407082
xor eax, eax
mov esi, dword [esp + 0xb0]
lea ebp, [esp + 0x24]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
movsd xmm0, qword [esp + 0x14]
movsd qword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0x1c]
movsd qword [esp + 4], xmm0
mov dword [esp], ebp
call fcn.0041ca58
movzx eax, byte [esi + 0xc]
test al, 1
jne 0x4070dd
test byte [esi], 1
je 0x4070dd
mov eax, dword [esi + 8]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
movzx eax, byte [esi + 0xc]
test byte [esp + 0x30], 1
jne 0x407120
and al, 0xfe
mov ecx, dword [esp + 0x2c]
mov dword [esi + 8], ecx
movsd xmm0, qword [esp + 0x24]
movsd qword [esi], xmm0
xorps xmm0, xmm0
movsd qword [esp + 0x24], xmm0
mov dword [esp + 0x2c], 0
mov byte [esi + 0xc], al
test byte [esp + 0x30], 1
je 0x407136
jmp 0x407149
or al, 1
movsd xmm0, qword [esp + 0x24]
movsd qword [esi], xmm0
mov byte [esi + 0xc], al
test byte [esp + 0x30], 1
jne 0x407149
test byte [esp + 0x24], 1
je 0x407149
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esi + 0xc], 1
je 0x407569
mov eax, dword [esp + 0x54]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x407180
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
jmp 0x407182
xor eax, eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
movsd xmm0, qword [esp + 0x14]
movsd qword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0x1c]
movsd qword [esp + 4], xmm0
mov dword [esp], ebp
call fcn.0041ca58
movzx eax, byte [esi + 0xc]
test al, 1
jne 0x4071d2
test byte [esi], 1
je 0x4071d2
mov eax, dword [esi + 8]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
movzx eax, byte [esi + 0xc]
test byte [esp + 0x30], 1
jne 0x407210
and al, 0xfe
mov ecx, dword [esp + 0x2c]
mov dword [esi + 8], ecx
movsd xmm0, qword [esp + 0x24]
movsd qword [esi], xmm0
xorps xmm0, xmm0
movsd qword [esp + 0x24], xmm0
mov dword [esp + 0x2c], 0
mov byte [esi + 0xc], al
test byte [esp + 0x30], 1
je 0x407226
jmp 0x407239
or al, 1
movsd xmm0, qword [esp + 0x24]
movsd qword [esi], xmm0
mov byte [esi + 0xc], al
test byte [esp + 0x30], 1
jne 0x407239
test byte [esp + 0x24], 1
je 0x407239
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esi + 0xc], 1
je 0x407569
add edi, 4
cmp edi, 0x10
jne 0x406fe0
jmp 0x4074bf
xor edi, edi
nop word cs:[eax + eax]
mov ebx, dword [esp + edi + 0x3c]
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.0041ca8e
mov ebp, eax
mov esi, edx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x74], ecx
mov eax, 0
test ecx, ecx
je 0x4072c2
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.0041ca8e
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebp
test ebx, ebx
je 0x4073d0
mov dword [esp + 0x1c], ebx
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov dword [esp + 0x20], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
movsd xmm0, qword [esp + 0x14]
movsd qword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0x1c]
movsd qword [esp + 4], xmm0
lea ebp, [esp + 0x24]
mov dword [esp], ebp
call fcn.0041ca58
test byte [esp + 0x30], 1
mov esi, dword [esp + 0xb0]
jne 0x40735b
test byte [esp + 0x24], 1
je 0x40735b
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esi + 0xc], 1
je 0x407569
mov eax, dword [esp + 0x50]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], ebx
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov dword [esp + 0x20], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
movsd xmm0, qword [esp + 0x14]
movsd qword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0x1c]
movsd qword [esp + 4], xmm0
mov dword [esp], ebp
call fcn.0041ca58
test byte [esp + 0x30], 1
je 0x407496
jmp 0x4074a9
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
lea eax, [esp + 0x34]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
movsd xmm0, qword [esp + 0x14]
movsd qword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0x1c]
movsd qword [esp + 4], xmm0
lea ebx, [esp + 0x24]
mov dword [esp], ebx
call fcn.0041ca58
test byte [esp + 0x30], 1
mov esi, dword [esp + 0xb0]
jne 0x407435
test byte [esp + 0x24], 1
je 0x407435
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esi + 0xc], 1
je 0x407569
mov eax, dword [esp + 0x50]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
lea eax, [esp + 0x34]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
movsd xmm0, qword [esp + 0x14]
movsd qword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0x1c]
movsd qword [esp + 4], xmm0
mov dword [esp], ebx
call fcn.0041ca58
test byte [esp + 0x30], 1
jne 0x4074a9
test byte [esp + 0x24], 1
je 0x4074a9
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esi + 0xc], 1
je 0x407569
add edi, 4
cmp edi, 0x10
jne 0x407260
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 + 0x3c]
mov dword [esp], edi
call fcn.0041ca58
cmp edi, esi
je 0x4075dd
movzx eax, byte [esi + 0xc]
test al, 1
jne 0x407527
test byte [esi], 1
je 0x407527
mov eax, dword [esi + 8]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
movzx eax, byte [esi + 0xc]
test byte [esp + 0x48], 1
jne 0x40764d
and al, 0xfe
mov ecx, dword [esp + 0x44]
mov dword [esi + 8], ecx
movsd xmm0, qword [esp + 0x3c]
movsd qword [esi], xmm0
xorps xmm0, xmm0
movsd qword [esp + 0x3c], xmm0
mov dword [esp + 0x44], 0
mov byte [esi + 0xc], al
test byte [esp + 0x48], 1
je 0x407663
jmp 0x407676
mov bl, 1
test byte [esp + 0x84], 1
je 0x407584
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esp + 0x90], 1
jne 0x407594
test bl, bl
je 0x4075a7
jmp 0x4075bd
mov eax, dword [esp + 0x98]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test bl, bl
jne 0x4075bd
test byte [esi + 0xc], 1
jne 0x4075bd
test byte [esi], 1
je 0x4075bd
mov eax, dword [esi + 8]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esp + 0x58], 1
je 0x4075d0
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 + 0x48], 1
jne 0x4075f7
test byte [esp + 0x3c], 1
je 0x4075f7
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esi + 0xc], 1
je 0x40767c
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.0041ca58
test byte [esp + 0x48], 1
je 0x40773e
jmp 0x407751
or al, 1
movsd xmm0, qword [esp + 0x3c]
movsd qword [esi], xmm0
mov byte [esi + 0xc], al
test byte [esp + 0x48], 1
jne 0x407676
test byte [esp + 0x3c], 1
je 0x407676
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esi + 0xc], 1
jne 0x407695
mov al, 1
xor ebx, ebx
or bl, al
test byte [esp + 0x84], 1
jne 0x407575
jmp 0x407584
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.0041ca58
movzx eax, byte [esi + 0xc]
test al, 1
jne 0x4076f1
test byte [esi], 1
je 0x4076f1
mov eax, dword [esi + 8]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
movzx eax, byte [esi + 0xc]
test byte [esp + 0x48], 1
jne 0x407728
and al, 0xfe
mov ecx, dword [esp + 0x44]
mov dword [esi + 8], ecx
movsd xmm0, qword [esp + 0x3c]
movsd qword [esi], xmm0
xorps xmm0, xmm0
movsd qword [esp + 0x3c], xmm0
mov dword [esp + 0x44], 0
mov byte [esi + 0xc], al
test byte [esp + 0x48], 1
je 0x40773e
jmp 0x407751
or al, 1
movsd xmm0, qword [esp + 0x3c]
movsd qword [esi], xmm0
mov byte [esi + 0xc], al
test byte [esp + 0x48], 1
jne 0x407751
test byte [esp + 0x3c], 1
je 0x407751
mov eax, dword [esp + 0x44]
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 0x407575
jmp 0x407584