Function at 0x715dfc53
Capabilities:
Get file attributes
Hide graphical window
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x748
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
je 0x715dfefc
cmp byte [edi], bl
je 0x715dfefc
push 1
pop esi
push esi
push dword [ebp + 0x10]
call fcn.715d8e63
test eax, eax
jl 0x715dfed7
push esi
lea eax, [ebp - 0x244]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call fcn.715dff1f
test eax, eax
je 0x715dfed7
mov eax, dword [ebp + 0x18]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
and eax, 0x10
mov dword [ebp + 0xc], eax
jne 0x715dfd43
push esi
push 0x715e0e74
push dword [ebp + 8]
push 0x48a
push dword [0x715e4758]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push esi
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [edi], 0
mov esi, edi
je 0x715dfd02
inc dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esi + eax + 1], 0
lea esi, [esi + eax + 1]
jne 0x715dfced
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
movzx eax, word [ebp - 8]
shl eax, 0x10
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push 0
push 0x401
push 0x48b
push dword [ebp - 4]
call esi
push eax
call ebx
push 0
push 1
push 0x404
push 0x48b
push dword [ebp - 4]
call esi
push eax
call ebx
mov esi, edi
mov edi, 0x715d3478
cmp byte [esi], 0
je 0x715dfeac
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x748]
push 0x400
push eax
push 0x715d1e40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x715dfdbf
or dword [ebp - 0x2c], 0xffffffff
lea eax, [ebp - 0x348]
push 0x104
push eax
lea eax, [ebp - 0x748]
push 0
push eax
mov dword [ebp - 0x30], 1
call fcn.715e09ef
test eax, eax
je 0x715dfdb3
push 0x10
lea eax, [ebp - 0x348]
push 0
push eax
call fcn.715e0e5e
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x715dfdcf
test byte [ebp + 0x18], 2
je 0x715dfdcf
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], eax
jmp 0x715dfe15
lea eax, [ebp - 0x348]
push 0x104
push eax
lea eax, [ebp - 0x748]
push 6
push eax
call fcn.715e09ef
test eax, eax
jne 0x715dfe15
lea eax, [ebp - 0x748]
push 0x715d3348
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x748]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [ebp - 0x30], 0
jne 0x715dfe6c
cmp dword [ebp - 0x2c], 0xffffffff
je 0x715dfe58
lea eax, [ebp - 0x244]
mov dword [ebp - 0x34], esi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.715e07ad
test eax, eax
jne 0x715dfe6c
test byte [ebp + 0x18], 8
jne 0x715dfe6c
push 4
push 0x30
push eax
push esi
push 0x483
push dword [ebp + 8]
call fcn.715d6f11
cmp eax, 7
je 0x715dfea5
jmp 0x715dfe6c
lea eax, [ebp - 0x23c]
push eax
push 0x715d3338
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [ebp + 0xc], 0
jne 0x715dfe95
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 0x405
push 0x48b
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
jmp 0x715dfd4a
mov dword [ebp - 0xc], 0x80004005
cmp dword [ebp - 0x244], 0xffffffff
je 0x715dfec1
push dword [ebp - 0x244]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x23c]
push eax
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
xor ebx, ebx
jmp 0x715dfefc
test byte [ebp + 0x18], 8
jne 0x715dfefc
push 4
push 0x30
push ebx
push ebx
push 0x484
push dword [ebp + 8]
call fcn.715d6f11
cmp eax, 7
jne 0x715dfefc
mov dword [ebp - 0xc], 0x80004005
cmp dword [ebp - 4], ebx
je 0x715dff0a
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.715dffec
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0x14