Function at 0x40a32f
Capabilities:
Create process on windows
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4d2730
mov eax, dword fs:[0]
push eax
sub esp, 0x64c
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x648], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x517490]
xor eax, esp
push eax
lea eax, [esp + 0x660]
mov dword fs:[0], eax
mov bx, dx
mov dword [esp + 0x24], ecx
movzx eax, bl
mov edi, dword [eax*4 + 0x529a6c]
test edi, edi
je 0x40a6f7
cmp dword [edi + 0x70], 0x14
jl 0x40a6f7
cmp dword [edi + 0x70], 0x17
jg 0x40a6f7
lea ecx, [esp + 0x8c]
call fcn.0041e421
xor esi, esi
mov dword [esp + 0x668], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x1cc]
mov byte [esp + 0x668], 1
call fcn.0040d960
movzx ebx, bx
mov ebp, eax
push ebx
push 0x72757de5
mov edx, 0x727aa60d
mov dword [esp + 0x28], ebp
mov ecx, 0x392090ca
call fcn.0040143b
pop ecx
push eax
push ebp
mov ebp, dword [sym.imp.USER32.dll_wsprintfW]
call ebp
add esp, 0xc
lea eax, [esp + 0x14]
mov edx, 0x9ec48d4
mov ecx, 0x42b67e03
push eax
lea eax, [esp + 0x90]
push eax
push 0x9e39333
call fcn.0040141a
pop ecx
mov edx, eax
lea ecx, [esp + 0x1d4]
call fcn.00409fe3
push 0x17c
call fcn.004b9c6e
add esp, 0xc
mov dword [esp + 0x28], eax
mov byte [esp + 0x668], 2
test eax, eax
je 0x40a44e
mov ecx, eax
call fcn.00444d4d
mov esi, eax
mov byte [esp + 0x668], 1
test esi, esi
je 0x40a58c
lea ecx, [esp + 0x2c]
call fcn.00423b5c
lea eax, [ebx - 0x41]
mov byte [esp + 0x668], 3
push eax
lea ecx, [esp + 0x30]
call fcn.004242c5
test al, al
je 0x40a56d
push 0
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.00445664
test al, al
je 0x40a564
push ebx
push 0x43f6aa0b
mov edx, 0x43f971e3
mov ecx, 0x8a347ca
call fcn.0040143b
pop ecx
push eax
push dword [esp + 0x28]
call ebp
add esp, 0xc
mov edx, 0xf8bcc62
mov ecx, 0x44d1fa5b
push 0xf84178f
call fcn.0040143b
pop ecx
push eax
lea eax, [esp + 0x1d0]
push eax
call fcn.004ba35a
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x40a538
push 0
push 0
push ebx
mov ecx, esi
call fcn.00444fc7
push ebx
call fcn.004ba4a0
pop ecx
lea eax, [esp + 0x14]
mov edx, 0x3a225124
push eax
lea eax, [esp + 0x90]
mov ecx, 0x71786713
push eax
push 0x3a2d8acc
call fcn.0040141a
pop ecx
mov edx, eax
lea ecx, [esp + 0x1d4]
call fcn.00409fe3
pop ecx
pop ecx
lea eax, [esp + 0x1cc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x14]
xor ebx, ebx
push eax
lea eax, [esp + 0x90]
mov ecx, esi
push eax
push ebx
push ebx
call fcn.0044545d
push eax
lea edx, [esp + 0x1d8]
push esi
push ebx
mov ecx, edx
call fcn.0040a020
add esp, 0x14
lea ecx, [esp + 0x2c]
call fcn.00423be8
mov ecx, esi
call fcn.00444e5d
push esi
call fcn.004b9c69
pop ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x668], 1
call fcn.00423b89
push 0x10b6cc5e
mov edx, 0x10b917b8
mov ecx, 0x5be321b1
call fcn.0040143b
lea edx, [esp + 0x1d0]
pop ecx
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
lea eax, [eax + 2]
test cx, cx
jne 0x40a5aa
lea ecx, [esp + 0x1dc]
call fcn.0040d960
lea ecx, [edi + 0x94]
mov edx, 0x8f45a048
push ecx
push 0x4ee590
push 0x8f4a7bb2
mov ecx, 0xc41f965d
mov esi, eax
call fcn.0040143b
pop ecx
push eax
push esi
call ebp
add esp, 0x10
lea eax, [esp + 0x414]
xor ebx, ebx
push ebx
push ebx
push 0x248
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x1f0]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 0x414]
push eax
lea ecx, [esp + 0x90]
call fcn.0041f127
mov eax, dword [esp + 0x18]
mov esi, ebx
mov ecx, dword [esp + 0x14]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x40a654
push dword [ecx + esi*4]
call fcn.00404d44
mov eax, dword [esp + 0x1c]
inc esi
pop ecx
mov ecx, dword [esp + 0x14]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x40a639
lea eax, [esp + 0x1dc]
mov edx, 0xfeed662f
push eax
push 0xfee2bdd4
mov ecx, 0xb5b75066
call fcn.0040143b
pop ecx
push eax
lea eax, [esp + 0x41c]
push eax
call ebp
add esp, 0xc
lea eax, [esp + 0x414]
push 0x40
push 0x4ee5d0
push eax
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x40a6da
push eax
push ebx
lea eax, [esp + 0x1d4]
mov edx, 0x656b214f
push eax
push 0x6564faa9
mov ecx, 0x2e3116f8
call fcn.0040143b
pop ecx
push eax
push 0xc8fa421b
mov edx, 0xc8f599f1
mov ecx, 0x83afae52
call fcn.0040143b
pop ecx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x14]
call fcn.0040a7be
or dword [esp + 0x668], 0xffffffff
lea ecx, [esp + 0x8c]
call fcn.0041e51d
mov ecx, dword [esp + 0x660]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x648]
xor ecx, esp
call fcn.004b94b6
add esp, 0x658
ret