Function at 0x401136
Capabilities:
Get common file path

Disassembly:
jmp 0x434190
push 0xffffffffffffffff
push 0x450cbe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5e4
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], 1
xor ebx, ebx
push ebx
lea ecx, [esp + 0x1a0]
call fcn.00401cee
push esi
lea ecx, [esp + 0x1a0]
mov dword [esp + 0x600], ebx
call fcn.00401122
push 5
lea ecx, [esp + 0x1a0]
call sub.MFC42.DLL_CWnd::ShowWindow
lea eax, [esp + 0x23c]
push 0x1f4
mov dword [esi + 0x3c8], eax
mov eax, dword [esi + 0x3e4]
neg eax
sbb eax, eax
mov ecx, esi
and al, 0x9c
add eax, 0x11f8
mov dword [esp + 0x18], eax
call fcn.00402185
mov eax, dword [esi + 0xba3c]
lea ecx, [esp + 0x19c]
cmp eax, ebx
mov dword [esi + 0xba00], ecx
jne 0x434260
push str.Reading_Phone_Data..
lea ecx, [esp + 0x2ac]
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov edi, 7
mov edx, dword [esp + 0x604]
mov ecx, dword [edx + 4]
call fcn.00401573
dec edi
jne 0x434245
mov ecx, esi
call fcn.00401c7b
jmp 0x434294
push esi
lea ecx, [esp + 0x52c]
call fcn.00401a0a
lea ecx, [esp + 0x528]
mov byte [esp + 0x5fc], 1
call sub.MFC42.DLL_CDialog::DoModal
lea ecx, [esp + 0x528]
mov byte [esp + 0x5fc], 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 0x4342c9
mov dword [esi + 0xba38], 1
jmp 0x4342cf
mov dword [esi + 0xba38], ebx
cmp dword [esp + 0x10], 1
jne 0x434461
push ebp
mov ecx, esi
call fcn.004018de
push esi
lea ecx, [esp + 0x30]
call fcn.00401974
mov ecx, dword [esi + 0x40]
xor eax, eax
mov byte [esp + 0x5fc], 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 + 0x16c]
mov ax, word [eax + 8]
mov byte [esp + 0x26], bl
mov word [esp + 0x24], ax
call fcn.0044cfde
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 1
jne 0x434816
lea ecx, [esp + 0x198]
mov byte [esp + 0x5fc], 0x22
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x170]
mov byte [esp + 0x5fc], 0x21
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x16c]
mov byte [esp + 0x5fc], 0x20
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x168]
mov byte [esp + 0x5fc], 0x1f
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x164]
mov byte [esp + 0x5fc], 0x1e
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x160]
mov byte [esp + 0x5fc], 0x1d
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x15c]
mov byte [esp + 0x5fc], 0x1c
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x11c]
mov byte [esp + 0x5fc], 0x1b
call sub.MFC42.DLL_CListBox::CListBox
lea ecx, [esp + 0xdc]
mov byte [esp + 0x5fc], 0x1a
call sub.MFC42.DLL_CListBox::CListBox
lea ecx, [esp + 0x9c]
mov byte [esp + 0x5fc], 0x19
call sub.MFC42.DLL_CListBox::CListBox
lea ecx, [esp + 0x98]
mov byte [esp + 0x5fc], 0x18
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x94]
mov byte [esp + 0x5fc], 0x17
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x90]
mov byte [esp + 0x5fc], 0x16
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5fc], bl
call fcn.0044cf84
cmp dword [esi + 0xba38], ebx
jne 0x434496
cmp dword [esi + 0xba3c], ebx
jne 0x434496
mov ecx, dword [esi + 0xba00]
push str.Reading_nv_data_item..
add ecx, 0x10c
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov edx, dword [esp + 0x604]
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 + 0x604]
mov ecx, dword [eax + 4]
call fcn.004013a7
test eax, eax
je 0x4349aa
lea ecx, [esp + 0x590]
push ecx
push 0x64
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp dword [esi + 0xba3c], ebx
jne 0x4346eb
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 0x434512
mov ecx, esi
call fcn.00401b4a
test eax, eax
jne 0x434512
inc edi
cmp edi, 0x64
jl 0x4344ed
jmp 0x434517
cmp edi, 0x64
jl 0x434556
push ebx
lea ecx, [esp + 0x3ac]
call fcn.00401ac3
lea ecx, [esp + 0x3a8]
mov byte [esp + 0x5fc], 0x29
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 1
jne 0x434a36
lea ecx, [esp + 0x3a8]
mov byte [esp + 0x5fc], bl
call fcn.0044cf84
jmp 0x4344eb
mov ecx, dword [esi + 0xba00]
push str.Service_Program_Download..
add ecx, 0x10c
call sub.MFC42.DLL_CWnd::SetWindowTextA
push 0x3e8
call ebp
push 0x258
mov ecx, esi
call fcn.00402185
mov ecx, esi
mov dword [0x476064], ebx
call fcn.00401735
push ecx
lea edx, [esp + 0x594]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.0044cea6
mov edi, dword [esp + 0x608]
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
mov eax, dword [edi + 4]
mov byte [esp + 0x604], 0x30
add eax, 0x514
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [edi + 4]
mov byte [esp + 0x604], bl
call fcn.0040114f
cmp dword [0x476064], ebx
je 0x43461a
push ebx
lea ecx, [esp + 0x40c]
call fcn.0040140b
lea ecx, [esp + 0x408]
mov byte [esp + 0x5fc], 0x31
call sub.MFC42.DLL_CDialog::DoModal
lea ecx, [esp + 0x408]
mov edi, eax
mov byte [esp + 0x5fc], bl
call fcn.0044cf84
cmp edi, 1
je 0x434573
cmp dword [esi + 0xba38], ebx
jne 0x4346cc
xor edi, edi
push 0x12c
call ebp
mov ecx, esi
call fcn.00401b09
test eax, eax
jne 0x43464b
mov ecx, esi
call fcn.00401b4a
test eax, eax
jne 0x43464b
inc edi
cmp edi, 0x64
jl 0x434628
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 ecx, dword [esp + 0x604]
mov ecx, dword [ecx + 4]
call fcn.0040170d
cmp dword [esi + 0xba08], ebx
je 0x4346cc
push ebx
lea ecx, [esp + 0x4cc]
call fcn.0040140b
lea ecx, [esp + 0x4c8]
mov byte [esp + 0x5fc], 0x32
call sub.MFC42.DLL_CDialog::DoModal
lea ecx, [esp + 0x4c8]
mov edi, eax
mov byte [esp + 0x5fc], bl
call fcn.0044cf84
cmp edi, 1
jne 0x4346cc
cmp dword [esi + 0xba38], ebx
je 0x434626
mov edi, dword [esp + 0x14]
mov eax, dword [esi + 0xb9d0]
cmp eax, edi
jae 0x4346f1
mov ecx, esi
call fcn.00401370
cmp dword [esi + 0xb9d0], edi
jb 0x4346da
jmp 0x4346f1
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x19c]
call sub.MFC42.DLL_CWnd::DestroyWindow
push ebx
lea ecx, [esp + 0x46c]
call fcn.00401361
lea ecx, [esp + 0x468]
mov byte [esp + 0x5fc], 0x33
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 1
jne 0x434753
mov dword [esp + 0x10], ebx
mov dword [0x472c5c], eax
xor edi, edi
push 0x12c
call ebp
mov ecx, esi
call fcn.00401b09
test eax, eax
jne 0x434759
mov ecx, esi
call fcn.00401b4a
test eax, eax
jne 0x434759
inc edi
cmp edi, 0x64
jl 0x43472e
jmp 0x434759
mov dword [0x472c5c], ebx
lea ecx, [esp + 0x468]
mov byte [esp + 0x5fc], bl
call fcn.0044cf84
lea ecx, [esp + 0x368]
mov dword [esp + 0x5fc], 0x39
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x328]
mov byte [esp + 0x5fc], 0x38
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x2e8]
mov byte [esp + 0x5fc], 0x37
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x2a8]
mov byte [esp + 0x5fc], 0x36
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x23c]
mov byte [esp + 0x5fc], 0x35
call fcn.004018d4
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x5fc], 0x34
call sub.MFC42.DLL_CAnimateCtrl::CAnimateCtrl
lea ecx, [esp + 0x19c]
mov dword [esp + 0x5fc], 0xffffffff
call fcn.0044cf84
mov ecx, dword [0x472c5c]
mov eax, 1
cmp ecx, eax
jne 0x434ae3
jmp 0x4341bb
mov dword [esi + 0xb9dc], ebx
mov dword [0x472c5c], ebx
lea ecx, [esp + 0x198]
mov byte [esp + 0x5fc], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x170]
mov byte [esp + 0x5fc], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x16c]
mov byte [esp + 0x5fc], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x168]
mov byte [esp + 0x5fc], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x164]
mov byte [esp + 0x5fc], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x160]
mov byte [esp + 0x5fc], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x15c]
mov byte [esp + 0x5fc], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x11c]
mov byte [esp + 0x5fc], 8
call sub.MFC42.DLL_CListBox::CListBox
lea ecx, [esp + 0xdc]
mov byte [esp + 0x5fc], 7
call sub.MFC42.DLL_CListBox::CListBox
lea ecx, [esp + 0x9c]
mov byte [esp + 0x5fc], 6
call sub.MFC42.DLL_CListBox::CListBox
lea ecx, [esp + 0x98]
mov byte [esp + 0x5fc], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x94]
mov byte [esp + 0x5fc], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x90]
mov byte [esp + 0x5fc], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5fc], bl
call fcn.0044cf84
lea ecx, [esp + 0x368]
mov dword [esp + 0x5fc], 0x15
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x328]
mov byte [esp + 0x5fc], 0x14
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x2e8]
mov byte [esp + 0x5fc], 0x13
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x2a8]
mov byte [esp + 0x5fc], 0x12
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x23c]
mov byte [esp + 0x5fc], 0x11
call fcn.004018d4
mov byte [esp + 0x5fc], 0x10
jmp 0x434abe
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 + 0x368]
mov dword [esp + 0x5fc], 0x28
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x328]
mov byte [esp + 0x5fc], 0x27
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x2e8]
mov byte [esp + 0x5fc], 0x26
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x2a8]
mov byte [esp + 0x5fc], 0x25
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x23c]
mov byte [esp + 0x5fc], 0x24
call fcn.004018d4
mov byte [esp + 0x5fc], 0x23
jmp 0x434abe
lea ecx, [esp + 0x3a8]
mov dword [0x472c5c], ebx
mov byte [esp + 0x5fc], bl
call fcn.0044cf84
lea ecx, [esp + 0x368]
mov dword [esp + 0x5fc], 0x2f
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x328]
mov byte [esp + 0x5fc], 0x2e
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x2e8]
mov byte [esp + 0x5fc], 0x2d
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x2a8]
mov byte [esp + 0x5fc], 0x2c
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x23c]
mov byte [esp + 0x5fc], 0x2b
call fcn.004018d4
mov byte [esp + 0x5fc], 0x2a
lea ecx, [esp + 0x1fc]
call sub.MFC42.DLL_CAnimateCtrl::CAnimateCtrl
lea ecx, [esp + 0x19c]
mov dword [esp + 0x5fc], 0xffffffff
call fcn.0044cf84
xor eax, eax
mov ecx, dword [esp + 0x5f4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x5f0
ret 4