Function at 0x43b610
Capabilities:
Accept command line arguments
Check mutex on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ccf9
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4825c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xc4], edi
lea esi, [edi + 0x10]
xor eax, eax
xorps xmm0, xmm0
mov dword [ebp - 0xb0], eax
movups xmmword [esi], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov dword [ebp - 0xa4], eax
mov word [esi], ax
push 7
push str.Global_
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.00401ff0
mov ecx, 0x482468
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b690
sub ecx, edx
sar ecx, 1
push ecx
push 0x482468
mov ecx, esi
call fcn.00401e70
cmp dword [esi + 0x14], 7
jbe 0x43b6b4
mov esi, dword [esi]
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [edi + 4]
push eax
mov dword [ebp - 0xbc], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword [edi + 4]
cmp esi, 0xb7
mov edx, eax
sete al
mov dword [edi + 8], edx
mov byte [edi], al
je 0x43b959
cmp ecx, 2
jne 0x43b78a
mov edx, dword [edx + 4]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b720
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00401510
cmp dword [ebp - 0x14], 7
lea edi, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
mov eax, 1
mov esi, dword [ebp - 0x18]
cmova edi, ecx
mov dword [ebp - 0xa4], eax
cmp esi, 4
jne 0x43b793
mov edx, 0x46f118
test esi, esi
je 0x43b781
sub edi, edx
movzx ecx, word [edi + edx]
movzx eax, word [edx]
cmp cx, ax
jne 0x43b78a
add edx, 2
sub esi, 1
jne 0x43b764
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 0xa5], 1
jmp 0x43b79a
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 0xa5], 0
test al, 1
je 0x43b7d5
mov eax, dword [ebp - 0x14]
cmp eax, 7
jbe 0x43b7d5
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43b7cb
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43bfa6
push edx
push ecx
call fcn.00448427
add esp, 8
cmp byte [ebp - 0xa5], 0
je 0x43b936
cmp dword [0x484b8c], 7
mov eax, 0x484b78
push 0x34
cmova eax, dword [0x484b78]
push eax
push 0x471aa8
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x43b936
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.0043e840
add esp, 4
test al, al
je 0x43b8fc
mov edx, dword [0x484b88]
mov eax, 0x7ffffffe
mov esi, dword [0x484ba0]
sub eax, edx
cmp eax, esi
jb 0x43bfab
cmp dword [0x484b8c], 7
mov ecx, 0x484b78
push esi
cmova ecx, dword [0x484b78]
mov eax, 0x484b90
cmp dword [0x484ba4], 7
cmova eax, dword [0x484b90]
push eax
push edx
push ecx
push 0x484b78
push dword [ebp - 0xc4]
lea ecx, [ebp - 0xa0]
call fcn.004017a0
push 0x46eed4
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00404180
add esp, 0xc
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 3
jbe 0x43b8ca
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00401e70
lea ecx, [ebp - 0x88]
call fcn.00401940
lea ecx, [ebp - 0xa0]
call fcn.00401940
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x43b936
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43b92c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43bfb0
push ecx
push edx
call fcn.00448427
add esp, 8
mov edi, dword [ebp - 0xac]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448686
mov esp, ebp
pop ebp
ret
cmp ecx, 2
jl 0x43b93c
push 0
push 0x482468
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0xb4], eax
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push eax
call fcn.0043e840
add esp, 4
test al, al
je 0x43bf90
xor edi, edi
mov dword [ebp - 0x44], 7
xorps xmm0, xmm0
mov dword [ebp - 0x48], edi
xor eax, eax
movups xmmword [ebp - 0x58], xmm0
mov word [ebp - 0x58], ax
nop dword [eax]
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x174], 0x46e724
mov dword [ebp - 0x164], 0x46e72c
call fcn.00404e40
mov eax, dword [ebp - 0xa4]
lea ecx, [ebp - 0x174]
or eax, 8
mov byte [ebp - 4], 6
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0x15c]
push 0
push eax
call fcn.00404eb0
mov eax, dword [ebp - 0x174]
xorps xmm0, xmm0
push 8
mov dword [ebp - 4], 7
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x174]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x178], eax
mov dword [ebp - method.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
movups xmmword [ebp - 0x158], xmm0
movups xmmword [ebp - 0x148], xmm0
movups xmmword [ebp - 0x138], xmm0
call fcn.004483f7
mov esi, eax
add esp, 4
test esi, esi
je 0x43ba7f
push 1
mov byte [ebp - 4], 8
call fcn.00446c32
add esp, 4
mov dword [esi + 4], eax
jmp 0x43ba81
xor esi, esi
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x128], esi
call fcn.00406c50
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
cmp dword [ebp - 0x5c], 7
lea eax, [ebp - 0x70]
push dword [ebp - 0x60]
cmova eax, dword [ebp - 0x70]
push eax
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 9
push eax
call fcn.00424e50
add esp, 0xc
inc edi
mov ecx, eax
push edi
call fcn.004060a0
mov edx, dword [ebp - 0x120]
xor eax, eax
xorps xmm0, xmm0
mov byte [ebp - 4], 0xa
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x40], ax
mov esi, 7
mov eax, dword [ebp - 0xa4]
or eax, 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xb0], eax
mov eax, edx
and al, 0x22
mov dword [ebp - 0x2c], esi
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
cmp al, 2
je 0x43bb51
mov eax, dword [ebp - 0x13c]
mov ecx, dword [eax]
test ecx, ecx
je 0x43bb51
cmp ecx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x14c]
cmovb ecx, dword [ebp - 0x124]
mov edx, dword [eax]
sub ecx, edx
sar ecx, 1
jmp 0x43bb81
test dl, 4
jne 0x43bb7b
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax]
test ecx, ecx
je 0x43bb7b
mov eax, dword [ebp - 0x150]
mov edx, dword [eax]
mov eax, dword [ebp - 0x130]
mov eax, dword [eax]
lea ecx, [ecx + eax*2]
sub ecx, edx
sar ecx, 1
jmp 0x43bb81
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x43bb92
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00401ff0
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xa4]
lea ecx, [ebp - 0x58]
and eax, 0xfffffffb
mov dword [ebp - 4], 9
or eax, 2
mov dword [ebp - 0xa4], eax
call fcn.00401940
movups xmm1, xmmword [ebp - 0x40]
lea ecx, [ebp - 0x58]
cmp esi, 7
movq xmm0, qword [ebp - 0x30]
push 0
push 0x80
push 1
push 0
movd eax, xmm1
push 0
push 0x40000000
cmova ecx, eax
movq qword [ebp - 0x48], xmm0
push ecx
movups xmmword [ebp - 0x58], xmm1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x174]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x174]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x178], eax
lea ecx, [ebp - 0x15c]
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
call fcn.00407400
mov esi, dword [ebp - 0x128]
mov dword [ebp - method.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
test esi, esi
je 0x43bc66
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43bc5b
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, eax
test ecx, ecx
je 0x43bc5b
mov eax, dword [ecx]
push 1
call dword [eax]
push 8
push esi
call fcn.00448427
add esp, 8
mov eax, dword [ebp - 0x174]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x174]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x178], eax
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x164]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x168], eax
mov eax, dword [ebp - 0x174]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x174]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x178], eax
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 0xb
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0044739c
add esp, 4
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x43b9c0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xc0], edi
mov edi, dword [ebp - 0xac]
test eax, eax
je 0x43bf5a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x9c7d
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0043e6b0
or dword [ebp - 0xa4], 0x20
add esp, 0xc
cmp dword [ebp - 0x8c], 0xf
lea eax, [ebp - 0xa0]
push 1
cmova eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x234]
push 0x40
push 2
push eax
mov byte [ebp - 4], 0xc
call fcn.00411310
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xe
call fcn.004018f0
mov esi, 1
cmp dword [edi + 4], esi
jle 0x43bf2b
mov eax, dword [edi + 8]
xorps xmm0, xmm0
mov edx, dword [eax + esi*4]
mov ecx, edx
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43bdb5
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x88]
call fcn.00401510
push 0x9c7d
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0043e6b0
or dword [ebp - 0xa4], 0x10
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmova eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 0x10
push eax
call fcn.0040e110
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0xb8], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx + 0x30]
mov edi, dword [eax + 4]
mov ecx, edi
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x11
push eax
call fcn.00410c30
mov ecx, eax
add esp, 4
mov eax, dword [ecx]
push 0xa
mov eax, dword [eax + 0x20]
call eax
mov byte [ebp - 0xb0], al
mov byte [ebp - 4], 0x10
test edi, edi
je 0x43be6f
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 8]
call eax
mov ecx, eax
test ecx, ecx
je 0x43be6f
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xb8]
call fcn.00417b30
mov ecx, dword [ebp - 0xb8]
call fcn.00408c40
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xf
cmp ecx, 0xf
jbe 0x43bec3
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43beb9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43bfa6
push ecx
push edx
call fcn.00448427
add esp, 8
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0xe
cmp ecx, 7
jbe 0x43bf16
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43bf0c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43bfa6
push ecx
push edx
call fcn.00448427
add esp, 8
mov eax, dword [ebp - 0xbc]
inc esi
mov edi, dword [ebp - 0xac]
cmp esi, dword [eax]
jl 0x43bd92
lea ecx, [ebp - 0x234]
call fcn.00413d20
push 0
push dword [ebp - 0xc0]
push 0x8000
push dword [ebp - 0xb4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x234]
call fcn.00412570
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x43bf90
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43bf86
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43bfb5
push ecx
push edx
call fcn.00448427
add esp, 8
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x70]
call fcn.00401940
jmp 0x43b93c
call fcn.0044d0af
call fcn.00401e50
call fcn.0044d0af
call fcn.0044d0af
int3