Function at 0x4066e4
Capabilities:
Terminate process

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x24]
push ebx
mov dword [0x529224], eax
push ebp
push esi
xor esi, esi
mov ebp, 0x5290f0
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], esi
push edi
mov edi, 0x40c9
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], 0x35b7
mov dword [esp + 0x20], 0x3b66
mov eax, dword [esp + 0x10]
add eax, 0x3a61
cmp dword [esp + 0x34], eax
jge 0x4068d8
mov eax, dword [esp + 0x14]
mov ebx, 0x757e
xor eax, ebx
cmp dword [esp + 0x18], eax
jg 0x4068d8
mov eax, dword [0x4ae154]
xor edx, edx
mov dword [0x5290f8], 0x14
inc edx
mov dword [0x52910c], 0x12
push 4
pop ecx
mov dword [0x5290fc], ecx
mov dword [eax + 0x20], esi
mov eax, dword [0x4ae154]
mov dword [0x529124], edx
mov dword [0x529134], 3
mov dword [0x529138], edx
mov dword [eax + 0x5c], esi
mov eax, dword [0x4ae154]
mov dword [0x529168], esi
mov dword [0x52916c], edx
mov dword [0x529158], ecx
mov dword [0x529160], edx
mov dword [eax + 0x90], edx
mov eax, dword [0x4ae154]
mov dword [0x529188], 0x3c
mov dword [0x529190], esi
mov dword [eax + 0xac], 0x48
mov eax, dword [0x4ae154]
mov dword [0x5291b4], esi
mov dword [0x5291c8], edx
mov dword [eax + 0xdc], 0x37
mov eax, dword [0x4ae154]
mov dword [eax + 0xe0], esi
mov eax, dword [0x4ae154]
mov dword [0x5291d8], esi
mov dword [0x5291e4], edx
mov dword [0x5291ec], esi
mov dword [0x5291f8], 0x18
mov dword [0x5291fc], esi
mov dword [eax + 0x110], 0x30
mov eax, dword [0x4ae154]
mov dword [eax + 0x114], 0x1d
mov dword [0x529208], edx
mov dword [0x529210], esi
mov dword [0x529214], edx
add dword [esp + 0x18], 0x3a86
xor dword [esp + 0x34], 0x35b7
add dword [esp + 0x10], edi
mov eax, dword [0x529168]
cmp eax, dword [0x52916c]
je 0x406889
mov eax, dword [0x4ae154]
mov ecx, dword [eax + 0x90]
mov eax, dword [0x529158]
add eax, 0x6121
add eax, ecx
mov dword [0x529158], eax
add dword [esp + 0x10], 0xfffffeaa
xor dword [esp + 0x1c], 0x3d9f
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
add edi, 0xb12
mov edx, dword [esp + 0x10]
add esi, 0x5b0
mov ecx, dword [esp + 0x24]
sub edx, 0x40d
mov eax, dword [esp + 0x10]
xor ecx, ebx
push ebp
sub eax, 0x4ed
push eax
push ecx
push edx
push esi
push edi
call fcn.00413699
add esp, 0x18
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
xor eax, 0x76ba
cmp dword [esp + 0x20], eax
jle 0x406a08
xor dword [esp + 0x34], 0x92
mov ebp, 0x5fe
xor dword [esp + 0x10], 0x531
mov ebx, 0x55b
xor dword [esp + 0x14], 0x7dfc
xor dword [esp + 0x10], 0xc49
add dword [esp + 0x14], 0xfffffd51
add dword [esp + 0x18], 0xfffffb85
mov eax, dword [0x4ae154]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
add esi, 0xa6
mov ecx, dword [esp + 0x1c]
sub edx, ebx
mov eax, dword [eax + 4]
sub ecx, ebp
add dword [0x5291c0], eax
mov eax, dword [esp + 0x20]
add eax, 0x33b
push eax
push 0x5290f0
push ecx
push edx
push esi
call fcn.00404c85
mov dword [esp + 0x28], eax
xor dword [esp + 0x38], 0xf2a
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x48]
xor edi, 0x7af3
mov edx, dword [esp + 0x34]
xor esi, 0xb84
mov ecx, dword [esp + 0x24]
add edx, 0x4d0
mov eax, dword [esp + 0x24]
add ecx, ebx
xor eax, 0xd6d
push eax
push ecx
push edx
push esi
push edi
push 0x5290f0
call fcn.00406ba0
mov dword [esp + 0x4c], eax
add dword [esp + 0x60], 0xba4
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
xor ebx, 0x7aab
mov esi, dword [esp + 0x60]
sub edi, 0x1d4
mov edx, dword [esp + 0x40]
sub esi, 0x394
mov ecx, dword [esp + 0x60]
add edx, 0xce
mov eax, dword [esp + 0x48]
xor ecx, 0x76c2
sub eax, ebp
push eax
push ecx
push 0x5290f0
push edx
push esi
push edi
push ebx
call fcn.00404976
add esp, 0x48
mov dword [esp + 0x20], eax
jmp 0x406b90
mov eax, dword [0x4ae154]
mov ecx, dword [esp + 0x10]
add ecx, dword [eax + 0xf8]
xor ecx, dword [0x529188]
cmp dword [esp + 0x18], ecx
ja 0x406b2c
mov ecx, dword [esp + 0x14]
xor ecx, dword [esp + 0x34]
mov eax, dword [0x5291ec]
and eax, 0x3a61
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
sub ecx, dword [0x529138]
sub ecx, eax
mov eax, dword [0x4ae154]
or dword [eax + 0x48], ecx
mov eax, dword [esp + 0x18]
sub eax, dword [0x529138]
xor dword [esp + 0x14], eax
mov edi, dword [esp + 0x34]
mov eax, dword [0x4ae154]
mov esi, dword [0x4ae154]
mov edx, dword [0x52918c]
sub edx, dword [0x529214]
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 [0x529168]
imul eax, eax, 0x3525
push eax
push ecx
push edx
push esi
push edi
call fcn.0040502c
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
or eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x48]
imul eax, dword [0x5291dc]
mov ecx, dword [esp + 0x34]
xor ebx, dword [0x52916c]
push ebp
mov dword [0x5291dc], 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 [0x5290f8]
xor ecx, dword [0x529210]
imul esi, eax
mov eax, dword [0x4ae154]
sub edx, dword [eax + 0xc]
mov eax, dword [esp + 0x2c]
sub eax, dword [0x529138]
push eax
push ecx
push edx
push esi
push edi
push ebx
call fcn.0041340b
add esp, 0x30
mov dword [esp + 0x34], eax
jmp 0x406b90
mov eax, dword [0x4ae154]
mov ecx, dword [esp + 0x1c]
sub ecx, dword [eax + 0x40]
mov eax, dword [esp + 0x18]
add eax, ecx
cmp dword [esp + 0x18], eax
je 0x406b90
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
and eax, dword [0x529210]
mov esi, dword [0x529134]
xor esi, dword [0x529220]
or edx, dword [0x529180]
mov edi, dword [0x5291d8]
sub esi, dword [0x52916c]
sub edi, dword [0x52919c]
push eax
push ecx
push ebp
push edx
push esi
push edi
call fcn.00413609
add esp, 0x18
mov dword [esp + 0x14], eax
push dword [0x5291e0]
call dword [sym.imp.KERNEL32.dll_ExitProcess]