Function at 0x46f300
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 0x4b1076
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x4ea008]
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 0x46f3be
call dword [ebp - 0x298]
test eax, eax
je 0x46f3be
mov byte [ebp - 0x285], 1
jmp 0x46f576
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 0x46f482
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 0x46f482
mov byte [ebp - 0x285], 1
jmp 0x46f576
mov byte [ebp - 0x286], 0
mov eax, dword fs:[0x30]
movzx ecx, byte [eax + 2]
cmp ecx, 1
jne 0x46f4a4
mov dword [ebp - 0x2a4], 1
jmp 0x46f4ae
mov dword [ebp - 0x2a4], 0
mov dl, byte [ebp - 0x2a4]
mov byte [ebp - 0x286], dl
movzx eax, byte [ebp - 0x286]
test eax, eax
je 0x46f4d1
mov byte [ebp - 0x285], 1
jmp 0x46f576
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 0x46f528
mov eax, dword [ebp - 0x290]
add eax, 1
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 4
jae 0x46f56f
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 0x46f56d
mov edx, dword [ebp - 0x2a8]
mov eax, dword [edx]
movzx ecx, byte [eax]
cmp ecx, 0xcc
jne 0x46f56d
mov byte [ebp - 0x285], 1
jmp 0x46f576
jmp 0x46f519
mov byte [ebp - 0x285], 0
movzx edx, byte [ebp - 0x285]
test edx, edx
je 0x46f5ac
push 0x4c1b5c
mov ecx, dword [ebp + 8]
call fcn.004124f0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x294]
or eax, 1
mov dword [ebp - 0x294], eax
mov eax, dword [ebp + 8]
jmp 0x470107
mov ecx, dword [ebp + 0x10]
call fcn.0041c220
lea ecx, [ebp - 0x134]
call fcn.00412540
mov dword [ebp - 4], 1
mov dword [ebp - 0x284], 0x11c
push 0x118
push 0
lea ecx, [ebp - 0x280]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x284]
call fcn.00475860
mov byte [ebp - 0x287], 1
cmp dword [ebp - 0x280], 6
jb 0x46f608
mov byte [ebp - 0x287], 0
lea ecx, [ebp - 0x118]
call fcn.00412540
mov byte [ebp - 4], 2
movzx edx, byte [ebp - 0x287]
test edx, edx
je 0x46f7bf
mov ecx, dword [ebp + 0xc]
call fcn.00414440
push eax
push str._s_shell
lea eax, [ebp - 0x134]
push eax
call fcn.00476820
add esp, 0xc
push 0x4c1b5c
lea ecx, [ebp - 0x33c]
call fcn.004124f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x33c]
push ecx
lea edx, [ebp - 0x134]
push edx
push 0x80000000
lea eax, [ebp - 0x3e4]
push eax
mov ecx, dword [ebp - 0x28c]
call fcn.0046ea90
mov dword [ebp - 0x2d0], eax
mov ecx, dword [ebp - 0x2d0]
mov dword [ebp - 0x2d4], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2d4]
push edx
lea ecx, [ebp - 0x118]
call fcn.004128e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3e4]
call fcn.004124b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x33c]
call fcn.004124b0
lea ecx, [ebp - 0x118]
call fcn.00416840
movzx eax, al
test eax, eax
je 0x46f6e4
push str.open
lea ecx, [ebp - 0x118]
call fcn.00412480
lea ecx, [ebp - 0x134]
push ecx
lea ecx, [ebp - 0x168]
call fcn.00412560
mov byte [ebp - 4], 5
push 0x4c23f0
lea ecx, [ebp - 0x168]
call fcn.004182d0
lea edx, [ebp - 0x118]
push edx
lea ecx, [ebp - 0x168]
call fcn.00418300
push str.command
lea ecx, [ebp - 0x168]
call fcn.004182d0
push 0x4c1b5c
lea ecx, [ebp - 0x39c]
call fcn.004124f0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x39c]
push eax
lea ecx, [ebp - 0x168]
push ecx
push 0x80000000
lea edx, [ebp - 0x3fc]
push edx
mov ecx, dword [ebp - 0x28c]
call fcn.0046ea90
mov dword [ebp - 0x2d8], eax
mov eax, dword [ebp - 0x2d8]
mov dword [ebp - 0x2dc], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x2dc]
push ecx
lea ecx, [ebp - 0x118]
call fcn.004128e0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3fc]
call fcn.004124b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x39c]
call fcn.004124b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x168]
call fcn.004124b0
jmp 0x46ffdf
mov edx, 0x53
mov word [ebp - 0xf0], dx
mov eax, 0x6f
mov word [ebp - 0xee], ax
mov ecx, 0x66
mov word [ebp - 0xec], cx
mov edx, 0x74
mov word [ebp - 0xea], dx
mov eax, 0x77
mov word [ebp - 0xe8], ax
mov ecx, 0x61
mov word [ebp - 0xe6], cx
mov edx, 0x72
mov word [ebp - 0xe4], dx
mov eax, 0x65
mov word [ebp - 0xe2], ax
mov ecx, 0x5c
mov word [ebp - 0xe0], cx
mov edx, 0x4d
mov word [ebp - 0xde], dx
mov eax, 0x69
mov word [ebp - 0xdc], ax
mov ecx, 0x63
mov word [ebp - 0xda], cx
mov edx, 0x72
mov word [ebp - 0xd8], dx
mov eax, 0x6f
mov word [ebp - 0xd6], ax
mov ecx, 0x73
mov word [ebp - 0xd4], cx
mov edx, 0x6f
mov word [ebp - 0xd2], dx
mov eax, 0x66
mov word [ebp - 0xd0], ax
mov ecx, 0x74
mov word [ebp - 0xce], cx
mov edx, 0x5c
mov word [ebp - 0xcc], dx
mov eax, 0x57
mov word [ebp - 0xca], ax
mov ecx, 0x69
mov word [ebp - 0xc8], cx
mov edx, 0x6e
mov word [ebp - 0xc6], dx
mov eax, 0x64
mov word [ebp - 0xc4], ax
mov ecx, 0x6f
mov word [ebp - 0xc2], cx
mov edx, 0x77
mov word [ebp - 0xc0], dx
mov eax, 0x73
mov word [ebp - 0xbe], ax
mov ecx, 0x5c
mov word [ebp - 0xbc], cx
mov edx, 0x53
mov word [ebp - 0xba], dx
mov eax, 0x68
mov word [ebp - 0xb8], ax
mov ecx, 0x65
mov word [ebp - 0xb6], cx
mov edx, 0x6c
mov word [ebp - 0xb4], dx
mov eax, 0x6c
mov word [ebp - 0xb2], ax
mov ecx, 0x5c
mov word [ebp - 0xb0], cx
mov edx, 0x41
mov word [ebp - 0xae], dx
mov eax, 0x73
mov word [ebp - 0xac], ax
mov ecx, 0x73
mov word [ebp - 0xaa], cx
mov edx, 0x6f
mov word [ebp - 0xa8], dx
mov eax, 0x63
mov word [ebp - 0xa6], ax
mov ecx, 0x69
mov word [ebp - 0xa4], cx
mov edx, 0x61
mov word [ebp - 0xa2], dx
mov eax, 0x74
mov word [ebp - 0xa0], ax
mov ecx, 0x69
mov word [ebp - 0x9e], cx
mov edx, 0x6f
mov word [ebp - 0x9c], dx
mov eax, 0x6e
mov word [ebp - 0x9a], ax
mov ecx, 0x73
mov word [ebp - 0x98], cx
mov edx, 0x5c
mov word [ebp - 0x96], dx
mov eax, 0x55
mov word [ebp - 0x94], ax
mov ecx, 0x72
mov word [ebp - 0x92], cx
mov edx, 0x6c
mov word [ebp - 0x90], dx
mov eax, 0x41
mov word [ebp - 0x8e], ax
mov ecx, 0x73
mov word [ebp - 0x8c], cx
mov edx, 0x73
mov word [ebp - 0x8a], dx
mov eax, 0x6f
mov word [ebp - 0x88], ax
mov ecx, 0x63
mov word [ebp - 0x86], cx
mov edx, 0x69
mov word [ebp - 0x84], dx
mov eax, 0x61
mov word [ebp - 0x82], ax
mov ecx, 0x74
mov word [ebp - 0x80], cx
mov edx, 0x69
mov word [ebp - 0x7e], dx
mov eax, 0x6f
mov word [ebp - 0x7c], ax
mov ecx, 0x6e
mov word [ebp - 0x7a], cx
mov edx, 0x73
mov word [ebp - 0x78], dx
xor eax, eax
mov word [ebp - 0x76], ax
mov ecx, dword [ebp + 0xc]
call fcn.00414440
push eax
lea ecx, [ebp - 0xf0]
push ecx
push str._s_sUserChoice
lea edx, [ebp - 0x134]
push edx
call fcn.00476820
add esp, 0x10
push str.ProgId
lea ecx, [ebp - 0x3b4]
call fcn.004124f0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x3b4]
push eax
lea ecx, [ebp - 0x134]
push ecx
push 0x80000001
lea edx, [ebp - 0x414]
push edx
mov ecx, dword [ebp - 0x28c]
call fcn.0046ea90
mov dword [ebp - 0x2e4], eax
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x2e8], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2e8]
push ecx
lea ecx, [ebp - 0x118]
call fcn.004128e0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x414]
call fcn.004124b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3b4]
call fcn.004124b0
lea ecx, [ebp - 0x118]
call fcn.00416840
movzx edx, al
test edx, edx
je 0x46fbc6
push str.ProgId
lea ecx, [ebp - 0x3cc]
call fcn.004124f0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x3cc]
push eax
lea ecx, [ebp - 0x134]
push ecx
push 0x80000002
lea edx, [ebp - 0x42c]
push edx
mov ecx, dword [ebp - 0x28c]
call fcn.0046ea90
mov dword [ebp - 0x2ec], eax
mov eax, dword [ebp - 0x2ec]
mov dword [ebp - 0x2c4], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x2c4]
push ecx
lea ecx, [ebp - 0x118]
call fcn.004128e0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x42c]
call fcn.004124b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3cc]
call fcn.004124b0
lea ecx, [ebp - 0x118]
call fcn.00416840
movzx edx, al
test edx, edx
jne 0x46ffdf
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00416850
mov ecx, 0x53
mov word [ebp - 0x74], cx
mov edx, 0x6f
mov word [ebp - 0x72], dx
mov eax, 0x66
mov word [ebp - 0x70], ax
mov ecx, 0x74
mov word [ebp - 0x6e], cx
mov edx, 0x77
mov word [ebp - 0x6c], dx
mov eax, 0x61
mov word [ebp - 0x6a], ax
mov ecx, 0x72
mov word [ebp - 0x68], cx
mov edx, 0x65
mov word [ebp - 0x66], dx
mov eax, 0x5c
mov word [ebp - 0x64], ax
mov ecx, 0x43
mov word [ebp - 0x62], cx
mov edx, 0x6c
mov word [ebp - 0x60], dx
mov eax, 0x61
mov word [ebp - 0x5e], ax
mov ecx, 0x73
mov word [ebp - 0x5c], cx
mov edx, 0x73
mov word [ebp - 0x5a], dx
mov eax, 0x65
mov word [ebp - 0x58], ax
mov ecx, 0x73
mov word [ebp - 0x56], cx
mov edx, 0x5c
mov word [ebp - 0x54], dx
mov eax, 0x25
mov word [ebp - 0x52], ax
mov ecx, 0x73
mov word [ebp - 0x50], cx
mov edx, 0x5c
mov word [ebp - 0x4e], dx
mov eax, 0x73
mov word [ebp - 0x4c], ax
mov ecx, 0x68
mov word [ebp - 0x4a], cx
mov edx, 0x65
mov word [ebp - 0x48], dx
mov eax, 0x6c
mov word [ebp - 0x46], ax
mov ecx, 0x6c
mov word [ebp - 0x44], cx
xor edx, edx
mov word [ebp - 0x42], dx
mov ecx, dword [ebp + 0x10]
call fcn.00414440
push eax
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x134]
push ecx
call fcn.00476820
add esp, 0xc
push 0x4c1b5c
lea ecx, [ebp - 0x30c]
call fcn.004124f0
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x30c]
push edx
lea eax, [ebp - 0x134]
push eax
push 0x80000001
lea ecx, [ebp - 0x48c]
push ecx
mov ecx, dword [ebp - 0x28c]
call fcn.0046ea90
mov dword [ebp - 0x2f0], eax
mov edx, dword [ebp - 0x2f0]
mov dword [ebp - 0x2f4], edx
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x2f4]
push eax
lea ecx, [ebp - 0x118]
call fcn.004128e0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x48c]
call fcn.004124b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30c]
call fcn.004124b0
lea ecx, [ebp - 0x118]
call fcn.00416840
movzx ecx, al
test ecx, ecx
je 0x46fd8f
push str.open
lea ecx, [ebp - 0x118]
call fcn.00412480
lea edx, [ebp - 0x134]
push edx
lea ecx, [ebp - 0x150]
call fcn.00412560
mov byte [ebp - 4], 0xe
push 0x4c23f0
lea ecx, [ebp - 0x150]
call fcn.004182d0
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x150]
call fcn.00418300
push str.command
lea ecx, [ebp - 0x150]
call fcn.004182d0
push 0x4c1b5c
lea ecx, [ebp - 0x324]
call fcn.004124f0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x324]
push ecx
lea edx, [ebp - 0x150]
push edx
push 0x80000001
lea eax, [ebp - 0x444]
push eax
mov ecx, dword [ebp - 0x28c]
call fcn.0046ea90
mov dword [ebp - 0x2b4], eax
mov ecx, dword [ebp - 0x2b4]
mov dword [ebp - 0x2b8], ecx
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x2b8]
push edx
lea ecx, [ebp - 0x118]
call fcn.004128e0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x444]
call fcn.004124b0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x324]
call fcn.004124b0
lea ecx, [ebp - 0x118]
call fcn.00416840
movzx eax, al
test eax, eax
je 0x46ffd0
push 0x4c1b5c
lea ecx, [ebp - 0x384]
call fcn.004124f0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x384]
push ecx
lea edx, [ebp - 0x134]
push edx
push 0x80000002
lea eax, [ebp - 0x45c]
push eax
mov ecx, dword [ebp - 0x28c]
call fcn.0046ea90
mov dword [ebp - 0x2bc], eax
mov ecx, dword [ebp - 0x2bc]
mov dword [ebp - 0x2c0], ecx
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x2c0]
push edx
lea ecx, [ebp - 0x118]
call fcn.004128e0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x45c]
call fcn.004124b0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x384]
call fcn.004124b0
lea ecx, [ebp - 0x118]
call fcn.00416840
movzx eax, al
test eax, eax
je 0x46ff0d
push str.open
lea ecx, [ebp - 0x118]
call fcn.00412480
lea ecx, [ebp - 0x134]
push ecx
lea ecx, [ebp - 0x150]
call fcn.00416850
push 0x4c23f0
lea ecx, [ebp - 0x150]
call fcn.004182d0
lea edx, [ebp - 0x118]
push edx
lea ecx, [ebp - 0x150]
call fcn.00418300
push str.command
lea ecx, [ebp - 0x150]
call fcn.004182d0
push 0x4c1b5c
lea ecx, [ebp - 0x354]
call fcn.004124f0
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x354]
push eax
lea ecx, [ebp - 0x150]
push ecx
push 0x80000002
lea edx, [ebp - 0x474]
push edx
mov ecx, dword [ebp - 0x28c]
call fcn.0046ea90
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebp - 0x2e0]
mov dword [ebp - 0x2c8], eax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x2c8]
push ecx
lea ecx, [ebp - 0x118]
call fcn.004128e0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x474]
call fcn.004124b0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x354]
call fcn.004124b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x150]
call fcn.004124b0
lea ecx, [ebp - 0x118]
call fcn.00416840
movzx edx, al
test edx, edx
jne 0x4700c8
push str.Shell32.dll
lea ecx, [ebp - 0x36c]
call fcn.004124f0
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x36c]
push eax
call fcn.00482190
mov ecx, eax
call fcn.00482250
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x36c]
call fcn.004124b0
cmp dword [ebp - 0x2ac], 0
je 0x4700c8
push str.CommandLineToArgvW
mov ecx, dword [ebp - 0x2ac]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2b0], eax
cmp dword [ebp - 0x2b0], 0
je 0x4700c8
mov dword [ebp - 0x138], 0
lea edx, [ebp - 0x138]
push edx
lea ecx, [ebp - 0x118]
call fcn.00414440
push eax
call dword [ebp - 0x2b0]
mov dword [ebp - 0x2a0], eax
cmp dword [ebp - 0x2a0], 0
je 0x4700bd
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0x2a0]
mov eax, dword [edx + ecx]
push eax
lea ecx, [ebp - 0x118]
call fcn.00412480
mov ecx, dword [ebp - 0x2a0]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x4700c8
lea ecx, [ebp - 0x118]
call fcn.0041c220
lea edx, [ebp - 0x118]
push edx
mov ecx, dword [ebp + 8]
call fcn.00412950
mov eax, dword [ebp - 0x294]
or eax, 1
mov dword [ebp - 0x294], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x118]
call fcn.004124b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.004124b0
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.004a2e83
mov esp, ebp
pop ebp
ret 0xc