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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xea0
mov eax, dword [0x4d0b90]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call dword [sym.imp.WINMM.dll_timeGetTime]
push eax
call fcn.004a1838
add esp, 4
push str.tomohaha
mov ecx, 0x5432e50
call fcn.004945e0
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0xaa4]
push ecx
push 0x4c38b4
call fcn.00411510
add esp, 0xc
lea edx, [ebp - 0xaa4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x41169d
lea eax, [ebp - 0xaa4]
push eax
mov ecx, 0x5432e50
call fcn.004945e0
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, 0x489f1d0
call fcn.0045f190
mov ecx, 0x489f1d0
call fcn.00411310
push eax
mov ecx, 0x489f1d0
call fcn.00411310
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x4116de
xor eax, eax
jmp 0x41228e
call fcn.00414d30
mov edx, dword [ebp + 0x10]
push edx
call fcn.004a1bdb
add esp, 4
mov dword [ebp - 0xdc0], eax
push 0x7d0
mov ecx, 0x4793b44
call fcn.00493e00
mov ecx, 0x69dd128
call fcn.00477a40
xor eax, eax
mov dword [ebp - 0xe40], eax
mov dword [ebp - 0xe3c], eax
mov dword [ebp - 0xe38], eax
mov dword [ebp - 0xe34], eax
mov dword [ebp - 0xe30], eax
mov dword [ebp - 0xe2c], eax
mov dword [ebp - 0xe28], eax
cmp dword [ebp + 0xc], 0
jne 0x4117dd
mov dword [ebp - 0xe70], 0x1020
mov dword [ebp - 0xe6c], 0x4124b0
mov dword [ebp - 0xe68], 0
mov dword [ebp - 0xe64], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xe60], ecx
push 0x68
mov edx, dword [ebp + 8]
push edx
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, 0x489f1d0
call fcn.00411310
mov dword [ebp - 0xe4c], eax
lea eax, [ebp - 0xe70]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
movzx ecx, ax
test ecx, ecx
jne 0x4117dd
xor eax, eax
jmp 0x41228e
push 0
mov edx, dword [ebp + 8]
push edx
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0x82ca0000
mov ecx, 0x489f1d0
call fcn.00411310
push eax
mov ecx, 0x489f1d0
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 0x411834
xor eax, eax
jmp 0x41228e
push 0
mov eax, dword [ebp - 0xdbc]
push eax
call dword [sym.imp.IMM32.dll_ImmAssociateContext]
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0xdbc]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0xdbc]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp - 0xdbc]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [ebp - 0xdbc]
push edx
mov ecx, 0x489f1d0
call fcn.004112d0
mov ecx, 0x489f1d0
call fcn.00462080
mov ecx, 0x489f1d0
call fcn.00466230
mov ecx, 0x489f1d0
call fcn.00411370
push eax
mov ecx, 0x489f1d0
call fcn.00411350
push eax
push 0
mov eax, dword [ebp - 0xdbc]
push eax
mov ecx, 0x5432e60
call fcn.004581e0
mov ecx, dword [ebp - 0xdbc]
push ecx
mov ecx, 0x489f1d0
call fcn.004112d0
push 0
mov ecx, 0x489f1d0
call fcn.0045fe70
mov ecx, 0x4d2930
call fcn.0046e6b0
mov ecx, 0x48a7100
call fcn.0045c220
lea ecx, [ebp - 0xe10]
call fcn.00494520
push 0x5432e50
lea ecx, [ebp - 0xe10]
call fcn.00494580
push str._define
lea ecx, [ebp - 0xe10]
call fcn.00494630
mov edx, dword [ebp - 0xdc0]
push edx
lea ecx, [ebp - 0xe10]
call fcn.00411210
push eax
mov ecx, 0x574bcd8
call fcn.0048e5f0
movzx eax, al
cmp eax, 1
je 0x41196a
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.00494560
mov eax, dword [ebp - 0xe44]
jmp 0x41228e
push 0x5432e50
lea ecx, [ebp - 0xe10]
call fcn.00494580
push str._sce
lea ecx, [ebp - 0xe10]
call fcn.00494630
mov edx, dword [ebp - 0xdc0]
push edx
lea ecx, [ebp - 0xe10]
call fcn.00411210
push eax
mov ecx, 0x69dd128
call fcn.00477dc0
movzx eax, al
cmp eax, 1
je 0x4119dc
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.00494560
mov eax, dword [ebp - 0xe24]
jmp 0x41228e
mov ecx, 0x48a7100
call fcn.00411430
mov dword [ebp - 0xdc8], eax
mov ecx, 0x574bcd8
call fcn.004114b0
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, 0x48a7100
call fcn.0045c6f0
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 0x411a5c
cmp byte [ebp - 0xdd8], 1
je 0x411a6a
cmp byte [ebp - 0xdd8], 2
je 0x411a78
jmp 0x411a84
push 0
mov ecx, 0x489f1d0
call fcn.00460ba0
jmp 0x411a84
push 0
mov ecx, 0x489f1d0
call fcn.00460b00
jmp 0x411a84
push 0
mov ecx, 0x489f1d0
call fcn.00412f20
mov dword [ebp - 0xddc], 0
mov dword [ebp - 0xde0], 0
mov dword [ebp - 0xde4], 0
cmp dword [ebp - 0xdc0], 1
je 0x411abd
cmp dword [ebp - 0xdc0], 6
je 0x411abd
cmp dword [ebp - 0xdc0], 8
jne 0x411aff
push 0
push 0x448100
mov eax, dword [ebp - 0xdbc]
push eax
push 0x65
mov ecx, 0x489f1d0
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, 0x574b760
call fcn.0045c950
mov ecx, 0x574b760
call fcn.0045e0d0
cmp dword [ebp - 0xdc0], 5
je 0x411b1a
cmp dword [ebp - 0xdc0], 6
je 0x411b1a
cmp dword [ebp - 0xdc0], 8
jne 0x411b52
push 0
push 0x447aa0
mov edx, dword [ebp - 0xdbc]
push edx
push 0x6a
mov ecx, 0x489f1d0
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, 0x69dd128
call fcn.004114d0
mov ecx, 0x489f860
call fcn.00467200
mov ecx, 0x4793b64
call fcn.0046c4e0
mov ecx, 0x50a97e0
call fcn.00412f10
mov ecx, 0x4793b78
call fcn.00473640
mov ecx, 0x4927138
call fcn.00412f10
mov ecx, 0x48a7100
call fcn.0045c510
mov ecx, 0x489f1d0
call fcn.00466640
cmp dword [ebp - 0xdc0], 7
je 0x411baa
cmp dword [ebp - 0xdc0], 8
jne 0x411be2
push 0
push 0x448d10
mov ecx, dword [ebp - 0xdbc]
push ecx
push 0x6c
mov ecx, 0x489f1d0
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, 0x50a97e0
call fcn.004113d0
push str.full
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x411cfd
mov ecx, 0x574bcd8
call fcn.00411450
mov dword [ebp - 0xe14], eax
mov dword [ebp - 0xdcc], 0
mov ecx, dword [ebp - 0xdcc]
cmp ecx, dword [ebp - 0xe14]
jge 0x411c49
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 0x411c13
mov ecx, 0x574bcd8
call fcn.00411470
mov dword [ebp - 0xe18], eax
mov dword [ebp - 0xdd0], 0
mov edx, dword [ebp - 0xdd0]
cmp edx, dword [ebp - 0xe18]
jge 0x411c99
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 0x411c63
mov ecx, 0x574bcd8
call fcn.00411490
mov dword [ebp - 0xe1c], eax
mov dword [ebp - 0xdd4], 0
mov eax, dword [ebp - 0xe1c]
add eax, 1
cmp dword [ebp - 0xdd4], eax
jge 0x411cec
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 0x411cb3
mov ecx, 0x48a7100
call fcn.0045c5a0
push 0
call fcn.004a1801
mov ecx, 0x574b5f8
call fcn.00452980
mov ecx, 0x69dd128
call fcn.004114f0
movzx ecx, al
test ecx, ecx
je 0x411f19
lea ecx, [ebp - 0xdf4]
call fcn.00494520
mov ecx, 0x489f1d0
call fcn.00411390
push eax
lea edx, [ebp - 0x1d0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4c38d0
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.00494070
mov dword [ebp - 0xdfc], 0
mov dword [ebp - 0xe00], 0
lea eax, [ebp - 0x1d0]
push eax
lea ecx, [ebp - 0xe90]
call fcn.004943f0
test eax, eax
jne 0x411f03
push 0xc8
lea ecx, [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0xe90]
call fcn.004942d0
lea edx, [ebp - 0xcc]
push edx
lea ecx, [ebp - 0xdf4]
call fcn.004945e0
push 0
push 0x4c38e8
lea ecx, [ebp - 0xdf4]
call fcn.00494860
test eax, eax
jge 0x411e24
lea ecx, [ebp - 0xe90]
call fcn.00411230
mov esi, eax
lea ecx, [ebp - 0xe90]
call fcn.00411250
cmp esi, eax
jae 0x411e24
push 0xc8
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xe90]
call fcn.004942d0
lea ecx, [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0xdf4]
call fcn.004945e0
jmp 0x411dc7
lea edx, [ebp - 0xcc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x411eca
lea ecx, [ebp - 0xdf4]
call fcn.004111f0
sub eax, 7
push eax
lea ecx, [ebp - 0xdf4]
call fcn.00494a00
lea ecx, [ebp - 0xdf4]
call fcn.00411210
push eax
call fcn.004a1bdb
add esp, 4
mov dword [ebp - 0xdfc], eax
push 0xc8
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xe90]
call fcn.004942d0
lea ecx, [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0xdf4]
call fcn.004945e0
lea ecx, [ebp - 0xdf4]
call fcn.004111f0
sub eax, 7
push eax
lea ecx, [ebp - 0xdf4]
call fcn.00494a00
lea ecx, [ebp - 0xdf4]
call fcn.00411210
push eax
call fcn.004a1bdb
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.004940a0
lea ecx, [ebp - 0xdf4]
call fcn.00494560
lea ecx, [ebp - 0xdb8]
call fcn.004122a0
push 0x304
push 0
lea ecx, [ebp - 0xdb8]
push ecx
call fcn.0049efc0
add esp, 0xc
mov dword [ebp - 0xd7c], 0x500
mov dword [ebp - 0xd78], 0x2d0
movss xmm0, dword [0x4c9034]
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 [0x4c92b8]
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, 0x4927138
call fcn.004416c0
push 0x304
push 0
lea edx, [ebp - 0xdb8]
push edx
call fcn.0049efc0
add esp, 0xc
push 1
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
mov ecx, 0x489f1d0
call fcn.00411330
cmp eax, 0x25
je 0x4121c2
mov ecx, 0x489f1d0
call fcn.00411330
push eax
mov ecx, 0x489f1d0
call fcn.004113b0
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 0x4120a0
mov ecx, 0x489f1d0
call fcn.00411330
cmp eax, 0x1d
jne 0x412174
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 0x41215e
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 0x41215c
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, 0x50a9e78
call fcn.00459fa0
cmp eax, 0x26
je 0x412112
mov ecx, 0x50a9e78
call fcn.00459fa0
cmp eax, 0x28
jne 0x412132
mov ecx, 0x50a9e78
call fcn.0045a010
mov ecx, 0x489f1d0
call fcn.0045fa10
mov ecx, 0x50a97e0
call fcn.00472620
jmp 0x412157
mov ecx, 0x50a9e78
call fcn.00459fa0
cmp eax, 0x115
jne 0x412157
mov ecx, 0x489f1d0
call fcn.0045fa10
mov ecx, 0x50a97e0
call fcn.00472620
jmp 0x4120bd
jmp 0x412172
mov ecx, 0x489f1d0
call fcn.0045fa10
mov ecx, 0x50a97e0
call fcn.00472620
jmp 0x4121bd
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 0x4121a9
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 0x412174
mov ecx, 0x489f1d0
call fcn.0045fa10
mov ecx, 0x50a97e0
call fcn.00472620
jmp 0x412047
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, 0x4793ad0
call fcn.00476aa0
movzx edx, al
test edx, edx
je 0x4121f9
push 0
mov ecx, 0x4793ad0
call fcn.004770a0
push 0
mov ecx, 0x4793ad0
call fcn.00477120
mov ecx, 0x4793ad0
call fcn.00476b80
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
mov ecx, 0x48a7100
call fcn.0045c5a0
mov ecx, 0x489f1d0
call fcn.00466f00
push 0x4c38f0
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, 0x574b5f8
call fcn.00453760
mov ecx, 0x50a97e0
call fcn.004724c0
mov ecx, 0x4927138
call fcn.004113f0
mov ecx, 0x489f1d0
call fcn.0045f0b0
mov ecx, 0x5432e60
call fcn.00458180
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.00494560
mov eax, dword [ebp - 0xe20]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d708
mov esp, ebp
pop ebp
ret 0x10