Function at 0x408dc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4260fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d0
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x50]
call fcn.004219f4
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0xdc]
or ebp, 0xffffffff
rep stosd dword es:[edi], eax
mov edi, dword [0x432bd0]
mov ecx, ebp
xor ebx, ebx
lea edx, [esp + 0xdc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xe0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0x1001
rep movsb byte es:[edi], byte [esi]
mov edi, str.process.tmp
mov ecx, ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x1f0], ebx
mov esi, edi
mov edi, edx
mov edx, ecx
mov ecx, ebp
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0xe4]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x5c]
call fcn.00421b06
test eax, eax
je 0x408f31
mov dword [esp + 0x28], 0x4275b4
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [esp + 0x2c], eax
mov esi, 0x4275a4
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov edi, 0x4275b0
push ebp
push ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x1f0], 2
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebp
call fcn.004030b0
mov dword [esp + 0x2c], ebp
lea ecx, [esp + 0x28]
mov byte [esp + 0x1e8], 3
call fcn.004040d0
test eax, eax
jne 0x408f48
lea ecx, [esp + 0x50]
call fcn.00421d21
mov dword [esp + 0x28], edi
push ebp
push ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x1f0], 5
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebp
call fcn.004030b0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], ebp
cmp eax, ebx
mov dword [esp + 0x38], esi
je 0x408f21
push eax
call fcn.0041ecec
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x1e8], bl
call fcn.00403a70
lea ecx, [esp + 0x50]
mov dword [esp + 0x1e8], ebp
call fcn.00421a49
xor eax, eax
jmp 0x4095df
mov eax, dword [0x42f3b0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x1e8], 8
call fcn.00404b80
mov byte [esp + 0x1e8], 9
xor esi, esi
mov eax, dword [esp + 0x30]
cmp eax, ebx
mov eax, ebp
je 0x408f85
mov eax, dword [esp + 0x40]
cmp esi, eax
jge 0x409526
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00403ac0
add esp, 4
cmp eax, ebx
je 0x409515
lea edx, [esp + 0x18]
lea ecx, [esp + 0x28]
push edx
call fcn.00403d00
test eax, eax
je 0x409515
mov eax, dword [esp + 0x18]
cmp dword [eax - 8], ebx
je 0x409515
push 0x42e1f0
lea ecx, [esp + 0x1c]
call fcn.0041e046
test eax, eax
jne 0x409010
lea ecx, [esp + 0x80]
push 4
push ecx
lea ecx, [esp + 0x20]
call fcn.0041de4c
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1ec], 0xa
call fcn.0041f06f
lea ecx, [esp + 0x80]
mov byte [esp + 0x1e8], 9
call fcn.0041ef82
lea edx, [esp + 0x18]
lea ecx, [esp + 0x20]
push edx
call fcn.0041ecf7
push 0x5c
lea ecx, [esp + 0x14]
mov byte [esp + 0x1ec], 0xb
call fcn.0041e024
cmp eax, ebp
je 0x409068
inc eax
lea ecx, [esp + 0x18]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.0041de4c
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1ec], 0xc
call fcn.0041f06f
lea ecx, [esp + 0x70]
mov byte [esp + 0x1e8], 0xb
call fcn.0041ef82
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x10]
push ecx
push 0x42e714
push edx
call fcn.0041e3cc
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x28]
push str.__s_s_
push edx
call fcn.0041e3cc
add esp, 0x1c
lea eax, [esp + 0x14]
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0041ecf7
lea ecx, [esp + 0x58]
push ecx
call fcn.00408d30
add esp, 0xc
lea ecx, [esp + 0x4c]
push str.SystemRoot
call fcn.0041eff0
mov edx, dword [0x42f3b0]
mov dword [esp + 0x24], edx
lea eax, [esp + 0x24]
lea ecx, [esp + 0x94]
push eax
mov byte [esp + 0x1ec], 0xe
call fcn.004052f0
test eax, eax
jne 0x4090f5
lea ecx, [esp + 0x24]
call fcn.0041ef0d
mov ecx, dword [esp + 0x24]
cmp dword [ecx - 8], ebx
je 0x409178
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x20]
push edx
call fcn.0041e046
test eax, eax
jne 0x409178
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x84]
mov eax, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.0041de4c
push eax
lea edx, [esp + 0x28]
lea eax, [esp + 0x70]
push edx
push eax
mov byte [esp + 0x1f4], 0xf
call fcn.0041f165
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1ec], 0x10
call fcn.0041f06f
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1e8], 0xf
call fcn.0041ef82
lea ecx, [esp + 0x84]
mov byte [esp + 0x1e8], 0xe
call fcn.0041ef82
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x14]
push ecx
push str.Full_Image_Path
push str.__s_s_
push edx
call fcn.0041e3cc
add esp, 0x10
lea eax, [esp + 0x14]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0041ecf7
lea ecx, [esp + 0x58]
push ecx
call fcn.00408d30
add esp, 0xc
lea edx, [esp + 0x68]
lea ecx, [esp + 0x28]
push edx
call fcn.00403ed0
test eax, eax
je 0x409266
mov eax, dword [esp + 0x68]
lea ecx, [eax - 0x20]
cmp ecx, 0xe0
ja case.0x4091e1.36
xor edx, edx
mov dl, byte [ecx + 0x40960c]
jmp dword [edx*4 + 0x4095f8]
push eax
lea eax, [esp + 0x14]
push str.HIGH_PRIORITY_CLASS___d_
push eax
jmp 0x409222
push eax
push str.IDLE_PRIORITY_CLASS___d_
jmp 0x40921d
push eax
lea edx, [esp + 0x14]
push str.NORMAL_PRIORITY_CLASS___d_
push edx
jmp 0x409222
push eax
lea eax, [esp + 0x14]
push str.REALTIME_PRIORITY_CLASS___d_
push eax
jmp 0x409222
push eax
push str.Unknown___d_
lea ecx, [esp + 0x18]
push ecx
call fcn.0041e3cc
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x14]
push edx
push str.Priority_Class
push str.__s_s_
push eax
call fcn.0041e3cc
add esp, 0x10
lea edx, [esp + 0x14]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0041ecf7
lea eax, [esp + 0x58]
push eax
call fcn.00408d30
add esp, 0xc
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00403f10
test eax, eax
je 0x4092d8
mov eax, dword [esp + 0x74]
cmp eax, ebx
jbe 0x4092d8
mov edx, eax
and edx, 0xffff
shr eax, 0x10
push edx
push eax
lea eax, [esp + 0x18]
push str._d._d
push eax
call fcn.0041e3cc
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x24]
push ecx
push str.Version
push str.__s_s_
push edx
call fcn.0041e3cc
add esp, 0x20
lea eax, [esp + 0x14]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0041ecf7
lea ecx, [esp + 0x58]
push ecx
call fcn.00408d30
add esp, 0xc
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x28]
push edx
call fcn.00403f30
test eax, eax
je 0x409342
mov eax, dword [esp + 0x7c]
cmp eax, ebx
mov eax, str.Disabled
jne 0x4092fc
mov eax, str.Enabled
push eax
lea ecx, [esp + 0x14]
call fcn.0041f0bf
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push str.Priority_Boost
push str.__s_s_
push ecx
call fcn.0041e3cc
add esp, 0x10
lea edx, [esp + 0x14]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0041ecf7
lea eax, [esp + 0x58]
push eax
call fcn.00408d30
add esp, 0xc
lea ecx, [esp + 0x88]
mov dword [esp + 0x88], 0
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], ebx
call fcn.00403f80
test eax, eax
je 0x4093ea
push 0x400
lea edx, [esp + 0x7c]
push ebx
push edx
lea ecx, [esp + 0x94]
call fcn.004115c0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1ec], 0x11
call fcn.0041f06f
lea ecx, [esp + 0x78]
mov byte [esp + 0x1e8], 0xe
call fcn.0041ef82
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push str.Creation_Time
push str.__s_s_
push ecx
call fcn.0041e3cc
add esp, 0x10
lea edx, [esp + 0x14]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0041ecf7
lea eax, [esp + 0x58]
push eax
call fcn.00408d30
add esp, 0xc
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00403fd0
test eax, eax
je 0x409466
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
cmp eax, ebx
ja 0x40940c
cmp ecx, ebx
jbe 0x409466
push ebx
push 0x2710
push eax
push ecx
call fcn.00412d30
push edx
push eax
lea edx, [esp + 0x18]
push str._d_ms
push edx
call fcn.0041e3cc
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
push eax
push str.Kernel_Time
push str.__s_s_
push ecx
call fcn.0041e3cc
add esp, 0x20
lea edx, [esp + 0x14]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0041ecf7
lea eax, [esp + 0x58]
push eax
call fcn.00408d30
add esp, 0xc
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00404050
test eax, eax
je 0x4094e2
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
cmp eax, ebx
ja 0x409488
cmp ecx, ebx
jbe 0x4094e2
push ebx
push 0x2710
push eax
push ecx
call fcn.00412d30
push edx
push eax
lea edx, [esp + 0x18]
push str._d_ms
push edx
call fcn.0041e3cc
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
push eax
push str.User_Time
push str.__s_s_
push ecx
call fcn.0041e3cc
add esp, 0x20
lea edx, [esp + 0x14]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0041ecf7
lea eax, [esp + 0x58]
push eax
call fcn.00408d30
add esp, 0xc
lea ecx, [esp + 0x24]
mov byte [esp + 0x1e8], 0xd
call fcn.0041ef82
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1e8], 0xb
call fcn.0041ef82
lea ecx, [esp + 0x20]
mov byte [esp + 0x1e8], 9
call fcn.0041ef82
push 1
lea ecx, [esp + 0x2c]
call fcn.00404230
inc esi
jmp 0x408f77
lea ecx, [esp + 0x50]
call fcn.00421d21
lea ecx, [esp + 0x94]
mov byte [esp + 0x1e8], 8
call fcn.00404bb0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e8], 7
call fcn.0041ef82
lea ecx, [esp + 0x10]
mov byte [esp + 0x1e8], 6
call fcn.0041ef82
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e8], 3
call fcn.0041ef82
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x30], ebx
cmp eax, ebx
mov dword [esp + 0x34], ebp
je 0x409599
push eax
call fcn.0041ecec
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], eax
cmp eax, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x38], 0x4275a4
je 0x4095ba
push eax
call fcn.0041ecec
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x1e8], bl
call fcn.00403a70
lea ecx, [esp + 0x50]
mov dword [esp + 0x1e8], ebp
call fcn.00421a49
mov eax, 1
mov ecx, dword [esp + 0x1e0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1dc
ret