Function at 0x406e10
Capabilities:
Delete file
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x435827
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x4451b0]
xor eax, esp
mov dword [esp + 0x470], eax
push ebx
push esi
push edi
mov eax, dword [0x4451b0]
xor eax, esp
push eax
lea eax, [esp + 0x488]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x64]
mov dword [esp + 0x14], esi
call fcn.00403880
lea eax, [esp + 0x64]
xor ebx, ebx
push eax
mov dword [esp + 0x494], ebx
call fcn.004010d0
add esp, 4
test eax, eax
jne 0x406e99
call fcn.004050c0
mov ecx, str.dld_cfg_fail
call fcn.0040b7d0
lea esi, [esp + 0x64]
call fcn.00403900
or eax, 0xffffffff
jmp 0x407257
push 0x43a8d0
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x407058
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.00407f20
mov eax, dword [esp + 0xe8]
add esp, 0xc
cmp eax, ebx
jle 0x406eed
cmp dword [esp + 0x18], eax
jae 0x406eed
call fcn.004050c0
mov ecx, str.less_osver
jmp 0x406e83
call fcn.004050c0
mov ecx, str.more_systemOS
call fcn.0040b7d0
push 0x40
lea ecx, [esp + 0x28]
push ebx
push ecx
call fcn.0041c7f0
add esp, 0xc
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
shrd eax, ecx, 0x14
shr ecx, 0x14
mov ecx, dword [esp + 0xe0]
cmp ecx, ebx
jle 0x406f4c
cmp eax, ecx
jge 0x406f4c
call fcn.004050c0
mov ecx, str.less_memory
jmp 0x406e83
xor edi, edi
lea esi, [edi + 0x43]
call fcn.00406c80
cmp edx, edi
jb 0x406f64
ja 0x406f60
cmp eax, ebx
jbe 0x406f64
mov ebx, eax
mov edi, edx
inc esi
cmp si, 0x5a
jbe 0x406f51
mov eax, dword [esp + 0xe4]
shrd ebx, edi, 0x14
shr edi, 0x14
test eax, eax
jle 0x406f97
cdq
cmp edi, edx
ja 0x406f97
jb 0x406f88
cmp ebx, eax
jae 0x406f97
call fcn.004050c0
mov ecx, str.less_disk
jmp 0x406e83
call fcn.00406a90
mov esi, eax
cmp esi, 2
jne 0x406faf
call fcn.004050c0
mov ecx, str.vt_off
jmp 0x406fce
cmp esi, 1
jne 0x406fc0
call fcn.004050c0
mov ecx, str.vt_on
jmp 0x406fce
test esi, esi
jne 0x406fd3
call fcn.004050c0
mov ecx, str.vt_unknown
call fcn.0040b7d0
cmp dword [esp + 0xd8], 1
jne 0x406ff1
cmp esi, 1
je 0x406ff1
call fcn.004050c0
mov ecx, str.vt_off_exit
jmp 0x406e83
cmp dword [esp + 0xe8], 0
je 0x407018
call fcn.00405d20
call fcn.0040f130
test eax, eax
jne 0x407018
call fcn.004050c0
mov ecx, str.mini_off
jmp 0x406e83
cmp dword [esp + 0xec], 0
je 0x40703a
call fcn.0040d050
test eax, eax
jne 0x40703a
call fcn.004050c0
mov ecx, str.no_LOL
jmp 0x406e83
lea edi, [esp + 0x64]
call fcn.0040cb60
test eax, eax
je 0x407056
call fcn.004050c0
mov ecx, str.poped
jmp 0x406e83
xor ebx, ebx
lea edi, [esp + 0x164]
call fcn.004037b0
lea eax, [esp + 0x64]
lea esi, [esp + 0x370]
mov byte [esp + 0x490], 1
call fcn.00404d10
mov edx, dword [esp + 0x14]
push 0x43a8d0
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x407115
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
push ecx
mov dword [eax], ebx
mov eax, esp
mov esi, edi
mov dword [esp + 0x1c], esp
mov dword [eax], 0x44689c
call fcn.00407520
mov eax, dword [esp + 0x168]
push 3
push ebx
push ebx
push ebx
push ebx
push 1
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esp + 0x24], vtable.WTL::CMessageLoop.0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x494], 2
call fcn.00407ed0
lea edi, [esp + 0x24]
call fcn.00407da0
mov ebx, eax
call fcn.00407c50
mov esi, edi
call fcn.00407280
jmp 0x407238
lea esi, [esp + 0x14]
call fcn.00404990
mov byte [esp + 0x490], 3
mov eax, dword [eax]
push eax
call fcn.0040c380
mov esi, eax
mov byte [esp + 0x494], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40715b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x4071fa
lea esi, [esp + 0x18]
lea eax, [esp + 0x164]
mov dword [esp + 0x14], ebx
call fcn.00404950
lea esi, [esp + 0x1c]
mov byte [esp + 0x490], 4
call fcn.00404990
mov eax, dword [eax]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.0040cee0
mov esi, eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4071bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x4071d2
call fcn.004050c0
mov ecx, str.runloader_succ
call fcn.0040b7d0
mov byte [esp + 0x490], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4071fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea edi, [esp + 0x14]
lea esi, [esp + 0x164]
call fcn.004046d0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407233
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00406d50
lea ecx, [esp + 0x164]
mov byte [esp + 0x490], 0
call fcn.00403a40
lea esi, [esp + 0x64]
call fcn.00403900
mov eax, ebx
mov ecx, dword [esp + 0x488]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.0041a78f
mov esp, ebp
pop ebp
ret