Function at 0x10007340
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0
push dword [ebp + 0xc]
call fcn.10008328
and eax, 0xff
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xc
jne 0x1000742a
push 1
push dword [ebp + 0xc]
call fcn.100023a8
mov dword [0x10027f9c], eax
push 5
push dword [ebp + 0xc]
call fcn.100023b5
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100073c5
push ebx
call fcn.1000fa45
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x10027260
push dword [ebp - 8]
call fcn.10001000
add esp, 8
cmp eax, 0
je 0x10007418
mov eax, dword [ebp - 8]
test eax, eax
je 0x100073fe
push eax
mov ebx, eax
call fcn.10002553
inc eax
push eax
call fcn.1000fa3f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x10027f98]
test ebx, ebx
je 0x10007412
push ebx
call fcn.1000fa45
add esp, 4
pop eax
mov dword [0x10027f98], eax
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
jmp 0x100082fc
cmp dword [ebp - 4], 0x1e
jne 0x10007557
push 1
push dword [ebp + 0xc]
call fcn.100023b5
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10007458
push ebx
call fcn.1000fa45
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x10027260
push dword [ebp - 8]
call fcn.10001000
add esp, 8
cmp eax, 0
jne 0x100074c7
fild dword [0x10027f54]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fadd qword [0x10027460]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
call fcn.1000109d
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x90c
call fcn.1000ff40
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100074c3
push ebx
call fcn.1000fa45
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x80000004
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x100074da
mov eax, 0x10027260
push eax
push 0x80000004
push 0
push str.Group
push 0x80000004
push 0
push str.Setting
push 0x80000004
push 0
mov eax, dword [0x10027f60]
test eax, eax
jne 0x10007508
mov eax, 0x10027260
push eax
push 4
mov ebx, 0x8cc
call fcn.100101d0
add esp, 0x34
test eax, eax
je 0x1000753c
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
jmp 0x10007552
lea eax, [ebp - 8]
push eax
push 0x12c
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
jmp 0x100082fc
cmp dword [ebp - 4], 0x1f
jne 0x10007652
push 1
push dword [ebp + 0xc]
call fcn.100023b5
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10007585
push ebx
call fcn.1000fa45
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x10027260
push dword [ebp - 8]
call fcn.10001000
add esp, 8
cmp eax, 0
jne 0x100075c2
call fcn.100058dd
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100075be
push ebx
call fcn.1000fa45
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x80000004
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x100075d5
mov eax, 0x10027260
push eax
push 0x80000004
push 0
push str.Remark
push 0x80000004
push 0
push str.Setting
push 0x80000004
push 0
mov eax, dword [0x10027f60]
test eax, eax
jne 0x10007603
mov eax, 0x10027260
push eax
push 4
mov ebx, 0x8cc
call fcn.100101d0
add esp, 0x34
test eax, eax
je 0x10007637
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
jmp 0x1000764d
lea eax, [ebp - 8]
push eax
push 0x12d
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
jmp 0x100082fc
cmp dword [ebp - 4], 0xfd
jne 0x100077e8
mov eax, str.SeShutdownPrivilege
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10008336
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10007680
push ebx
call fcn.1000fa45
add esp, 4
push 1
push dword [ebp + 0xc]
call fcn.10008328
and eax, 0xff
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100076c8
mov dword [ebp - 0x1c], esp
push 0xffff
push 4
xor eax, eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x100076c8
push 6
call fcn.1000fa51
add esp, 4
cmp dword [ebp - 0xc], 1
jne 0x100076fb
mov dword [ebp - 0x1c], esp
push 0xffff
push 5
xor eax, eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x100076fb
push 6
call fcn.1000fa51
add esp, 4
cmp dword [ebp - 0xc], 2
jne 0x1000772e
mov dword [ebp - 0x1c], esp
push 0xffff
push 6
xor eax, eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1000772e
push 6
call fcn.1000fa51
add esp, 4
cmp dword [ebp - 0xc], 3
jne 0x10007742
call fcn.10008559
jmp 0x10008304
cmp dword [ebp - 0xc], 4
jne 0x10007762
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
call fcn.10008980
jmp 0x10008304
cmp dword [ebp - 0xc], 5
jne 0x100077e3
mov dword [ebp - 0x1c], esp
push dword [0x10027f78]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x10007791
push 6
call fcn.1000fa51
add esp, 4
test eax, eax
je 0x100077a3
mov dword [0x10027f78], 0
cmp dword [ebp + 0x10], 3
jne 0x100077d4
push 2
push dword [ebp + 0xc]
call fcn.10008328
mov dword [ebp - 0x20], eax
cmp byte [ebp - 0x20], 1
mov eax, 0
sete al
push eax
call fcn.10008a20
jmp 0x10008304
push 1
call fcn.10008a20
jmp 0x10008304
jmp 0x100082fc
cmp dword [ebp - 4], 0x84
jne 0x100078e6
push 0
mov ebx, 0x274
call fcn.10011700
add esp, 4
mov dword [ebp - 0xc], eax
push 1
push dword [ebp + 0xc]
call fcn.100023a8
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x2b0
call fcn.10012650
add esp, 0x1c
push 5
push dword [ebp + 0xc]
call fcn.100023a8
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x2b0
call fcn.10012650
add esp, 0x1c
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x28c
call fcn.10012ca0
add esp, 0x10
push 0x80000301
push 0
lea eax, [ebp - 0x10]
push eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x80000006
push 0
push 0x1000a789
push 3
mov ebx, 0
mov eax, 0x10019c50
call fcn.1000fea0
add esp, 0x28
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x1c
mov eax, 0x10019d80
call fcn.1000fea0
add esp, 0x10
jmp 0x100082fc
cmp dword [ebp - 4], 0x98
jne 0x100078f8
jmp 0x100082fc
cmp dword [ebp - 4], 0x43
jne 0x10007a2d
push 0
mov ebx, 0x274
call fcn.10011700
add esp, 4
mov dword [ebp - 0xc], eax
push 1
push dword [ebp + 0xc]
call fcn.100023a8
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x2b0
call fcn.10012650
add esp, 0x1c
push 5
push dword [ebp + 0xc]
call fcn.100023a8
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x2b0
call fcn.10012650
add esp, 0x1c
push 9
push dword [ebp + 0xc]
call fcn.100023ef
push eax
call fcn.10008ccb
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x2b0
call fcn.10012650
add esp, 0x1c
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x2b0
call fcn.10012650
add esp, 0x1c
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x28c
call fcn.10012ca0
add esp, 0x10
push 0x80000006
push 0
push 0x1000aeff
push 1
mov ebx, 0x9dc
call fcn.10013120
add esp, 0x10
mov dword [0x10027f90], eax
mov eax, dword [ebp - 0xc]
mov dword [0x10027f94], eax
jmp 0x100082fc
cmp dword [ebp - 4], 0x44
jne 0x10007b90
push 0
mov ebx, 0x274
call fcn.10011700
add esp, 4
mov dword [ebp - 0xc], eax
push 1
push dword [ebp + 0xc]
call fcn.100023a8
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x2b0
call fcn.10012650
add esp, 0x1c
push 5
push dword [ebp + 0xc]
call fcn.100023a8
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x2b0
call fcn.10012650
add esp, 0x1c
push 9
push dword [ebp + 0xc]
call fcn.100023ef
push eax
call fcn.10008ccb
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x2b0
call fcn.10012650
add esp, 0x1c
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x2b0
call fcn.10012650
add esp, 0x1c
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x28c
call fcn.10012ca0
add esp, 0x10
push 0x80000301
push 0
lea eax, [ebp - 0x10]
push eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x80000006
push 0
push 0x1000aeff
push 3
mov ebx, 0
mov eax, 0x10019c50
call fcn.1000fea0
add esp, 0x28
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x1c
mov eax, 0x10019d80
call fcn.1000fea0
add esp, 0x10
jmp 0x100082fc
cmp dword [ebp - 4], 0x46
jne 0x10007bd6
mov dword [ebp - 0x1c], esp
push dword [0x10027f78]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x10007bbf
push 6
call fcn.1000fa51
add esp, 4
test eax, eax
je 0x10007bd1
mov dword [0x10027f78], 0
jmp 0x100082fc
cmp dword [ebp - 4], 0x59
jne 0x10007c1e
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x1c], eax
push 1
push dword [ebp + 0xc]
call fcn.100023ef
mov dword [ebp - 0x20], eax
push 1
push dword [ebp + 0x10]
call fcn.1000960f
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call fcn.1000961a
jmp 0x100082fc
cmp dword [ebp - 4], 0x5a
jne 0x10008052
push 0
mov ebx, 0x274
call fcn.10011700
add esp, 4
mov dword [ebp - 0xc], eax
push 1
push dword [ebp + 0xc]
call fcn.100023ef
mov dword [ebp - 0x1c], eax
push 1
push dword [ebp + 0x10]
call fcn.1000960f
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 2
mov ebx, 0x910
call fcn.10011750
add esp, 0x1c
mov dword [ebp - 0x24], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x10007c94
mov eax, 0x10027258
push eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x298
call fcn.10013200
add esp, 0x1c
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10007cc1
push ebx
call fcn.1000fa45
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x28c
call fcn.10012ca0
add esp, 0x10
push 0x80000004
push 0
lea eax, [ebp - 8]
push eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x2ac
call fcn.10013b30
add esp, 0x1c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10007d16
jmp 0x10008031
push 0x80000005
push 0
lea eax, [ebp - 0x14]
push eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x2ac
call fcn.10013b30
add esp, 0x1c
push 0x80000005
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x10007d50
mov eax, 0x10027258
push eax
push 1
mov ebx, 4
mov eax, 0x1001c820
call fcn.1000fea0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10007d7f
push ebx
call fcn.1000fa45
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x80000004
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10007d96
mov eax, 0x10027260
push eax
push 0x80000004
push 0
mov eax, dword [0x10027f6c]
test eax, eax
jne 0x10007dac
mov eax, 0x10027260
push eax
push 0x80000004
push 0
push 0x10027649
push 3
mov ebx, 0x30
mov eax, 0x10019290
call fcn.1000fea0
add esp, 0x28
mov dword [ebp - 0x1c], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x10007de6
mov eax, 0x10027258
push eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x10007dfa
mov eax, 0x10027260
push eax
push 2
mov ebx, 0x26c
call fcn.10010090
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10007e20
push ebx
call fcn.1000fa45
add esp, 4
cmp dword [ebp - 0x20], 0
jne 0x10007fe4
push 0x80000004
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10007e3d
mov eax, 0x10027260
push eax
push 0x80000004
push 0
mov eax, dword [0x10027f6c]
test eax, eax
jne 0x10007e53
mov eax, 0x10027260
push eax
push 0x80000004
push 0
push 0x10027649
push 3
mov ebx, 0x30
mov eax, 0x10019290
call fcn.1000fea0
add esp, 0x28
mov dword [ebp - 0x1c], eax
push 1
push 0xa
push 1
push 0xa
call fcn.10009abb
mov dword [ebp - 0x20], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x10007ea3
mov eax, 0x10027260
push eax
push 0x80000004
push 0
mov eax, dword [0x10027f6c]
test eax, eax
jne 0x10007eb9
mov eax, 0x10027260
push eax
push 0x80000004
push 0
push 0x10027649
push 3
mov ebx, 0x30
mov eax, 0x10019290
call fcn.1000fea0
add esp, 0x28
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10007ef0
push ebx
call fcn.1000fa45
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x10007f03
mov eax, 0x10027260
push eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x10007f17
mov eax, 0x10027260
push eax
push 2
mov ebx, 0x248
call fcn.10014460
add esp, 0x1c
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10007f3a
push ebx
call fcn.1000fa45
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10007f4a
push ebx
call fcn.1000fa45
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10007f5d
mov eax, 0x10027260
push eax
push 0x80000004
push 0
mov eax, dword [0x10027f6c]
test eax, eax
jne 0x10007f73
mov eax, 0x10027260
push eax
push 0x80000004
push 0
push 0x10027649
push 3
mov ebx, 0x30
mov eax, 0x10019290
call fcn.1000fea0
add esp, 0x28
mov dword [ebp - 0x1c], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x10007fad
mov eax, 0x10027258
push eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x10007fc1
mov eax, 0x10027260
push eax
push 2
mov ebx, 0x26c
call fcn.10010090
add esp, 0x1c
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10007fe4
push ebx
call fcn.1000fa45
add esp, 4
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x2b4
call fcn.10014480
add esp, 0x1c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jne 0x10008018
jmp 0x10008031
push 0x10027260
push dword [ebp - 8]
call fcn.10001000
add esp, 8
cmp eax, 0
jne 0x10007cdd
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x278
call fcn.10012ec0
add esp, 0x10
jmp 0x100082fc
cmp dword [ebp - 4], 0xa9
jne 0x10008157
push 0x80000301
push 0
push 0x16
push 0x80000004
push 0
mov eax, dword [0x10027f5c]
test eax, eax
jne 0x10008080
mov eax, 0x10027260
push eax
push 0x80000004
push 0
push 0x100272e5
push 3
mov ebx, 0x30
mov eax, 0x10019290
call fcn.1000fea0
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push 0
push 0x20
push 4
push 0
push 0
push 0xc0000000
push dword [ebp - 0x1c]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x100080e7
push 6
call fcn.1000fa51
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x100080fa
push ebx
call fcn.1000fa45
add esp, 4
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x10008152
push 0
push 0
push 0x16
call fcn.100027b6
push 0xa9
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
mov dword [ebp - 0x1c], esp
push dword [ebp - 0x18]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x10008152
push 6
call fcn.1000fa51
add esp, 4
jmp 0x100082fc
cmp dword [ebp - 4], 0xaa
jne 0x10008169
jmp 0x100082fc
cmp dword [ebp - 4], 0xb0
jne 0x1000829e
push 0
mov ebx, 0x274
call fcn.10011700
add esp, 4
mov dword [ebp - 0xc], eax
push 1
push dword [ebp + 0xc]
call fcn.100023a8
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x2b0
call fcn.10012650
add esp, 0x1c
push 5
push dword [ebp + 0xc]
call fcn.100023a8
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x2b0
call fcn.10012650
add esp, 0x1c
push 9
push dword [ebp + 0xc]
call fcn.100023ef
push eax
call fcn.10008ccb
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x2b0
call fcn.10012650
add esp, 0x1c
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x28c
call fcn.10012ca0
add esp, 0x10
push 0x80000301
push 0
lea eax, [ebp - 0x10]
push eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x80000006
push 0
push 0x1000b1ad
push 3
mov ebx, 0
mov eax, 0x10019c50
call fcn.1000fea0
add esp, 0x28
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x1c
mov eax, 0x10019d80
call fcn.1000fea0
add esp, 0x10
jmp 0x100082fc
cmp dword [ebp - 4], 0x37
jne 0x100082e7
push 0x80000006
push 0
push 0x1000ceb1
push 1
mov ebx, 0x9dc
call fcn.10013120
add esp, 0x10
mov dword [0x10027f90], eax
push 1
push dword [ebp + 0xc]
call fcn.10008328
and eax, 0xff
mov dword [0x10027f94], eax
jmp 0x100082fc
cmp dword [ebp - 4], 0xbf
jne 0x100082fc
push dword [ebp + 8]
call fcn.10009c56
push dword [ebp + 0xc]
call fcn.1000730a
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10008314
push ebx
call fcn.1000fa45
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10008324
push ebx
call fcn.1000fa45
add esp, 4
leave
ret 0xc