Function at 0x47cec0
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x634
push ebp
mov ebp, dword [esp + 0x63c]
push esi
push edi
test ebp, ebp
je 0x47d1bc
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0x5b9260
push 0
push str.Result
push str.Capture
call esi
cmp eax, 3
je 0x47cf24
mov ecx, dword [esp + 0x64c]
mov edx, dword [esp + 0x648]
push 0
push eax
mov eax, dword [esp + 0x658]
push eax
push ecx
push edx
push ebp
call fcn.0047caf0
add esp, 0x18
pop edi
pop esi
pop ebp
add esp, 0x634
ret
push 0x5b9260
push 1
push str.BeepOnLoop
push str.Others
call esi
test eax, eax
je 0x47cf43
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
push 0x5b6fc0
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x5b9260
lea eax, [esp + 0x2c]
push 0x104
push eax
push 0x5b6fc0
push str.SavePath
push str.Capture
call esi
push 0x5b9260
lea ecx, [esp + 0x20]
push 0x104
push ecx
push 0x598468
push str.CaptureExtension
push str.Capture
call esi
lea edx, [esp + 0x1c]
push edx
call fcn.004d78fa
lea eax, [esp + 0x2c]
push eax
call fcn.004c7a80
add esp, 8
lea ecx, [esp + 0x230]
push 0x5b9260
push 0x104
push ecx
push str.capture___U__d_m_Y__H_M_S_
push str.SaveName
push str.Capture
call esi
lea edx, [esp + 0x230]
push edx
push 0x5b6fc0
call fcn.004d631b
call fcn.0047ccb0
xor edx, edx
mov ecx, 0x3e8
div ecx
push 0x23
mov esi, edx
lea edx, [esp + 0x23c]
push edx
call fcn.004d75ed
mov edi, dword [esp + 0x658]
add esp, 0x10
test eax, eax
jne 0x47d048
lea eax, [esp + 0x230]
push 0x24
push eax
call fcn.004d75ed
add esp, 8
test eax, eax
jne 0x47d048
push esi
push 1
push eax
lea ecx, [esp + 0x23c]
push 0x104
push ecx
push 0x5b6fc0
call fcn.004c8fb0
add esp, 0x18
jmp 0x47d0ae
lea edx, [esp + 0x10]
push 0
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
push ebp
call fcn.004c5070
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push esi
push 0
push 0
push 0x40590000
push 0
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [edi]
push edx
push eax
push 0
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x278]
push 0xffffffffffffffff
push edx
push 0xffffffffffffffff
push 0x5aae60
push 0x104
push 0x5b6fc0
call fcn.004b7220
add esp, 0x60
push 0x5b6fc0
call fcn.004d6713
add esp, 4
test eax, eax
je 0x47d1bc
lea eax, [esp + 0x1c]
push ebx
push eax
lea ecx, [esp + 0x30]
push 0x5b6fc0
push ecx
lea edx, [esp + 0x240]
push str._s_s._s
push edx
call fcn.004d5ee1
mov esi, dword [sym.imp.USER32.dll_LoadCursorW]
add esp, 0x14
push 0x7f02
push 0
call esi
mov ebx, dword [sym.imp.USER32.dll_SetCursor]
push eax
call ebx
push 0
push 3
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x244]
push 0
push eax
push ebp
call fcn.004aa6f0
add esp, 0x1c
test eax, eax
jne 0x47d127
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
push 0x7f00
push 0
call esi
push eax
call ebx
mov ecx, dword [edi]
push 0x5b9260
push 0
inc ecx
push str.ShowAfterSave
push str.Capture
mov dword [edi], ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
pop ebx
je 0x47d182
mov edx, dword [esp + 0x650]
mov eax, dword [esp + 0x64c]
lea ecx, [esp + 0x230]
push ecx
push 3
push edx
push eax
push edi
push ebp
call fcn.0047caf0
add esp, 0x18
pop edi
pop esi
pop ebp
add esp, 0x634
ret
mov ecx, dword [0x5b5528]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x47d1bc
lea edx, [esp + 0x28]
push 0xc
lea eax, [esp + 0x234]
push edx
push eax
call fcn.004c93e0
mov edx, dword [0x5b5528]
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop edi
pop esi
pop ebp
add esp, 0x634
ret