Function at 0x4066fa
Capabilities:
Terminate process

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x24]
push ebx
mov dword [0x52aad4], eax
mov ebx, 0x3d35
push ebp
push esi
xor esi, esi
mov ebp, 0x52a9a0
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], 0x39a7
mov dword [esp + 0xc], 0x3a86
mov dword [esp + 0x18], 0x3d50
mov dword [esp + 0x20], 0x40c9
mov dword [esp + 0x1c], 0x40b1
mov eax, dword [esp + 0xc]
add eax, 0x2af
push edi
cmp dword [esp + 0x34], eax
jl 0x4068fa
mov eax, dword [esp + 0x14]
xor eax, 0xc82
cmp dword [esp + 0x18], eax
jg 0x4068fa
mov eax, dword [0x517e7c]
xor edx, edx
mov dword [0x52a9a8], 0x14
inc edx
mov dword [0x52a9bc], 0x12
push 4
pop ecx
mov dword [0x52a9ac], ecx
mov dword [eax + 0x20], esi
mov eax, dword [0x517e7c]
mov dword [0x52a9d4], edx
mov dword [0x52a9e4], 3
mov dword [0x52a9e8], edx
mov dword [eax + 0x5c], esi
mov eax, dword [0x517e7c]
mov dword [0x52aa18], esi
mov dword [0x52aa1c], edx
mov dword [0x52aa08], ecx
mov dword [0x52aa10], edx
mov dword [eax + 0x90], edx
mov eax, dword [0x517e7c]
mov dword [0x52aa38], 0x3c
mov dword [0x52aa40], esi
mov dword [eax + 0xac], 0x48
mov eax, dword [0x517e7c]
mov dword [0x52aa64], esi
mov dword [0x52aa78], edx
mov dword [eax + 0xdc], 0x37
mov eax, dword [0x517e7c]
mov dword [eax + 0xe0], esi
mov eax, dword [0x517e7c]
mov dword [0x52aa88], esi
mov dword [0x52aa94], edx
mov dword [0x52aa9c], esi
mov dword [0x52aaa8], 0x18
mov dword [0x52aaac], esi
mov dword [eax + 0x110], 0x30
mov eax, dword [0x517e7c]
mov dword [eax + 0x114], 0x1d
mov dword [0x52aab8], edx
mov dword [0x52aac0], esi
mov dword [0x52aac4], edx
add dword [esp + 0x18], 0x35b7
xor dword [esp + 0x34], 0xb3e
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [0x52aa18]
cmp eax, dword [0x52aa1c]
je 0x4068ad
mov eax, dword [0x517e7c]
mov ecx, dword [eax + 0x90]
mov eax, dword [0x52aa08]
add eax, 0x6121
add eax, ecx
mov dword [0x52aa08], eax
add dword [esp + 0x10], 0x2ca
xor dword [esp + 0x1c], 0x4f7
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
sub edi, 0x722
mov edx, dword [esp + 0x10]
add esi, 0xb12
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
xor ecx, 0x796e
push ebp
add eax, 0x223
push eax
push ecx
push edx
push esi
push edi
call fcn.004136b0
add esp, 0x18
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
xor eax, 0xfd6
cmp dword [esp + 0x20], eax
jle 0x406a20
xor dword [esp + 0x34], 0xc6a
xor dword [esp + 0x10], 0x8a3
xor dword [esp + 0x14], 0x7916
xor dword [esp + 0x10], 0x7542
add dword [esp + 0x14], 0xfffffc9f
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [0x517e7c]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
sub esi, 0x745
mov ecx, dword [esp + 0x1c]
sub edx, 0x62b
mov eax, dword [eax + 4]
add ecx, 0xa7f
add dword [0x52aa70], eax
mov eax, dword [esp + 0x20]
sub eax, 0x312
push eax
push ebp
push ecx
push edx
push esi
call fcn.00404c8e
mov dword [esp + 0x28], eax
xor dword [esp + 0x38], 0x757e
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x48]
xor edi, 0x44
mov edx, dword [esp + 0x34]
xor esi, 0x78c
mov ecx, dword [esp + 0x24]
sub edx, 0x585
mov eax, dword [esp + 0x24]
sub ecx, 0x650
xor eax, 0x7e10
push eax
push ecx
push edx
push esi
push edi
push ebp
call fcn.00406bb5
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x60], eax
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
xor ebx, 0x85a
mov esi, dword [esp + 0x60]
add edi, 0xb4
mov edx, dword [esp + 0x40]
add esi, 0x33e
mov ecx, dword [esp + 0x60]
sub edx, 0x2c1
mov eax, dword [esp + 0x48]
xor ecx, 0x3c6
add eax, 0x4cf
push eax
push ecx
push ebp
push edx
push esi
push edi
push ebx
call fcn.0040497c
add esp, 0x48
mov dword [esp + 0x20], eax
jmp 0x406ba5
mov eax, dword [0x517e7c]
mov ecx, dword [esp + 0x10]
add ecx, dword [eax + 0xf8]
xor ecx, dword [0x52aa38]
cmp dword [esp + 0x18], ecx
ja 0x406b41
mov ecx, dword [esp + 0x14]
xor ecx, dword [esp + 0x34]
mov eax, dword [0x52aa9c]
and eax, ebx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
sub ecx, dword [0x52a9e8]
sub ecx, eax
mov eax, dword [0x517e7c]
or dword [eax + 0x48], ecx
mov eax, dword [esp + 0x18]
sub eax, dword [0x52a9e8]
xor dword [esp + 0x14], eax
mov edi, dword [esp + 0x34]
mov eax, dword [0x517e7c]
mov esi, dword [0x517e7c]
mov edx, dword [0x52aa3c]
sub edx, dword [0x52aac4]
xor edi, dword [eax + 0x104]
mov eax, dword [esp + 0x34]
xor eax, dword [esi + 0x98]
mov ecx, dword [esp + 0x10]
add ecx, eax
mov eax, dword [esp + 0x24]
sub eax, dword [0x52aa18]
imul eax, eax, 0x3d9f
push eax
push ecx
push edx
push esi
push edi
call fcn.00405036
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
or eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x48]
imul eax, dword [0x52aa8c]
mov ecx, dword [esp + 0x34]
xor ebx, dword [0x52aa1c]
push ebp
mov dword [0x52aa8c], eax
mov eax, dword [esp + 0x4c]
and ecx, eax
mov edi, dword [esp + 0x34]
add edi, ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x3c]
add eax, ecx
mov edx, dword [esp + 0x38]
mov ecx, dword [0x52a9a8]
xor ecx, dword [0x52aac0]
imul esi, eax
mov eax, dword [0x517e7c]
sub edx, dword [eax + 0xc]
mov eax, dword [esp + 0x2c]
sub eax, dword [0x52a9e8]
push eax
push ecx
push edx
push esi
push edi
push ebx
call fcn.00413438
add esp, 0x30
mov dword [esp + 0x34], eax
jmp 0x406ba5
mov eax, dword [0x517e7c]
mov ecx, dword [esp + 0x1c]
sub ecx, dword [eax + 0x40]
mov eax, dword [esp + 0x18]
add eax, ecx
cmp dword [esp + 0x18], eax
je 0x406ba5
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
and eax, dword [0x52aac0]
mov esi, dword [0x52a9e4]
xor esi, dword [0x52aad0]
or edx, dword [0x52aa30]
mov edi, dword [0x52aa88]
sub esi, dword [0x52aa1c]
sub edi, dword [0x52aa4c]
push eax
push ecx
push ebp
push edx
push esi
push edi
call fcn.0041362c
add esp, 0x18
mov dword [esp + 0x14], eax
push dword [0x52aa90]
call dword [sym.imp.KERNEL32.dll_ExitProcess]