Function at 0x46de50
Capabilities:
Delete file
Enumerate files on windows
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4b4d40]
xor eax, ebp
mov dword [ebp - 4], eax
push str.user32.dll
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
je 0x46deb1
push str.SetProcessDPIAware
mov eax, dword [ebp - 0x14c]
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0x1a4], 0
je 0x46dea4
call dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0x14c]
push ecx
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea edx, [ebp - 0x148]
push edx
push str.local_
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov dword [ebp - 0x1a0], eax
movzx eax, byte [ebp - 0x11c]
cmp eax, 0x2e
jne 0x46deeb
lea ecx, [ebp - 0x148]
push ecx
mov edx, dword [ebp - 0x1a0]
push edx
call dword [sym.imp.kernel32.dll_FindNextFileA]
jmp 0x46dec9
movzx eax, byte [ebp - 0x11c]
cmp eax, 0x2e
je 0x46df1f
lea ecx, [ebp - 0x11c]
push ecx
call sub.MSVCR90.dll_strlen
add esp, 4
cmp eax, 0xa
jae 0x46df1f
lea edx, [ebp - 0x11c]
push edx
push 0x4b4db0
call sub.MSVCR90.dll_strcpy
add esp, 8
push 0x4a6d78
push 0x4b4db0
call dword [sym.imp.MSVCR90.dll__stricmp]
add esp, 8
test eax, eax
je 0x46df4d
push 0x4a6d7c
push 0x4b4db0
call dword [sym.imp.MSVCR90.dll__stricmp]
add esp, 8
test eax, eax
jne 0x46df54
mov byte [0x4b4edf], 1
mov eax, dword [ebp - 0x1a0]
push eax
call dword [sym.imp.kernel32.dll_FindClose]
push 0x128
call fcn.0049cc04
add esp, 4
mov dword [ebp - 0x1ec], eax
cmp dword [ebp - 0x1ec], 0
je 0x46df90
mov ecx, dword [ebp - 0x1ec]
call fcn.00415d10
mov dword [ebp - 0x1f8], eax
jmp 0x46df9a
mov dword [ebp - 0x1f8], 0
mov ecx, dword [ebp - 0x1f8]
mov dword [ebp - 0x1e8], ecx
mov ecx, dword [0x4b4da0]
call fcn.00415e90
push 0x4b4dd0
call fcn.004282b0
add esp, 4
push 0x4720
call fcn.0049cc04
add esp, 4
mov dword [ebp - 0x1f4], eax
cmp dword [ebp - 0x1f4], 0
je 0x46dfed
mov ecx, dword [ebp - 0x1f4]
call fcn.00455300
mov dword [ebp - 0x1fc], eax
jmp 0x46dff7
mov dword [ebp - 0x1fc], 0
mov edx, dword [ebp - 0x1fc]
mov dword [ebp - 0x1f0], edx
mov ecx, dword [0x4b4f48]
call fcn.004563b0
push 0x4b4dd0
push 0x100
push 0
push 2
push 0
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_CreateFileMappingA]
mov dword [0x4b5084], eax
cmp dword [0x4b5084], 0
je 0x46e070
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
jne 0x46e070
push str.error2
push 0x4a6d88
call fcn.0046f120
add esp, 8
mov eax, dword [0x4b5084]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [0x4b5084], 0
xor eax, eax
jmp 0x46e623
mov dword [ebp - 0x19c], 0x20
lea ecx, [ebp - 0x19c]
push ecx
call dword [sym.imp.kernel32.dll_GlobalMemoryStatus]
cmp dword [ebp - 0x18c], 0
je 0x46e0ab
cmp dword [ebp - 0x188], 0
je 0x46e0ab
cmp dword [ebp - 0x184], 0
je 0x46e0ab
cmp dword [ebp - 0x180], 0
jne 0x46e0c4
push str.error5
push 0x4a6d98
call fcn.0046f120
add esp, 8
xor eax, eax
jmp 0x46e623
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x4b4ed0], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x4b4dcc], eax
push 0
push 0x4b4dbc
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov edx, dword [0x4b4dcc]
cmp edx, dword [0x4b4ed0]
jle 0x46e116
push 0x4a6da0
push 0x4a6dac
call fcn.0046f120
add esp, 8
xor eax, eax
jmp 0x46e623
push str.debug.log
call dword [sym.imp.MSVCR90.dll_remove]
add esp, 4
push str.Startup___Enter_WinMain
call fcn.00461a30
add esp, 4
mov dword [ebp - 0x17c], 0x30
push 0x2c
push 0
lea eax, [ebp - 0x178]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x178], 0x23
mov dword [ebp - 0x174], 0x46d560
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [ebp - 0x168], eax
push 0x75
mov ecx, dword [ebp - 0x168]
push ecx
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x164], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x160], eax
mov edx, dword [ebp - 0x160]
mov dword [0x4b4ffc], edx
mov dword [ebp - 0x154], str.CastleClass
lea eax, [ebp - 0x17c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
movzx ecx, ax
test ecx, ecx
je 0x46e607
push str.Startup___Class_Registered
call fcn.00461a30
add esp, 4
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1b0], 0x556
mov dword [ebp - 0x1ac], 0x300
mov edx, dword [0x4b4f48]
movzx eax, byte [edx + 7]
test eax, eax
je 0x46e29a
mov dword [ebp - 0x1bc], 0x10080000
push 0
mov ecx, dword [ebp - 0x1bc]
push ecx
lea edx, [ebp - 0x1b8]
push edx
call dword [sym.imp.USER32.dll_AdjustWindowRect]
push 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
push eax
push 0
push 0
mov eax, dword [ebp - 0x1ac]
sub eax, dword [ebp - 0x1b4]
push eax
mov ecx, dword [ebp - 0x1b0]
sub ecx, dword [ebp - 0x1b8]
push ecx
push 0x80000000
push 0x80000000
mov edx, dword [ebp - 0x1bc]
push edx
push 0x4b4dd0
mov eax, dword [ebp - 0x154]
push eax
push 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 0x1a8], eax
push 0x10080000
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x1a8]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp 0x46e368
mov dword [ebp - 0x1bc], 0x10ca0000
push 0
mov edx, dword [ebp - 0x1bc]
push edx
lea eax, [ebp - 0x1b8]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRect]
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x1b0]
sub ecx, dword [ebp - 0x1b8]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x1c0], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [ebp - 0x1ac]
sub edx, dword [ebp - 0x1b4]
sub eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x1c4], eax
push 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
push eax
push 0
push 0
mov eax, dword [ebp - 0x1ac]
sub eax, dword [ebp - 0x1b4]
push eax
mov ecx, dword [ebp - 0x1b0]
sub ecx, dword [ebp - 0x1b8]
push ecx
mov edx, dword [ebp - 0x1c4]
push edx
mov eax, dword [ebp - 0x1c0]
push eax
mov ecx, dword [ebp - 0x1bc]
push ecx
push 0x4b4dd0
mov edx, dword [ebp - 0x154]
push edx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 0x1a8], eax
push 0x10ca0000
push 0xfffffffffffffff0
mov eax, dword [ebp - 0x1a8]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
cmp dword [ebp - 0x1a8], 0
je 0x46e5f8
push str.Startup___Window_Created
call fcn.00461a30
add esp, 4
mov ecx, dword [ebp - 0x1a8]
mov dword [0x4b4ee4], ecx
mov edx, dword [ebp - 0x1a8]
push edx
call fcn.0046e800
add esp, 4
movzx eax, al
test eax, eax
je 0x46e5c1
push str.Startup___Direct3D_Initialized
call fcn.00461a30
add esp, 4
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004277f0
add esp, 4
movzx edx, al
test edx, edx
je 0x46e5ad
push 0
push 0
push 0x20
mov eax, dword [0x4b4ee4]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
call fcn.0046f490
push str.App_Startup_Complete
call fcn.00461a30
add esp, 4
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [ebp - 0x204], eax
mov dword [ebp - 0x200], 0
fild qword [ebp - 0x204]
fmul qword [0x4a4198]
fstp dword [0x4b4ed8]
movzx ecx, byte [0x4b4374]
test ecx, ecx
je 0x46e57e
movzx edx, byte [0x4b4ede]
test edx, edx
je 0x46e454
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x1e4]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
setne cl
mov byte [ebp - 0x1c5], cl
jmp 0x46e472
push 0
push 0
push 0
lea edx, [ebp - 0x1e4]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
setne al
mov byte [ebp - 0x1c5], al
movzx ecx, byte [ebp - 0x1c5]
test ecx, ecx
jne 0x46e49f
cmp dword [ebp - 0x1e0], 0x12
jne 0x46e49f
push str.Got_WM_QUIT_message
call fcn.00461a30
add esp, 4
mov byte [0x4b4374], 0
jmp 0x46e579
movzx edx, byte [ebp - 0x1c5]
test edx, edx
je 0x46e4e7
lea eax, [ebp - 0x1e4]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x1e4]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
movzx edx, byte [0x4b4ede]
test edx, edx
je 0x46e4da
movzx eax, byte [0x4b4edc]
test eax, eax
je 0x46e4e2
push 0x14
call dword [sym.imp.kernel32.dll_Sleep]
jmp 0x46e579
movzx ecx, byte [0x4b4ede]
test ecx, ecx
je 0x46e579
movzx edx, byte [0x4b4374]
test edx, edx
je 0x46e579
movzx eax, byte [0x4b4edc]
test eax, eax
jne 0x46e564
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x208], 0
fild qword [ebp - 0x20c]
fmul qword [0x4a4198]
fstp dword [0x4b4ed4]
fld dword [0x4b4ed4]
fsub dword [0x4b4ed8]
fstp dword [ebp - 0x210]
fld dword [ebp - 0x210]
push ecx
fstp dword [esp]
call fcn.00427d40
add esp, 4
fld dword [0x4b4ed4]
fstp dword [0x4b4ed8]
movzx ecx, byte [0x4b5088]
test ecx, ecx
je 0x46e574
call fcn.0046e740
call fcn.00470190
jmp 0x46e418
push 0
call dword [sym.imp.USER32.dll_ClipCursor]
cmp dword [0x4b5084], 0
je 0x46e5a6
mov edx, dword [0x4b5084]
push edx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [0x4b5084], 0
call fcn.00427ed0
jmp 0x46e5ba
push str.Application_failed_to_initialize.
call fcn.00461a30
add esp, 4
call fcn.0046f0c0
jmp 0x46e5f6
push str.DirectX_failed_to_initialize.
call fcn.00461a30
add esp, 4
push str.error6
push 0x4a6eb4
call fcn.0046f120
add esp, 8
mov eax, dword [0x4b4ee4]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x4b4ee4], 0
jmp 0x46e605
push str.Unable_to_open_window.
call fcn.00461a30
add esp, 4
jmp 0x46e614
push str.Unable_to_register_window_class.
call fcn.00461a30
add esp, 4
push str.Clean_Exit
call fcn.00461a30
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049cb8e
mov esp, ebp
pop ebp
ret 0x10