Function at 0x470f80
Capabilities:
Check for peb beingdebugged flag
Check for software breakpoints
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8756
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x53b098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28c], ecx
mov dword [ebp - 0x294], 0
mov byte [ebp - 0x24], 0x49
mov byte [ebp - 0x23], 0x73
mov byte [ebp - 0x22], 0x44
mov byte [ebp - 0x21], 0x65
mov byte [ebp - 0x20], 0x62
mov byte [ebp - 0x1f], 0x75
mov byte [ebp - 0x1e], 0x67
mov byte [ebp - 0x1d], 0x67
mov byte [ebp - 0x1c], 0x65
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x1a], 0x50
mov byte [ebp - 0x19], 0x72
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x16], 0x65
mov byte [ebp - 0x15], 0x6e
mov byte [ebp - 0x14], 0x74
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x24]
push eax
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x298], eax
cmp dword [ebp - 0x298], 0
je 0x47103e
call dword [ebp - 0x298]
test eax, eax
je 0x47103e
mov byte [ebp - 0x285], 1
jmp 0x4711f6
mov byte [ebp - 0x40], 0x43
mov byte [ebp - 0x3f], 0x68
mov byte [ebp - 0x3e], 0x65
mov byte [ebp - 0x3d], 0x63
mov byte [ebp - 0x3c], 0x6b
mov byte [ebp - 0x3b], 0x52
mov byte [ebp - 0x3a], 0x65
mov byte [ebp - 0x39], 0x6d
mov byte [ebp - 0x38], 0x6f
mov byte [ebp - 0x37], 0x74
mov byte [ebp - 0x36], 0x65
mov byte [ebp - 0x35], 0x44
mov byte [ebp - 0x34], 0x65
mov byte [ebp - 0x33], 0x62
mov byte [ebp - 0x32], 0x75
mov byte [ebp - 0x31], 0x67
mov byte [ebp - 0x30], 0x67
mov byte [ebp - 0x2f], 0x65
mov byte [ebp - 0x2e], 0x72
mov byte [ebp - 0x2d], 0x50
mov byte [ebp - 0x2c], 0x72
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x73
mov byte [ebp - 0x29], 0x65
mov byte [ebp - 0x28], 0x6e
mov byte [ebp - 0x27], 0x74
mov byte [ebp - 0x26], 0
lea ecx, [ebp - 0x40]
push ecx
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x29c], 0
je 0x471102
mov dword [ebp - 0x11c], 0
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x29c]
cmp dword [ebp - 0x11c], 0
je 0x471102
mov byte [ebp - 0x285], 1
jmp 0x4711f6
mov byte [ebp - 0x286], 0
mov eax, dword fs:[0x30]
movzx ecx, byte [eax + 2]
cmp ecx, 1
jne 0x471124
mov dword [ebp - 0x2a4], 1
jmp 0x47112e
mov dword [ebp - 0x2a4], 0
mov dl, byte [ebp - 0x2a4]
mov byte [ebp - 0x286], dl
movzx eax, byte [ebp - 0x286]
test eax, eax
je 0x471151
mov byte [ebp - 0x285], 1
jmp 0x4711f6
mov ecx, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x100], ecx
mov edx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0xfc], edx
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0x29c]
mov dword [ebp - 0xf4], ecx
lea edx, [ebp - 0x100]
mov dword [ebp - 0x2cc], edx
mov dword [ebp - 0x290], 0
jmp 0x4711a8
mov eax, dword [ebp - 0x290]
add eax, 1
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 4
jae 0x4711ef
mov ecx, dword [ebp - 0x290]
mov edx, dword [ebp - 0x2cc]
lea eax, [edx + ecx*4]
mov dword [ebp - 0x2a8], eax
mov ecx, dword [ebp - 0x2a8]
cmp dword [ecx], 0
je 0x4711ed
mov edx, dword [ebp - 0x2a8]
mov eax, dword [edx]
movzx ecx, byte [eax]
cmp ecx, 0xcc
jne 0x4711ed
mov byte [ebp - 0x285], 1
jmp 0x4711f6
jmp 0x471199
mov byte [ebp - 0x285], 0
movzx edx, byte [ebp - 0x285]
test edx, edx
je 0x47122c
push 0x510ae0
mov ecx, dword [ebp + 8]
call fcn.00404d00
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x294]
or eax, 1
mov dword [ebp - 0x294], eax
mov eax, dword [ebp + 8]
jmp 0x471d8b
mov ecx, dword [ebp + 0x10]
call fcn.00408600
lea ecx, [ebp - 0x134]
call fcn.00404d40
mov dword [ebp - 4], 1
mov dword [ebp - 0x284], 0x11c
push 0x118
push 0
lea ecx, [ebp - 0x280]
push ecx
call fcn.004c5c20
add esp, 0xc
lea edx, [ebp - 0x284]
push edx
call fcn.004072e0
add esp, 4
mov byte [ebp - 0x287], 1
cmp dword [ebp - 0x280], 6
jb 0x47128c
mov byte [ebp - 0x287], 0
lea ecx, [ebp - 0x118]
call fcn.00404d40
mov byte [ebp - 4], 2
movzx eax, byte [ebp - 0x287]
test eax, eax
je 0x471443
mov ecx, dword [ebp + 0xc]
call fcn.00404c20
push eax
push str._s_shell
lea ecx, [ebp - 0x134]
push ecx
call fcn.00408200
add esp, 0xc
push 0x510ae0
lea ecx, [ebp - 0x33c]
call fcn.00404d00
mov byte [ebp - 4], 3
lea edx, [ebp - 0x33c]
push edx
lea eax, [ebp - 0x134]
push eax
push 0x80000000
lea ecx, [ebp - 0x3e4]
push ecx
mov ecx, dword [ebp - 0x28c]
call fcn.00470700
mov dword [ebp - 0x2d0], eax
mov edx, dword [ebp - 0x2d0]
mov dword [ebp - 0x2d4], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x118]
call fcn.00404cc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3e4]
call fcn.004049a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x33c]
call fcn.004049a0
lea ecx, [ebp - 0x118]
call fcn.00404c10
movzx ecx, al
test ecx, ecx
je 0x471368
push str.open
lea ecx, [ebp - 0x118]
call fcn.00404c60
lea edx, [ebp - 0x134]
push edx
lea ecx, [ebp - 0x168]
call fcn.00404d60
mov byte [ebp - 4], 5
push 0x512a5c
lea ecx, [ebp - 0x168]
call fcn.00404c30
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x168]
call fcn.0040aef0
push str.command
lea ecx, [ebp - 0x168]
call fcn.00404c30
push 0x510ae0
lea ecx, [ebp - 0x39c]
call fcn.00404d00
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x39c]
push ecx
lea edx, [ebp - 0x168]
push edx
push 0x80000000
lea eax, [ebp - 0x3fc]
push eax
mov ecx, dword [ebp - 0x28c]
call fcn.00470700
mov dword [ebp - 0x2d8], eax
mov ecx, dword [ebp - 0x2d8]
mov dword [ebp - 0x2dc], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x2dc]
push edx
lea ecx, [ebp - 0x118]
call fcn.00404cc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3fc]
call fcn.004049a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x39c]
call fcn.004049a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x168]
call fcn.004049a0
jmp 0x471c63
mov eax, 0x53
mov word [ebp - 0xf0], ax
mov ecx, 0x6f
mov word [ebp - 0xee], cx
mov edx, 0x66
mov word [ebp - 0xec], dx
mov eax, 0x74
mov word [ebp - 0xea], ax
mov ecx, 0x77
mov word [ebp - 0xe8], cx
mov edx, 0x61
mov word [ebp - 0xe6], dx
mov eax, 0x72
mov word [ebp - 0xe4], ax
mov ecx, 0x65
mov word [ebp - 0xe2], cx
mov edx, 0x5c
mov word [ebp - 0xe0], dx
mov eax, 0x4d
mov word [ebp - 0xde], ax
mov ecx, 0x69
mov word [ebp - 0xdc], cx
mov edx, 0x63
mov word [ebp - 0xda], dx
mov eax, 0x72
mov word [ebp - 0xd8], ax
mov ecx, 0x6f
mov word [ebp - 0xd6], cx
mov edx, 0x73
mov word [ebp - 0xd4], dx
mov eax, 0x6f
mov word [ebp - 0xd2], ax
mov ecx, 0x66
mov word [ebp - 0xd0], cx
mov edx, 0x74
mov word [ebp - 0xce], dx
mov eax, 0x5c
mov word [ebp - 0xcc], ax
mov ecx, 0x57
mov word [ebp - 0xca], cx
mov edx, 0x69
mov word [ebp - 0xc8], dx
mov eax, 0x6e
mov word [ebp - 0xc6], ax
mov ecx, 0x64
mov word [ebp - 0xc4], cx
mov edx, 0x6f
mov word [ebp - 0xc2], dx
mov eax, 0x77
mov word [ebp - 0xc0], ax
mov ecx, 0x73
mov word [ebp - 0xbe], cx
mov edx, 0x5c
mov word [ebp - 0xbc], dx
mov eax, 0x53
mov word [ebp - 0xba], ax
mov ecx, 0x68
mov word [ebp - 0xb8], cx
mov edx, 0x65
mov word [ebp - 0xb6], dx
mov eax, 0x6c
mov word [ebp - 0xb4], ax
mov ecx, 0x6c
mov word [ebp - 0xb2], cx
mov edx, 0x5c
mov word [ebp - 0xb0], dx
mov eax, 0x41
mov word [ebp - 0xae], ax
mov ecx, 0x73
mov word [ebp - 0xac], cx
mov edx, 0x73
mov word [ebp - 0xaa], dx
mov eax, 0x6f
mov word [ebp - 0xa8], ax
mov ecx, 0x63
mov word [ebp - 0xa6], cx
mov edx, 0x69
mov word [ebp - 0xa4], dx
mov eax, 0x61
mov word [ebp - 0xa2], ax
mov ecx, 0x74
mov word [ebp - 0xa0], cx
mov edx, 0x69
mov word [ebp - 0x9e], dx
mov eax, 0x6f
mov word [ebp - 0x9c], ax
mov ecx, 0x6e
mov word [ebp - 0x9a], cx
mov edx, 0x73
mov word [ebp - 0x98], dx
mov eax, 0x5c
mov word [ebp - 0x96], ax
mov ecx, 0x55
mov word [ebp - 0x94], cx
mov edx, 0x72
mov word [ebp - 0x92], dx
mov eax, 0x6c
mov word [ebp - 0x90], ax
mov ecx, 0x41
mov word [ebp - 0x8e], cx
mov edx, 0x73
mov word [ebp - 0x8c], dx
mov eax, 0x73
mov word [ebp - 0x8a], ax
mov ecx, 0x6f
mov word [ebp - 0x88], cx
mov edx, 0x63
mov word [ebp - 0x86], dx
mov eax, 0x69
mov word [ebp - 0x84], ax
mov ecx, 0x61
mov word [ebp - 0x82], cx
mov edx, 0x74
mov word [ebp - 0x80], dx
mov eax, 0x69
mov word [ebp - 0x7e], ax
mov ecx, 0x6f
mov word [ebp - 0x7c], cx
mov edx, 0x6e
mov word [ebp - 0x7a], dx
mov eax, 0x73
mov word [ebp - 0x78], ax
xor ecx, ecx
mov word [ebp - 0x76], cx
mov ecx, dword [ebp + 0xc]
call fcn.00404c20
push eax
lea edx, [ebp - 0xf0]
push edx
push str._s_sUserChoice
lea eax, [ebp - 0x134]
push eax
call fcn.00408200
add esp, 0x10
push str.ProgId
lea ecx, [ebp - 0x3b4]
call fcn.00404d00
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3b4]
push ecx
lea edx, [ebp - 0x134]
push edx
push 0x80000001
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp - 0x28c]
call fcn.00470700
mov dword [ebp - 0x2e4], eax
mov ecx, dword [ebp - 0x2e4]
mov dword [ebp - 0x2e8], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x2e8]
push edx
lea ecx, [ebp - 0x118]
call fcn.00404cc0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x414]
call fcn.004049a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3b4]
call fcn.004049a0
lea ecx, [ebp - 0x118]
call fcn.00404c10
movzx eax, al
test eax, eax
je 0x47184a
push str.ProgId
lea ecx, [ebp - 0x3cc]
call fcn.00404d00
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x3cc]
push ecx
lea edx, [ebp - 0x134]
push edx
push 0x80000002
lea eax, [ebp - 0x42c]
push eax
mov ecx, dword [ebp - 0x28c]
call fcn.00470700
mov dword [ebp - 0x2ec], eax
mov ecx, dword [ebp - 0x2ec]
mov dword [ebp - 0x2c4], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x2c4]
push edx
lea ecx, [ebp - 0x118]
call fcn.00404cc0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x42c]
call fcn.004049a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3cc]
call fcn.004049a0
lea ecx, [ebp - 0x118]
call fcn.00404c10
movzx eax, al
test eax, eax
jne 0x471c63
lea ecx, [ebp - 0x118]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00404c90
mov edx, 0x53
mov word [ebp - 0x74], dx
mov eax, 0x6f
mov word [ebp - 0x72], ax
mov ecx, 0x66
mov word [ebp - 0x70], cx
mov edx, 0x74
mov word [ebp - 0x6e], dx
mov eax, 0x77
mov word [ebp - 0x6c], ax
mov ecx, 0x61
mov word [ebp - 0x6a], cx
mov edx, 0x72
mov word [ebp - 0x68], dx
mov eax, 0x65
mov word [ebp - 0x66], ax
mov ecx, 0x5c
mov word [ebp - 0x64], cx
mov edx, 0x43
mov word [ebp - 0x62], dx
mov eax, 0x6c
mov word [ebp - 0x60], ax
mov ecx, 0x61
mov word [ebp - 0x5e], cx
mov edx, 0x73
mov word [ebp - 0x5c], dx
mov eax, 0x73
mov word [ebp - 0x5a], ax
mov ecx, 0x65
mov word [ebp - 0x58], cx
mov edx, 0x73
mov word [ebp - 0x56], dx
mov eax, 0x5c
mov word [ebp - 0x54], ax
mov ecx, 0x25
mov word [ebp - 0x52], cx
mov edx, 0x73
mov word [ebp - 0x50], dx
mov eax, 0x5c
mov word [ebp - 0x4e], ax
mov ecx, 0x73
mov word [ebp - 0x4c], cx
mov edx, 0x68
mov word [ebp - 0x4a], dx
mov eax, 0x65
mov word [ebp - 0x48], ax
mov ecx, 0x6c
mov word [ebp - 0x46], cx
mov edx, 0x6c
mov word [ebp - 0x44], dx
xor eax, eax
mov word [ebp - 0x42], ax
mov ecx, dword [ebp + 0x10]
call fcn.00404c20
push eax
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0x134]
push edx
call fcn.00408200
add esp, 0xc
push 0x510ae0
lea ecx, [ebp - 0x30c]
call fcn.00404d00
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0x134]
push ecx
push 0x80000001
lea edx, [ebp - 0x48c]
push edx
mov ecx, dword [ebp - 0x28c]
call fcn.00470700
mov dword [ebp - 0x2f0], eax
mov eax, dword [ebp - 0x2f0]
mov dword [ebp - 0x2f4], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x2f4]
push ecx
lea ecx, [ebp - 0x118]
call fcn.00404cc0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x48c]
call fcn.004049a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30c]
call fcn.004049a0
lea ecx, [ebp - 0x118]
call fcn.00404c10
movzx edx, al
test edx, edx
je 0x471a13
push str.open
lea ecx, [ebp - 0x118]
call fcn.00404c60
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x150]
call fcn.00404d60
mov byte [ebp - 4], 0xe
push 0x512a5c
lea ecx, [ebp - 0x150]
call fcn.00404c30
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x150]
call fcn.0040aef0
push str.command
lea ecx, [ebp - 0x150]
call fcn.00404c30
push 0x510ae0
lea ecx, [ebp - 0x324]
call fcn.00404d00
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x324]
push edx
lea eax, [ebp - 0x150]
push eax
push 0x80000001
lea ecx, [ebp - 0x444]
push ecx
mov ecx, dword [ebp - 0x28c]
call fcn.00470700
mov dword [ebp - 0x2b4], eax
mov edx, dword [ebp - 0x2b4]
mov dword [ebp - 0x2b8], edx
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x2b8]
push eax
lea ecx, [ebp - 0x118]
call fcn.00404cc0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x444]
call fcn.004049a0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x324]
call fcn.004049a0
lea ecx, [ebp - 0x118]
call fcn.00404c10
movzx ecx, al
test ecx, ecx
je 0x471c54
push 0x510ae0
lea ecx, [ebp - 0x384]
call fcn.00404d00
mov byte [ebp - 4], 0x11
lea edx, [ebp - 0x384]
push edx
lea eax, [ebp - 0x134]
push eax
push 0x80000002
lea ecx, [ebp - 0x45c]
push ecx
mov ecx, dword [ebp - 0x28c]
call fcn.00470700
mov dword [ebp - 0x2bc], eax
mov edx, dword [ebp - 0x2bc]
mov dword [ebp - 0x2c0], edx
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x2c0]
push eax
lea ecx, [ebp - 0x118]
call fcn.00404cc0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x45c]
call fcn.004049a0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x384]
call fcn.004049a0
lea ecx, [ebp - 0x118]
call fcn.00404c10
movzx ecx, al
test ecx, ecx
je 0x471b91
push str.open
lea ecx, [ebp - 0x118]
call fcn.00404c60
lea edx, [ebp - 0x134]
push edx
lea ecx, [ebp - 0x150]
call fcn.00404c90
push 0x512a5c
lea ecx, [ebp - 0x150]
call fcn.00404c30
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x150]
call fcn.0040aef0
push str.command
lea ecx, [ebp - 0x150]
call fcn.00404c30
push 0x510ae0
lea ecx, [ebp - 0x354]
call fcn.00404d00
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x354]
push ecx
lea edx, [ebp - 0x150]
push edx
push 0x80000002
lea eax, [ebp - 0x474]
push eax
mov ecx, dword [ebp - 0x28c]
call fcn.00470700
mov dword [ebp - 0x2e0], eax
mov ecx, dword [ebp - 0x2e0]
mov dword [ebp - 0x2c8], ecx
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x2c8]
push edx
lea ecx, [ebp - 0x118]
call fcn.00404cc0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x474]
call fcn.004049a0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x354]
call fcn.004049a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x150]
call fcn.004049a0
lea ecx, [ebp - 0x118]
call fcn.00404c10
movzx eax, al
test eax, eax
jne 0x471d4c
push 0x5172ac
lea ecx, [ebp - 0x36c]
call fcn.00404d00
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x36c]
push ecx
call fcn.0040ee30
mov ecx, eax
call fcn.0040eef0
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x36c]
call fcn.004049a0
cmp dword [ebp - 0x2ac], 0
je 0x471d4c
push str.CommandLineToArgvW
mov edx, dword [ebp - 0x2ac]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2b0], eax
cmp dword [ebp - 0x2b0], 0
je 0x471d4c
mov dword [ebp - 0x138], 0
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x118]
call fcn.00404c20
push eax
call dword [ebp - 0x2b0]
mov dword [ebp - 0x2a0], eax
cmp dword [ebp - 0x2a0], 0
je 0x471d41
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 0x2a0]
mov ecx, dword [eax + edx]
push ecx
lea ecx, [ebp - 0x118]
call fcn.00404c60
mov edx, dword [ebp - 0x2a0]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x471d4c
lea ecx, [ebp - 0x118]
call fcn.00408600
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp + 8]
call fcn.00405a70
mov ecx, dword [ebp - 0x294]
or ecx, 1
mov dword [ebp - 0x294], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x118]
call fcn.004049a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.004049a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c35a5
mov esp, ebp
pop ebp
ret 0xc