Function at 0x40669f
Capabilities:
Terminate process

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x24]
push ebx
mov dword [0x52a50c], eax
push ebp
mov dword [esp + 0x10], 0x3ded
mov ebp, 0x52a3d8
mov dword [esp + 0x2c], 0x3525
push esi
push edi
xor esi, esi
mov edi, 0x40b1
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 0x4036
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x10]
add eax, 0xffffff3d
cmp dword [esp + 0x34], eax
jge 0x406891
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x18], eax
jg 0x406891
mov eax, dword [0x5178d4]
xor edx, edx
mov dword [0x52a3e0], 0x14
inc edx
mov dword [0x52a3f4], 0x12
push 4
pop ecx
mov dword [0x52a3e4], ecx
mov dword [eax + 0x20], esi
mov eax, dword [0x5178d4]
mov dword [0x52a40c], edx
mov dword [0x52a41c], 3
mov dword [0x52a420], edx
mov dword [eax + 0x5c], esi
mov eax, dword [0x5178d4]
mov dword [0x52a450], esi
mov dword [0x52a454], edx
mov dword [0x52a440], ecx
mov dword [0x52a448], edx
mov dword [eax + 0x90], edx
mov eax, dword [0x5178d4]
mov dword [0x52a470], 0x3c
mov dword [0x52a478], esi
mov dword [eax + 0xac], 0x48
mov eax, dword [0x5178d4]
mov dword [0x52a49c], esi
mov dword [0x52a4b0], edx
mov dword [eax + 0xdc], 0x37
mov eax, dword [0x5178d4]
mov dword [eax + 0xe0], esi
mov eax, dword [0x5178d4]
mov dword [0x52a4c0], esi
mov dword [0x52a4cc], edx
mov dword [0x52a4d4], esi
mov dword [0x52a4e0], 0x18
mov dword [0x52a4e4], esi
mov dword [eax + 0x110], 0x30
mov eax, dword [0x5178d4]
mov dword [eax + 0x114], 0x1d
mov dword [0x52a4f0], edx
mov dword [0x52a4f8], esi
mov dword [0x52a4fc], edx
add dword [esp + 0x18], 0xffffffb2
mov eax, dword [esp + 0x34]
mov dword [esp + 0x34], eax
add dword [esp + 0x10], 0xfffffa7d
mov eax, dword [0x52a450]
cmp eax, dword [0x52a454]
je 0x406842
mov eax, dword [0x5178d4]
mov ecx, dword [eax + 0x90]
mov eax, dword [0x52a440]
add eax, 0x6121
add eax, ecx
mov dword [0x52a440], eax
add dword [esp + 0x10], 0x583
xor dword [esp + 0x1c], edi
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
add edi, 0x360b
mov edx, dword [esp + 0x10]
sub esi, 0x7e8
mov ecx, dword [esp + 0x24]
sub edx, 0x2e6
mov eax, dword [esp + 0x10]
xor ecx, 0x3ab3
push ebp
sub eax, 0xa7f
push eax
push ecx
push edx
push esi
push edi
call fcn.00413667
add esp, 0x18
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
xor eax, 0x44a
cmp dword [esp + 0x20], eax
jg 0x4069ab
xor dword [esp + 0x34], 0xfb8
mov edi, 0x3a9d
xor dword [esp + 0x10], 0x763d
xor dword [esp + 0x14], 0x7e10
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
add dword [esp + 0x14], 0x210
add dword [esp + 0x18], 0x102
mov eax, dword [0x5178d4]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
sub esi, 0x312
mov ecx, dword [esp + 0x1c]
add edx, edi
mov eax, dword [eax + 4]
add ecx, 0x722
add dword [0x52a4a8], eax
mov eax, dword [esp + 0x20]
add eax, 0x3f73
push eax
push ebp
push ecx
push edx
push esi
call fcn.00404c76
mov dword [esp + 0x28], eax
xor dword [esp + 0x38], edi
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x48]
xor edi, 0x438
mov edx, dword [esp + 0x34]
xor esi, 0x7aab
mov ecx, dword [esp + 0x24]
add edx, 0x3d50
mov eax, dword [esp + 0x24]
xor eax, 0x8aa
push eax
push ecx
push edx
push esi
push edi
push ebp
call fcn.00406b43
mov dword [esp + 0x4c], eax
add dword [esp + 0x60], 0x16
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
xor ebx, 0x1b
mov esi, dword [esp + 0x60]
add edi, 0x4aa
mov edx, dword [esp + 0x40]
add esi, 0x583
mov ecx, dword [esp + 0x60]
sub edx, 0x2dc
mov eax, dword [esp + 0x48]
xor ecx, 0x314
add eax, 0x1bf
push eax
push ecx
push ebp
push edx
push esi
push edi
push ebx
call fcn.0040495a
add esp, 0x48
mov dword [esp + 0x20], eax
jmp 0x406b33
mov eax, dword [0x5178d4]
mov ecx, dword [esp + 0x10]
add ecx, dword [eax + 0xf8]
xor ecx, dword [0x52a470]
cmp dword [esp + 0x18], ecx
ja 0x406acf
mov ecx, dword [esp + 0x14]
xor ecx, dword [esp + 0x34]
mov eax, dword [0x52a4d4]
and eax, 0x3a42
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
sub ecx, dword [0x52a420]
sub ecx, eax
mov eax, dword [0x5178d4]
or dword [eax + 0x48], ecx
mov eax, dword [esp + 0x18]
sub eax, dword [0x52a420]
xor dword [esp + 0x14], eax
mov edi, dword [esp + 0x34]
mov eax, dword [0x5178d4]
mov esi, dword [0x5178d4]
mov edx, dword [0x52a474]
sub edx, dword [0x52a4fc]
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 [0x52a450]
imul eax, eax, 0x3d35
push eax
push ecx
push edx
push esi
push edi
call fcn.0040500d
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
or eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x48]
imul eax, dword [0x52a4c4]
mov ecx, dword [esp + 0x34]
xor ebx, dword [0x52a454]
push ebp
mov dword [0x52a4c4], 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 [0x52a3e0]
xor ecx, dword [0x52a4f8]
imul esi, eax
mov eax, dword [0x5178d4]
sub edx, dword [eax + 0xc]
mov eax, dword [esp + 0x2c]
sub eax, dword [0x52a420]
push eax
push ecx
push edx
push esi
push edi
push ebx
call fcn.004133d6
add esp, 0x30
mov dword [esp + 0x34], eax
jmp 0x406b33
mov eax, dword [0x5178d4]
mov ecx, dword [esp + 0x1c]
sub ecx, dword [eax + 0x40]
mov eax, dword [esp + 0x18]
add eax, ecx
cmp dword [esp + 0x18], eax
je 0x406b33
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
and eax, dword [0x52a4f8]
mov esi, dword [0x52a41c]
xor esi, dword [0x52a508]
or edx, dword [0x52a468]
mov edi, dword [0x52a4c0]
sub esi, dword [0x52a454]
sub edi, dword [0x52a484]
push eax
push ecx
push ebp
push edx
push esi
push edi
call fcn.004135e1
add esp, 0x18
mov dword [esp + 0x14], eax
push dword [0x52a4c8]
call dword [sym.imp.KERNEL32.dll_ExitProcess]