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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xea0
mov eax, dword [0x4deb90]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call dword [sym.imp.WINMM.dll_timeGetTime]
push eax
call fcn.004a4a0b
add esp, 4
push str.kabe3
mov ecx, 0x5d535e8
call fcn.00497710
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0xaa4]
push ecx
push 0x4cfc60
call fcn.004115e0
add esp, 0xc
lea edx, [ebp - 0xaa4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x41176d
lea eax, [ebp - 0xaa4]
push eax
mov ecx, 0x5d535e8
call fcn.00497710
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, 0x51ca6a0
call fcn.0045e900
push 0x4cfc64
push 0x4cfc94
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x4117a2
xor eax, eax
jmp 0x412340
call fcn.00414fa0
mov edx, dword [ebp + 0x10]
push edx
call fcn.004a5417
add esp, 4
mov dword [ebp - 0xdc0], eax
push 0x7d0
mov ecx, 0x50bf014
call fcn.00496f30
mov ecx, 0x7547800
call fcn.00477ab0
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 0x41189b
mov dword [ebp - 0xe70], 0x1020
mov dword [ebp - 0xe6c], 0x412570
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 dword [ebp - 0xe4c], 0x4cfcc4
lea eax, [ebp - 0xe70]
push eax
call dword [sym.imp.USER32.dll_RegisterClassW]
movzx ecx, ax
test ecx, ecx
jne 0x41189b
xor eax, eax
jmp 0x412340
push 0
mov edx, dword [ebp + 8]
push edx
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0x82ca0000
push 0x4cfcf4
push 0x4cfd24
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 0xdbc], eax
cmp dword [ebp - 0xdbc], 0
jne 0x4118e6
xor eax, eax
jmp 0x412340
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, 0x51ca6a0
call fcn.00411380
mov ecx, 0x51ca6a0
call fcn.004617f0
mov ecx, 0x51ca6a0
call fcn.00465970
mov ecx, 0x51ca6a0
call fcn.00411400
push eax
mov ecx, 0x51ca6a0
call fcn.004113e0
push eax
push 0
mov eax, dword [ebp - 0xdbc]
push eax
mov ecx, 0x5d535f8
call fcn.004579b0
mov ecx, dword [ebp - 0xdbc]
push ecx
mov ecx, 0x51ca6a0
call fcn.00411380
push 0
mov ecx, 0x51ca6a0
call fcn.0045f5e0
mov ecx, 0x4e0c40
call fcn.0046e5b0
mov ecx, 0x51d1d50
call fcn.0045b9a0
lea ecx, [ebp - 0xe10]
call fcn.00497650
push 0x5d535e8
lea ecx, [ebp - 0xe10]
call fcn.004976b0
push str._define
lea ecx, [ebp - 0xe10]
call fcn.00497760
mov edx, dword [ebp - 0xdc0]
push edx
lea ecx, [ebp - 0xe10]
call fcn.00411240
push eax
mov ecx, 0x606c470
call fcn.00490ad0
movzx eax, al
cmp eax, 1
je 0x411a1c
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.00497690
mov eax, dword [ebp - 0xe44]
jmp 0x412340
push 0x5d535e8
lea ecx, [ebp - 0xe10]
call fcn.004976b0
push str._sce
lea ecx, [ebp - 0xe10]
call fcn.00497760
mov edx, dword [ebp - 0xdc0]
push edx
lea ecx, [ebp - 0xe10]
call fcn.00411240
push eax
mov ecx, 0x7547800
call fcn.00477e30
movzx eax, al
cmp eax, 1
je 0x411a8e
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.00497690
mov eax, dword [ebp - 0xe24]
jmp 0x412340
mov ecx, 0x51d1d50
call fcn.004114c0
mov dword [ebp - 0xdc8], eax
mov ecx, 0x606c470
call fcn.00411540
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, 0x51d1d50
call fcn.0045be80
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 0x411b0e
cmp byte [ebp - 0xdd8], 1
je 0x411b1c
cmp byte [ebp - 0xdd8], 2
je 0x411b2a
jmp 0x411b36
push 0
mov ecx, 0x51ca6a0
call fcn.00460310
jmp 0x411b36
push 0
mov ecx, 0x51ca6a0
call fcn.00460270
jmp 0x411b36
push 0
mov ecx, 0x51ca6a0
call fcn.004131f0
mov dword [ebp - 0xddc], 0
mov dword [ebp - 0xde0], 0
mov dword [ebp - 0xde4], 0
cmp dword [ebp - 0xdc0], 1
je 0x411b6f
cmp dword [ebp - 0xdc0], 6
je 0x411b6f
cmp dword [ebp - 0xdc0], 8
jne 0x411bb1
push 0
push 0x446a90
mov eax, dword [ebp - 0xdbc]
push eax
push 0x65
mov ecx, 0x51ca6a0
call fcn.00411240
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [ebp - 0xddc], eax
mov ecx, dword [ebp - 0xddc]
push ecx
mov ecx, 0x606bef8
call fcn.0045c0e0
mov ecx, 0x606bef8
call fcn.0045d860
cmp dword [ebp - 0xdc0], 5
je 0x411bcc
cmp dword [ebp - 0xdc0], 6
je 0x411bcc
cmp dword [ebp - 0xdc0], 8
jne 0x411c04
push 0
push 0x446430
mov edx, dword [ebp - 0xdbc]
push edx
push 0x6a
mov ecx, 0x51ca6a0
call fcn.00411240
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [ebp - 0xde0], eax
mov eax, dword [ebp - 0xde0]
push eax
mov ecx, 0x7547800
call fcn.00411560
mov ecx, 0x51cad30
call fcn.00467e00
mov ecx, 0x50bf034
call fcn.0046c3d0
mov ecx, 0x59c9f58
call fcn.00411370
mov ecx, 0x50bf048
call fcn.004735c0
mov ecx, 0x5252170
call fcn.00411370
mov ecx, 0x51d1d50
call fcn.0045bca0
mov ecx, 0x51ca6a0
call fcn.00465d80
cmp dword [ebp - 0xdc0], 7
je 0x411c5c
cmp dword [ebp - 0xdc0], 8
jne 0x411c94
push 0
push 0x4476a0
mov ecx, dword [ebp - 0xdbc]
push ecx
push 0x6c
mov ecx, 0x51ca6a0
call fcn.00411240
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [ebp - 0xde4], eax
mov edx, dword [ebp - 0xde4]
push edx
mov ecx, 0x59c9f58
call fcn.00411460
push str.full
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x411daf
mov ecx, 0x606c470
call fcn.004114e0
mov dword [ebp - 0xe14], eax
mov dword [ebp - 0xdcc], 0
mov ecx, dword [ebp - 0xdcc]
cmp ecx, dword [ebp - 0xe14]
jge 0x411cfb
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 0x411cc5
mov ecx, 0x606c470
call fcn.00411500
mov dword [ebp - 0xe18], eax
mov dword [ebp - 0xdd0], 0
mov edx, dword [ebp - 0xdd0]
cmp edx, dword [ebp - 0xe18]
jge 0x411d4b
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 0x411d15
mov ecx, 0x606c470
call fcn.00411520
mov dword [ebp - 0xe1c], eax
mov dword [ebp - 0xdd4], 0
mov eax, dword [ebp - 0xe1c]
add eax, 1
cmp dword [ebp - 0xdd4], eax
jge 0x411d9e
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 0x411d65
mov ecx, 0x51d1d50
call fcn.0045bd30
push 0
call fcn.004a49d4
mov ecx, 0x606bd90
call fcn.004512d0
mov ecx, 0x7547800
call fcn.00411580
movzx ecx, al
test ecx, ecx
je 0x411fcb
lea ecx, [ebp - 0xdf4]
call fcn.00497650
mov ecx, 0x51ca6a0
call fcn.00411420
push eax
lea edx, [ebp - 0x1d0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4cfd6c
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.004971a0
mov dword [ebp - 0xdfc], 0
mov dword [ebp - 0xe00], 0
lea eax, [ebp - 0x1d0]
push eax
lea ecx, [ebp - 0xe90]
call fcn.00497520
test eax, eax
jne 0x411fb5
push 0xc8
lea ecx, [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0xe90]
call fcn.00497400
lea edx, [ebp - 0xcc]
push edx
lea ecx, [ebp - 0xdf4]
call fcn.00497710
push 0
push 0x4cfd84
lea ecx, [ebp - 0xdf4]
call fcn.00497990
test eax, eax
jge 0x411ed6
lea ecx, [ebp - 0xe90]
call fcn.00411260
mov esi, eax
lea ecx, [ebp - 0xe90]
call fcn.00411280
cmp esi, eax
jae 0x411ed6
push 0xc8
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xe90]
call fcn.00497400
lea ecx, [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0xdf4]
call fcn.00497710
jmp 0x411e79
lea edx, [ebp - 0xcc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x411f7c
lea ecx, [ebp - 0xdf4]
call fcn.00411220
sub eax, 7
push eax
lea ecx, [ebp - 0xdf4]
call fcn.00497b30
lea ecx, [ebp - 0xdf4]
call fcn.00411240
push eax
call fcn.004a5417
add esp, 4
mov dword [ebp - 0xdfc], eax
push 0xc8
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xe90]
call fcn.00497400
lea ecx, [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0xdf4]
call fcn.00497710
lea ecx, [ebp - 0xdf4]
call fcn.00411220
sub eax, 7
push eax
lea ecx, [ebp - 0xdf4]
call fcn.00497b30
lea ecx, [ebp - 0xdf4]
call fcn.00411240
push eax
call fcn.004a5417
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.004971d0
lea ecx, [ebp - 0xdf4]
call fcn.00497690
lea ecx, [ebp - 0xdb8]
call fcn.00412360
push 0x304
push 0
lea ecx, [ebp - 0xdb8]
push ecx
call fcn.004a20f0
add esp, 0xc
mov dword [ebp - 0xd7c], 0x500
mov dword [ebp - 0xd78], 0x2d0
movss xmm0, dword [0x4d5d88]
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 [0x4d600c]
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.004112b0
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, 0x5252170
call fcn.00440050
push 0x304
push 0
lea edx, [ebp - 0xdb8]
push edx
call fcn.004a20f0
add esp, 0xc
push 1
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
mov ecx, 0x51ca6a0
call fcn.004113c0
cmp eax, 0x25
je 0x412274
mov ecx, 0x51ca6a0
call fcn.004113c0
push eax
mov ecx, 0x51ca6a0
call fcn.00411440
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 0x412152
mov ecx, 0x51ca6a0
call fcn.004113c0
cmp eax, 0x1d
jne 0x412226
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 0x412210
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 0x41220e
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, 0x59ca610
call fcn.00459770
cmp eax, 0x26
je 0x4121c4
mov ecx, 0x59ca610
call fcn.00459770
cmp eax, 0x28
jne 0x4121e4
mov ecx, 0x59ca610
call fcn.004597e0
mov ecx, 0x51ca6a0
call fcn.0045f180
mov ecx, 0x59c9f58
call fcn.00472550
jmp 0x412209
mov ecx, 0x59ca610
call fcn.00459770
cmp eax, 0x115
jne 0x412209
mov ecx, 0x51ca6a0
call fcn.0045f180
mov ecx, 0x59c9f58
call fcn.00472550
jmp 0x41216f
jmp 0x412224
mov ecx, 0x51ca6a0
call fcn.0045f180
mov ecx, 0x59c9f58
call fcn.00472550
jmp 0x41226f
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 0x41225b
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 0x412226
mov ecx, 0x51ca6a0
call fcn.0045f180
mov ecx, 0x59c9f58
call fcn.00472550
jmp 0x4120f9
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, 0x50befa0
call fcn.00476a20
movzx edx, al
test edx, edx
je 0x4122ab
push 0
mov ecx, 0x50befa0
call fcn.00477020
push 0
mov ecx, 0x50befa0
call fcn.004770a0
mov ecx, 0x50befa0
call fcn.00476b00
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
mov ecx, 0x51d1d50
call fcn.0045bd30
mov ecx, 0x51ca6a0
call fcn.004665d0
push 0x4cfd8c
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, 0x606bd90
call fcn.004520b0
mov ecx, 0x59c9f58
call fcn.004723f0
mov ecx, 0x5252170
call fcn.00411480
mov ecx, 0x51ca6a0
call fcn.0045e820
mov ecx, 0x5d535f8
call fcn.00457950
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.00497690
mov eax, dword [ebp - 0xe20]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a0848
mov esp, ebp
pop ebp
ret 0x10