Function at 0x40de5e
Capabilities:
Delete file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x48e00c]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
push esi
xor esi, esi
mov dword [esp + 0xc], ebx
push edi
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], 0x40f8b0
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0x484310
mov dword [esp + 0x40], 0x23
mov dword [esp + 0x44], 0x40fa89
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], str.GLWC
call fcn.0040fbcc
mov edi, 0x7f00
push edi
push esi
mov esi, dword [sym.imp.USER32.dll_LoadCursorW]
call esi
push str.MAINICON
push ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 6
call dword [sym.imp.USER32.dll_LoadIconW]
push edi
push 0
mov dword [esp + 0x34], eax
call esi
mov esi, dword [sym.imp.USER32.dll_RegisterClassW]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x18]
push eax
call esi
lea eax, [esp + 0x40]
push eax
call esi
movaps xmm0, xmmword [0x485e90]
lea eax, [esp + 0x68]
push 0x40000
push 0
push 0x16ca0000
push eax
movups xmmword [esp + 0x78], xmm0
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov edi, dword [esp + 0x70]
sub edi, dword [esp + 0x68]
mov ebx, dword [esp + 0x74]
sub ebx, dword [esp + 0x6c]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
mov dword [esp + 0x18], edi
call esi
sub eax, edi
cdq
sub eax, edx
mov edi, eax
push 1
sar edi, 1
call esi
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
xor ecx, ecx
push ecx
push dword [esp + 0x14]
push ecx
push ecx
push ebx
push dword [esp + 0x28]
push eax
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push edi
push 0x16ca0000
push str.UNLEASHED
push 0x484310
push 0x40000
call esi
mov ebx, dword [esp + 0x10]
xor edi, edi
push edi
push ebx
push edi
push eax
push 0x10e
push 0x1e0
push 8
push 8
push 0x50000000
push str.GLWND
push str.GLWC
push edi
mov dword [0x4c86cc], eax
call esi
call fcn.0040e2e2
push edi
xor esi, esi
inc esi
push esi
push ebx
call fcn.0040cc7d
push edi
push 0xac44
push 0xffffffffffffffff
call fcn.0040126a
push 4
push dword [0x4c86d4]
push edi
push dword [0x4c8068]
push esi
call fcn.00408f37
call fcn.0040c3e0
push esi
push edi
push edi
push edi
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x40e040
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x40e0b3
mov esi, dword [0x4c7ff0]
mov edi, dword [0x4c7ff4]
push 0x4c7ff0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [0x4c7ff0]
mov edx, dword [0x4c7ff4]
sub ecx, esi
sbb edx, edi
call fcn.00449d80
mov edx, dword [0x4c7fa4]
mov ecx, dword [0x4c7fa0]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x14], xmm0
call fcn.00449d80
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x14]
divss xmm0, xmm1
call fcn.0040eebd
call fcn.0040f07c
push dword [0x4c801c]
call dword [sym.imp.GDI32.dll_SwapBuffers]
xor esi, esi
inc esi
xor edi, edi
cmp dword [esp + 0x7c], 0x12
jne 0x40e012
call fcn.00408bad
push edi
push edi
push ebx
call fcn.0040cc7d
mov ecx, dword [0x4c7f84]
call fcn.0040fe73
push 0x4c8034
push esi
call dword [0x4c8930]
push 0x4c8044
push esi
call dword [0x4c89a0]
mov ecx, dword [0x4c800c]
call fcn.0040fe73
push 0x4c7ffc
push esi
call dword [0x4c8930]
push 0x4c7f80
push esi
call dword [0x4c89a0]
push 0x4c8064
push esi
call dword [0x4c893c]
mov ecx, dword [0x4c8048]
call fcn.0040fe73
push 0x4c7fc4
push esi
call dword [0x4c8930]
push 0x4c7fc0
push esi
call dword [0x4c89a0]
push 0x4c8038
push esi
call dword [0x4c893c]
mov ecx, dword [0x4c8050]
call fcn.0040fe73
push 0x4c8008
push esi
call dword [0x4c8930]
push 0x4c8030
push esi
call dword [0x4c89a0]
mov ecx, dword [0x4c8058]
call fcn.0040fe73
push 0x4c805c
push esi
call dword [0x4c8930]
push 0x4c8088
push esi
call dword [0x4c89a0]
push dword [0x4c8960]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [0x4c802c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push 0x4c86e0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [0x4c86c8]
call edi
push dword [0x4c808c]
call fcn.00436cda
pop ecx
push dword [0x4c8068]
call fcn.00436cda
pop ecx
mov ecx, dword [0x4c7fdc]
test ecx, ecx
je 0x40e250
xor edx, edx
mov dword [esp + 0x10], edx
test ecx, ecx
je 0x40e244
xor esi, esi
mov eax, dword [0x4c8060]
add eax, esi
cmp dword [eax + 0x10], 0
jbe 0x40e238
xor ebx, ebx
mov eax, dword [eax]
push dword [eax + ebx*4]
call fcn.00436cda
pop ecx
mov ecx, dword [0x4c8060]
inc ebx
lea eax, [esi + ecx]
cmp ebx, dword [eax + 0x10]
jb 0x40e1fc
push dword [esi + ecx]
call fcn.00436cda
mov eax, dword [0x4c8060]
pop ecx
push dword [esi + eax + 4]
call fcn.00436cda
mov edx, dword [esp + 0x14]
pop ecx
mov ecx, dword [0x4c7fdc]
inc edx
add esi, 0x14
mov dword [esp + 0x10], edx
cmp edx, ecx
jb 0x40e1ed
push dword [0x4c8060]
call fcn.00436cda
pop ecx
push dword [0x4c8040]
call fcn.00436cda
pop ecx
push dword [0x4c8024]
call fcn.00436cda
pop ecx
push dword [0x4c8028]
call fcn.00436cda
pop ecx
push dword [0x4c8054]
call fcn.00436cda
pop ecx
push dword [0x4c8010]
call fcn.00436cda
pop ecx
push dword [0x4c7f98]
call fcn.00436cda
pop ecx
push dword [0x4c8074]
call fcn.00436cda
mov eax, dword [0x4c7fe0]
pop ecx
test eax, eax
je 0x40e2b0
push eax
call edi
mov eax, dword [0x4c80a0]
test eax, eax
je 0x40e2bc
push eax
call edi
push dword [0x4c86c4]
call edi
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x80]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042a75e
mov esp, ebp
pop ebp
ret 0x10