Function at 0x40f9ce
Capabilities:
Read .ini file

Disassembly:
push 0x25c
mov eax, 0x59ca7f
call fcn.00493819
mov dword [ebp - 0x268], ebx
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
xor eax, eax
mov dword [ebx + 0x24], 7
mov dword [ebx + 0x20], esi
mov word [ebx + 0x10], ax
mov dword [ebx + 0x40], 0xf
mov dword [ebx + 0x3c], esi
mov byte [ebx + 0x2c], al
lea edi, [ebx + 0x50]
mov byte [ebp - 4], 2
push esi
mov dword [edi], esi
call fcn.00456600
mov dword [ebx + 0x78], esi
mov dword [ebx + 0x7c], esi
mov dword [ebx + 0x80], esi
mov dword [ebx + 0x84], esi
xor ecx, ecx
mov dword [ebx + 0x9c], 7
mov dword [ebx + 0x98], esi
mov word [ebx + 0x88], cx
lea esi, [ebx + 0xa4]
mov byte [ebp - 4], 4
call fcn.00402db1
push 7
pop esi
xor edi, edi
xor ecx, ecx
mov dword [ebx + 0xc8], esi
mov dword [ebx + 0xc4], edi
mov word [ebx + 0xb4], cx
mov dword [ebx + 0xe4], esi
mov dword [ebx + 0xe0], edi
mov word [ebx + 0xd0], cx
mov dword [ebx + 0x100], esi
mov dword [ebx + 0xfc], edi
mov word [ebx + 0xec], cx
mov dword [ebx + 0x11c], esi
mov dword [ebx + 0x118], edi
mov word [ebx + 0x108], cx
lea eax, [ebx + 0x128]
push eax
mov byte [ebp - 4], 9
call fcn.0040dcc1
mov byte [ebp - 4], 0xa
push 0x24
mov dword [ebx + 0x20c], edi
call fcn.0048a378
pop ecx
cmp eax, edi
je 0x40ff41
mov dword [ebx + 0x208], eax
mov dword [eax], eax
mov eax, dword [ebx + 0x208]
mov dword [eax + 4], eax
lea eax, [ebx + 0x218]
push eax
mov byte [ebp - 4], 0xb
call fcn.0045a800
lea eax, [ebx + 0x3b0]
push eax
mov byte [ebp - 4], 0xc
call fcn.0045a800
mov byte [ebp - 4], 0xd
mov dword [ebx + 0x550], edi
push edi
lea edi, [ebx + 0x550]
call fcn.00456600
mov byte [ebp - 4], 0xe
xor edi, edi
push 0x10
mov dword [ebx + 0x564], edi
call fcn.0048a378
pop ecx
cmp eax, edi
je 0x40ff41
mov dword [ebx + 0x560], eax
mov dword [eax], eax
mov eax, dword [ebx + 0x560]
mov dword [eax + 4], eax
xor ecx, ecx
mov dword [ebx + 0x588], esi
mov dword [ebx + 0x584], edi
mov word [ebx + 0x574], cx
mov dword [ebx + 0x5a4], esi
mov dword [ebx + 0x5a0], edi
mov word [ebx + 0x590], cx
lea ecx, [ebx + 0x5b8]
xor eax, eax
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], edi
mov word [ecx], ax
xor edx, edx
mov dword [ebx + 0x5e8], esi
mov dword [ebx + 0x5e4], edi
mov word [ebx + 0x5d4], dx
mov dword [ebx + 0x608], esi
mov dword [ebx + 0x604], edi
mov word [ebx + 0x5f4], dx
mov dword [ebx + 0x624], esi
mov dword [ebx + 0x620], edi
mov word [ebx + 0x610], dx
mov dword [ebx + 0x640], esi
mov dword [ebx + 0x63c], edi
mov word [ebx + 0x62c], dx
mov dword [ebx + 0x664], esi
mov dword [ebx + 0x660], edi
mov word [ebx + 0x650], dx
mov dword [ebx + 0x680], esi
mov dword [ebx + 0x67c], edi
mov word [ebx + 0x66c], dx
mov dword [ebx + 0x69c], esi
mov dword [ebx + 0x698], edi
mov word [ebx + 0x688], dx
mov dword [ebx + 0x6c4], esi
mov dword [ebx + 0x6c0], edi
mov word [ebx + 0x6b0], dx
mov dword [ebx + 0x6e0], esi
mov dword [ebx + 0x6dc], edi
mov word [ebx + 0x6cc], dx
mov dword [ebx + 0x6fc], 0xf
mov dword [ebx + 0x6f8], edi
mov byte [ebx + 0x6e8], dl
mov dword [ebx + 0x718], esi
mov dword [ebx + 0x714], edi
mov word [ebx + 0x704], dx
mov dword [ebx + 0x734], esi
mov dword [ebx + 0x730], edi
mov word [ebx + 0x720], dx
mov eax, dword [ebp + 0x28]
mov byte [ebp - 4], 0x1e
mov dword [ebx + 0x5f0], eax
mov dword [ebx + 0x6c], edi
mov dword [ebx + 0x70], edi
mov dword [ebx + 0x214], edi
mov dword [ebx + 0x548], edi
mov dword [ebx + 0x5ac], edi
mov byte [ebx + 0x56c], dl
mov dword [ebx + 0x5b0], edi
mov dword [ebx + 0x5b4], edi
mov byte [ebx + 0x4c], dl
mov eax, dword [ebp + 0x2c]
push 0xffffffffffffffff
mov dword [ebx + 0x48], eax
push edi
lea eax, [ebp + 8]
mov dword [ebx + 0x648], edi
mov dword [ebx + 0x64c], edi
mov dword [ebx + 0x60], edi
mov dword [ebx + 0x64], edi
mov dword [ebx + 0x6a8], edi
mov dword [ebx + 0x6ac], edi
call fcn.00401a8e
push edi
lea ecx, [ebp - 0x264]
call fcn.00481c50
push str.ZM_mini_downloader
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x1f
call fcn.00480f00
lea eax, [ebp - 0x22c]
push eax
push str.game
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0x20
call fcn.004832c0
mov ecx, eax
call fcn.00482e10
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x1f
call fcn.00481d70
push 2
lea ecx, [ebp - 0x22c]
call fcn.00480e80
lea eax, [ebp - 0x22c]
push eax
push str.type
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0x21
call fcn.004832c0
mov ecx, eax
call fcn.00482e10
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x1f
call fcn.00481d70
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x264]
call fcn.00482120
push eax
lea ecx, [ebx + 0x6e8]
mov byte [ebp - 4], 0x22
call fcn.0040c94c
xor esi, esi
push edi
inc esi
push esi
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x1f
call fcn.00403347
push str.zmminiinstall.ini
mov dword [ebx + 0xb0], edi
call fcn.00448c30
lea ecx, [ebp - 0x250]
push ecx
mov edi, eax
call fcn.004014b3
pop ecx
pop ecx
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 0x23
call fcn.0044b530
test al, al
je 0x40fe71
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.0048b3f0
mov eax, dword [ebp - 0x250]
add esp, 0xc
cmp dword [ebp - 0x23c], 8
jae 0x40fdff
lea eax, [ebp - 0x250]
push eax
push pe_nt_image_headers32
lea eax, [ebp - 0x214]
push eax
push 0x5fc63c
push str.UpdateURL
push 0x5fd214
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x234]
call fcn.004017bc
mov byte [ebp - 4], 0x24
cmp dword [ebp - 0x224], 0
je 0x40fe5c
lea eax, [ebx + 0xa4]
mov ecx, dword [eax]
lea edx, [ebp - 0x234]
push edx
push ecx
push eax
call fcn.0041110a
push esi
jmp 0x40ff04
push esi
xor edi, edi
lea esi, [ebp - 0x234]
mov byte [ebp - 4], 0x23
call fcn.004019e2
xor esi, esi
inc esi
lea eax, [ebp - 0x234]
cmp dword [ebp + 0x24], esi
jne 0x40fe8c
push str.https:__zmconfig.duoyi.com_test_dyinstall_public.txt
call fcn.004017bc
mov byte [ebp - 4], 0x25
jmp 0x40fe40
cmp dword [ebp + 0x24], 2
jne 0x40fea2
push str.https:__zmconfig.duoyi.com_test_dyinstall_public_test.txt
call fcn.004017bc
mov byte [ebp - 4], 0x26
jmp 0x40fe40
push str.https:__zmconfig.duoyi.com_dyminiinstall.txt
call fcn.004017bc
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x234]
mov byte [ebp - 4], 0x27
mov ecx, dword [eax]
push edx
push ecx
push eax
call fcn.0041110a
push esi
xor edi, edi
lea esi, [ebp - 0x234]
mov byte [ebp - 4], 0x23
call fcn.004019e2
push str.http:__zmconfig.duoyi.com_dyminiinstall.txt
lea eax, [ebp - 0x234]
call fcn.004017bc
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x234]
mov byte [ebp - 4], 0x28
mov ecx, dword [eax]
push edx
push ecx
push eax
call fcn.0041110a
push 1
xor edi, edi
lea esi, [ebp - 0x234]
call fcn.004019e2
push 1
lea esi, [ebp - 0x250]
call fcn.004019e2
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0x1e
call fcn.00481d70
push 1
lea esi, [ebp + 8]
call fcn.004019e2
mov eax, ebx
call fcn.00493863
ret 0x28
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x254], edi
call fcn.0048a1c4
push 0x6111f0
lea eax, [ebp - 0x224]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.0049303f
int3