Function at 0x40bc10
Capabilities:
Check for time delay via gettickcount
Delete file
Get common file path
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0xcd4]
sub esp, 0xcd4
push 0xffffffffffffffff
push 0x425340
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x42c2e4]
xor eax, ebp
mov dword [ebp + 0xcd0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0xcdc]
mov byte [ebp - 0x15], 0
call fcn.00407e00
push 0x7d0
push 0x42d720
push 0x16
mov eax, dword [0x42e4ac]
push eax
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
call edi
push 0x42d720
lea ecx, [ebp + 0x190]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x208
push 0x441248
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call ebx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 4], 0
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov dword [ebp - 4], 0xffffffff
push 0x12c
push 0
push 0x42e4a0
call fcn.00412210
add esp, 0xc
mov dword [0x42e4ac], esi
push str.exepress_class
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov esi, eax
test esi, esi
je 0x40bd41
push 0x7d0
push 0x42d720
push 0x19
mov edx, dword [0x42e4ac]
push edx
call edi
push 0x40
push 0x42eb74
push 0x42d720
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xcd0]
xor ecx, ebp
call fcn.004121f9
add ebp, 0xcd4
mov esp, ebp
pop ebp
ret 0x10
push str.exepress_class
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x14], eax
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
mov esi, dword [sym.imp.USER32.dll_SetCursor]
call esi
mov edi, eax
call fcn.00406110
mov dword [0x42e134], eax
push edi
call esi
cmp dword [0x42e134], 0
jne 0x40be25
call fcn.00401bf0
mov dword [ebp - 0x1c], eax
call fcn.00401be0
cmp eax, 6
jne 0x40bda0
lea eax, [ebp + 0x190]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 2
push 0x441248
call fcn.0040dfc0
add esp, 4
push eax
lea ecx, [ebp + 0x960]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x15
call fcn.00401020
add esp, 4
push eax
lea edx, [ebp + 0x960]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 4], 0xffffffff
cmp byte [0x42e5c8], 0
jne 0x40bdff
push 0x10
lea eax, [ebp + 0x960]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x40bd1a
cmp byte [0x42eb10], 0
je 0x40bf4f
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x24]
push edx
push str._u_u_u_u
push 0x42eb10
call fcn.004139bf
add esp, 0x18
cmp eax, 4
je 0x40be88
mov eax, dword [0x42e5c4]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp byte [0x42e5c8], 0
jne 0x40bdff
push 0x12010
push 0x42eb74
push 0x1a
call fcn.00401020
add esp, 4
push eax
jmp 0x40bdf7
xor eax, eax
mov dword [ebp + 0x16c], eax
mov dword [ebp + 0x170], eax
mov dword [ebp + 0x174], eax
mov eax, dword [ebp - 0x24]
mov ecx, eax
xor ecx, dword [ebp - 0x1c]
mov dword [ebp + 0x178], ecx
mov edx, eax
xor edx, dword [ebp - 0x38]
sub edx, 1
mov dword [ebp + 0x17c], edx
xor eax, dword [ebp - 0x2c]
sub eax, 0x76c
mov dword [ebp + 0x180], eax
mov dword [ebp + 0x18c], 0xffffffff
lea eax, [ebp + 0x16c]
push eax
call fcn.0041394a
mov edi, eax
mov esi, edx
lea ecx, [ebp - 0x34]
push ecx
call fcn.0041365b
add esp, 8
mov eax, dword [ebp - 0x30]
cmp eax, esi
jl 0x40bf1b
mov ecx, dword [ebp - 0x34]
jg 0x40befc
cmp ecx, edi
jbe 0x40bf1b
sub ecx, edi
sbb eax, esi
mov dword [ebp - 0x40], eax
mov eax, 0xc22e4507
imul ecx
add edx, ecx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 7
jle 0x40bf4f
mov edx, dword [0x42e5c4]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp byte [0x42e5c8], 0
jne 0x40bdff
push 0x12010
push 0x42eb74
push 0x2a
call fcn.00401020
add esp, 4
push eax
jmp 0x40bdf7
test dword [0x432280], 0x2000000
je 0x40bfd1
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x1c]
push eax
push str.IsWow64Process
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.0040f630
add esp, 0xc
cmp dword [ebp - 0x1c], esi
je 0x40bfd1
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x1c]
test eax, eax
je 0x40bfd1
cmp dword [ebp - 0x24], esi
je 0x40bfd1
mov edx, dword [0x42e5c4]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp byte [0x42e5c8], 0
jne 0x40bdff
push 0x12010
push 0x42eb74
push 0x26
call fcn.00401020
add esp, 4
push eax
push esi
jmp 0x40bdf9
test dword [0x432280], 0x4000000
je 0x40c064
push 0x104
lea eax, [ebp + 0x50]
push eax
push 0
call ebx
lea ecx, [ebp - 0x1d]
push ecx
lea edx, [ebp + 0xac8]
push edx
lea eax, [ebp + 0x50]
push eax
call fcn.0040eed0
add esp, 8
push eax
push 0
call fcn.0040edb0
add esp, 0xc
test al, al
jne 0x40c04c
cmp byte [0x42e5c8], al
jne 0x40c03a
push 0x134
push 0x42eb74
push 0x426990
push 0
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
call edi
cmp eax, 6
je 0x40c06a
mov ecx, dword [0x42e5c4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x40bdff
cmp byte [ebp - 0x1d], 0
jne 0x40c064
mov edx, dword [0x42e5c4]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x40bdff
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
test dword [0x432280], 0x400000
je 0x40c0b6
call fcn.00406890
test al, al
je 0x40c0b6
mov eax, dword [0x42e5c4]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp byte [0x42e5c8], 0
jne 0x40bdff
push 0x12040
push 0x42eb74
push 0x14
call fcn.00401020
add esp, 4
push eax
push 0
call edi
jmp 0x40bdff
test dword [0x432280], 0x80000
je 0x40c122
call fcn.0040fdf0
test eax, eax
jne 0x40c122
mov ecx, dword [0x42e5c4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp byte [0x42e5c8], 0
jne 0x40c0fa
push 0x12010
push 0x42eb74
push 0x13
call fcn.00401020
add esp, 4
push eax
push 0
call edi
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ax, word [0x42e61a]
cmp ax, 0xffff
je 0x40c269
test al, 1
je 0x40c149
call fcn.0040f190
test eax, eax
jne 0x40c269
mov ax, word [0x42e61a]
test al, 2
je 0x40c160
call fcn.0040f020
test eax, eax
jne 0x40c269
mov ax, word [0x42e61a]
test al, 4
je 0x40c177
call fcn.0040f0e0
test eax, eax
jne 0x40c269
mov ax, word [0x42e61a]
test al, 8
je 0x40c18e
call fcn.0040ef80
test eax, eax
jne 0x40c269
mov ax, word [0x42e61a]
test al, 0x10
je 0x40c1a5
call fcn.0040f240
test eax, eax
jne 0x40c269
mov ax, word [0x42e61a]
test al, 0x20
je 0x40c1bc
call fcn.00410090
test eax, eax
jne 0x40c269
mov ax, word [0x42e61a]
test al, 0x40
je 0x40c1d3
call fcn.00410190
test eax, eax
jne 0x40c269
mov ax, word [0x42e61a]
test al, al
jns 0x40c1ea
call fcn.0040f3b0
test eax, eax
jne 0x40c269
mov ax, word [0x42e61a]
test ax, 0x100
je 0x40c1ff
call fcn.0040f560
test eax, eax
jne 0x40c269
mov ax, word [0x42e61a]
test ax, 0x200
je 0x40c20e
call fcn.0040f480
test eax, eax
jne 0x40c269
mov edx, dword [0x42e5c4]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0x42e624
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40c24b
cmp byte [0x42e5c8], 0
jne 0x40c0fa
push 0x12010
push 0x42eb74
push 0x42e624
jmp 0x40c0f6
cmp byte [0x42e5c8], 0
jne 0x40c0fa
push 0x12010
push 0x42eb74
push 0x26
jmp 0x40c0ed
test dword [0x432280], 0x20000
je 0x40c57c
cmp byte [0x440cbc], 0
je 0x40c57c
xor esi, esi
mov dword [ebp - 4], 4
push esi
push 0x440cbc
mov eax, dword [0x42e134]
push eax
call fcn.00401cf0
add esp, 0xc
mov edi, eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 0xffffffff
test edi, edi
jne 0x40c2f5
mov ecx, dword [0x42e5c4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp byte [0x42e5c8], 0
jne 0x40bdff
push 0x12010
push 0x42eb74
push 0x426940
jmp 0x40bdf7
cmp byte [0x440dc0], 0
je 0x40c32f
mov dword [ebp - 4], 6
push 0
push 0x440dc0
mov edx, dword [0x42e134]
push edx
call fcn.00401cf0
add esp, 0xc
mov esi, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x40c3e0
lea ecx, [ebp + 0x50]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp + 0xbcc]
push edx
push 0
push 0x42693c
lea eax, [ebp + 0x50]
push eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
call ebx
lea ecx, [ebp + 0xbcc]
push ecx
push 0x42e350
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
lea edx, [ebp + 0xbcc]
push edx
call fcn.00406820
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test esi, esi
je 0x40c418
lea eax, [ebp + 0xbcc]
push eax
xor edi, edi
push edi
push 0x426938
lea ecx, [ebp + 0x50]
push ecx
call ebx
lea edx, [ebp + 0xbcc]
push edx
push 0x42e248
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
lea eax, [ebp + 0xbcc]
push eax
call fcn.00406820
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x40c42a
mov eax, dword [0x42e5c4]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp byte [0x42e5c8], 0
jne 0x40c40c
push 0x12010
push 0x42eb74
push 0x4268e0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x40bdff
push 0x4268dc
push 0x42e248
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor edi, edi
push 0x42e350
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x42e34c], eax
cmp eax, edi
jne 0x40c490
mov ecx, dword [0x42e5c4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp byte [0x42e5c8], 0
jne 0x40c46a
push 0x12010
push 0x42eb74
push 0x426890
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x42e350
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call esi
cmp byte [0x42e248], 0
je 0x40bdff
push 0x42e248
call esi
jmp 0x40bdff
push str.EXEpressExtension
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x42e484], eax
cmp eax, edi
jne 0x40c503
mov edx, dword [0x42e5c4]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp byte [0x42e5c8], 0
jne 0x40c4d1
push 0x12010
push 0x42eb74
push 0x426830
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [0x42e34c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x42e350
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call esi
cmp byte [0x42e248], 0
je 0x40bdff
push 0x42e248
call esi
jmp 0x40bdff
mov dword [0x42e454], 0x30
mov dword [0x42e45c], edi
mov dword [0x42e480], 0x406670
mov dword [0x42e464], 0x441248
mov cl, byte [0x42e248]
neg cl
sbb ecx, ecx
and ecx, 0x42e248
mov dword [0x42e468], ecx
mov dword [0x42e460], 0x42eb74
mov dword [0x42e478], edi
mov dword [0x42e474], edi
mov dword [0x42e470], edi
mov dword [0x42e46c], edi
mov dword [0x42e458], 0x3e8
call fcn.00406710
test eax, eax
jne 0x40c052
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [0x42e5c4]
test eax, eax
je 0x40c5b2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x42e5c0]
cmp eax, 0x3e8
ja 0x40c5ad
push 0
call fcn.0040ea90
add esp, 4
mov eax, dword [0x42e5c4]
test eax, eax
jne 0x40c585
jmp 0x40c5b2
mov eax, dword [0x42e5c4]
test byte [0x432284], 4
je 0x40c5df
push 0x35
call fcn.00401020
add esp, 4
push eax
push 0x415
mov eax, dword [0x42e5c4]
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ebx, dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x40c5f6
mov ebx, dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x40c5ec
push eax
call ebx
mov dword [0x42e5c4], 0
test dword [0x432280], 0x400
je 0x40c61b
mov ecx, dword [0x440818]
push ecx
push 0x44081c
push 0x42eb74
call fcn.00401980
add esp, 0xc
test dword [0x432280], 0x4000
je 0x40c658
push 0
push 0x440bb4
mov edx, dword [0x42e134]
push edx
call fcn.00401cf0
add esp, 0xc
mov esi, eax
test esi, esi
je 0x40c658
push esi
call fcn.00407630
add esp, 4
mov dword [0x440cb8], eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [0x432280]
test eax, 0x8000000
je 0x40c6a5
mov dword [0x440ec8], 1
test eax, 0x10000000
je 0x40c6b2
push 0
push 0x440ecc
mov eax, dword [0x42e134]
push eax
call fcn.00401cf0
add esp, 0xc
mov esi, eax
test esi, esi
je 0x40c6a5
push esi
call fcn.00407630
add esp, 4
mov dword [0x440fd0], eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [0x440ec8], 0
je 0x40c76d
push 0x150
push 0
lea ecx, [ebp + 4]
push ecx
call fcn.00412210
add esp, 0xc
mov dword [ebp], 0x154
push 0
lea edx, [ebp]
push edx
push 0
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov ecx, 0xf
lea esi, [ebp + 0x118]
lea edi, [ebp + 0x154]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp + 0x164], 0x2bc
push 0x20
push 0x2c
call fcn.00401020
add esp, 4
push eax
lea eax, [ebp + 0x170]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x5a
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
lea ecx, [eax*4]
sub ecx, eax
neg ecx
add ecx, ecx
add ecx, ecx
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp + 0x154], ecx
lea edx, [ebp + 0x154]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov dword [0x42e4a0], eax
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
test byte [0x432284], 4
je 0x40c8a2
test dword [0x432280], 0x2000
je 0x40c841
mov eax, dword [0x440988]
sub eax, 0
je 0x40c7b3
sub eax, 2
je 0x40c7ac
sub eax, 1
je 0x40c7a5
mov esi, 0x80000001
jmp 0x40c7b8
mov esi, 0x80000003
jmp 0x40c7b8
mov esi, 0x80000002
jmp 0x40c7b8
mov esi, 0x80000000
push 0x104
push 0
lea eax, [ebp + 0xbcc]
push eax
call fcn.00412210
push 0x104
lea ecx, [ebp + 0xbcc]
push ecx
push 0x440a90
push 0x44098c
push esi
call fcn.0040ccd0
add esp, 0x20
test eax, eax
je 0x40c85b
cmp byte [ebp + 0xbcc], 0
je 0x40c85b
lea edx, [ebp + 0xbcc]
push edx
push 0x42ebb6
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
call esi
lea eax, [ebp + 0xbcc]
push eax
push 0x42efc6
call esi
push 0x42ebb6
call fcn.0040e060
push 0x42efc6
call fcn.0040e060
push 0x42e5f0
mov ecx, dword [0x42e134]
push ecx
call fcn.00404c80
add esp, 0x10
push 0
call fcn.0040b2c0
mov dword [0x42e5d0], eax
push 0
call fcn.004092e0
add esp, 8
xor esi, esi
jmp 0x40c8d4
test dword [0x432280], 0x200000
je 0x40c841
cmp byte [0x42e5c8], 0
jne 0x40c88b
push 0x10
push 0x42eb74
push 0xb
call fcn.00401020
add esp, 4
push eax
mov edx, dword [0x42e5c4]
push edx
call edi
mov eax, dword [0x42e5c4]
push eax
call ebx
mov dword [0x42e5c4], 0
jmp 0x40bd18
call fcn.004121c0
mov dword [0x42e49c], eax
push 0x42e5f0
xor esi, esi
push esi
call fcn.0040b830
add esp, 8
mov eax, dword [0x42e49c]
cmp eax, esi
je 0x40c8d4
push eax
call fcn.00412120
add esp, 4
mov dword [0x42e49c], esi
mov eax, dword [0x42e5c4]
cmp eax, esi
je 0x40c8e6
push eax
call ebx
mov dword [0x42e5c4], esi
cmp byte [0x42e5d4], 0
je 0x40c91c
cmp byte [0x42e5c8], 0
jne 0x40ca20
push 0x30
push 0x42eb74
push 0x12
call fcn.00401020
add esp, 4
push eax
mov ecx, dword [0x42e5c4]
push ecx
call edi
jmp 0x40ca20
call fcn.00401be0
cmp eax, esi
je 0x40c994
cmp eax, 0xb
je 0x40ca20
mov byte [0x441248], 0
mov eax, dword [0x42e134]
add eax, 0x24
cmp byte [eax], 0
je 0x40c95c
push eax
push 0x11
call fcn.00401020
add esp, 4
push eax
push 0x441248
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
call fcn.00401bf0
push eax
push 0x441248
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp byte [0x42e5c8], 0
jne 0x40ca20
push 0x10
push 0x42eb74
push 0x441248
mov edx, dword [0x42e5c4]
push edx
call edi
jmp 0x40ca20
cmp dword [0x42e5d0], 1
jne 0x40c9b4
call fcn.00404ec0
cmp byte [0x42f7d6], 0
je 0x40c9b4
push esi
call fcn.00408800
add esp, 4
movzx eax, byte [0x42e5bc]
push eax
mov ecx, dword [0x42e5d0]
push ecx
push esi
call fcn.00407280
add esp, 0xc
cmp byte [0x42e5bc], 0
je 0x40ca0e
cmp byte [0x42e5c8], 0
jne 0x40ca0e
cmp byte [0x42ea0c], 0
jne 0x40ca0e
push 0x134
push 0x42eb74
push 0x25
call fcn.00401020
add esp, 4
push eax
mov edx, dword [0x42dfcc]
push edx
call edi
cmp eax, 6
jne 0x40ca0e
mov byte [ebp - 0x15], 1
mov eax, dword [0x42dfcc]
cmp eax, esi
je 0x40ca20
push eax
call ebx
mov dword [0x42dfcc], esi
mov eax, dword [0x42e4a0]
cmp eax, esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x40ca32
push eax
call esi
mov eax, dword [0x440cb8]
test eax, eax
je 0x40ca3e
push eax
call esi
mov eax, dword [0x440fd0]
test eax, eax
je 0x40ca4a
push eax
call esi
call fcn.00406660
test eax, eax
je 0x40ca7c
mov eax, dword [0x42e34c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x42e350
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call esi
cmp byte [0x42e248], 0
je 0x40ca7c
push 0x42e248
call esi
mov ecx, dword [0x42e134]
push ecx
call fcn.00405830
add esp, 4
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x15], 0
je 0x40bd18
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov esi, eax
call edi
sub eax, esi
cmp eax, 0x3e8
ja 0x40cad3
jmp 0x40cac0
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call edi
sub eax, esi
cmp eax, 0x3e8
jbe 0x40cac0
call fcn.0040fbd0
jmp 0x40bd18