Function at 0x102abc1
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
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ebx
je 0x102abf0
push 0xc
push 0x104
lea eax, [ebp - 0x124]
push eax
push dword [ebp + 0xc]
call fcn.0100dc41
jmp 0x102abf6
mov byte [ebp - 0x124], bl
lea eax, [ebp - 0x124]
push eax
call fcn.01029788
push dword [ebp + 8]
mov dword [ebp - 0x20], eax
push 0x37
call fcn.01021676
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.01022031
cmp dword [0x1037b40], ebx
jne 0x102ac58
push 0x800
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov dword [0x1037b40], eax
jne 0x102ac58
push 2
push 2
call fcn.01024353
jmp 0x102b4d0
push esi
push edi
push dword [ebp + 8]
call fcn.0100d6cd
push ebx
push eax
mov dword [ebp - 4], eax
call fcn.01016307
cmp eax, ebx
mov dword [0x10392e4], eax
jne 0x102ad03
cmp dword [0x10394dc], 4
je 0x102accf
lea eax, [ebp - 0x434]
push eax
push dword [ebp - 4]
call fcn.0100de5f
push ebx
lea eax, [ebp - 0x434]
push eax
call fcn.01016307
cmp eax, ebx
mov dword [0x10392e4], eax
jne 0x102acde
push 2
push dword [ebp - 4]
call fcn.01016307
cmp eax, ebx
mov dword [0x10392e4], eax
je 0x102acc6
mov dword [0x1037c84], 1
jmp 0x102acfb
cmp dword [0x10394dc], 4
jne 0x102acfb
push dword [ebp - 4]
call fcn.0100d744
push 5
jmp 0x102b4cd
lea eax, [ebp - 4]
push eax
call fcn.0100d754
lea eax, [ebp - 0x434]
push eax
call fcn.0100d76d
mov dword [ebp - 4], eax
mov eax, dword [0x10392e4]
cmp eax, ebx
je 0x102b23c
push 2
push 0x1001cd4
push eax
call fcn.0101655c
mov dword [ebp - 0xc], eax
push 0x42
xor eax, eax
cmp dword [ebp - 0xc], ebx
pop ecx
lea edi, [ebp - 0x22c]
rep stosd dword es:[edi], eax
je 0x102b0ed
push 0x38
push 0x1039440
push dword [ebp - 0xc]
call fcn.010167a4
cmp eax, 0x38
jne 0x102b0dd
cmp dword [0x1039440], 0x1087
jne 0x102b249
cmp dword [0x103942c], ebx
mov esi, 0x2bc
jne 0x102ad80
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov dword [0x103942c], eax
jne 0x102ad80
push dword [ebp - 4]
call fcn.0100d744
push 2
push 2
call fcn.01024353
push esi
push dword [0x103942c]
push dword [ebp - 0xc]
call fcn.010167a4
cmp eax, esi
jne 0x102b0dd
mov eax, dword [0x103944c]
cmp eax, 1
jle 0x102ade3
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov dword [0x10379f4], eax
jne 0x102adc3
push dword [ebp - 4]
call fcn.0100d744
push 2
push 2
call fcn.01024353
push dword [0x103944c]
push dword [0x10379f4]
push dword [ebp - 0xc]
call fcn.010167a4
cmp eax, dword [0x103944c]
jne 0x102b0dd
push ebx
push 1
push dword [ebp - 0xc]
call fcn.010166ef
push 2
push 0x10029cc
push dword [0x10392e4]
call fcn.0101655c
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x102ae2f
mov esi, 0x800
push esi
push dword [0x1037b40]
push eax
call fcn.010167a4
cmp eax, esi
jne 0x102b0dd
push ebx
push 1
push dword [ebp - 0xc]
call fcn.010166ef
mov dword [ebp - 0xc], ebx
push 2
push dword [0x10392e4]
push 0x1001cbc
call fcn.010086d3
mov edi, eax
cmp edi, ebx
je 0x102aeb4
push ebx
mov esi, 0x104
push esi
lea eax, [ebp - 0x124]
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
push edi
mov dword [ebp - 0x14], 0x11170
call fcn.01007aca
test eax, eax
jne 0x102ae7c
lea eax, [ebp - 0x124]
push eax
call fcn.01029788
mov dword [0x10379e0], eax
push ebx
push esi
lea eax, [ebp - 0x124]
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
push edi
mov dword [ebp - 0x14], 0x11171
call fcn.01007aca
test eax, eax
jne 0x102aeac
lea eax, [ebp - 0x124]
push eax
call fcn.01029788
mov dword [0x1037b28], eax
push 1
push edi
call fcn.010083fe
cmp dword [0x1037b28], ebx
jne 0x102aecb
push 0x1001c88
call fcn.01029788
mov dword [0x1037b28], eax
push 2
push dword [0x10392e4]
push 0x1001cb4
call fcn.010086d3
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
call fcn.0100d754
cmp dword [ebp - 8], ebx
je 0x102b2ee
push ebx
push 0x108
lea eax, [ebp - 0x22c]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
mov dword [ebp - 0x10], 0x2710
call fcn.01007aca
cmp eax, ebx
jne 0x102b0dd
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x22c]
lea eax, [ebp - 0x228]
push eax
call fcn.01016224
test eax, eax
je 0x102af46
cmp dword [ebp - 4], ebx
je 0x102af5c
lea eax, [ebp - 4]
push eax
call fcn.0100d754
jmp 0x102af5c
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x102b0d6
mov dword [ebp - 0x10], 1
push ebx
push 0x108
lea eax, [ebp - 0x22c]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
call fcn.01007aca
test eax, eax
jne 0x102b2e4
push 0x3d
lea eax, [ebp - 0x228]
push eax
call fcn.01007321
mov esi, eax
cmp esi, ebx
je 0x102b0ce
cmp dword [0x1037b10], ebx
jne 0x102afc5
push 0x40
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x102afbf
mov ecx, eax
call fcn.0102fd27
mov dword [0x1037b10], eax
jmp 0x102afc5
mov dword [0x1037b10], ebx
push 0xc
push 0x104
lea eax, [ebp - 0x124]
mov byte [esi], bl
push eax
inc esi
push esi
call fcn.0100dc41
mov eax, dword [ebp - 0x10]
mov ecx, dword [0x1037b40]
test byte [ecx + eax*8 - 2], 4
jne 0x102b015
cmp dword [ebp + 0xc], ebx
je 0x102b015
push dword [ebp - 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea eax, [ebp - 0x124]
push eax
call edi
test eax, eax
jne 0x102b015
push dword [ebp + 0xc]
push esi
call edi
test eax, eax
jne 0x102b27e
mov ecx, dword [ebp - 0x10]
mov eax, dword [0x1037b40]
lea eax, [eax + ecx*8]
movsx ecx, word [eax - 2]
test cl, 1
je 0x102b092
test cl, 2
je 0x102b07f
lea eax, [ebp - 0x574]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x102b092
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
push 0x108
lea eax, [ebp - 0x22c]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
mov dword [ebp - 0x10], 0x2710
call fcn.01007aca
test eax, eax
je 0x102b0dd
push dword [ebp + 8]
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x102b0dd
push 1
lea ecx, [ebp - 4]
push ecx
push dword [eax - 8]
push esi
call fcn.01016224
test eax, eax
je 0x102b048
lea eax, [ebp - 0x228]
push eax
push dword [0x1037b10]
call fcn.0102fd47
cmp dword [ebp - 4], ebx
je 0x102b0c2
push dword [ebp - 4]
push dword [0x1037b10]
call fcn.0102fd47
lea eax, [ebp - 4]
push eax
call fcn.0100d754
jmp 0x102b0ce
push esi
push dword [0x1037b10]
call fcn.0102fd47
inc dword [ebp - 0x10]
jmp 0x102af63
and dword [0x1039448], 0xffffffdf
cmp dword [ebp - 0xc], ebx
je 0x102b0ed
push ebx
push 1
push dword [ebp - 0xc]
call fcn.010166ef
cmp dword [ebp - 8], ebx
jne 0x102b144
push 2
push dword [0x10392e4]
mov esi, 0x2710
push 0x1001cbc
mov dword [ebp - 0x10], esi
call fcn.010086d3
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x102b14e
push ebx
push 0x108
lea eax, [ebp - 0x22c]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
mov dword [ebp - 0x10], esi
call fcn.01007aca
test eax, eax
je 0x102b144
push dword [ebp + 8]
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 1
push dword [ebp - 8]
call fcn.010083fe
mov eax, dword [0x10379f4]
cmp eax, ebx
je 0x102b164
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [0x10379f4], ebx
xor esi, esi
inc esi
push esi
push dword [0x10392e4]
call fcn.0101642d
mov dword [0x10392e4], ebx
call fcn.01029808
cmp dword [ebp - 0x18], ebx
jne 0x102b4ce
mov eax, dword [0x1039448]
and eax, 0x20
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.010334f0
cmp eax, ebx
mov dword [0x10379dc], eax
jne 0x102b20f
cmp dword [0x1037c84], ebx
je 0x102b4ce
push dword [ebp + 8]
lea eax, [ebp - 0x330]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x1001d58
lea eax, [ebp - 0x330]
push eax
call fcn.0102941e
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x330]
push eax
call fcn.010073b4
test eax, eax
je 0x102b4ce
mov eax, dword [0x1039448]
and eax, 0x20
push eax
lea eax, [ebp - 0x330]
push eax
call fcn.010334f0
cmp eax, ebx
mov dword [0x10379dc], eax
je 0x102b4ce
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [0x1037b10]
cmp ecx, ebx
mov dword [ebp - 0x18], esi
je 0x102ac5a
push 1
call fcn.010297b4
mov dword [0x1037b10], ebx
jmp 0x102ac5a
push dword [ebp - 4]
call fcn.0100d744
jmp 0x102b4ce
push ebx
push 1
push dword [ebp - 0xc]
call fcn.010166ef
push 1
push dword [0x10392e4]
call fcn.0101642d
push dword [ebp - 4]
mov dword [0x10392e4], ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 4]
push eax
call fcn.0100d754
jmp 0x102acd7
cmp dword [ebp - 0xc], ebx
je 0x102b28e
push ebx
push 1
push dword [ebp - 0xc]
call fcn.010166ef
push 1
push dword [ebp - 8]
call fcn.010083fe
mov eax, dword [0x10379f4]
cmp eax, ebx
je 0x102b2ae
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [0x10379f4], ebx
push 1
push dword [0x10392e4]
call fcn.0101642d
mov dword [0x10392e4], ebx
call fcn.01029808
mov ecx, dword [0x1037b10]
cmp ecx, ebx
je 0x102b2d7
push 1
call fcn.010297b4
mov dword [0x1037b10], ebx
push 4
jmp 0x102b4cd
push 1
push dword [ebp - 8]
call fcn.010083fe
cmp dword [0x1037b10], ebx
jne 0x102b323
push 0x40
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x102b30b
mov ecx, eax
call fcn.0102fd27
jmp 0x102b30d
xor eax, eax
push dword [0x1037750]
mov dword [0x1037b10], eax
push 0x1001c88
push eax
call fcn.0102fda5
cmp dword [0x1039454], ebx
je 0x102b42d
push 2
push dword [0x10392e4]
push 0x1001ce4
call fcn.010086d3
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x102b42d
xor eax, eax
inc eax
cmp dword [0x1039454], eax
mov dword [ebp - 0x14], eax
jl 0x102b423
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push 0x104
lea eax, [ebp - 0x124]
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
call fcn.01007aca
test eax, eax
jne 0x102b410
push 0x3d
lea eax, [ebp - 0x124]
push eax
call fcn.01007321
mov edi, eax
cmp edi, ebx
je 0x102b410
mov byte [edi], bl
push 1
inc edi
push edi
call fcn.0100c292
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x102b410
push 0x10029a8
push eax
call esi
mov ecx, dword [ebp - 0x14]
push 0x10029bc
push dword [ebp + 0xc]
lea ecx, [ecx + ecx*2]
mov dword [ecx*4 + 0x1037978], eax
call esi
cmp eax, ebx
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + ecx*2]
mov dword [edx*4 + 0x1037974], eax
jne 0x102b4e0
cmp dword [0x103954c], ebx
je 0x102b413
push edi
push 0x90
call fcn.01021676
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.01023fd2
mov ecx, dword [ebp - 0x14]
inc ecx
cmp ecx, dword [0x1039454]
mov dword [ebp - 0x14], ecx
jle 0x102b364
push 1
push dword [ebp - 8]
call fcn.010083fe
mov eax, dword [0x103942c]
cmp dword [eax + 0x24], ebx
je 0x102b4b6
lea esi, [eax + 0x1c]
mov eax, 0x1039490
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
push eax
movsd dword es:[edi], dword [esi]
call fcn.0101a104
mov eax, dword [0x1039580]
cmp eax, ebx
je 0x102b4b6
cmp dword [0x1039460], ebx
mov esi, dword [sym.imp.USER32.dll_IsWindowVisible]
jne 0x102b489
push eax
call esi
test eax, eax
je 0x102b489
push dword [0x1039580]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x102b489
push 9
push dword [0x1039580]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x1039580]
call esi
push eax
push dword [0x103949c]
push dword [0x1039498]
push dword [0x1039494]
push dword [0x1039490]
push dword [0x1039580]
call dword [sym.imp.USER32.dll_MoveWindow]
cmp dword [0x10379dc], ebx
jne 0x102b4cb
push dword [ebp + 8]
call fcn.01029788
mov dword [0x10379dc], eax
push 2
pop ebx
pop edi
pop esi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, ebx
pop ebx
leave
ret 8
lea eax, [ebp - 0x124]
push eax
call fcn.01029788
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + ecx*2]
mov dword [edx*4 + 0x1037970], eax
jmp 0x102b413