Function at 0x45e060
Capabilities:
Delete file
Get memory capacity

Disassembly:
push edi
push ebp
push ebx
sub esp, 0x2d0
push 0x809ea0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.0045e49c
lea eax, [esp + 0x1ac]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ebx, dword [esp + 0x1b4]
shr ebx, 0x14
mov ebp, dword [esp + 0x1b8]
shr ebp, 0x14
movzx eax, byte [0x800700]
push eax
push 0x809eac
push 0x806270
call fcn.00464d5c
add esp, 0xc
mov edi, 0x800fb0
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x45e0cc
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x45e0c4
test eax, eax
jbe 0x45e493
xor eax, eax
mov dword [esp + 0x2cc], esi
mov esi, ebx
mov ebx, eax
movzx edx, byte [ebx + 0x800fb0]
mov byte [ebx + 0x800fe4], dl
inc ebx
mov edi, 0x800fb0
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x45e106
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x45e0fe
cmp ebx, eax
jb 0x45e0e1
mov eax, ebx
mov ebx, esi
mov esi, dword [esp + 0x2cc]
mov byte [eax + 0x800fe4], 0
push 0x800fe4
push 0x809eb8
push 0x806270
call fcn.00464d5c
movzx eax, byte [0x5cf4e8]
push eax
push 0x809ec8
push 0x806270
call fcn.00464d5c
movzx eax, byte [0x5cf4f4]
push eax
push 0x809ed8
push 0x806270
call fcn.00464d5c
movzx eax, byte [0x5cf4f8]
push eax
push 0x809ee8
push 0x806270
call fcn.00464d5c
movsx eax, byte [0x5b26f8]
push eax
push 0x809ef8
push 0x806270
call fcn.00464d5c
movsx eax, byte [0x5b26f4]
push eax
push 0x809f0c
push 0x806270
call fcn.00464d5c
push dword [0x800704]
push 0x809f20
push 0x806270
call fcn.00464d5c
push ebx
push 0x809f34
push 0x806270
call fcn.00464d5c
push ebp
push 0x809f48
push 0x806270
call fcn.00464d5c
add esp, 0x6c
push dword [0x8007ac]
push dword [0x8007a8]
push dword [0x8007a4]
push dword [0x8007a0]
push 0x809f5c
push 0x806270
call fcn.00464d5c
add esp, 0x18
call fcn.0045dfbc
movsx eax, al
push eax
push 0x809f80
push 0x806270
call fcn.00464d5c
push 0x809f8c
push 0x806270
call fcn.00464d5c
add esp, 0x14
push 0x8061c0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x8061c8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
test ebp, ebp
je 0x45e47c
lea edx, [esp + 4]
push 0x1a8
push 0
push edx
call fcn.00464c38
add esp, 0xc
mov dword [esp + 4], 0x1a8
xor ecx, ecx
lea edx, [esp + 4]
push ecx
push edx
push ecx
push ecx
call ebp
test eax, eax
je 0x45e2dc
xor ebx, ebx
mov ecx, dword [esp + 0xa8]
mov edx, ecx
and edx, 1
and ecx, 4
test edx, edx
je 0x45e298
mov eax, 0x809fac
jmp 0x45e29d
mov eax, 0x806270
test ecx, ecx
je 0x45e2a8
mov edx, 0x809fb0
jmp 0x45e2ad
mov edx, 0x806270
lea edi, [esp + 8]
lea ecx, [esp + 0x28]
push edx
push eax
push ecx
push edi
push 0x809f94
push 0x806270
call fcn.00464d5c
add esp, 0x18
inc ebx
xor ecx, ecx
lea edx, [esp + 4]
push ecx
push edx
push ebx
push ecx
call ebp
test eax, eax
jne 0x45e27e
push 0x809fd4
push 0x806270
call fcn.00464d5c
add esp, 8
call dword [sym.imp.WINMM.dll_waveOutGetNumDevs]
mov ebp, eax
test ebp, ebp
jle 0x45e357
xor ebx, ebx
lea eax, [esp + 0x268]
push 0x30
push eax
push ebx
call dword [sym.imp.WINMM.dll_waveOutGetDevCapsA]
test eax, eax
jne 0x45e352
mov eax, dword [esp + 0x290]
call fcn.0045e018
movzx edx, word [esp + 0x294]
test edx, edx
jne 0x45e330
mov edx, 0x809ffc
jmp 0x45e335
mov edx, 0x80a004
lea ecx, [esp + 0x270]
push edx
push eax
push ebx
push ecx
push 0x809fe4
push 0x806270
call fcn.00464d5c
add esp, 0x18
inc ebx
cmp ebx, ebp
jl 0x45e2fc
push 0x80a00c
push 0x806270
call fcn.00464d5c
add esp, 8
call dword [sym.imp.WINMM.dll_waveInGetNumDevs]
mov ebp, eax
test ebp, ebp
jle 0x45e3d2
xor ebx, ebx
lea eax, [esp + 0x29c]
push 0x30
push eax
push ebx
call dword [sym.imp.WINMM.dll_waveInGetDevCapsA]
test eax, eax
jne 0x45e3cd
mov eax, dword [esp + 0x2c4]
call fcn.0045e018
movzx edx, word [esp + 0x2c8]
test edx, edx
jne 0x45e3ab
mov edx, 0x809ffc
jmp 0x45e3b0
mov edx, 0x80a004
lea ecx, [esp + 0x2a4]
push edx
push eax
push ebx
push ecx
push 0x809fe4
push 0x806270
call fcn.00464d5c
add esp, 0x18
inc ebx
cmp ebx, ebp
jl 0x45e377
push 0x80a01c
push 0x806270
call fcn.00464d5c
lea eax, [esp + 0x1d4]
push 0x9c
push 0
push eax
call fcn.00464c38
add esp, 0x14
mov eax, 0x9c
mov word [esp + 0x1f0], ax
xor ecx, ecx
lea edx, [esp + 0x1cc]
push edx
push ecx
push ecx
call dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
test eax, eax
je 0x45e470
xor ebx, ebx
mov eax, dword [esp + 0x234]
cmp eax, 8
jbe 0x45e452
push dword [esp + 0x244]
push eax
push dword [esp + 0x244]
push dword [esp + 0x244]
push ebx
push 0x80a028
push 0x806270
call fcn.00464d5c
add esp, 0x1c
inc ebx
cmp ebx, 0x270f
jg 0x45e470
lea eax, [esp + 0x1cc]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
test eax, eax
jne 0x45e41d
xor eax, eax
add esp, 0x2d0
pop ebx
pop ebp
pop edi
ret
push 0x809fb4
push 0x806270
call fcn.00464d5c
add esp, 8
jmp 0x45e2dc
xor eax, eax
jmp 0x45e115