Function at 0x40eb2d
Capabilities:
Read .ini file

Disassembly:
push 0x25c
mov eax, 0x59e926
call fcn.00495539
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.00455d30
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.00402ea4
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.0040cdee
mov byte [ebp - 4], 0xa
push 0x24
mov dword [ebx + 0x20c], edi
call fcn.0048bf08
pop ecx
cmp eax, edi
je 0x40f0a0
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.0045a510
lea eax, [ebx + 0x3b0]
push eax
mov byte [ebp - 4], 0xc
call fcn.0045a510
mov byte [ebp - 4], 0xd
mov dword [ebx + 0x550], edi
push edi
lea edi, [ebx + 0x550]
call fcn.00455d30
mov byte [ebp - 4], 0xe
xor edi, edi
push 0x10
mov dword [ebx + 0x564], edi
call fcn.0048bf08
pop ecx
cmp eax, edi
je 0x40f0a0
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.00401b81
push edi
lea ecx, [ebp - 0x264]
call fcn.004837e0
push str.ZM_mini_downloader
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x1f
call fcn.00482a90
lea eax, [ebp - 0x22c]
push eax
push str.game
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0x20
call fcn.00484e40
mov ecx, eax
call fcn.004849a0
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x1f
call fcn.00483900
push 2
lea ecx, [ebp - 0x22c]
call fcn.00482a10
lea eax, [ebp - 0x22c]
push eax
push str.type
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0x21
call fcn.00484e40
mov ecx, eax
call fcn.004849a0
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x1f
call fcn.00483900
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x264]
call fcn.00483cb0
push eax
lea ecx, [ebx + 0x6e8]
mov byte [ebp - 4], 0x22
call fcn.0040b720
xor esi, esi
push edi
inc esi
push esi
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x1f
call fcn.0040342c
push str.zmminiinstall.ini
mov dword [ebx + 0xb0], edi
call fcn.00448020
lea ecx, [ebp - 0x250]
push ecx
mov edi, eax
call fcn.00401638
pop ecx
pop ecx
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 0x23
call fcn.0044a980
test al, al
je 0x40efd0
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.0048cf80
mov eax, dword [ebp - 0x250]
add esp, 0xc
cmp dword [ebp - 0x23c], 8
jae 0x40ef5e
lea eax, [ebp - 0x250]
push eax
push 0x100
lea eax, [ebp - 0x214]
push eax
push 0x5fe734
push str.UpdateURL
push 0x5ff30c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x234]
call fcn.004018af
mov byte [ebp - 4], 0x24
cmp dword [ebp - 0x224], 0
je 0x40efbb
lea eax, [ebx + 0xa4]
mov ecx, dword [eax]
lea edx, [ebp - 0x234]
push edx
push ecx
push eax
call fcn.00410262
push esi
jmp 0x40f063
push esi
xor edi, edi
lea esi, [ebp - 0x234]
mov byte [ebp - 4], 0x23
call fcn.00401ad5
xor esi, esi
inc esi
lea eax, [ebp - 0x234]
cmp dword [ebp + 0x24], esi
jne 0x40efeb
push str.https:__zmconfig.duoyi.com_test_dyinstall_public.txt
call fcn.004018af
mov byte [ebp - 4], 0x25
jmp 0x40ef9f
cmp dword [ebp + 0x24], 2
jne 0x40f001
push str.https:__zmconfig.duoyi.com_test_dyinstall_public_test.txt
call fcn.004018af
mov byte [ebp - 4], 0x26
jmp 0x40ef9f
push str.https:__zmconfig.duoyi.com_dyminiinstall.txt
call fcn.004018af
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.00410262
push esi
xor edi, edi
lea esi, [ebp - 0x234]
mov byte [ebp - 4], 0x23
call fcn.00401ad5
push str.http:__zmconfig.duoyi.com_dyminiinstall.txt
lea eax, [ebp - 0x234]
call fcn.004018af
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.00410262
push 1
xor edi, edi
lea esi, [ebp - 0x234]
call fcn.00401ad5
push 1
lea esi, [ebp - 0x250]
call fcn.00401ad5
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0x1e
call fcn.00483900
push 1
lea esi, [ebp + 8]
call fcn.00401ad5
mov eax, ebx
call fcn.00495583
ret 0x28
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x254], edi
call fcn.0048bd54
push 0x613a90
lea eax, [ebp - 0x224]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.00494d66
int3