Function at 0x4f0408
Capabilities:
Create process on windows
Get common file path
Move file
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x24
push 0
push 0
dec ecx
jne 0x4f0410
push ebx
push esi
push edi
mov eax, 0x4efc78
call fcn.00406d60
mov esi, 0x5330c4
xor eax, eax
push ebp
push 0x4f1434
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x18]
mov eax, dword [0x533a70]
mov eax, dword [eax]
call fcn.00409a54
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00408d64
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0x1c]
mov eax, 2
call fcn.004a94c4
mov edx, dword [ebp - 0x1c]
pop eax
call fcn.00404958
jne 0x4f0477
mov eax, dword [0x533524]
mov byte [eax], 0
jmp 0x4f047f
mov eax, dword [0x533524]
mov byte [eax], 1
lea edx, [ebp - 0x24]
mov eax, 1
call fcn.00402aa0
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408da0
mov edx, dword [ebp - 0x20]
mov eax, dword [0x5336d8]
call fcn.004045b0
lea edx, [ebp - 0x2c]
mov eax, 2
call fcn.00402aa0
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00408da0
mov edx, dword [ebp - 0x28]
mov eax, dword [0x53373c]
call fcn.004045b0
mov eax, dword [0x533524]
cmp byte [eax], 0
jne 0x4f04ef
lea edx, [ebp - 0x30]
mov eax, 0x11c
call fcn.004a94c4
mov edx, dword [ebp - 0x30]
mov eax, dword [0x533554]
call fcn.004045b0
jmp 0x4f0518
lea edx, [ebp - 0x38]
mov eax, dword [0x533a70]
mov eax, dword [eax]
call fcn.00409a54
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
xor edx, edx
call fcn.0040998c
mov edx, dword [ebp - 0x34]
mov eax, dword [0x533554]
call fcn.004045b0
push 0x4f1450
mov eax, dword [0x533a70]
push dword [eax]
push 0x4f1450
mov eax, dword [0x5337a8]
mov edx, 3
call fcn.004048d4
mov eax, dword [0x5336d8]
mov eax, dword [eax]
mov edx, 0x4f145c
call fcn.00404958
jne 0x4f05eb
fld xword [0x4f1460]
mov eax, dword [0x5335e0]
fcomp qword [eax]
fnstsw ax
sahf
jae 0x4f05eb
call fcn.0046addc
test al, al
jne 0x4f05eb
call fcn.0040aff0
call fcn.00402b6c
push edx
push eax
lea eax, [ebp - 0x3c]
call fcn.00409368
mov edx, dword [ebp - 0x3c]
mov eax, dword [0x53373c]
call fcn.004045b0
lea edx, [ebp - 0x40]
mov eax, dword [0x533a70]
mov eax, dword [eax]
call fcn.0046d614
mov eax, dword [ebp - 0x40]
call fcn.00404a0c
push eax
mov eax, dword [0x5336d8]
push dword [eax]
push 0x4f1474
mov eax, dword [0x53373c]
push dword [eax]
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.004048d4
mov eax, dword [ebp - 0x44]
call fcn.00404a0c
push eax
mov eax, dword [0x533a70]
mov eax, dword [eax]
call fcn.00404a0c
mov edx, eax
xor eax, eax
pop ecx
call fcn.0046ae58
jmp 0x4f138a
lea edx, [ebp - 0x48]
mov eax, dword [0x53383c]
mov eax, dword [eax]
call fcn.00408d64
mov edx, dword [ebp - 0x48]
mov eax, 0x53a7b8
call fcn.004045b0
mov eax, dword [0x53a7b8]
call fcn.00462f7c
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x4c]
call fcn.00409368
mov eax, dword [ebp - 0x4c]
push eax
lea edx, [ebp - 0x50]
mov eax, 0x33
call fcn.004a94c4
mov edx, dword [ebp - 0x50]
mov eax, 0x53a7b4
pop ecx
call fcn.00404860
mov dl, 1
mov eax, dword [0x462d84]
call fcn.00403720
mov dword [0x5330c0], eax
mov edx, dword [0x53a7b4]
mov eax, dword [0x5330c0]
call fcn.00462e28
test eax, eax
jne 0x4f07b7
mov eax, 0x4f1478
xor edx, edx
call fcn.004ee4a8
mov ebx, eax
test ebx, ebx
je 0x4f11e8
mov eax, dword [0x5336d8]
mov eax, dword [eax]
mov edx, 0x4f148c
call fcn.00404958
jne 0x4f06a2
push 0
push 3
push 0x604
push ebx
call sub.user32.dll_PostMessageA
jmp 0x4f11e8
mov eax, dword [0x5336d8]
mov eax, dword [eax]
mov edx, 0x4f149c
call fcn.00404958
jne 0x4f06c9
push 0
push 4
push 0x604
push ebx
call sub.user32.dll_PostMessageA
jmp 0x4f11e8
mov eax, dword [0x5336d8]
mov eax, dword [eax]
mov edx, 0x4f14ac
call fcn.00404958
jne 0x4f06f0
push 0
push 0
push 0x604
push ebx
call sub.user32.dll_PostMessageA
jmp 0x4f11e8
mov eax, dword [0x5336d8]
mov eax, dword [eax]
mov edx, 0x4f14b8
call fcn.00404958
jne 0x4f11e8
mov edx, dword [0x53373c]
mov eax, 2
call fcn.00402aa0
mov eax, dword [0x53373c]
cmp dword [eax], 0
jne 0x4f0730
mov eax, dword [0x53373c]
mov edx, 0x4f1474
call fcn.004045b0
push 0
push 2
push 0x604
push ebx
call sub.user32.dll_PostMessageA
mov eax, dword [0x53373c]
mov eax, dword [eax]
call fcn.00404814
mov esi, eax
lea eax, [esi + 3]
push eax
mov eax, 0x53a7b0
mov ecx, 1
mov edx, dword [0x4efc2c]
call fcn.00405ea4
add esp, 4
mov eax, dword [0x53373c]
call fcn.00404a64
mov edx, eax
mov eax, dword [0x53a7b0]
call fcn.00409c88
mov edi, dword [0x53a7b0]
test esi, esi
jle 0x4f07a3
mov eax, dword [edi]
push eax
push 2
push 0x604
push ebx
call sub.user32.dll_PostMessageA
add edi, 4
sub esi, 4
test esi, esi
jg 0x4f0789
push 0
push 1
push 0x604
push ebx
call sub.user32.dll_PostMessageA
jmp 0x4f11e8
lea edx, [ebp - 0x58]
mov eax, dword [0x533a70]
mov eax, dword [eax]
call fcn.00409a54
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x54]
xor edx, edx
call fcn.0040998c
mov edx, dword [ebp - 0x54]
mov eax, dword [0x5339cc]
call fcn.004045b0
mov eax, dword [0x533988]
mov dword [eax], 0x20b9
lea edx, [ebp - 0x5c]
xor eax, eax
call fcn.004ee9e0
mov edx, dword [ebp - 0x5c]
mov eax, dword [0x533968]
call fcn.004045b0
lea edx, [ebp - 0x60]
xor eax, eax
call fcn.004ee9e0
mov edx, dword [ebp - 0x60]
mov eax, dword [0x5336cc]
call fcn.004045b0
mov eax, dword [0x53a7b8]
call fcn.00404814
push eax
mov eax, 0x53a7b8
call fcn.00404a64
pop edx
call fcn.004ee6d0
mov edx, dword [0x533988]
add dword [edx], eax
mov eax, 0x7fffffff
call fcn.0040305c
mov dword [0x53a7bc], eax
mov eax, 0x400
call fcn.0040305c
add eax, 0x400
mov dword [0x53a7c0], eax
mov eax, 0x2800
call fcn.0040305c
add eax, 0x2800
mov dword [0x53a7c4], eax
mov eax, 0x7fffffff
call fcn.0040305c
mov dword [0x53a7c8], eax
mov eax, 0x7d000
call fcn.0040305c
lea edx, [ebp - 0x64]
xor eax, eax
call fcn.004ee9e0
mov edx, dword [ebp - 0x64]
mov eax, 0x53a7cc
mov ecx, 0x4f14c4
call fcn.00404860
call fcn.00402b00
lea edx, [ebp - 0x68]
mov eax, 4
call fcn.004a94c4
mov ecx, dword [ebp - 0x68]
mov edx, dword [0x53383c]
mov edx, dword [edx]
mov eax, dword [0x533468]
call fcn.00404860
lea edx, [ebp - 0x6c]
mov eax, 3
call fcn.004a94c4
mov ecx, dword [ebp - 0x6c]
mov edx, dword [0x53383c]
mov edx, dword [edx]
mov eax, dword [0x533874]
call fcn.00404860
lea edx, [ebp - 0x70]
mov eax, dword [0x533a70]
mov eax, dword [eax]
call fcn.00408d64
mov edx, dword [ebp - 0x70]
mov eax, 0x53a798
call fcn.004045b0
push 0x104
mov eax, dword [0x533530]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
cmp eax, 2
jb 0x4f0986
lea edx, [ebp - 0x74]
mov eax, dword [0x533530]
call fcn.00409e88
mov edx, dword [ebp - 0x74]
mov eax, dword [0x5332b0]
call fcn.004045b0
mov eax, dword [0x5332b0]
mov eax, dword [eax]
call fcn.00404814
cmp eax, 3
jle 0x4f0961
mov eax, dword [0x5332b0]
mov edx, 0x4f14d4
call fcn.0040481c
mov eax, dword [0x5332b0]
mov eax, dword [0x5332b0]
mov eax, dword [eax]
cmp byte [eax + 1], 0x3a
jne 0x4f098e
mov eax, dword [0x5332b0]
mov eax, dword [eax]
mov al, byte [eax]
call fcn.00402b3c
mov edx, dword [0x533520]
mov byte [edx], al
jmp 0x4f098e
mov eax, dword [0x533520]
mov byte [eax], 0x43
push 0x104
mov eax, dword [0x533530]
push eax
lea edx, [ebp - 0x78]
mov eax, 0x2e
call fcn.004a94c4
mov eax, dword [ebp - 0x78]
call fcn.00404a0c
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
mov eax, dword [0x533530]
call fcn.00409e6c
mov edx, eax
mov eax, 0x53a79c
call fcn.0040474c
mov eax, 0x53a79c
call fcn.0046a890
mov eax, dword [0x53a798]
cmp byte [eax], 0x5c
jne 0x4f09e8
mov eax, dword [0x533870]
mov byte [eax], 2
jmp 0x4f0a03
mov edx, dword [0x53a798]
mov eax, dword [0x53a79c]
call fcn.00404b50
dec eax
jne 0x4f0a03
mov eax, dword [0x533870]
mov byte [eax], 1
mov eax, dword [0x5336d8]
mov eax, dword [eax]
mov edx, 0x4f14e0
call fcn.00404958
jne 0x4f0a1e
mov eax, dword [0x53353c]
mov byte [eax], 1
mov eax, dword [0x5336d8]
mov eax, dword [eax]
mov edx, 0x4f14ec
call fcn.00404958
je 0x4f0a48
mov eax, dword [0x53373c]
mov eax, dword [eax]
mov edx, 0x4f14ec
call fcn.00404958
je 0x4f0a48
xor eax, eax
jmp 0x4f0a4a
mov al, 1
test al, al
je 0x4f0a76
mov eax, 0x7d0
call fcn.004d1e78
mov eax, dword [0x533468]
mov eax, dword [eax]
call fcn.0046d69c
test al, al
je 0x4f0a8a
mov eax, dword [0x533468]
mov eax, dword [eax]
call fcn.004098d0
jmp 0x4f0a8a
mov eax, dword [0x53353c]
cmp byte [eax], 1
jne 0x4f0a8a
mov eax, 0x7d0
call fcn.004d1e78
lea edx, [ebp - 0x7c]
mov eax, 0x11b
call fcn.004a94c4
mov eax, dword [ebp - 0x7c]
push eax
lea edx, [ebp - 0x80]
mov eax, 0x13
call fcn.004a94c4
mov eax, dword [ebp - 0x80]
pop edx
call fcn.0046cc68
mov eax, dword [0x53353c]
cmp byte [eax], 1
jne 0x4f0c51
mov eax, dword [0x533870]
cmp byte [eax], 0
jne 0x4f0c51
lea edx, [ebp - 0x88]
mov eax, 0xb
call fcn.004a94c4
mov ecx, dword [ebp - 0x88]
mov edx, dword [0x53383c]
mov edx, dword [edx]
lea eax, [ebp - 0x84]
call fcn.00404860
mov eax, dword [ebp - 0x84]
call fcn.0046d69c
test al, al
je 0x4f0c51
mov dl, 1
mov eax, dword [0x414ad0]
call fcn.00403720
mov dword [0x53a7a4], eax
lea edx, [ebp - 0x94]
mov eax, 0xb
call fcn.004a94c4
mov ecx, dword [ebp - 0x94]
mov edx, dword [0x53383c]
mov edx, dword [edx]
lea eax, [ebp - 0x90]
call fcn.00404860
mov edx, dword [ebp - 0x90]
lea eax, [ebp - 0x8c]
call fcn.00404e18
mov eax, dword [ebp - 0x8c]
push eax
mov eax, dword [0x53a7a4]
push eax
call fcn.0046d9b4
mov eax, dword [0x53a7a4]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4f0c47
mov eax, dword [0x53a7a4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x4f0c05
lea ecx, [ebp - 0x98]
mov edx, ebx
mov eax, dword [0x53a7a4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x98]
mov eax, 0x53a7ac
call fcn.004045b0
lea edx, [ebp - 0x9c]
mov eax, 0xa
call fcn.004a94c4
mov ecx, dword [ebp - 0x9c]
mov eax, 0x53a7a8
mov edx, dword [0x53a7ac]
call fcn.00404860
push 1
mov eax, 0x53a7ac
call fcn.00404a64
push eax
mov eax, 0x53a7a8
call fcn.00404a64
push eax
call sub.kernel32.dll_MoveFileExA
test eax, eax
je 0x4f0bff
mov edx, ebx
mov eax, dword [0x53a7a4]
mov ecx, dword [eax]
call dword [ecx + 0x48]
dec ebx
cmp ebx, 0xffffffff
jne 0x4f0b8a
mov eax, dword [0x53a7a4]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x4f0c47
lea edx, [ebp - 0xa4]
mov eax, 0xb
call fcn.004a94c4
mov ecx, dword [ebp - 0xa4]
mov edx, dword [0x53383c]
mov edx, dword [edx]
lea eax, [ebp - 0xa0]
call fcn.00404860
mov eax, dword [ebp - 0xa0]
call fcn.004098d0
mov eax, dword [0x53a7a4]
call fcn.00403750
mov eax, dword [0x533648]
mov dword [eax], 0x20
lea eax, [ebp - 0xa8]
mov edx, dword [0x533a70]
mov edx, dword [edx]
call fcn.00404e18
mov eax, dword [ebp - 0xa8]
mov edx, dword [0x533648]
mov dx, word [edx]
call fcn.0046da2c
mov edx, dword [0x53348c]
mov dword [edx], eax
mov eax, dword [0x53348c]
cmp dword [eax], 0
jne 0x4f0cce
push 0x3e8
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0xac]
mov edx, dword [0x533a70]
mov edx, dword [edx]
call fcn.00404e18
mov eax, dword [ebp - 0xac]
mov edx, dword [0x533648]
mov dx, word [edx]
call fcn.0046da2c
mov edx, dword [0x53348c]
mov dword [edx], eax
mov eax, dword [0x53348c]
cmp dword [eax], 0
jne 0x4f0d11
push 0x3e8
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0xb0]
mov edx, dword [0x533a70]
mov edx, dword [edx]
call fcn.00404e18
mov eax, dword [ebp - 0xb0]
mov edx, dword [0x533648]
mov dx, word [edx]
call fcn.0046da2c
mov edx, dword [0x53348c]
mov dword [edx], eax
mov eax, dword [0x53348c]
cmp dword [eax], 0
jne 0x4f0d54
push 0x3e8
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0xb4]
mov edx, dword [0x533a70]
mov edx, dword [edx]
call fcn.00404e18
mov eax, dword [ebp - 0xb4]
mov edx, dword [0x533648]
mov dx, word [edx]
call fcn.0046da2c
mov edx, dword [0x53348c]
mov dword [edx], eax
call sub.kernel32.dll_GetCurrentProcessId
mov edx, dword [0x533178]
mov dword [edx], eax
mov eax, dword [0x533718]
mov eax, dword [eax]
call fcn.00449310
call fcn.004a9d38
mov ecx, dword [0x53385c]
mov eax, dword [0x533718]
mov eax, dword [eax]
mov edx, dword [0x4b0374]
call fcn.00449328
mov ecx, dword [0x533670]
mov eax, dword [0x533718]
mov eax, dword [eax]
mov edx, dword [0x4af2e4]
call fcn.00449328
mov edx, dword [0x533968]
mov edx, dword [edx]
mov eax, dword [0x53385c]
mov eax, dword [eax]
call fcn.004576b8
mov ecx, dword [0x533248]
mov eax, dword [0x533718]
mov eax, dword [eax]
mov edx, dword [0x4cf2f8]
call fcn.00449328
mov edx, dword [0x5336cc]
mov edx, dword [edx]
mov eax, dword [0x533248]
mov eax, dword [eax]
call fcn.004576b8
mov ecx, dword [0x53337c]
mov eax, dword [0x533718]
mov eax, dword [eax]
mov edx, dword [0x4ac860]
call fcn.00449328
mov eax, dword [0x533248]
mov eax, dword [eax]
mov edx, dword [0x53385c]
mov edx, dword [edx]
mov dword [edx + 0x31c], eax
lea edx, [ebp - 0xbc]
mov eax, 1
call fcn.00402aa0
mov eax, dword [ebp - 0xbc]
lea edx, [ebp - 0xb8]
call fcn.00408da0
mov eax, dword [ebp - 0xb8]
mov edx, 0x4f145c
call fcn.00404958
jne 0x4f0ee5
lea edx, [ebp - 0xc0]
mov eax, 0x11a
call fcn.004a94c4
mov eax, dword [ebp - 0xc0]
mov ecx, 0x1a803549
mov edx, 0x4f14f8
call fcn.0046c7c8
lea edx, [ebp - 0xc8]
mov eax, 2
call fcn.00402aa0
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0xc4]
call fcn.00408da0
mov eax, dword [ebp - 0xc4]
mov edx, 0x4f1508
call fcn.00404958
jne 0x4f0ec5
lea edx, [ebp - 0xcc]
mov eax, 0x11a
call fcn.004a94c4
mov eax, dword [ebp - 0xcc]
mov ecx, 0x1a803549
mov edx, 0x4f1514
call fcn.0046c7c8
jmp 0x4f0ee5
lea edx, [ebp - 0xd0]
mov eax, 0x11a
call fcn.004a94c4
mov eax, dword [ebp - 0xd0]
mov edx, 0x4f1514
call fcn.0046cc68
mov dl, 1
mov eax, dword [0x414ad0]
call fcn.00403720
mov edx, dword [0x5336fc]
mov dword [edx], eax
mov dl, 1
mov eax, dword [0x41446c]
call fcn.00403720
mov edx, dword [0x5336f8]
mov dword [edx], eax
mov dl, 1
mov eax, dword [0x414ad0]
call fcn.00403720
mov ebx, eax
lea edx, [ebp - 0xdc]
mov eax, 5
call fcn.004a94c4
mov ecx, dword [ebp - 0xdc]
mov edx, dword [0x53383c]
mov edx, dword [edx]
lea eax, [ebp - 0xd8]
call fcn.00404860
mov edx, dword [ebp - 0xd8]
lea eax, [ebp - 0xd4]
call fcn.00404e18
mov eax, dword [ebp - 0xd4]
push eax
push ebx
call fcn.0046d9b4
test al, al
je 0x4f0f6d
mov byte [0x53a7d0], 1
cmp byte [0x53a7d0], 0
je 0x4f10d3
jmp 0x4f10bf
lea ecx, [ebp - 0xe4]
xor edx, edx
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xe4]
lea edx, [ebp - 0xe0]
call fcn.00408fb4
mov edx, dword [ebp - 0xe0]
mov eax, 0x53a7a0
call fcn.004045b0
xor edx, edx
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x48]
cmp dword [0x53a7a0], 0
je 0x4f1166
mov edx, dword [0x53a7a0]
mov eax, 0x4f1524
call fcn.00404b50
mov dword [esi], eax
cmp dword [esi], 0
jne 0x4f0fee
mov edx, dword [0x53a7a0]
mov eax, 0x4f1530
call fcn.00404b50
mov dword [esi], eax
cmp dword [esi], 0
je 0x4f1166
lea eax, [ebp - 0xec]
push eax
mov ecx, dword [esi]
dec ecx
mov edx, 1
mov eax, dword [0x53a7a0]
call fcn.00404a6c
mov eax, dword [ebp - 0xec]
lea edx, [ebp - 0xe8]
call fcn.00408fb4
mov edx, dword [ebp - 0xe8]
mov eax, dword [0x5336fc]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0xf4]
push eax
mov edx, dword [esi]
inc edx
mov ecx, 0x400
mov eax, dword [0x53a7a0]
call fcn.00404a6c
mov eax, dword [ebp - 0xf4]
lea edx, [ebp - 0xf0]
call fcn.00408fb4
mov edx, dword [ebp - 0xf0]
mov eax, 0x53a7a0
call fcn.004045b0
mov eax, dword [0x53a7a0]
cmp byte [eax], 0x7c
jne 0x4f10a7
mov eax, 0x53a7a0
mov ecx, 1
mov edx, 1
call fcn.00404aac
mov eax, dword [0x53a7a0]
call fcn.004093d8
mov edx, eax
neg edx
mov eax, dword [0x5336f8]
mov eax, dword [eax]
call fcn.00416c2c
jmp 0x4f10bf
mov eax, dword [0x53a7a0]
call fcn.004093d8
mov edx, eax
mov eax, dword [0x5336f8]
mov eax, dword [eax]
call fcn.00416c2c
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jg 0x4f0f7f
jmp 0x4f1166
mov eax, dword [0x53a7c4]
push eax
mov eax, dword [0x53a7c8]
push eax
mov eax, dword [0x5332b0]
push dword [eax]
push 0x4f153c
push dword [0x53a7cc]
lea eax, [ebp - 0xf8]
mov edx, 3
call fcn.004048d4
mov eax, dword [ebp - 0xf8]
push eax
mov ecx, dword [0x53a7c0]
mov edx, dword [0x53a7bc]
mov eax, ebx
call fcn.004efb48
test al, al
jne 0x4f10bf
mov eax, dword [0x53a7c4]
push eax
mov eax, dword [0x53a7c8]
push eax
mov edx, dword [0x53383c]
mov edx, dword [edx]
lea eax, [ebp - 0xfc]
mov ecx, dword [0x53a7cc]
call fcn.00404860
mov eax, dword [ebp - 0xfc]
push eax
mov ecx, dword [0x53a7c0]
mov edx, dword [0x53a7bc]
mov eax, ebx
call fcn.004efb48
test al, al
jne 0x4f10bf
mov eax, ebx
call fcn.00403750
mov eax, dword [0x5336fc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x4f119f
mov eax, dword [0x5336fc]
mov eax, dword [eax]
mov edx, 0x4f1550
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x5336f8]
mov eax, dword [eax]
mov edx, 0x20b9
call fcn.00416c2c
mov eax, dword [0x5336fc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jle 0x4f11c9
mov eax, dword [0x5336fc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
call fcn.0040305c
mov edx, dword [0x5332e4]
mov dword [edx], eax
jmp 0x4f11d2
mov eax, dword [0x5332e4]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x533718]
mov eax, dword [eax]
call fcn.004493a8
mov eax, dword [0x53348c]
call fcn.0040e1f8
mov eax, 0x5330c0
call fcn.0040e1f8
mov eax, dword [0x5332d0]
cmp byte [eax], 0
je 0x4f1232
push 1
push 0x4f1564
push 0x4f1564
lea edx, [ebp - 0x100]
mov eax, dword [0x533718]
mov eax, dword [eax]
call fcn.00449994
mov eax, dword [ebp - 0x100]
call fcn.00404a0c
push eax
push 0x4f1568
push 0
call sub.shell32.dll_ShellExecuteA
mov eax, dword [0x5331ec]
cmp byte [eax], 0
je 0x4f137a
mov dl, 1
mov eax, dword [0x414ad0]
call fcn.00403720
mov ebx, eax
lea edx, [ebp - 0x10c]
mov eax, 5
call fcn.004a94c4
mov ecx, dword [ebp - 0x10c]
mov edx, dword [0x53383c]
mov edx, dword [edx]
lea eax, [ebp - 0x108]
call fcn.00404860
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x104]
call fcn.00404e18
mov eax, dword [ebp - 0x104]
push eax
push ebx
call fcn.0046d9b4
test al, al
jne 0x4f1373
mov eax, dword [0x53a7c4]
push eax
mov eax, dword [0x53a7c8]
push eax
mov eax, dword [0x5332b0]
push dword [eax]
push 0x4f153c
push dword [0x53a7cc]
lea eax, [ebp - 0x110]
mov edx, 3
call fcn.004048d4
mov eax, dword [ebp - 0x110]
push eax
mov ecx, dword [0x53a7c0]
mov edx, dword [0x53a7bc]
mov eax, ebx
call fcn.004efb48
test al, al
jne 0x4f132c
mov eax, dword [0x53a7c4]
push eax
mov eax, dword [0x53a7c8]
push eax
mov edx, dword [0x53383c]
mov edx, dword [edx]
lea eax, [ebp - 0x114]
mov ecx, dword [0x53a7cc]
call fcn.00404860
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [0x53a7c0]
mov edx, dword [0x53a7bc]
mov eax, ebx
call fcn.004efb48
test al, al
je 0x4f1373
lea edx, [ebp - 0x120]
mov eax, 5
call fcn.004a94c4
mov ecx, dword [ebp - 0x120]
mov edx, dword [0x53383c]
mov edx, dword [edx]
lea eax, [ebp - 0x11c]
call fcn.00404860
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
call fcn.00404e18
mov eax, dword [ebp - 0x118]
push eax
push ebx
call fcn.0046d948
mov eax, ebx
call fcn.00403750
push 0x1341606
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f143e
lea eax, [ebp - 0x120]
mov edx, 2
call fcn.00404580
lea eax, [ebp - 0x118]
call fcn.00404c78
lea eax, [ebp - 0x114]
mov edx, 4
call fcn.00404580
lea eax, [ebp - 0x104]
call fcn.00404c78
lea eax, [ebp - 0x100]
mov edx, 0xb
call fcn.00404580
lea eax, [ebp - 0xd4]
call fcn.00404c78
lea eax, [ebp - 0xd0]
mov edx, 7
call fcn.00404580
lea eax, [ebp - 0xb4]
mov edx, 4
call fcn.00404c90
lea eax, [ebp - 0xa4]
mov edx, 6
call fcn.00404580
lea eax, [ebp - 0x8c]
call fcn.00404c78
lea eax, [ebp - 0x88]
mov edx, 0x1e
call fcn.00404580
ret