Function at 0x10334f0
Capabilities:
Check if file exists
Copy file
Delete file
Enumerate gui resources
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a4
mov ecx, dword [0x1037d10]
push ebx
push esi
xor esi, esi
cmp ecx, esi
push edi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
je 0x103351b
push 1
call fcn.010297b4
mov dword [0x1037d10], esi
mov ebx, dword [ebp + 8]
cmp byte [ebx], 0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
jne 0x103353e
push dword [0x1037750]
lea eax, [ebp - 0x4a4]
push eax
call edi
lea ebx, [ebp - 0x4a4]
push ebx
lea eax, [ebp - 0x134]
push eax
call edi
push 0x1001d50
lea eax, [ebp - 0x134]
push eax
call fcn.0102941e
push 0x8021
lea eax, [ebp - 0x134]
push eax
call fcn.0100e383
cmp eax, esi
mov dword [ebp - 8], eax
je 0x1033581
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 8]
push eax
call fcn.0100d754
call fcn.0101c19b
push ebx
lea eax, [ebp - 0x134]
push eax
call edi
cmp dword [0x1039514], esi
je 0x10335c3
lea eax, [ebp - 0x134]
push eax
push 0x37
call fcn.01021676
push eax
lea eax, [ebp - 0x3a0]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x3a0]
push eax
call fcn.01022031
lea eax, [ebp - 0x134]
push eax
call fcn.01031230
push 0x1001d68
lea eax, [ebp - 0x134]
push eax
call fcn.0102941e
push 0x1001d58
push ebx
call fcn.0102941e
lea eax, [ebp - 0x134]
push eax
call fcn.0100d7be
test eax, eax
push 8
pop esi
jne 0x1033679
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x103361d
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea eax, [ebp - 0x134]
push eax
call fcn.01015ce1
test eax, eax
mov dword [ebp + 8], eax
jne 0x10337c4
cmp dword [0x1037954], esi
je 0x1033a3d
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.0100de5f
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x134]
push eax
call edi
lea eax, [ebp - 0x134]
push eax
call fcn.0100d7be
test eax, eax
je 0x103379f
push 1
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll__lopen]
cmp eax, 0xffffffff
je 0x1033699
push eax
call dword [sym.imp.KERNEL32.dll__lclose]
jmp 0x10335fe
lea eax, [ebp - 0x378]
push eax
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x10336f1
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x364]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x10]
cmp eax, 5
ja 0x10335fe
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
push 0
mov edi, 0x1002af4
push edi
call esi
test eax, eax
je 0x103372c
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x400
call fcn.010295ea
push 0
push edi
call esi
test eax, eax
jne 0x103370c
jmp 0x1033760
push 0x2b
call fcn.010322d9
test eax, eax
je 0x1033831
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.01032346
lea eax, [ebp - 0x134]
push eax
call fcn.0100d7be
test eax, eax
jne 0x103373b
call fcn.010312ce
push 0x1001d40
lea eax, [ebp - 0x134]
push eax
call fcn.0102941e
lea eax, [ebp - 0x134]
push eax
call fcn.0100d7be
test eax, eax
jne 0x1033791
push dword [ebp + 0xc]
push ebx
call fcn.010334f0
mov esi, eax
jmp 0x1033ba5
lea eax, [ebp - 0x134]
push eax
call fcn.01029788
jmp 0x103378a
push 0
lea eax, [ebp - 0x134]
push eax
call fcn.01015ce1
test eax, eax
mov dword [ebp + 8], eax
jne 0x10337c4
cmp dword [0x1037954], esi
setne al
add esi, eax
jmp 0x1033a3d
push 0x2b
call fcn.010322d9
test eax, eax
je 0x1033a3d
call fcn.01032346
push 0xe
xor eax, eax
xor esi, esi
cmp dword [ebp + 0xc], esi
pop ecx
mov edi, 0x1039440
rep stosd dword es:[edi], eax
je 0x10337f5
mov dword [0x1039448], 0x20
mov eax, dword [0x1037b40]
cmp eax, esi
mov dword [0x1039440], 0x1087
je 0x103380f
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0x800
push 0x40
call edi
cmp eax, esi
mov dword [0x1037b40], eax
jne 0x1033838
push 0x10379f4
call fcn.0100d754
push 8
jmp 0x1033a3c
cmp dword [ebp + 0xc], esi
jne 0x1033856
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
push ebx
call fcn.0103259f
test eax, eax
jne 0x1033856
xor esi, esi
inc esi
jmp 0x1033a3d
mov eax, dword [0x1037968]
cmp eax, esi
je 0x103386d
push 1
push eax
call fcn.010083fe
mov dword [0x1037968], esi
cmp dword [0x103944c], 1
jle 0x103387d
or dword [0x1039448], 1
push dword [ebp + 8]
push ebx
call fcn.010310c9
mov esi, eax
test esi, esi
jne 0x1033899
call fcn.0101c1c2
mov esi, dword [ebp + 0xc]
jmp 0x1033a42
push esi
push ebx
push dword [ebp + 8]
call fcn.01032e60
test eax, eax
je 0x10338ae
or dword [0x1039448], 4
push 1
push esi
call fcn.010083fe
xor ebx, ebx
push ebx
push 0x1001cd4
push dword [ebp + 8]
call fcn.01015e25
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x10338e3
xor eax, eax
cmp dword [0x10394dc], 8
setne al
add eax, 8
mov esi, eax
jmp 0x1033a3d
cmp dword [0x1036aa4], ebx
je 0x103392b
mov eax, dword [0x1039360]
cmp eax, ebx
jne 0x10338fa
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push eax
lea eax, [ebp - 0x30]
push 0x1002b64
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
je 0x1033932
or dword [0x1039448], 8
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1033932
or dword [0x1039448], 8
mov eax, dword [0x1037b10]
mov eax, dword [eax + 8]
dec eax
cmp eax, 3
jge 0x1033950
cmp dword [0x10394fc], 0xf
jne 0x1033950
and dword [0x1039448], 0xfffffff7
push 0x38
push 0x1039440
push dword [ebp - 4]
call fcn.01016c20
cmp eax, 0x38
jne 0x1033a3a
mov esi, 0x2bc
push esi
push 0x40
call edi
push esi
mov edi, eax
push edi
push dword [ebp - 4]
call fcn.01016c20
cmp eax, esi
je 0x1033999
cmp edi, ebx
push 9
pop esi
je 0x1033a3d
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1033a3d
cmp edi, ebx
je 0x10339a4
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [0x103944c], 1
jle 0x10339ce
call fcn.01032346
push dword [0x103944c]
push dword [0x10379f4]
push dword [ebp - 4]
call fcn.01016c20
cmp eax, dword [0x103944c]
jne 0x1033a3a
push ebx
push 1
push dword [ebp - 4]
call fcn.010166ef
test eax, eax
mov dword [ebp - 4], ebx
jne 0x1033a3a
cmp dword [0x1037b40], ebx
je 0x1033a25
push ebx
push 0x10029cc
push dword [ebp + 8]
call fcn.01015e25
mov edi, eax
cmp edi, ebx
mov dword [ebp - 4], edi
je 0x1033a25
mov esi, 0x800
push esi
push dword [0x1037b40]
push edi
call fcn.01016c20
cmp eax, esi
jne 0x1033a3a
push ebx
push 1
push edi
call fcn.010166ef
test eax, eax
mov dword [ebp - 4], ebx
jne 0x1033a3a
push 1
push dword [ebp + 8]
call fcn.0101642d
test eax, eax
je 0x1033abb
mov dword [ebp + 8], ebx
push 9
pop esi
call fcn.0101c1c2
call fcn.010312ce
mov eax, dword [0x1037968]
xor edi, edi
cmp eax, edi
je 0x1033a60
push 1
push eax
call fcn.010083fe
mov dword [0x1037968], edi
cmp dword [ebp - 4], edi
je 0x1033a70
push edi
push 1
push dword [ebp - 4]
call fcn.010166ef
cmp dword [ebp + 8], edi
je 0x1033a7f
push 1
push dword [ebp + 8]
call fcn.0101642d
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, 8
jne 0x1033a9c
push 2
push 2
call fcn.01024353
jmp 0x1033ab4
cmp esi, 1
je 0x1033ab4
lea eax, [ebp - 0x134]
push eax
push 2
push 0x8f
call fcn.0102422d
xor eax, eax
jmp 0x1033bac
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x1001d40
lea eax, [ebp - 0x238]
push eax
call fcn.0102941e
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x80
lea eax, [ebp - 0x238]
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x238]
push eax
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileA]
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x134]
push eax
call esi
test eax, eax
jne 0x1033b87
push 2
push 0x1031314
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x238]
push eax
call ebx
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x134]
push eax
call esi
test eax, eax
jne 0x1033b87
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esi, eax
lea eax, [ebp - 0x134]
push eax
call ebx
test esi, esi
jne 0x1033b87
call fcn.010312ce
push 2
push 0x88
call fcn.01024353
push 2
lea eax, [ebp - 0x238]
push eax
call edi
lea eax, [ebp - 0x238]
push eax
call fcn.01029788
mov esi, eax
call fcn.010312ce
call fcn.0101c1c2
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8