Function at 0x401884
Capabilities:
Get common file path

Disassembly:
jmp 0x4392b0
push 0xffffffffffffffff
push 0x451e56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x538
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], 1
xor ebx, ebx
push ebx
lea ecx, [esp + 0x154]
call fcn.00401cee
push esi
lea ecx, [esp + 0x154]
mov dword [esp + 0x554], ebx
call fcn.00401122
push 5
lea ecx, [esp + 0x154]
call sub.MFC42.DLL_CWnd::ShowWindow
lea eax, [esp + 0x1f0]
push 0xc8
mov dword [esi + 0x3c8], eax
mov eax, dword [esi + 0x3e4]
neg eax
sbb eax, eax
mov ecx, esi
and al, 0x9c
add eax, 0xfa0
mov dword [esp + 0x18], eax
call fcn.00402185
mov eax, dword [esi + 0xba3c]
lea ecx, [esp + 0x150]
cmp eax, ebx
mov dword [esi + 0xba00], ecx
jne 0x439380
push str.Reading_Phone_Data..
lea ecx, [esp + 0x260]
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov edi, 7
mov edx, dword [esp + 0x558]
mov ecx, dword [edx + 4]
call fcn.00401573
dec edi
jne 0x439365
mov ecx, esi
call fcn.00401c7b
jmp 0x4393b4
push esi
lea ecx, [esp + 0x480]
call fcn.00401a0a
lea ecx, [esp + 0x47c]
mov byte [esp + 0x550], 1
call sub.MFC42.DLL_CDialog::DoModal
lea ecx, [esp + 0x47c]
mov byte [esp + 0x550], bl
call fcn.0044cf84
mov edi, str.LT21
or ecx, 0xffffffff
xor eax, eax
lea ebp, [esi + 0xba14]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.LT21
push ebp
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x4393e9
mov dword [esi + 0xba38], 1
jmp 0x4393ef
mov dword [esi + 0xba38], ebx
cmp dword [esp + 0x10], 1
jne 0x439545
push ebp
mov ecx, esi
call fcn.004018de
push esi
lea ecx, [esp + 0x28]
call fcn.0040173f
mov ecx, dword [esi + 0x40]
xor eax, eax
mov byte [esp + 0x550], 2
mov al, byte [ecx + 0x2a65]
add ecx, eax
lea edx, [eax + eax*4]
lea eax, [ecx + edx*2 + 0x271d]
mov ecx, dword [ecx + edx*2 + 0x271d]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0x20], edx
lea ecx, [esp + 0x120]
mov ax, word [eax + 8]
mov byte [esp + 0x26], bl
mov word [esp + 0x24], ax
call fcn.0044cfde
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 1
jne 0x439822
lea ecx, [esp + 0x14c]
mov byte [esp + 0x550], 0x1c
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x120]
mov byte [esp + 0x550], 0x1b
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x11c]
mov byte [esp + 0x550], 0x1a
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x118]
mov byte [esp + 0x550], 0x19
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x114]
mov byte [esp + 0x550], 0x18
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x110]
mov byte [esp + 0x550], 0x17
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xd0]
mov byte [esp + 0x550], 0x16
call sub.MFC42.DLL_CListBox::CListBox
lea ecx, [esp + 0x90]
mov byte [esp + 0x550], 0x15
call sub.MFC42.DLL_CListBox::CListBox
lea ecx, [esp + 0x8c]
mov byte [esp + 0x550], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x88]
mov byte [esp + 0x550], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x550], bl
call fcn.0044cf84
cmp dword [esi + 0xba38], ebx
jne 0x43957a
cmp dword [esi + 0xba3c], ebx
jne 0x43957a
mov ecx, dword [esi + 0xba00]
push str.Reading_nv_data_item..
add ecx, 0x10c
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov edx, dword [esp + 0x558]
mov ecx, dword [edx + 4]
call fcn.0040177b
mov ecx, esi
call fcn.00401c7b
mov ecx, esi
call fcn.00401717
mov ecx, esi
call fcn.00401735
mov eax, dword [esp + 0x558]
mov ecx, dword [eax + 4]
call fcn.004013a7
test eax, eax
je 0x43997a
lea ecx, [esp + 0x4e4]
push ecx
push 0x64
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp dword [esi + 0xba3c], ebx
jne 0x4396f2
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f40
call ebp
xor edi, edi
push 0x12c
call ebp
mov ecx, esi
call fcn.00401b09
test eax, eax
jne 0x4395f6
mov ecx, esi
call fcn.00401b4a
test eax, eax
jne 0x4395f6
inc edi
cmp edi, 0x64
jl 0x4395d1
jmp 0x4395fb
cmp edi, 0x64
jl 0x43963a
push ebx
lea ecx, [esp + 0x360]
call fcn.00401ac3
lea ecx, [esp + 0x35c]
mov byte [esp + 0x550], 0x23
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 1
jne 0x439a06
lea ecx, [esp + 0x35c]
mov byte [esp + 0x550], bl
call fcn.0044cf84
jmp 0x4395cf
cmp dword [esi + 0xba38], ebx
jne 0x4396d3
push 0xfa
mov ecx, esi
call fcn.00402185
mov ecx, dword [esi + 0xba00]
push str.Writting_NV_Item..
add ecx, 0x10c
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov ecx, esi
mov dword [esi + 0xba08], ebx
call fcn.00401735
mov edx, dword [esp + 0x558]
mov ecx, dword [edx + 4]
call fcn.0040170d
cmp dword [esi + 0xba08], ebx
je 0x4396d3
push ebx
lea ecx, [esp + 0x3c0]
call fcn.0040140b
lea ecx, [esp + 0x3bc]
mov byte [esp + 0x550], 0x2a
call sub.MFC42.DLL_CDialog::DoModal
lea ecx, [esp + 0x3bc]
mov edi, eax
mov byte [esp + 0x550], bl
call fcn.0044cf84
cmp edi, 1
jne 0x4396d3
cmp dword [esi + 0xba38], ebx
je 0x439646
mov edi, dword [esp + 0x14]
mov eax, dword [esi + 0xb9d0]
cmp eax, edi
jae 0x4396f8
mov ecx, esi
call fcn.00401370
cmp dword [esi + 0xb9d0], edi
jb 0x4396e1
jmp 0x4396f8
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x150]
call sub.MFC42.DLL_CWnd::DestroyWindow
push ebx
lea ecx, [esp + 0x420]
call fcn.00401361
lea ecx, [esp + 0x41c]
mov byte [esp + 0x550], 0x2b
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 1
jne 0x43975f
xor edi, edi
push 0x12c
call ebp
mov ecx, esi
call fcn.00401b09
test eax, eax
jne 0x43974f
mov ecx, esi
call fcn.00401b4a
test eax, eax
jne 0x43974f
inc edi
cmp edi, 0x64
jl 0x43972c
mov dword [0x472c5c], 1
mov dword [esp + 0x10], ebx
jmp 0x439765
mov dword [0x472c5c], ebx
lea ecx, [esp + 0x41c]
mov byte [esp + 0x550], bl
call fcn.0044cf84
lea ecx, [esp + 0x31c]
mov dword [esp + 0x550], 0x31
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x2dc]
mov byte [esp + 0x550], 0x30
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x29c]
mov byte [esp + 0x550], 0x2f
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x25c]
mov byte [esp + 0x550], 0x2e
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x550], 0x2d
call fcn.004018d4
lea ecx, [esp + 0x1b0]
mov byte [esp + 0x550], 0x2c
call sub.MFC42.DLL_CAnimateCtrl::CAnimateCtrl
lea ecx, [esp + 0x150]
mov dword [esp + 0x550], 0xffffffff
call fcn.0044cf84
mov ecx, dword [0x472c5c]
mov eax, 1
cmp ecx, eax
jne 0x439ab3
jmp 0x4392db
mov dword [esi + 0xb9dc], ebx
mov dword [0x472c5c], ebx
lea ecx, [esp + 0x14c]
mov byte [esp + 0x550], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x120]
mov byte [esp + 0x550], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x11c]
mov byte [esp + 0x550], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x118]
mov byte [esp + 0x550], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x114]
mov byte [esp + 0x550], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x110]
mov byte [esp + 0x550], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xd0]
mov byte [esp + 0x550], 6
call sub.MFC42.DLL_CListBox::CListBox
lea ecx, [esp + 0x90]
mov byte [esp + 0x550], 5
call sub.MFC42.DLL_CListBox::CListBox
lea ecx, [esp + 0x8c]
mov byte [esp + 0x550], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x88]
mov byte [esp + 0x550], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x550], bl
call fcn.0044cf84
lea ecx, [esp + 0x31c]
mov dword [esp + 0x550], 0x12
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x2dc]
mov byte [esp + 0x550], 0x11
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x29c]
mov byte [esp + 0x550], 0x10
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x25c]
mov byte [esp + 0x550], 0xf
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x550], 0xe
call fcn.004018d4
mov byte [esp + 0x550], 0xd
jmp 0x439a8e
push ebx
push ebx
push str.Download_Failed
mov dword [esi + 0xb9dc], ebx
call sub.MFC42.DLL_AfxMessageBox
mov dword [0x472c5c], ebx
lea ecx, [esp + 0x31c]
mov dword [esp + 0x550], 0x22
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x2dc]
mov byte [esp + 0x550], 0x21
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x29c]
mov byte [esp + 0x550], 0x20
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x25c]
mov byte [esp + 0x550], 0x1f
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x550], 0x1e
call fcn.004018d4
mov byte [esp + 0x550], 0x1d
jmp 0x439a8e
lea ecx, [esp + 0x35c]
mov dword [0x472c5c], ebx
mov byte [esp + 0x550], bl
call fcn.0044cf84
lea ecx, [esp + 0x31c]
mov dword [esp + 0x550], 0x29
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x2dc]
mov byte [esp + 0x550], 0x28
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x29c]
mov byte [esp + 0x550], 0x27
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x25c]
mov byte [esp + 0x550], 0x26
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x550], 0x25
call fcn.004018d4
mov byte [esp + 0x550], 0x24
lea ecx, [esp + 0x1b0]
call sub.MFC42.DLL_CAnimateCtrl::CAnimateCtrl
lea ecx, [esp + 0x150]
mov dword [esp + 0x550], 0xffffffff
call fcn.0044cf84
xor eax, eax
mov ecx, dword [esp + 0x548]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x544
ret 4