Function at 0x403350
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x472ff7
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x492bec]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x492bec]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, 0x49403c
call sub.HZDKernel.dll_public:_void___thiscall_HZD::Kernel::OS::CBaseOS::InitSystemNameType_void_
mov ecx, 0x49403c
call sub.HZDKernel.dll_public:_enum_SystemName___thiscall_HZD::Kernel::OS::CBaseOS::GetSystemName_void_
mov ecx, 0x49403c
mov dword [0x494000], eax
call sub.HZDKernel.dll_public:_enum_SystemType___thiscall_HZD::Kernel::OS::CBaseOS::GetSystemType_void_
mov dword [0x494004], eax
lea eax, [esp + 0x14]
push eax
call sub.HZDKernel.dll_public:_static_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______cdecl_HZD::Kernel::Helper::CBaseHelper::BinPath_void_
push eax
lea ecx, [esp + 0x20]
push ecx
mov edi, str.Config.ini
mov dword [esp + 0x16c], 0
call fcn.00407810
mov eax, dword [eax]
add esp, 0xc
push eax
push 0x78
lea edx, [esp + 0xe4]
push edx
push 0
push str.ChannelID
push 0x4807c4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x14]
mov dword [esp + 0x160], 0xffffffff
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea eax, [esp + 0xdc]
push eax
lea ecx, [esi + 0x6a0]
call dword [sym.imp.mfc90.dll_Ordinal_820]
lea ecx, [esp + 0x34]
call sub.mfc90.dll_Ordinal_580
lea ecx, [esp + 0x34]
push ecx
push 0x4940a0
mov ecx, 0x49403c
mov dword [esp + 0x168], 1
call sub.HZDKernel.dll_public:_int___thiscall_HZD::Kernel::OS::CBaseOS::GetIpAddress_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char____const___class_CStringArray__
mov eax, dword [esp + 0x3c]
xor edi, edi
test eax, eax
jle 0x4034bc
test edi, edi
jl 0x4039b5
cmp edi, eax
jge 0x4039b5
mov edx, dword [esp + 0x38]
lea ecx, [edx + edi*4]
push 0x1389
call dword [sym.imp.mfc90.dll_Ordinal_2692]
mov ecx, dword [0x494040]
push eax
push 0x408c50
call sub.HZDKernel.dll_public:_int___thiscall_HZD::Kernel::Net::SocketEX::CUDPNetClient::StartServer_void____stdcall___char___unsigned_long_int___char___int_
cmp edi, dword [esp + 0x3c]
mov ebx, eax
jge 0x4039b5
mov eax, dword [esp + 0x38]
lea ecx, [eax + edi*4]
push 0xffffffffffffffff
call dword [sym.imp.mfc90.dll_Ordinal_5835]
test ebx, ebx
jne 0x4034bc
mov eax, dword [esp + 0x3c]
inc edi
cmp edi, eax
jl 0x403461
mov ebx, esi
call fcn.00404e70
push 0
push 0
push 0
push 0
push esi
push 0x401040
call sub.mfc90.dll_Ordinal_1062
lea ecx, [esp + 0x48]
push ecx
mov dword [esi + 0x69c], eax
mov dword [esp + 0x4c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0x47ee18
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x160], 2
mov eax, dword [esi + 0x20]
push 0x100
lea ebx, [esi + 0x500]
push 0
lea edi, [esi + 0x460]
push ebx
mov dword [edi], 0x1e8
mov dword [esi + 0x464], eax
mov dword [esi + 0x468], 0x80
mov dword [esi + 0x46c], 0x17
mov dword [esi + 0x470], 0x83f1
mov dword [esi + 0x644], 5
mov dword [esi + 0x600], 0x3e8
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x4807c8
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x160], 3
mov eax, dword [esp + 0x20]
mov edx, esi
sub edx, eax
add edx, 0x478
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x403588
call sub.mfc90.dll_Ordinal_1137
mov eax, dword [eax + 8]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esi + 0x474], eax
mov eax, dword [esp + 0x20]
mov ecx, esi
sub ecx, eax
lea edx, [ecx + 0x604]
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4035c0
mov ebp, dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
push edi
push 0
mov dword [esi + 0x644], 4
call ebp
mov eax, dword [esp + 0x28]
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4035e7
push edi
push 1
mov dword [esi + 0x644], 1
call ebp
lea edx, [esp + 0x18]
push edx
call sub.HZDKernel.dll_public:_static_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______cdecl_HZD::Kernel::Helper::CBaseHelper::GetWindowDirPath_void_
push eax
lea eax, [esp + 0x1c]
push eax
mov edi, str.ResourcesIcon_
mov byte [esp + 0x16c], 4
call fcn.00407810
mov eax, dword [eax]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
add esp, 0xc
push eax
call esi
test eax, eax
lea ecx, [esp + 0x14]
sete bl
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x18]
mov byte [esp + 0x160], 3
call dword [sym.imp.mfc90.dll_Ordinal_601]
test bl, bl
je 0x403691
lea ecx, [esp + 0x14]
push ecx
call sub.HZDKernel.dll_public:_static_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______cdecl_HZD::Kernel::Helper::CBaseHelper::GetWindowDirPath_void_
mov byte [esp + 0x164], 5
mov edx, esp
mov dword [esp + 0x20], esp
push eax
push edx
call fcn.00407810
add esp, 8
call sub.HZDKernel.dll_public:_static_void___cdecl_HZD::Kernel::Helper::CBaseHelper::CreateDir_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char____
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x160], 3
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea eax, [esp + 0x18]
push eax
call sub.HZDKernel.dll_public:_static_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______cdecl_HZD::Kernel::Helper::CBaseHelper::BinPath_void_
push eax
lea ecx, [esp + 0x1c]
push ecx
mov edi, str.Config_
mov byte [esp + 0x16c], 6
call fcn.00407810
mov eax, dword [eax]
add esp, 0xc
push eax
call esi
test eax, eax
lea ecx, [esp + 0x14]
sete bl
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x18]
mov byte [esp + 0x160], 3
call dword [sym.imp.mfc90.dll_Ordinal_601]
test bl, bl
je 0x40371c
lea edx, [esp + 0x14]
push edx
call sub.HZDKernel.dll_public:_static_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______cdecl_HZD::Kernel::Helper::CBaseHelper::BinPath_void_
mov byte [esp + 0x164], 7
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
push ecx
call fcn.00407810
add esp, 8
call sub.HZDKernel.dll_public:_static_void___cdecl_HZD::Kernel::Helper::CBaseHelper::CreateDir_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char____
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x160], 3
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea edx, [esp + 0x18]
push edx
call sub.HZDKernel.dll_public:_static_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______cdecl_HZD::Kernel::Helper::CBaseHelper::BinPath_void_
push eax
lea eax, [esp + 0x1c]
push eax
mov edi, str.Resource_
mov byte [esp + 0x16c], 8
call fcn.00407810
mov eax, dword [eax]
add esp, 0xc
push eax
call esi
test eax, eax
lea ecx, [esp + 0x14]
sete bl
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x18]
mov byte [esp + 0x160], 3
call dword [sym.imp.mfc90.dll_Ordinal_601]
test bl, bl
je 0x4037a7
lea ecx, [esp + 0x14]
push ecx
call sub.HZDKernel.dll_public:_static_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______cdecl_HZD::Kernel::Helper::CBaseHelper::BinPath_void_
mov byte [esp + 0x164], 9
mov edx, esp
mov dword [esp + 0x20], esp
push eax
push edx
call fcn.00407810
add esp, 8
call sub.HZDKernel.dll_public:_static_void___cdecl_HZD::Kernel::Helper::CBaseHelper::CreateDir_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char____
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x160], 3
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea eax, [esp + 0x18]
push eax
call sub.HZDKernel.dll_public:_static_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______cdecl_HZD::Kernel::Helper::CBaseHelper::BinPath_void_
push eax
lea ecx, [esp + 0x1c]
push ecx
mov edi, str.ResourceAdPic_
mov byte [esp + 0x16c], 0xa
call fcn.00407810
mov eax, dword [eax]
add esp, 0xc
push eax
call esi
test eax, eax
lea ecx, [esp + 0x14]
sete bl
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x18]
mov byte [esp + 0x160], 3
call dword [sym.imp.mfc90.dll_Ordinal_601]
test bl, bl
je 0x403832
lea edx, [esp + 0x14]
push edx
call sub.HZDKernel.dll_public:_static_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______cdecl_HZD::Kernel::Helper::CBaseHelper::BinPath_void_
mov byte [esp + 0x164], 0xb
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
push ecx
call fcn.00407810
add esp, 8
call sub.HZDKernel.dll_public:_static_void___cdecl_HZD::Kernel::Helper::CBaseHelper::CreateDir_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char____
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x160], 3
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea edx, [esp + 0x18]
push edx
call sub.HZDKernel.dll_public:_static_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______cdecl_HZD::Kernel::Helper::CBaseHelper::BinPath_void_
push eax
lea eax, [esp + 0x1c]
push eax
mov edi, str.ResourceSysSource_
mov byte [esp + 0x16c], 0xc
call fcn.00407810
mov eax, dword [eax]
add esp, 0xc
push eax
call esi
test eax, eax
lea ecx, [esp + 0x14]
sete bl
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x18]
mov byte [esp + 0x160], 3
call dword [sym.imp.mfc90.dll_Ordinal_601]
test bl, bl
je 0x4038bd
lea ecx, [esp + 0x14]
push ecx
call sub.HZDKernel.dll_public:_static_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______cdecl_HZD::Kernel::Helper::CBaseHelper::BinPath_void_
mov byte [esp + 0x164], 0xd
mov edx, esp
mov dword [esp + 0x20], esp
push eax
push edx
call fcn.00407810
add esp, 8
call sub.HZDKernel.dll_public:_static_void___cdecl_HZD::Kernel::Helper::CBaseHelper::CreateDir_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char____
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x160], 3
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x49403c
call sub.HZDKernel.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_HZD::Kernel::OS::CBaseOS::GetNowMonth_void_
mov ebx, eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x164], 0xe
call sub.HZDKernel.dll_public:_static_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______cdecl_HZD::Kernel::Helper::CBaseHelper::BinPath_void_
push eax
lea edx, [esp + 0x34]
push edx
mov edi, str.Resource_
mov byte [esp + 0x16c], 0xf
call fcn.00407810
lea ecx, [esp + 0x30]
push ebx
push ecx
mov ecx, eax
mov byte [esp + 0x174], 0x10
call fcn.00407790
add esp, 0x14
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x160], 0x14
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov edx, dword [esp + 0x24]
push edx
call esi
test eax, eax
jne 0x40395b
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
call sub.HZDKernel.dll_public:_static_void___cdecl_HZD::Kernel::Helper::CBaseHelper::CreateDir_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char____
add esp, 4
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x34]
mov dword [esp + 0x160], 0xffffffff
call sub.mfc90.dll_Ordinal_781
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.0046d6fc
add esp, 0x150
ret
call sub.mfc90.dll_Ordinal_1252
int3