Function at 0x1005a2d0
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 0x100abe26
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x100d703c]
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 0x1005a38e
call dword [ebp - 0x298]
test eax, eax
je 0x1005a38e
mov byte [ebp - 0x285], 1
jmp 0x1005a546
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 0x1005a452
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 0x1005a452
mov byte [ebp - 0x285], 1
jmp 0x1005a546
mov byte [ebp - 0x286], 0
mov eax, dword fs:[0x30]
movzx ecx, byte [eax + 2]
cmp ecx, 1
jne 0x1005a474
mov dword [ebp - 0x2a4], 1
jmp 0x1005a47e
mov dword [ebp - 0x2a4], 0
mov dl, byte [ebp - 0x2a4]
mov byte [ebp - 0x286], dl
movzx eax, byte [ebp - 0x286]
test eax, eax
je 0x1005a4a1
mov byte [ebp - 0x285], 1
jmp 0x1005a546
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 0x1005a4f8
mov eax, dword [ebp - 0x290]
add eax, 1
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 4
jae 0x1005a53f
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 0x1005a53d
mov edx, dword [ebp - 0x2a8]
mov eax, dword [edx]
movzx ecx, byte [eax]
cmp ecx, 0xcc
jne 0x1005a53d
mov byte [ebp - 0x285], 1
jmp 0x1005a546
jmp 0x1005a4e9
mov byte [ebp - 0x285], 0
movzx edx, byte [ebp - 0x285]
test edx, edx
je 0x1005a57c
push 0x100b5aa4
mov ecx, dword [ebp + 8]
call fcn.10003770
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x294]
or eax, 1
mov dword [ebp - 0x294], eax
mov eax, dword [ebp + 8]
jmp 0x1005b0db
mov ecx, dword [ebp + 0x10]
call fcn.1000c7c0
lea ecx, [ebp - 0x134]
call fcn.100037c0
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 edx, [ebp - 0x284]
push edx
call fcn.10014be0
add esp, 4
mov byte [ebp - 0x287], 1
cmp dword [ebp - 0x280], 6
jb 0x1005a5dc
mov byte [ebp - 0x287], 0
lea ecx, [ebp - 0x118]
call fcn.100037c0
mov byte [ebp - 4], 2
movzx eax, byte [ebp - 0x287]
test eax, eax
je 0x1005a793
mov ecx, dword [ebp + 0xc]
call fcn.10003680
push eax
push str._s_shell
lea ecx, [ebp - 0x134]
push ecx
call fcn.1000dab0
add esp, 0xc
push 0x100b5aa4
lea ecx, [ebp - 0x33c]
call fcn.10003770
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.10059a60
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.10003700
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3e4]
call fcn.100036c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x33c]
call fcn.100036c0
lea ecx, [ebp - 0x118]
call fcn.10006b40
movzx ecx, al
test ecx, ecx
je 0x1005a6b8
push str.open
lea ecx, [ebp - 0x118]
call fcn.10006b50
lea edx, [ebp - 0x134]
push edx
lea ecx, [ebp - 0x168]
call fcn.100037e0
mov byte [ebp - 4], 5
push 0x100b64ac
lea ecx, [ebp - 0x168]
call fcn.1000ec50
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x168]
call fcn.1000ec80
push str.command
lea ecx, [ebp - 0x168]
call fcn.1000ec50
push 0x100b5aa4
lea ecx, [ebp - 0x39c]
call fcn.10003770
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.10059a60
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.10003700
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3fc]
call fcn.100036c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x39c]
call fcn.100036c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x168]
call fcn.100036c0
jmp 0x1005afb3
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.10003680
push eax
lea edx, [ebp - 0xf0]
push edx
push str._s_sUserChoice
lea eax, [ebp - 0x134]
push eax
call fcn.1000dab0
add esp, 0x10
push str.ProgId
lea ecx, [ebp - 0x3b4]
call fcn.10003770
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.10059a60
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.10003700
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x414]
call fcn.100036c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3b4]
call fcn.100036c0
lea ecx, [ebp - 0x118]
call fcn.10006b40
movzx eax, al
test eax, eax
je 0x1005ab9a
push str.ProgId
lea ecx, [ebp - 0x3cc]
call fcn.10003770
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.10059a60
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.10003700
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x42c]
call fcn.100036c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3cc]
call fcn.100036c0
lea ecx, [ebp - 0x118]
call fcn.10006b40
movzx eax, al
test eax, eax
jne 0x1005afb3
lea ecx, [ebp - 0x118]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.10006b80
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.10003680
push eax
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0x134]
push edx
call fcn.1000dab0
add esp, 0xc
push 0x100b5aa4
lea ecx, [ebp - 0x30c]
call fcn.10003770
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.10059a60
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.10003700
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x48c]
call fcn.100036c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30c]
call fcn.100036c0
lea ecx, [ebp - 0x118]
call fcn.10006b40
movzx edx, al
test edx, edx
je 0x1005ad63
push str.open
lea ecx, [ebp - 0x118]
call fcn.10006b50
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x150]
call fcn.100037e0
mov byte [ebp - 4], 0xe
push 0x100b64ac
lea ecx, [ebp - 0x150]
call fcn.1000ec50
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x150]
call fcn.1000ec80
push str.command
lea ecx, [ebp - 0x150]
call fcn.1000ec50
push 0x100b5aa4
lea ecx, [ebp - 0x324]
call fcn.10003770
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.10059a60
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.10003700
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x444]
call fcn.100036c0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x324]
call fcn.100036c0
lea ecx, [ebp - 0x118]
call fcn.10006b40
movzx ecx, al
test ecx, ecx
je 0x1005afa4
push 0x100b5aa4
lea ecx, [ebp - 0x384]
call fcn.10003770
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.10059a60
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.10003700
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x45c]
call fcn.100036c0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x384]
call fcn.100036c0
lea ecx, [ebp - 0x118]
call fcn.10006b40
movzx ecx, al
test ecx, ecx
je 0x1005aee1
push str.open
lea ecx, [ebp - 0x118]
call fcn.10006b50
lea edx, [ebp - 0x134]
push edx
lea ecx, [ebp - 0x150]
call fcn.10006b80
push 0x100b64ac
lea ecx, [ebp - 0x150]
call fcn.1000ec50
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x150]
call fcn.1000ec80
push str.command
lea ecx, [ebp - 0x150]
call fcn.1000ec50
push 0x100b5aa4
lea ecx, [ebp - 0x354]
call fcn.10003770
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.10059a60
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.10003700
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x474]
call fcn.100036c0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x354]
call fcn.100036c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x150]
call fcn.100036c0
lea ecx, [ebp - 0x118]
call fcn.10006b40
movzx eax, al
test eax, eax
jne 0x1005b09c
push str.Shell32.dll
lea ecx, [ebp - 0x36c]
call fcn.10003770
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x36c]
push ecx
call fcn.100167f0
mov ecx, eax
call fcn.100168b0
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x36c]
call fcn.100036c0
cmp dword [ebp - 0x2ac], 0
je 0x1005b09c
push 0x100bbe3c
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 0x1005b09c
mov dword [ebp - 0x138], 0
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x118]
call fcn.10003680
push eax
call dword [ebp - 0x2b0]
mov dword [ebp - 0x2a0], eax
cmp dword [ebp - 0x2a0], 0
je 0x1005b091
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.10006b50
mov edx, dword [ebp - 0x2a0]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1005b09c
lea ecx, [ebp - 0x118]
call fcn.1000c7c0
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003fe0
mov ecx, dword [ebp - 0x294]
or ecx, 1
mov dword [ebp - 0x294], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x118]
call fcn.100036c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.100036c0
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.1009ea6c
mov esp, ebp
pop ebp
ret 0xc