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

Disassembly:
push 0xffffffffffffffff
push 0x425f3c
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.00421844
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0xdc]
or ebp, 0xffffffff
rep stosd dword es:[edi], eax
mov edi, dword [0x432bc0]
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.00421956
test eax, eax
je 0x408df1
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.00402f70
mov dword [esp + 0x2c], ebp
lea ecx, [esp + 0x28]
mov byte [esp + 0x1e8], 3
call fcn.00403f90
test eax, eax
jne 0x408e08
lea ecx, [esp + 0x50]
call fcn.00421b71
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.00402f70
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], ebp
cmp eax, ebx
mov dword [esp + 0x38], esi
je 0x408de1
push eax
call fcn.0041eb3c
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x1e8], bl
call fcn.00403930
lea ecx, [esp + 0x50]
mov dword [esp + 0x1e8], ebp
call fcn.00421899
xor eax, eax
jmp 0x40949f
mov eax, dword [0x42f390]
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.00404a40
mov byte [esp + 0x1e8], 9
xor esi, esi
mov eax, dword [esp + 0x30]
cmp eax, ebx
mov eax, ebp
je 0x408e45
mov eax, dword [esp + 0x40]
cmp esi, eax
jge 0x4093e6
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00403980
add esp, 4
cmp eax, ebx
je 0x4093d5
lea edx, [esp + 0x18]
lea ecx, [esp + 0x28]
push edx
call fcn.00403bc0
test eax, eax
je 0x4093d5
mov eax, dword [esp + 0x18]
cmp dword [eax - 8], ebx
je 0x4093d5
push 0x42e1d4
lea ecx, [esp + 0x1c]
call fcn.0041de96
test eax, eax
jne 0x408ed0
lea ecx, [esp + 0x80]
push 4
push ecx
lea ecx, [esp + 0x20]
call fcn.0041dc9c
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1ec], 0xa
call fcn.0041eebf
lea ecx, [esp + 0x80]
mov byte [esp + 0x1e8], 9
call fcn.0041edd2
lea edx, [esp + 0x18]
lea ecx, [esp + 0x20]
push edx
call fcn.0041eb47
push 0x5c
lea ecx, [esp + 0x14]
mov byte [esp + 0x1ec], 0xb
call fcn.0041de74
cmp eax, ebp
je 0x408f28
inc eax
lea ecx, [esp + 0x18]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.0041dc9c
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1ec], 0xc
call fcn.0041eebf
lea ecx, [esp + 0x70]
mov byte [esp + 0x1e8], 0xb
call fcn.0041edd2
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x10]
push ecx
push 0x42e6f8
push edx
call fcn.0041e21c
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.0041e21c
add esp, 0x1c
lea eax, [esp + 0x14]
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0041eb47
lea ecx, [esp + 0x58]
push ecx
call fcn.00408bf0
add esp, 0xc
lea ecx, [esp + 0x4c]
push str.SystemRoot
call fcn.0041ee40
mov edx, dword [0x42f390]
mov dword [esp + 0x24], edx
lea eax, [esp + 0x24]
lea ecx, [esp + 0x94]
push eax
mov byte [esp + 0x1ec], 0xe
call fcn.004051b0
test eax, eax
jne 0x408fb5
lea ecx, [esp + 0x24]
call fcn.0041ed5d
mov ecx, dword [esp + 0x24]
cmp dword [ecx - 8], ebx
je 0x409038
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x20]
push edx
call fcn.0041de96
test eax, eax
jne 0x409038
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x84]
mov eax, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.0041dc9c
push eax
lea edx, [esp + 0x28]
lea eax, [esp + 0x70]
push edx
push eax
mov byte [esp + 0x1f4], 0xf
call fcn.0041efb5
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1ec], 0x10
call fcn.0041eebf
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1e8], 0xf
call fcn.0041edd2
lea ecx, [esp + 0x84]
mov byte [esp + 0x1e8], 0xe
call fcn.0041edd2
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x14]
push ecx
push str.Full_Image_Path
push str.__s_s_
push edx
call fcn.0041e21c
add esp, 0x10
lea eax, [esp + 0x14]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0041eb47
lea ecx, [esp + 0x58]
push ecx
call fcn.00408bf0
add esp, 0xc
lea edx, [esp + 0x68]
lea ecx, [esp + 0x28]
push edx
call fcn.00403d90
test eax, eax
je 0x409126
mov eax, dword [esp + 0x68]
lea ecx, [eax - 0x20]
cmp ecx, 0xe0
ja case.0x4090a1.36
xor edx, edx
mov dl, byte [ecx + 0x4094cc]
jmp dword [edx*4 + 0x4094b8]
push eax
lea eax, [esp + 0x14]
push str.HIGH_PRIORITY_CLASS___d_
push eax
jmp 0x4090e2
push eax
push str.IDLE_PRIORITY_CLASS___d_
jmp 0x4090dd
push eax
lea edx, [esp + 0x14]
push str.NORMAL_PRIORITY_CLASS___d_
push edx
jmp 0x4090e2
push eax
lea eax, [esp + 0x14]
push str.REALTIME_PRIORITY_CLASS___d_
push eax
jmp 0x4090e2
push eax
push str.Unknown___d_
lea ecx, [esp + 0x18]
push ecx
call fcn.0041e21c
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.0041e21c
add esp, 0x10
lea edx, [esp + 0x14]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0041eb47
lea eax, [esp + 0x58]
push eax
call fcn.00408bf0
add esp, 0xc
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00403dd0
test eax, eax
je 0x409198
mov eax, dword [esp + 0x74]
cmp eax, ebx
jbe 0x409198
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.0041e21c
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x24]
push ecx
push str.Version
push str.__s_s_
push edx
call fcn.0041e21c
add esp, 0x20
lea eax, [esp + 0x14]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0041eb47
lea ecx, [esp + 0x58]
push ecx
call fcn.00408bf0
add esp, 0xc
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x28]
push edx
call fcn.00403df0
test eax, eax
je 0x409202
mov eax, dword [esp + 0x7c]
cmp eax, ebx
mov eax, str.Disabled
jne 0x4091bc
mov eax, str.Enabled
push eax
lea ecx, [esp + 0x14]
call fcn.0041ef0f
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push str.Priority_Boost
push str.__s_s_
push ecx
call fcn.0041e21c
add esp, 0x10
lea edx, [esp + 0x14]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0041eb47
lea eax, [esp + 0x58]
push eax
call fcn.00408bf0
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.00403e40
test eax, eax
je 0x4092aa
push 0x400
lea edx, [esp + 0x7c]
push ebx
push edx
lea ecx, [esp + 0x94]
call fcn.00411430
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1ec], 0x11
call fcn.0041eebf
lea ecx, [esp + 0x78]
mov byte [esp + 0x1e8], 0xe
call fcn.0041edd2
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push str.Creation_Time
push str.__s_s_
push ecx
call fcn.0041e21c
add esp, 0x10
lea edx, [esp + 0x14]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0041eb47
lea eax, [esp + 0x58]
push eax
call fcn.00408bf0
add esp, 0xc
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00403e90
test eax, eax
je 0x409326
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
cmp eax, ebx
ja 0x4092cc
cmp ecx, ebx
jbe 0x409326
push ebx
push 0x2710
push eax
push ecx
call fcn.00412af0
push edx
push eax
lea edx, [esp + 0x18]
push str._d_ms
push edx
call fcn.0041e21c
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
push eax
push str.Kernel_Time
push str.__s_s_
push ecx
call fcn.0041e21c
add esp, 0x20
lea edx, [esp + 0x14]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0041eb47
lea eax, [esp + 0x58]
push eax
call fcn.00408bf0
add esp, 0xc
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00403f10
test eax, eax
je 0x4093a2
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
cmp eax, ebx
ja 0x409348
cmp ecx, ebx
jbe 0x4093a2
push ebx
push 0x2710
push eax
push ecx
call fcn.00412af0
push edx
push eax
lea edx, [esp + 0x18]
push str._d_ms
push edx
call fcn.0041e21c
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
push eax
push str.User_Time
push str.__s_s_
push ecx
call fcn.0041e21c
add esp, 0x20
lea edx, [esp + 0x14]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0041eb47
lea eax, [esp + 0x58]
push eax
call fcn.00408bf0
add esp, 0xc
lea ecx, [esp + 0x24]
mov byte [esp + 0x1e8], 0xd
call fcn.0041edd2
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1e8], 0xb
call fcn.0041edd2
lea ecx, [esp + 0x20]
mov byte [esp + 0x1e8], 9
call fcn.0041edd2
push 1
lea ecx, [esp + 0x2c]
call fcn.004040f0
inc esi
jmp 0x408e37
lea ecx, [esp + 0x50]
call fcn.00421b71
lea ecx, [esp + 0x94]
mov byte [esp + 0x1e8], 8
call fcn.00404a70
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e8], 7
call fcn.0041edd2
lea ecx, [esp + 0x10]
mov byte [esp + 0x1e8], 6
call fcn.0041edd2
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e8], 3
call fcn.0041edd2
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x30], ebx
cmp eax, ebx
mov dword [esp + 0x34], ebp
je 0x409459
push eax
call fcn.0041eb3c
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 0x40947a
push eax
call fcn.0041eb3c
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x1e8], bl
call fcn.00403930
lea ecx, [esp + 0x50]
mov dword [esp + 0x1e8], ebp
call fcn.00421899
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