Function at 0x402d0e
Capabilities:
Create directory
Create process on windows
Delete file
Delete registry key
Delete registry value
Enumerate process modules
Move file
Set registry value
Terminate process
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x417ad7
mov eax, dword fs:[0]
push eax
mov eax, 0x10ac
call fcn.00414a40
mov eax, dword [0x41d2f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
mov edi, ecx
push 0x419da0
push edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x6c], ebx
call fcn.00406f79
or esi, 0xffffffff
cmp eax, esi
push ebx
je 0x402dc5
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x70], esp
push 0x41edb0
call fcn.00406ec3
lea ebx, [ebp - 0x48]
call fcn.00401b88
mov ebx, eax
and dword [ebp - 4], 0
push esi
push 3
push edi
lea esi, [ebp - 0x2c]
call fcn.00406f9e
cmp dword [ebx + 0x18], 0x10
jb 0x402d95
mov ebx, dword [ebx + 4]
jmp 0x402d98
add ebx, 4
cmp dword [eax + 0x18], 0x10
jb 0x402da3
mov eax, dword [eax + 4]
jmp 0x402da6
add eax, 4
push ebx
push eax
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401469
push esi
lea ecx, [ebp - 0x48]
jmp 0x403ba3
push 0x419da4
push edi
call fcn.00406f79
cmp eax, esi
je 0x402e07
push esi
push 3
push edi
lea esi, [ebp - 0x2c]
call fcn.00406f9e
cmp dword [eax + 0x18], 0x10
jb 0x402deb
mov eax, dword [eax + 4]
jmp 0x402dee
add eax, 4
push 5
push ebx
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x2c]
jmp 0x403ba2
push ebx
push 0x419da8
push edi
call fcn.00406f79
cmp eax, esi
je 0x402ea6
push esi
push 3
push edi
lea esi, [ebp - 0x48]
call fcn.00406f9e
lea eax, [ebp - 0x70]
push eax
push 0x1000
lea eax, [ebp - 0x10b8]
push eax
mov dword [ebp - 4], 1
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x402e9e
mov esi, dword [ebp - 0x70]
lea eax, [ebp - 0x48]
shr esi, 2
xor edi, edi
call fcn.00401c60
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
jae 0x402e63
lea eax, [ebp - 0x44]
push eax
push dword [ebp + edi*4 - 0x10b8]
call fcn.00401a38
cmp eax, ebx
mov dword [ebp - 0x7c], eax
jne 0x402e7e
cmp edi, esi
jae 0x402e7e
inc edi
jmp 0x402e57
lea ecx, [ebp - 0x78]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x48]
jmp 0x403ba2
push ebx
push 0x419dac
push edi
call fcn.00406f79
cmp eax, esi
je 0x402ef5
push esi
push 3
push edi
lea esi, [ebp - 0x2c]
call fcn.00406f9e
push str.shutdown
mov dword [ebp - 4], 2
call fcn.0040789c
pop ecx
push ebx
push 1
mov ecx, esi
mov byte [ebp - 0x65], al
call fcn.00401469
cmp byte [ebp - 0x65], bl
je 0x402eea
push 1
jmp 0x402eeb
push ebx
call fcn.00402be4
jmp 0x403baa
push ebx
push 0x419dbc
push edi
call fcn.00406f79
cmp eax, esi
je 0x402f44
push esi
push 3
push edi
lea esi, [ebp - 0x2c]
call fcn.00406f9e
push str.true
mov dword [ebp - 4], 3
call fcn.0040789c
pop ecx
push ebx
push 1
mov ecx, esi
mov byte [ebp - 0x65], al
call fcn.00401469
cmp byte [ebp - 0x65], bl
je 0x402f39
push 1
jmp 0x402f3a
push ebx
call sub.USER32.dll_BlockInput
jmp 0x403baa
push ebx
push 0x419dc0
push edi
call fcn.00406f79
cmp eax, esi
je 0x402ff9
push esi
push 3
push edi
lea esi, [ebp - 0x48]
call fcn.00406f9e
mov dword [ebp - 4], 4
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 0x6c], 1
jb 0x402f7d
mov eax, dword [eax + 4]
jmp 0x402f80
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x402fac
push 0xffffffffffffffff
push 3
push edi
lea esi, [ebp - 0x2c]
call fcn.00406f9e
mov dword [ebp - 0x6c], 3
call fcn.00402827
test al, al
mov byte [ebp - 0x65], 1
jne 0x402faf
mov byte [ebp - 0x65], bl
test byte [ebp - 0x6c], 2
je 0x402fc4
and dword [ebp - 0x6c], 0xfffffffd
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401469
test byte [ebp - 0x6c], 1
je 0x402fd5
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00401469
cmp byte [ebp - 0x65], bl
je 0x403baa
cmp dword [edi + 0x18], 0x10
jb 0x402fe9
mov edi, dword [edi + 4]
jmp 0x402fec
add edi, 4
push 0x30
push edi
push str.Could_not_delete_file.
jmp 0x403732
push ebx
push 0x419ddc
push edi
call fcn.00406f79
cmp eax, esi
push ebx
je 0x40309a
push str._to_
push edi
call fcn.00406f79
cmp eax, esi
mov dword [ebp - 0x6c], eax
je 0x403baa
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x70], esp
push 0xffffffffffffffff
add eax, 4
push eax
push edi
call fcn.00406f9e
sub esp, 0x1c
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffffd
mov esi, esp
mov dword [ebp - 0x7c], esp
push eax
push 3
push edi
mov dword [ebp - 0x78], eax
call fcn.00406f9e
or dword [ebp - 4], 0xffffffff
call fcn.0040286c
cmp al, bl
jne 0x403baa
push dword [ebp - 0x78]
lea esi, [ebp - 0x2c]
push 3
push edi
call fcn.00406f9e
cmp dword [eax + 0x18], 0x10
jb 0x403083
mov eax, dword [eax + 4]
jmp 0x403086
add eax, 4
push 0x30
push eax
push str.Could_not_copy_file_folder.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x402dff
push 0x419e04
push edi
call fcn.00406f79
cmp eax, esi
je 0x403150
push esi
push 3
push edi
lea esi, [ebp - 0x48]
call fcn.00406f9e
mov dword [ebp - 4], 6
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 0x6c], 4
jb 0x4030d2
mov eax, dword [eax + 4]
jmp 0x4030d5
add eax, 4
push ebx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
test eax, eax
je 0x403103
push 0xffffffffffffffff
push 3
push edi
lea esi, [ebp - 0x2c]
call fcn.00406f9e
mov dword [ebp - 0x6c], 0xc
call fcn.00402847
test al, al
mov byte [ebp - 0x65], 1
je 0x403106
mov byte [ebp - 0x65], bl
test byte [ebp - 0x6c], 8
je 0x40311b
and dword [ebp - 0x6c], 0xfffffff7
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401469
test byte [ebp - 0x6c], 4
je 0x40312c
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00401469
cmp byte [ebp - 0x65], bl
je 0x403baa
cmp dword [edi + 0x18], 0x10
jb 0x403140
mov edi, dword [edi + 4]
jmp 0x403143
add edi, 4
push 0x30
push edi
push str.Could_not_create_folder.
jmp 0x403732
push ebx
push 0x419e24
push edi
call fcn.00406f79
cmp eax, esi
je 0x4031a7
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x70], esp
push 0xffffffffffffffff
push 3
push edi
call fcn.00406f9e
call fcn.0040290d
cmp al, bl
jne 0x403baa
push 0xffffffffffffffff
push 3
push edi
lea esi, [ebp - 0x2c]
call fcn.00406f9e
cmp dword [eax + 0x18], 0x10
jb 0x403197
mov eax, dword [eax + 4]
jmp 0x40319a
add eax, 4
push 0x30
push eax
push str.Could_not_remove_folder.
jmp 0x40308e
push ebx
push 0x419e44
push edi
call fcn.00406f79
cmp eax, esi
push ebx
je 0x40336d
push str._to_
push edi
call fcn.00406f79
cmp eax, esi
mov dword [ebp - 0x6c], eax
je 0x403baa
add eax, 0xfffffffd
push eax
push 3
push edi
lea esi, [ebp - 0x98]
call fcn.00406f9e
mov dword [ebp - 4], 7
cmp dword [eax + 0x18], 0x10
jb 0x4031f6
mov eax, dword [eax + 4]
jmp 0x4031f9
add eax, 4
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406ec3
push ebx
push 1
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 9
call fcn.00401469
mov eax, dword [ebp - 0x6c]
push 0xffffffffffffffff
add eax, 4
push eax
push edi
lea esi, [ebp - 0x64]
call fcn.00406f9e
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x18], 0x10
jb 0x403235
mov eax, dword [eax + 4]
jmp 0x403238
add eax, 4
push eax
lea ecx, [ebp - 0x48]
call fcn.00406ec3
push ebx
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xc
call fcn.00401469
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x18]
push 0xf003f
push ebx
sub esp, 0x1c
add eax, 0xfffffffb
mov esi, esp
mov dword [ebp - 0x70], esp
push eax
push 5
lea eax, [ebp - 0x2c]
push eax
call fcn.00406f9e
lea edi, [ebp - 0x98]
call fcn.00401b16
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x18], 0x10
jb 0x40328e
mov eax, dword [eax + 4]
jmp 0x403291
add eax, 4
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402c46
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
neg eax
sbb al, al
push ebx
inc al
push 1
lea ecx, [ebp - 0x98]
mov byte [ebp - 0x65], al
mov byte [ebp - 4], 0xc
call fcn.00401469
cmp byte [ebp - 0x65], bl
je 0x40334a
mov eax, dword [ebp - 0x34]
inc eax
cmp dword [ebp - 0x30], 0x10
push eax
mov eax, dword [ebp - 0x44]
jae 0x4032d6
lea eax, [ebp - 0x44]
push eax
push 1
push ebx
sub esp, 0x1c
lea eax, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0x70], esp
push eax
call fcn.00406ee5
lea ebx, [ebp - 0x98]
call fcn.00401b88
cmp dword [eax + 0x18], 0x10
jb 0x403301
mov eax, dword [eax + 4]
jmp 0x403304
add eax, 4
push eax
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
setne bl
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x98]
call fcn.00401469
test bl, bl
je 0x40333a
push 0x30
push str.Error
push str.An_error_occured_while_setting_registry_value.
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x74], esi
xor ebx, ebx
jmp 0x40335d
push 0x30
push str.Error
push str.An_error_occured_while_opening_registry_key.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00401469
jmp 0x402dff
push 0x419ea8
push edi
call fcn.00406f79
cmp eax, esi
je 0x40345d
lea eax, [ebp - 0x74]
push eax
push 0xf003f
push ebx
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x70], esp
push 0xffffffffffffffff
push 8
push edi
call fcn.00406f9e
lea edi, [ebp - 0x98]
call fcn.00401b16
mov dword [ebp - 4], 0xe
cmp dword [eax + 0x18], 0x10
jb 0x4033b9
mov eax, dword [eax + 4]
jmp 0x4033bc
add eax, 4
mov ecx, dword [ebp - 0x78]
push eax
call fcn.00402c46
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
neg eax
sbb al, al
or dword [ebp - 4], 0xffffffff
push ebx
inc al
push 1
lea ecx, [ebp - 0x98]
mov byte [ebp - 0x65], al
call fcn.00401469
cmp byte [ebp - 0x65], bl
je 0x403726
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x70], esp
push dword [ebp - 0x78]
call fcn.00406ee5
lea ebx, [ebp - 0x98]
call fcn.00401b88
cmp dword [eax + 0x18], 0x10
jb 0x403416
mov eax, dword [eax + 4]
jmp 0x403419
add eax, 4
push eax
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0
test eax, eax
push 1
lea ecx, [ebp - 0x98]
setne bl
call fcn.00401469
test bl, bl
je 0x40344f
push 0x30
push str.Error
push str.An_error_occured_while_trying_to_delete_registry_value.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x403baa
push ebx
push 0x419ee4
push edi
call fcn.00406f79
cmp eax, esi
push ebx
je 0x403647
push str._to_
push edi
call fcn.00406f79
cmp eax, esi
mov dword [ebp - 0x6c], eax
je 0x403baa
add eax, 0xfffffffd
push eax
push 3
push edi
lea esi, [ebp - 0x98]
call fcn.00406f9e
mov dword [ebp - 4], 0xf
cmp dword [eax + 0x18], 0x10
jb 0x4034ac
mov eax, dword [eax + 4]
jmp 0x4034af
add eax, 4
push eax
lea ecx, [ebp - 0x48]
call fcn.00406ec3
push ebx
push 1
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x11
call fcn.00401469
mov eax, dword [ebp - 0x6c]
push 0xffffffffffffffff
add eax, 4
push eax
push edi
lea esi, [ebp - 0x64]
call fcn.00406f9e
mov byte [ebp - 4], 0x12
cmp dword [eax + 0x18], 0x10
jb 0x4034eb
mov eax, dword [eax + 4]
jmp 0x4034ee
add eax, 4
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406ec3
push ebx
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x14
call fcn.00401469
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x34]
push 0xf003f
push ebx
sub esp, 0x1c
add eax, 0xfffffffb
mov esi, esp
mov dword [ebp - 0x70], esp
push eax
push 5
lea eax, [ebp - 0x48]
push eax
call fcn.00406f9e
lea edi, [ebp - 0x98]
call fcn.00401b16
mov byte [ebp - 4], 0x15
cmp dword [eax + 0x18], 0x10
jb 0x403544
mov eax, dword [eax + 4]
jmp 0x403547
add eax, 4
push eax
lea ecx, [ebp - 0x48]
call fcn.00402c46
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
neg eax
sbb al, al
xor edi, edi
push ebx
inc al
inc edi
push edi
lea ecx, [ebp - 0x98]
mov byte [ebp - 0x65], al
mov byte [ebp - 4], 0x14
call fcn.00401469
cmp byte [ebp - 0x65], bl
je 0x403620
mov eax, dword [ebp - 0x34]
add eax, 0xfffffffb
push eax
push 5
lea eax, [ebp - 0x48]
push eax
lea esi, [ebp - 0x98]
call fcn.00406f9e
mov byte [ebp - 4], 0x16
cmp dword [eax + 0x18], 0x10
jb 0x4035a4
mov eax, dword [eax + 4]
jmp 0x4035a7
add eax, 4
push ebx
lea ecx, [ebp - 0x74]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push eax
lea ecx, [ebp - 0x48]
call fcn.00402c46
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ebx
test eax, eax
push edi
lea ecx, [ebp - 0x98]
setne byte [ebp - 0x65]
call fcn.00401469
cmp byte [ebp - 0x65], bl
je 0x4035f0
push 0x30
push str.Error
push str.An_error_occured_while_creating_registry_key.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x4035fc
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
inc ecx
push ecx
push eax
push edi
push ebx
push 0x419bf7
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x74], ebx
jmp 0x403633
push 0x30
push str.Error
push str.An_error_occured_while_opening_registry_key.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.00401469
push ebx
push edi
lea ecx, [ebp - 0x48]
jmp 0x403ba5
push 0x419f18
push edi
call fcn.00406f79
cmp eax, esi
je 0x40373e
lea eax, [ebp - 0x74]
push eax
push 0xf003f
push ebx
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x70], esp
push 0xffffffffffffffff
push 8
push edi
call fcn.00406f9e
lea edi, [ebp - 0x98]
call fcn.00401b16
mov dword [ebp - 4], 0x17
cmp dword [eax + 0x18], 0x10
jb 0x403693
mov eax, dword [eax + 4]
jmp 0x403696
add eax, 4
mov ecx, dword [ebp - 0x78]
push eax
call fcn.00402c46
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
neg eax
sbb al, al
or dword [ebp - 4], 0xffffffff
push ebx
inc al
push 1
lea ecx, [ebp - 0x98]
mov byte [ebp - 0x65], al
call fcn.00401469
cmp byte [ebp - 0x65], bl
je 0x403726
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x70], esp
push dword [ebp - 0x78]
call fcn.00406ee5
lea ebx, [ebp - 0x98]
call fcn.00401b88
cmp dword [eax + 0x18], 0x10
jb 0x4036ec
mov eax, dword [eax + 4]
jmp 0x4036ef
add eax, 4
push eax
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push 0
test eax, eax
push 1
lea ecx, [ebp - 0x98]
setne bl
call fcn.00401469
test bl, bl
je 0x40344f
push 0x30
push str.Error
push str.An_error_occured_while_trying_to_delete_registry_key.
jmp 0x403447
push 0x30
push str.Error
push str.An_error_occured_while_opening_registry_key.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x403baa
push ebx
push 0x419f54
push edi
call fcn.00406f79
cmp eax, esi
je 0x403829
push 3
push str._to_
push edi
call fcn.00406f79
cmp eax, esi
mov dword [ebp - 0x6c], eax
je 0x403baa
push esi
add eax, 4
push eax
push edi
lea esi, [ebp - 0x2c]
call fcn.00406f9e
mov dword [ebp - 0x7c], eax
mov dword [ebp - 4], 0x18
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffffd
push eax
push 3
push edi
lea esi, [ebp - 0x98]
mov dword [ebp - 0x78], eax
call fcn.00406f9e
mov ecx, dword [ebp - 0x7c]
cmp dword [ecx + 0x18], 0x10
jb 0x4037a8
mov ecx, dword [ecx + 4]
jmp 0x4037ab
add ecx, 4
cmp dword [eax + 0x18], 0x10
jb 0x4037b6
mov eax, dword [eax + 4]
jmp 0x4037b9
add eax, 4
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
neg eax
sbb al, al
push ebx
inc al
push 1
lea ecx, [ebp - 0x98]
mov byte [ebp - 0x65], al
call fcn.00401469
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401469
cmp byte [ebp - 0x65], bl
je 0x403baa
push dword [ebp - 0x78]
lea esi, [ebp - 0x98]
push 3
push edi
call fcn.00406f9e
cmp dword [eax + 0x18], 0x10
jb 0x40380c
mov eax, dword [eax + 4]
jmp 0x40380f
add eax, 4
push 0x30
push eax
push str.Could_not_move_file_folder.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x98]
jmp 0x403ba2
push ebx
push 0x419f74
push edi
call fcn.00406f79
cmp eax, esi
je 0x4039cc
push 3
push str._to_
push edi
call fcn.00406f79
cmp eax, esi
mov dword [ebp - 0x6c], eax
je 0x403baa
add eax, 0xfffffffd
push eax
push 3
push edi
lea esi, [ebp - 0x98]
mov dword [ebp - 0x78], eax
call fcn.00406f9e
cmp dword [eax + 0x18], 0x10
jb 0x403875
mov eax, dword [eax + 4]
jmp 0x403878
add eax, 4
push 0x419f78
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0040af2e
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x98]
mov esi, eax
call fcn.00401469
cmp esi, ebx
je 0x4038da
push dword [ebp - 0x78]
lea esi, [ebp - 0x98]
push 3
push edi
call fcn.00406f9e
cmp dword [eax + 0x18], 0x10
jb 0x4038ba
mov eax, dword [eax + 4]
jmp 0x4038bd
add eax, 4
push 0x30
push eax
push str.Could_not_create_file.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
push 1
lea ecx, [ebp - 0x98]
call fcn.00401469
mov eax, dword [ebp - 0x6c]
add eax, 4
push 0xffffffffffffffff
push eax
push edi
lea esi, [ebp - 0x98]
mov dword [ebp - 0x7c], eax
call fcn.00406f9e
mov esi, dword [eax + 0x14]
push ebx
push 1
lea ecx, [ebp - 0x98]
call fcn.00401469
cmp esi, ebx
je 0x4039be
push 0xffffffffffffffff
push dword [ebp - 0x7c]
lea esi, [ebp - 0x2c]
push edi
call fcn.00406f9e
mov dword [ebp - 0x6c], eax
push 0xffffffffffffffff
push dword [ebp - 0x7c]
lea esi, [ebp - 0x98]
push edi
mov dword [ebp - 4], 0x19
call fcn.00406f9e
cmp dword [eax + 0x18], 0x10
mov ecx, dword [ebp - 0x6c]
mov ecx, dword [ecx + 0x14]
jb 0x403945
mov eax, dword [eax + 4]
jmp 0x403948
add eax, 4
push dword [ebp - 0x70]
push 1
push ecx
push eax
call fcn.0040a28e
add esp, 0x10
neg eax
sbb al, al
push ebx
inc al
push 1
lea ecx, [ebp - 0x98]
mov byte [ebp - 0x65], al
call fcn.00401469
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401469
cmp byte [ebp - 0x65], bl
je 0x4039be
push dword [ebp - 0x78]
lea esi, [ebp - 0x98]
push 3
push edi
call fcn.00406f9e
cmp dword [eax + 0x18], 0x10
jb 0x40399e
mov eax, dword [eax + 4]
jmp 0x4039a1
add eax, 4
push 0x30
push eax
push str.Could_not_write_to_file.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
push 1
lea ecx, [ebp - 0x98]
call fcn.00401469
push dword [ebp - 0x70]
call fcn.004098ad
pop ecx
jmp 0x403baa
push ebx
push 0x419fb0
push edi
call fcn.00406f79
cmp eax, esi
je 0x403ad9
push 3
push str._to_
push edi
call fcn.00406f79
cmp eax, esi
mov dword [ebp - 0x6c], eax
je 0x403baa
push esi
add eax, 4
push eax
push edi
lea esi, [ebp - 0x2c]
call fcn.00406f9e
mov dword [ebp - 4], 0x1a
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffffd
push eax
push 3
push edi
lea esi, [ebp - 0x98]
call fcn.00406f9e
cmp dword [eax + 0x18], 0x10
jb 0x403a2d
mov eax, dword [eax + 4]
jmp 0x403a30
add eax, 4
push eax
push ebx
call dword [sym.imp.USER32.dll_FindWindowA]
push ebx
push 1
lea ecx, [ebp - 0x98]
mov esi, eax
call fcn.00401469
cmp esi, ebx
je 0x402dff
push str.Show_Window
lea eax, [ebp - 0x2c]
call fcn.0040789c
test al, al
pop ecx
je 0x403a7e
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push esi
call edi
push 9
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
jmp 0x402dff
push str.Hide_Window
lea eax, [ebp - 0x2c]
call fcn.0040789c
test al, al
pop ecx
je 0x403a93
push ebx
jmp 0x403aa7
push str.Minimize_Window
lea eax, [ebp - 0x2c]
call fcn.0040789c
test al, al
pop ecx
je 0x403ab3
push 6
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x402dff
push str.Close_Window
lea eax, [ebp - 0x2c]
call fcn.0040789c
test al, al
pop ecx
je 0x402dff
push ebx
push ebx
push 0x12
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x402dff
push ebx
push 0x419fec
push edi
call fcn.00406f79
cmp eax, esi
je 0x403baa
push 0x419ff0
lea ecx, [ebp - 0x64]
call fcn.00406ec3
push esi
push 3
push edi
lea esi, [ebp - 0x98]
mov dword [ebp - 4], 0x1b
call fcn.00406f9e
mov byte [ebp - 4], 0x1c
cmp dword [eax + 0x18], 0x10
jb 0x403b1f
mov eax, dword [eax + 4]
jmp 0x403b22
add eax, 4
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00406f0b
push ebx
push 1
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x1b
call fcn.00401469
cmp dword [ebp - 0x4c], 0x10
mov eax, dword [ebp - 0x60]
jae 0x403b4a
lea eax, [ebp - 0x60]
push 1
push ebx
push eax
push str.regsvr32.exe
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jg 0x403b9f
push 0xffffffffffffffff
push 3
push edi
lea esi, [ebp - 0xb4]
call fcn.00406f9e
cmp dword [eax + 0x18], 0x10
jb 0x403b7f
mov eax, dword [eax + 4]
jmp 0x403b82
add eax, 4
push 0x30
push eax
push str.Could_not_register_file._Regsvr32_failed.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
push 1
lea ecx, [ebp - 0xb4]
call fcn.00401469
lea ecx, [ebp - 0x64]
push ebx
push 1
call fcn.00401469
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00408623
leave
ret