Function at 0x102ab8b
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x59c
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 8], ebx
je 0x102abb7
lea eax, [ebp - 0x124]
push 0xc
push eax
push dword [ebp + 0xc]
call fcn.0100e587
jmp 0x102abbe
and byte [ebp - 0x124], 0
lea eax, [ebp - 0x124]
push eax
call fcn.0102a997
push dword [ebp + 8]
mov dword [ebp - 0x1c], eax
push 0x37
call fcn.01023cda
push eax
lea eax, [ebp - 0x59c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x59c]
push eax
call fcn.01024477
cmp dword [0x1038cb8], ebx
jne 0x102ac2d
push 0x800
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov dword [0x1038cb8], eax
jne 0x102ac2d
push 2
push 2
call fcn.0102498f
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
push dword [ebp + 8]
call fcn.0100e461
push ebx
push eax
mov dword [ebp - 4], eax
call fcn.01016883
cmp eax, ebx
mov dword [0x103a768], eax
jne 0x102acd1
cmp dword [0x103a6e8], 4
je 0x102b216
lea eax, [ebp - 0x434]
push eax
push dword [ebp - 4]
call fcn.0100e8ee
lea eax, [ebp - 0x434]
push ebx
push eax
call fcn.01016883
cmp eax, ebx
mov dword [0x103a768], eax
jne 0x102acac
push 2
push dword [ebp - 4]
call fcn.01016883
cmp eax, ebx
mov dword [0x103a768], eax
je 0x102ac9d
mov dword [0x1038b80], 1
jmp 0x102acc9
cmp dword [0x103a6e8], 4
je 0x102b216
jmp 0x102acc9
lea eax, [ebp - 4]
push eax
call fcn.0100e4ec
lea eax, [ebp - 0x434]
push eax
call fcn.0100e505
mov dword [ebp - 4], eax
mov eax, dword [0x103a768]
cmp eax, ebx
je 0x102b220
push 2
push 0x1001d58
push eax
call fcn.01016ad3
push 0x42
mov dword [ebp - 0xc], eax
pop ecx
xor eax, eax
cmp dword [ebp - 0xc], ebx
lea edi, [ebp - 0x22c]
rep stosd dword es:[edi], eax
je 0x102b0b2
push 0x38
push 0x103a7a0
push dword [ebp - 0xc]
call fcn.01016d17
cmp eax, 0x38
jne 0x102b0a2
cmp dword [0x103a7a0], 0x1087
jne 0x102b22d
cmp dword [0x103a76c], ebx
mov esi, 0x2bc
jne 0x102ad4e
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov dword [0x103a76c], eax
jne 0x102ad4e
push dword [ebp - 4]
call fcn.0100e4d8
push 2
push 2
call fcn.0102498f
push esi
push dword [0x103a76c]
push dword [ebp - 0xc]
call fcn.01016d17
cmp eax, esi
jne 0x102b0a2
mov eax, dword [0x103a7ac]
cmp eax, 1
jle 0x102adb1
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov dword [0x1038cb0], eax
jne 0x102ad91
push dword [ebp - 4]
call fcn.0100e4d8
push 2
push 2
call fcn.0102498f
push dword [0x103a7ac]
push dword [0x1038cb0]
push dword [ebp - 0xc]
call fcn.01016d17
cmp eax, dword [0x103a7ac]
jne 0x102b0a2
push ebx
push 1
push dword [ebp - 0xc]
call fcn.01016c64
push 2
push 0x1002ae8
push dword [0x103a768]
call fcn.01016ad3
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x102adfd
mov esi, 0x800
push esi
push dword [0x1038cb8]
push eax
call fcn.01016d17
cmp eax, esi
jne 0x102b0a2
push ebx
push 1
push dword [ebp - 0xc]
call fcn.01016c64
mov dword [ebp - 0xc], ebx
push 2
push dword [0x103a768]
push 0x1001d38
call fcn.0100885f
mov esi, eax
cmp esi, ebx
je 0x102ae7b
lea eax, [ebp - 0x124]
push ebx
push eax
lea eax, [ebp - 0x14]
push ebx
push eax
push esi
mov dword [ebp - 0x14], 0x11170
call fcn.01007e05
test eax, eax
jne 0x102ae44
lea eax, [ebp - 0x124]
push eax
call fcn.0102a997
mov dword [0x1038b90], eax
lea eax, [ebp - 0x124]
push ebx
push eax
lea eax, [ebp - 0x14]
push ebx
push eax
push esi
mov dword [ebp - 0x14], 0x11171
call fcn.01007e05
test eax, eax
jne 0x102ae73
lea eax, [ebp - 0x124]
push eax
call fcn.0102a997
mov dword [0x1038ba0], eax
push 1
push esi
call fcn.01008938
cmp dword [0x1038ba0], ebx
jne 0x102ae92
push 0x1001cf8
call fcn.0102a997
mov dword [0x1038ba0], eax
push 2
push dword [0x103a768]
push 0x1001d30
call fcn.0100885f
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
call fcn.0100e4ec
cmp dword [ebp - 8], ebx
je 0x102b2f2
lea eax, [ebp - 0x22c]
push ebx
push eax
lea eax, [ebp - 0x10]
push ebx
push eax
push dword [ebp - 8]
mov dword [ebp - 0x10], 0x2710
call fcn.01007e05
mov esi, eax
cmp esi, ebx
jne 0x102b0a2
lea eax, [ebp - 4]
push ebx
push eax
lea eax, [ebp - 0x228]
push dword [ebp - 0x22c]
push eax
call fcn.01016745
test eax, eax
je 0x102af0a
cmp dword [ebp - 4], ebx
je 0x102af28
lea eax, [ebp - 4]
push eax
call fcn.0100e4ec
jmp 0x102af28
cmp esi, ebx
jne 0x102b0a2
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x102b09b
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x22c]
push ebx
push eax
lea eax, [ebp - 0x10]
push ebx
push eax
push dword [ebp - 8]
call fcn.01007e05
test eax, eax
jne 0x102b2e8
lea eax, [ebp - 0x228]
push 0x3d
push eax
call fcn.01007829
mov esi, eax
cmp esi, ebx
je 0x102b05a
cmp dword [0x1038978], ebx
jne 0x102af92
push 0x40
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x102af8c
mov ecx, eax
call fcn.01030e4f
mov dword [0x1038978], eax
jmp 0x102af92
mov dword [0x1038978], ebx
and byte [esi], 0
lea eax, [ebp - 0x124]
inc esi
push 0xc
push eax
push esi
call fcn.0100e587
mov eax, dword [ebp - 0x10]
mov ecx, dword [0x1038cb8]
test byte [ecx + eax*8 - 2], 4
jne 0x102afd8
cmp dword [ebp + 0xc], ebx
je 0x102afd8
push dword [ebp - 0x1c]
lea eax, [ebp - 0x124]
push eax
call edi
test eax, eax
jne 0x102afd8
push dword [ebp + 0xc]
push esi
call edi
test eax, eax
jne 0x102b26d
mov eax, dword [0x1038cb8]
mov ecx, dword [ebp - 0x10]
lea eax, [eax + ecx*8]
mov ecx, dword [eax - 4]
test ecx, 0x10000
je 0x102b01e
test ecx, 0x20000
je 0x102b00b
lea eax, [ebp - 0x574]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x102b062
jmp 0x102b01e
lea ecx, [ebp - 4]
push 1
push ecx
push dword [eax - 8]
push esi
call fcn.01016745
test eax, eax
je 0x102b069
lea eax, [ebp - 0x228]
push eax
push dword [0x1038978]
call fcn.01030eba
cmp dword [ebp - 4], ebx
je 0x102b04e
push dword [ebp - 4]
push dword [0x1038978]
call fcn.01030eba
lea eax, [ebp - 4]
push eax
call fcn.0100e4ec
jmp 0x102b05a
push esi
push dword [0x1038978]
call fcn.01030eba
inc dword [ebp - 0x10]
jmp 0x102af35
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x22c]
push ebx
push eax
lea eax, [ebp - 0x10]
push ebx
push eax
push dword [ebp - 8]
mov dword [ebp - 0x10], 0x2710
call fcn.01007e05
test eax, eax
je 0x102b0a2
push dword [ebp + 8]
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x102b0a2
and dword [0x103a7a8], 0xffffffdf
cmp dword [ebp - 0xc], ebx
je 0x102b0b2
push ebx
push 1
push dword [ebp - 0xc]
call fcn.01016c64
cmp dword [ebp - 8], ebx
jne 0x102b109
push 2
mov esi, 0x2710
push dword [0x103a768]
mov dword [ebp - 0x10], esi
push 0x1001d38
call fcn.0100885f
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x102b104
lea eax, [ebp - 0x22c]
push ebx
push eax
lea eax, [ebp - 0x10]
push ebx
push eax
push dword [ebp - 8]
mov dword [ebp - 0x10], esi
call fcn.01007e05
test eax, eax
je 0x102b104
push dword [ebp + 8]
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [ebp - 8], ebx
je 0x102b113
push 1
push dword [ebp - 8]
call fcn.01008938
mov eax, dword [0x1038cb0]
cmp eax, ebx
je 0x102b129
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [0x1038cb0], ebx
push 1
pop esi
push esi
push dword [0x103a768]
call fcn.010169a6
mov dword [0x103a768], ebx
call fcn.0102c09f
cmp dword [ebp - 0x20], ebx
jne 0x102ac1b
mov eax, dword [0x103a7a8]
and eax, 0x20
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.010316bb
cmp eax, ebx
mov dword [0x1038b48], eax
jne 0x102b1dd
cmp dword [ebp - 0x20], ebx
jne 0x102ac1b
cmp dword [0x1038b80], ebx
je 0x102ac1b
push dword [ebp + 8]
lea eax, [ebp - 0x330]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x330]
push 0x1001de8
push eax
call fcn.0102a612
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x330]
push eax
call fcn.010078b9
test eax, eax
je 0x102ac1b
mov eax, dword [0x103a7a8]
and eax, 0x20
push eax
lea eax, [ebp - 0x330]
push eax
call fcn.010316bb
cmp eax, ebx
mov dword [0x1038b48], eax
je 0x102ac1b
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x1038978]
mov dword [ebp - 0x20], esi
cmp eax, ebx
je 0x102ac2d
mov esi, eax
cmp esi, ebx
je 0x102b20b
mov ecx, esi
call fcn.01030e62
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [0x1038978], ebx
jmp 0x102ac2d
push dword [ebp - 4]
call fcn.0100e4d8
jmp 0x102b25d
push dword [ebp - 4]
call fcn.0100e4d8
jmp 0x102ac1b
push ebx
push 1
push dword [ebp - 0xc]
call fcn.01016c64
push 1
push dword [0x103a768]
call fcn.010169a6
push dword [ebp - 4]
mov dword [0x103a768], ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 4]
push eax
call fcn.0100e4ec
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 5
jmp 0x102b4d9
cmp dword [ebp - 0xc], ebx
je 0x102b27d
push ebx
push 1
push dword [ebp - 0xc]
call fcn.01016c64
cmp dword [ebp - 8], ebx
je 0x102b28c
push 1
push dword [ebp - 8]
call fcn.01008938
mov eax, dword [0x1038cb0]
cmp eax, ebx
je 0x102b2a2
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [0x1038cb0], ebx
push 1
push dword [0x103a768]
call fcn.010169a6
mov dword [0x103a768], ebx
call fcn.0102c09f
mov esi, dword [0x1038978]
cmp esi, ebx
je 0x102b2d2
mov ecx, esi
call fcn.01030e62
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
push dword [ebp - 0x1c]
mov dword [0x1038978], ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 4
jmp 0x102b4d9
push 1
push dword [ebp - 8]
call fcn.01008938
cmp dword [0x1038978], ebx
jne 0x102b327
push 0x40
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x102b30f
mov ecx, eax
call fcn.01030e4f
jmp 0x102b311
xor eax, eax
push dword [0x1038774]
mov dword [0x1038978], eax
push 0x1001cf8
push eax
call fcn.0103105b
cmp dword [0x103a7b4], ebx
je 0x102b430
push 2
push dword [0x103a768]
push 0x1001d68
call fcn.0100885f
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x102b430
push 1
pop eax
cmp dword [0x103a7b4], eax
mov dword [ebp - 0x14], eax
jl 0x102b426
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x102b36c
xor ebx, ebx
lea eax, [ebp - 0x124]
push ebx
push eax
lea eax, [ebp - 0x14]
push ebx
push eax
push dword [ebp - 8]
call fcn.01007e05
test eax, eax
jne 0x102b411
lea eax, [ebp - 0x124]
push 0x3d
push eax
call fcn.01007829
mov edi, eax
cmp edi, ebx
je 0x102b411
and byte [edi], 0
inc edi
push 1
push edi
call fcn.0100c175
mov ebx, eax
test ebx, ebx
je 0x102b411
push 0x1002ac0
push ebx
call esi
mov ecx, dword [ebp - 0x14]
push 0x1002ad8
push ebx
lea ecx, [ecx + ecx*2]
mov dword [ecx*4 + 0x1038ae8], eax
call esi
mov ecx, dword [ebp - 0x14]
test eax, eax
lea edx, [ecx + ecx*2]
mov dword [edx*4 + 0x1038ae4], eax
jne 0x102b4df
cmp dword [0x103a6e0], eax
je 0x102b414
push edi
push 0x90
call fcn.01023cda
push eax
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x124]
push eax
call fcn.01024aef
mov ecx, dword [ebp - 0x14]
inc ecx
cmp ecx, dword [0x103a7b4]
mov dword [ebp - 0x14], ecx
jle 0x102b36a
xor ebx, ebx
push 1
push dword [ebp - 8]
call fcn.01008938
mov eax, dword [0x103a76c]
cmp dword [eax + 0x24], ebx
je 0x102b4b9
lea esi, [eax + 0x1c]
mov eax, 0x103a870
mov edi, eax
push 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call fcn.0101b498
mov eax, dword [0x103a3c0]
cmp eax, ebx
je 0x102b4b9
cmp dword [0x103a7c0], ebx
mov esi, dword [sym.imp.USER32.dll_IsWindowVisible]
jne 0x102b48c
push eax
call esi
test eax, eax
je 0x102b48c
push dword [0x103a3c0]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x102b48c
push 9
push dword [0x103a3c0]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x103a3c0]
call esi
push eax
push dword [0x103a87c]
push dword [0x103a878]
push dword [0x103a874]
push dword [0x103a870]
push dword [0x103a3c0]
call dword [sym.imp.USER32.dll_MoveWindow]
cmp dword [0x1038b48], ebx
jne 0x102b4ce
push dword [ebp + 8]
call fcn.0102a997
mov dword [0x1038b48], eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 2
pop eax
jmp 0x102ac26
lea eax, [ebp - 0x124]
push eax
call fcn.0102a997
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + ecx*2]
mov dword [edx*4 + 0x1038ae0], eax
jmp 0x102b414