Function at 0x45973c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe80
xor eax, eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov byte [ebp - 9], 0
mov edx, dword [ebp + 8]
test edx, edx
jne 0x45994d
call sub.KERNEL32.dll_GetCurrentProcess
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x45994d
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [ebp + 8], eax
push 0x5ed8ec
call sub.KERNEL32.dll_GetModuleHandleA
mov ebx, eax
test ebx, ebx
je 0x45994d
push 0x5ed8f9
push ebx
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x45994d
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp - 4]
push ecx
call eax
test eax, eax
je 0x45994d
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4597c5
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 8]
mov dword [eax], edx
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x24]
push ecx
push eax
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push edx
push ecx
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.dll_GetProcessTimes
test eax, eax
je 0x45994d
test esi, esi
je 0x459808
mov eax, dword [ebp - 0x24]
mov ecx, 0x989680
xor edx, edx
div ecx
mov ecx, eax
mov eax, dword [ebp - 0x2c]
mov ebx, 0x989680
xor edx, edx
div ebx
add ecx, eax
mov dword [esi], ecx
push 0x5ed90f
call sub.KERNEL32.dll_GetModuleHandleA
mov ebx, eax
test ebx, ebx
je 0x45994d
push 0x5ed91c
push ebx
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
jne 0x459852
push 0x5ed934
call sub.KERNEL32.dll_GetModuleHandleA
mov ebx, eax
test ebx, ebx
je 0x45994d
push 0x5ed93e
push ebx
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x45994d
push 0x28
lea edx, [ebp - 0x58]
push edx
mov ecx, dword [ebp - 4]
push ecx
call eax
test eax, eax
je 0x45994d
test edi, edi
je 0x459872
mov eax, dword [ebp - 0x4c]
shr eax, 0xa
mov dword [edi], eax
push 0x5ed953
call sub.KERNEL32.dll_GetModuleHandleA
mov ebx, eax
test ebx, ebx
je 0x45994d
push 0x5ed960
push ebx
call sub.KERNEL32.dll_GetProcAddress
mov esi, eax
test esi, esi
je 0x45994d
push 0x5ed979
push ebx
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x45994d
push 0x5ed988
push ebx
call sub.KERNEL32.dll_GetProcAddress
mov edi, eax
test edi, edi
je 0x45994d
push 0
push 0xf
call esi
mov esi, eax
mov ecx, 0x4a
push esi
push edi
lea edi, [ebp - 0x180]
mov esi, 0x53069a
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov dword [ebp - 0x180], 0x128
lea eax, [ebp - 0x180]
push eax
push esi
call dword [ebp - 0x30]
mov ebx, eax
jmp 0x45990c
lea eax, [ebp - 0x180]
push eax
push esi
call edi
mov ebx, eax
test ebx, ebx
je 0x45991d
mov eax, dword [ebp - 0x178]
mov edx, dword [ebp + 8]
cmp eax, edx
jne 0x459900
push esi
call sub.KERNEL32.dll_CloseHandle
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x459942
test ebx, ebx
je 0x45993b
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0x16c]
mov dword [eax], edx
jmp 0x459942
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov dword [ecx], eax
mov byte [ebp - 9], 1
jmp 0x45994d
mov edx, dword [ebp - 4]
test edx, edx
je 0x45995d
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_CloseHandle
mov al, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret