Function at 0x45f520
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57845d
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
push edi
call fcn.0042c860
mov ecx, eax
test ecx, ecx
je 0x45f831
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push str.TFVdcXJtcGMsY3Zj
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.0042cad0
test al, al
jne 0x45f57f
push 0x10
push str.TFVdcXJtcGMsY3Zj
lea ecx, [ebp - 0x18]
call fcn.0042cdf0
mov dword [ebp - 4], 1
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x20], ebx
xor edi, edi
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x40], eax
push ecx
mov byte [ebp - 4], 2
mov esi, esp
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x30], ecx
call fcn.0042c200
add eax, 0x10
lea ecx, [ebp - 0x2c]
mov dword [esi], eax
call fcn.00442cb0
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 0xd], bl
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.0045ed50
mov esi, dword [ebp - 0x3c]
test al, al
jne 0x45f657
test esi, esi
je 0x45f64e
mov ebx, dword [ebp - 0x38]
cmp esi, ebx
je 0x45f608
mov ecx, esi
call fcn.00421ee0
add esi, 0x18
cmp esi, ebx
jne 0x45f5f7
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x45f642
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f83b
push ecx
push esi
call fcn.00546e91
add esp, 8
xor ebx, ebx
mov byte [ebp - 0xd], 0
jmp 0x45f75d
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
cmp esi, eax
je 0x45f6fa
add esi, 4
xor ebx, ebx
nop word [eax + eax]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 5
mov eax, dword [eax]
test eax, eax
je 0x45f831
mov ecx, dword [esi + 4]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x45f6aa
test dx, dx
je 0x45f6a6
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x45f6aa
add ecx, 4
add eax, 4
test dx, dx
jne 0x45f684
xor eax, eax
jmp 0x45f6af
sbb eax, eax
or eax, 1
mov byte [ebp - 4], 4
test eax, eax
jne 0x45f6e0
mov byte [ebp - 0xd], 1
cmp edi, ebx
je 0x45f6cb
mov eax, dword [esi]
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0x44], edi
jmp 0x45f6e0
push esi
push edi
lea ecx, [ebp - 0x48]
call fcn.0043aa10
mov eax, dword [ebp - 0x40]
mov ebx, eax
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0x24], eax
add esi, 0x18
lea eax, [esi - 4]
cmp eax, dword [ebp - 0x1c]
jne 0x45f670
mov ebx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], eax
test esi, esi
je 0x45f75d
cmp esi, eax
je 0x45f719
mov ebx, dword [ebp - 0x1c]
mov ecx, esi
call fcn.00421ee0
add esi, 0x18
cmp esi, ebx
jne 0x45f705
mov esi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x34]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x45f753
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f83b
push ecx
push esi
call fcn.00546e91
add esp, 8
mov edx, dword [ebp - 0x2c]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45f77a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x45f7d5
mov dword [ebp - 0x14], 0
cmp ebx, edi
je 0x45f7d5
nop dword [eax + eax]
push dword [ebx]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x45f7bb
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x2c]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x45f7cb
mov eax, dword [ebp - 0x14]
mov ecx, 1
test eax, eax
cmove eax, ecx
mov dword [ebp - 0x14], eax
add ebx, 4
cmp ebx, edi
jne 0x45f790
or esi, 0xffffffff
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x45f808
mov ecx, dword [ebp - 0x24]
mov eax, ebx
sub ecx, ebx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x45f7fe
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f840
push ecx
push ebx
call fcn.00546e91
add esp, 8
mov eax, dword [ebp - 0x30]
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x45f81d
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0042cdd0
call fcn.0054be7f
call fcn.0054be7f
int3