Function at 0x411650
Capabilities:
Delete file
Hide graphical window
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xea0
mov eax, dword [0x4ca010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call dword [sym.imp.WINMM.dll_timeGetTime]
push eax
call fcn.0049cd48
add esp, 4
push str.mamahaha
mov ecx, 0x5160638
call fcn.0048fc00
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0xaa4]
push ecx
push 0x4bf8d4
call fcn.00411530
add esp, 0xc
lea edx, [ebp - 0xaa4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x4116bd
lea eax, [ebp - 0xaa4]
push eax
mov ecx, 0x5160638
call fcn.0048fc00
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0x45cfa60
call fcn.0045cf80
mov ecx, 0x45cfa60
call fcn.00411310
push eax
mov ecx, 0x45cfa60
call fcn.00411310
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x4116fe
xor eax, eax
jmp 0x4122a7
call fcn.00414dd0
mov edx, dword [ebp + 0x10]
push edx
call fcn.0049d0eb
add esp, 4
mov dword [ebp - 0xdc0], eax
push 0x7d0
mov ecx, 0x44c43d4
call fcn.0048f420
mov ecx, 0x670b2c8
call fcn.00473e40
push 0x8000
push 0
push 0
push 2
push 0x6e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [0x4ce59c], eax
xor ecx, ecx
mov dword [ebp - 0xe40], ecx
mov dword [ebp - 0xe3c], ecx
mov dword [ebp - 0xe38], ecx
mov dword [ebp - 0xe34], ecx
mov dword [ebp - 0xe30], ecx
mov dword [ebp - 0xe2c], ecx
mov dword [ebp - 0xe28], ecx
cmp dword [ebp + 0xc], 0
jne 0x411819
mov dword [ebp - 0xe70], 0x1020
mov dword [ebp - 0xe6c], 0x4124d0
mov dword [ebp - 0xe68], 0
mov dword [ebp - 0xe64], 0
mov edx, dword [ebp + 8]
mov dword [ebp - 0xe60], edx
push 0x68
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0xe5c], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0xe58], eax
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0xe54], eax
mov dword [ebp - 0xe50], 0
mov ecx, 0x45cfa60
call fcn.00411310
mov dword [ebp - 0xe4c], eax
lea ecx, [ebp - 0xe70]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassA]
movzx edx, ax
test edx, edx
jne 0x411819
xor eax, eax
jmp 0x4122a7
push 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0x82ca0000
mov ecx, 0x45cfa60
call fcn.00411310
push eax
mov ecx, 0x45cfa60
call fcn.00411310
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 0xdbc], eax
cmp dword [ebp - 0xdbc], 0
jne 0x411870
xor eax, eax
jmp 0x4122a7
push 0
mov ecx, dword [ebp - 0xdbc]
push ecx
call dword [sym.imp.IMM32.dll_ImmAssociateContext]
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0xdbc]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xdbc]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [ebp - 0xdbc]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
push 0
mov eax, dword [ebp - 0xdbc]
push eax
mov ecx, 0x45cfa60
call fcn.004112d0
mov ecx, 0x45cfa60
call fcn.0045ffa0
mov ecx, 0x45cfa60
call fcn.00464130
mov ecx, 0x45cfa60
call fcn.00411390
push eax
mov ecx, 0x45cfa60
call fcn.00411370
push eax
push 0
mov ecx, dword [ebp - 0xdbc]
push ecx
mov ecx, 0x5160648
call fcn.00455d20
push 0
mov ecx, 0x45cfa60
call fcn.0045dd20
mov ecx, 0x4ce930
call fcn.0046b670
mov ecx, 0x45d79a8
call fcn.0045a060
lea ecx, [ebp - 0xe10]
call fcn.0048fb40
push 0x5160638
lea ecx, [ebp - 0xe10]
call fcn.0048fba0
push str._define
lea ecx, [ebp - 0xe10]
call fcn.0048fc50
mov edx, dword [ebp - 0xdc0]
push edx
lea ecx, [ebp - 0xe10]
call fcn.00411210
push eax
mov ecx, 0x54796a0
call fcn.00489b20
movzx eax, al
cmp eax, 1
je 0x411997
mov ecx, dword [ebp - 0xdbc]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp - 0xe44], 0
lea ecx, [ebp - 0xe10]
call fcn.0048fb80
mov eax, dword [ebp - 0xe44]
jmp 0x4122a7
push 0x5160638
lea ecx, [ebp - 0xe10]
call fcn.0048fba0
push str._sce
lea ecx, [ebp - 0xe10]
call fcn.0048fc50
mov edx, dword [ebp - 0xdc0]
push edx
lea ecx, [ebp - 0xe10]
call fcn.00411210
push eax
mov ecx, 0x670b2c8
call fcn.004741c0
movzx eax, al
cmp eax, 1
je 0x411a09
mov ecx, dword [ebp - 0xdbc]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp - 0xe24], 0
lea ecx, [ebp - 0xe10]
call fcn.0048fb80
mov eax, dword [ebp - 0xe24]
jmp 0x4122a7
mov ecx, 0x45d79a8
call fcn.00411450
mov dword [ebp - 0xdc8], eax
mov ecx, 0x54796a0
call fcn.004114d0
mov dword [ebp - 0xe48], eax
mov edi, dword [ebp - 0xdc8]
add edi, 0x18
mov ecx, 0x33
mov esi, dword [ebp - 0xe48]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x45d79a8
call fcn.0045a530
mov edx, dword [ebp - 0xdc8]
mov al, byte [edx]
mov byte [ebp - 0xdc1], al
mov ecx, dword [ebp - 0xdc8]
mov byte [ecx], 0
mov dl, byte [ebp - 0xdc1]
mov byte [ebp - 0xdd8], dl
cmp byte [ebp - 0xdd8], 0
je 0x411a89
cmp byte [ebp - 0xdd8], 1
je 0x411a97
cmp byte [ebp - 0xdd8], 2
je 0x411aa5
jmp 0x411ab1
push 0
mov ecx, 0x45cfa60
call fcn.0045e8f0
jmp 0x411ab1
push 0
mov ecx, 0x45cfa60
call fcn.0045e880
jmp 0x411ab1
push 0
mov ecx, 0x45cfa60
call fcn.00412ff0
mov dword [ebp - 0xddc], 0
mov dword [ebp - 0xde0], 0
mov dword [ebp - 0xde4], 0
cmp dword [ebp - 0xdc0], 1
je 0x411aea
cmp dword [ebp - 0xdc0], 6
je 0x411aea
cmp dword [ebp - 0xdc0], 8
jne 0x411b2c
push 0
push 0x445d70
mov eax, dword [ebp - 0xdbc]
push eax
push 0x65
mov ecx, 0x45cfa60
call fcn.00411210
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [ebp - 0xddc], eax
mov ecx, dword [ebp - 0xddc]
push ecx
mov ecx, 0x5479128
call fcn.0045a790
mov ecx, 0x5479128
call fcn.0045bf10
cmp dword [ebp - 0xdc0], 5
je 0x411b47
cmp dword [ebp - 0xdc0], 6
je 0x411b47
cmp dword [ebp - 0xdc0], 8
jne 0x411b7f
push 0
push 0x445710
mov edx, dword [ebp - 0xdbc]
push edx
push 0x6a
mov ecx, 0x45cfa60
call fcn.00411210
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [ebp - 0xde0], eax
mov eax, dword [ebp - 0xde0]
push eax
mov ecx, 0x670b2c8
call fcn.004114f0
mov ecx, 0x45d0108
call fcn.00464810
mov ecx, 0x44c43f4
call fcn.00469640
mov ecx, 0x4dd6fc8
call fcn.00412fe0
mov ecx, 0x44c4408
call fcn.0046fa40
mov ecx, 0x4656e90
call fcn.00412fe0
mov ecx, 0x45d79a8
call fcn.0045a350
cmp dword [ebp - 0xdc0], 7
je 0x411bcd
cmp dword [ebp - 0xdc0], 8
jne 0x411c05
push 0
push 0x446980
mov ecx, dword [ebp - 0xdbc]
push ecx
push 0x6c
mov ecx, 0x45cfa60
call fcn.00411210
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [ebp - 0xde4], eax
mov edx, dword [ebp - 0xde4]
push edx
mov ecx, 0x4dd6fc8
call fcn.004113f0
push str.full
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x411d20
mov ecx, 0x54796a0
call fcn.00411470
mov dword [ebp - 0xe14], eax
mov dword [ebp - 0xdcc], 0
mov ecx, dword [ebp - 0xdcc]
cmp ecx, dword [ebp - 0xe14]
jge 0x411c6c
mov edx, dword [ebp - 0xdcc]
mov eax, dword [ebp - 0xdc8]
mov dword [eax + edx*4 + 0x25c8], 1
mov ecx, dword [ebp - 0xdcc]
add ecx, 1
mov dword [ebp - 0xdcc], ecx
jmp 0x411c36
mov ecx, 0x54796a0
call fcn.00411490
mov dword [ebp - 0xe18], eax
mov dword [ebp - 0xdd0], 0
mov edx, dword [ebp - 0xdd0]
cmp edx, dword [ebp - 0xe18]
jge 0x411cbc
mov eax, dword [ebp - 0xdd0]
mov ecx, dword [ebp - 0xdc8]
mov dword [ecx + eax*4 + 0x3ba8], 1
mov edx, dword [ebp - 0xdd0]
add edx, 1
mov dword [ebp - 0xdd0], edx
jmp 0x411c86
mov ecx, 0x54796a0
call fcn.004114b0
mov dword [ebp - 0xe1c], eax
mov dword [ebp - 0xdd4], 0
mov eax, dword [ebp - 0xe1c]
add eax, 1
cmp dword [ebp - 0xdd4], eax
jge 0x411d0f
mov ecx, dword [ebp - 0xdd4]
mov edx, dword [ebp - 0xdc8]
mov dword [edx + ecx*4 + 0x3888], 1
mov eax, dword [ebp - 0xdd4]
add eax, 1
mov dword [ebp - 0xdd4], eax
jmp 0x411cd6
mov ecx, 0x45d79a8
call fcn.0045a3e0
push 0
call fcn.0049cd11
mov ecx, 0x5478ed0
call fcn.004502a0
mov ecx, 0x670b2c8
call fcn.00411510
movzx ecx, al
test ecx, ecx
je 0x411f3c
lea ecx, [ebp - 0xdf4]
call fcn.0048fb40
mov ecx, 0x45cfa60
call fcn.004113b0
push eax
lea edx, [ebp - 0x1d0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4bf8f0
lea eax, [ebp - 0x1d0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0xab4]
push ecx
mov edx, dword [ebp - 0xdbc]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0xe90]
call fcn.0048f690
mov dword [ebp - 0xdfc], 0
mov dword [ebp - 0xe00], 0
lea eax, [ebp - 0x1d0]
push eax
lea ecx, [ebp - 0xe90]
call fcn.0048fa10
test eax, eax
jne 0x411f26
push 0xc8
lea ecx, [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0xe90]
call fcn.0048f8f0
lea edx, [ebp - 0xcc]
push edx
lea ecx, [ebp - 0xdf4]
call fcn.0048fc00
push 0
push 0x4bf908
lea ecx, [ebp - 0xdf4]
call fcn.0048fe80
test eax, eax
jge 0x411e47
lea ecx, [ebp - 0xe90]
call fcn.00411230
mov esi, eax
lea ecx, [ebp - 0xe90]
call fcn.00411250
cmp esi, eax
jae 0x411e47
push 0xc8
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xe90]
call fcn.0048f8f0
lea ecx, [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0xdf4]
call fcn.0048fc00
jmp 0x411dea
lea edx, [ebp - 0xcc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x411eed
lea ecx, [ebp - 0xdf4]
call fcn.004111f0
sub eax, 7
push eax
lea ecx, [ebp - 0xdf4]
call fcn.00490030
lea ecx, [ebp - 0xdf4]
call fcn.00411210
push eax
call fcn.0049d0eb
add esp, 4
mov dword [ebp - 0xdfc], eax
push 0xc8
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xe90]
call fcn.0048f8f0
lea ecx, [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0xdf4]
call fcn.0048fc00
lea ecx, [ebp - 0xdf4]
call fcn.004111f0
sub eax, 7
push eax
lea ecx, [ebp - 0xdf4]
call fcn.00490030
lea ecx, [ebp - 0xdf4]
call fcn.00411210
push eax
call fcn.0049d0eb
add esp, 4
mov dword [ebp - 0xe00], eax
push 0x40
mov edx, dword [ebp - 0xaa8]
sub edx, dword [ebp - 0xab0]
push edx
mov eax, dword [ebp - 0xaac]
sub eax, dword [ebp - 0xab4]
push eax
mov ecx, dword [ebp - 0xe00]
push ecx
mov edx, dword [ebp - 0xdfc]
push edx
push 0
mov eax, dword [ebp - 0xdbc]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
lea ecx, [ebp - 0xe90]
call fcn.0048f6c0
lea ecx, [ebp - 0xdf4]
call fcn.0048fb80
lea ecx, [ebp - 0xdb8]
call fcn.004122c0
push 0x304
push 0
lea ecx, [ebp - 0xdb8]
push ecx
call fcn.0049a590
add esp, 0xc
mov dword [ebp - 0xd7c], 0x500
mov dword [ebp - 0xd78], 0x2d0
movss xmm0, dword [0x4c4dd8]
movss dword [ebp - 0xd94], xmm0
mov dword [ebp - 0xdb4], 0x69
mov byte [ebp - 0xda8], 1
mov dword [ebp - 0xbe0], 0
mov dword [ebp - 0xd74], 0
mov dword [ebp - 0xd70], 0
mov dword [ebp - 0xd6c], 0
mov dword [ebp - 0xd68], 0
xorps xmm0, xmm0
movss dword [ebp - 0xd9c], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0xd98], xmm0
mov dword [ebp - 0xdb8], 0x1f4
push ecx
movss xmm0, dword [0x4c504c]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0xea0]
call fcn.00411280
mov edx, dword [eax]
mov dword [ebp - 0xd8c], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0xd88], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0xd84], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xd80], eax
lea ecx, [ebp - 0xdb8]
push ecx
mov ecx, 0x4656e90
call fcn.0043f3e0
push 0x304
push 0
lea edx, [ebp - 0xdb8]
push edx
call fcn.0049a590
add esp, 0xc
push 1
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
mov ecx, 0x45cfa60
call fcn.00411350
cmp eax, 0x27
je 0x4121e5
mov ecx, 0x45cfa60
call fcn.00411350
push eax
mov ecx, 0x45cfa60
call fcn.004113d0
mov dword [ebp - 0xdf8], eax
mov eax, dword [ebp - 0xdf8]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xdf8]
mov eax, dword [edx + 0x18]
call eax
cmp eax, 0xf
je 0x4120c3
mov ecx, 0x45cfa60
call fcn.00411350
cmp eax, 0x1d
jne 0x412197
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0xe40]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x412181
push 1
push 0
push 0
push 0
lea edx, [ebp - 0xe40]
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x41217f
lea eax, [ebp - 0xe40]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0xe40]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov ecx, 0x4dd7660
call fcn.00457e10
cmp eax, 0x26
je 0x412135
mov ecx, 0x4dd7660
call fcn.00457e10
cmp eax, 0x28
jne 0x412155
mov ecx, 0x4dd7660
call fcn.00457e80
mov ecx, 0x45cfa60
call fcn.0045d800
mov ecx, 0x4dd6fc8
call fcn.0046ea00
jmp 0x41217a
mov ecx, 0x4dd7660
call fcn.00457e10
cmp eax, 0x115
jne 0x41217a
mov ecx, 0x45cfa60
call fcn.0045d800
mov ecx, 0x4dd6fc8
call fcn.0046ea00
jmp 0x4120e0
jmp 0x412195
mov ecx, 0x45cfa60
call fcn.0045d800
mov ecx, 0x4dd6fc8
call fcn.0046ea00
jmp 0x4121e0
push 1
push 0
push 0
push 0
lea edx, [ebp - 0xe40]
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x4121cc
lea eax, [ebp - 0xe40]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0xe40]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x412197
mov ecx, 0x45cfa60
call fcn.0045d800
mov ecx, 0x4dd6fc8
call fcn.0046ea00
jmp 0x41206a
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, 0x44c4360
call fcn.00472ea0
movzx edx, al
test edx, edx
je 0x41221c
push 0
mov ecx, 0x44c4360
call fcn.004734a0
push 0
mov ecx, 0x44c4360
call fcn.00473520
mov ecx, 0x44c4360
call fcn.00472f80
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
mov ecx, 0x45d79a8
call fcn.0045a3e0
push 0x4bf910
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x2d4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, 0x5478ed0
call fcn.00451080
mov ecx, 0x4dd6fc8
call fcn.0046e8a0
mov ecx, 0x4656e90
call fcn.00411410
mov ecx, 0x45cfa60
call fcn.0045cea0
mov ecx, 0x5160648
call fcn.00455cc0
mov edx, dword [ebp - 0xdbc]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp - 0xe20], 0
lea ecx, [ebp - 0xe10]
call fcn.0048fb80
mov eax, dword [ebp - 0xe20]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00498d32
mov esp, ebp
pop ebp
ret 0x10