Function at 0x423620
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c65c
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x5c49f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xffffffffffffffff
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
push 0
push eax
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x428], 0
call fcn.0042c2e0
push 0xb
push str.dpmgjh.ini
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 2
call fcn.0042c4c0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x428]
mov dword [ebp - 0x3fc], 0xf
push eax
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x400], 0
mov byte [ebp - 0x410], 0
call fcn.0042c2e0
cmp dword [ebp - 0x3fc], 0x10
lea eax, [ebp - 0x410]
cmovae eax, dword [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4236f5
test al, 0x10
jne 0x4236f5
mov esi, 1
jmp 0x4236f7
xor esi, esi
mov eax, dword [ebp - 0x3fc]
cmp eax, 0x10
jb 0x423715
inc eax
lea ecx, [ebp - 0x410]
push eax
push dword [ebp - 0x410]
call fcn.0042ceb0
test esi, esi
je 0x423a93
push 0x3e8
lea eax, [ebp - 0x3f8]
push 0
push eax
call fcn.005369e0
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x428]
add esp, 0xc
cmp dword [ebp - 0x414], 0x10
cmovae eax, dword [ebp - 0x428]
push eax
push 0x3e8
lea eax, [ebp - 0x3f8]
push eax
push 0x5b03e0
push str.name
push str.Version
call esi
cmp byte [ebp - 0x3f8], 0
mov dword [ebp - 0x3fc], 0xf
mov dword [ebp - 0x400], 0
mov byte [ebp - 0x410], 0
jne 0x423793
xor ecx, ecx
jmp 0x4237a9
lea ecx, [ebp - 0x3f8]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4237a0
sub ecx, edx
push ecx
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x410]
call fcn.0042c1e0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x428]
cmp dword [ebp - 0x414], 0x10
cmovae eax, dword [ebp - 0x428]
push eax
push 0x3e8
lea eax, [ebp - 0x3f8]
push eax
push 0x5b03e0
push 0x5b0e80
push str.Version
call esi
cmp byte [ebp - 0x3f8], 0
mov dword [ebp - 0x42c], 0xf
mov dword [ebp - 0x430], 0
mov byte [ebp - 0x440], 0
jne 0x42381a
xor ecx, ecx
jmp 0x42382c
lea ecx, [ebp - 0x3f8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423823
sub ecx, edx
push ecx
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x440]
call fcn.0042c1e0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x428]
cmp dword [ebp - 0x414], 0x10
cmovae eax, dword [ebp - 0x428]
push eax
push 0x3e8
lea eax, [ebp - 0x3f8]
push eax
push 0x5b03e0
push str.updateurl
push str.Version
call esi
cmp byte [ebp - 0x3f8], 0
mov dword [ebp - 0x444], 0xf
mov dword [ebp - 0x448], 0
mov byte [ebp - 0x458], 0
jne 0x42389d
xor ecx, ecx
jmp 0x4238af
lea ecx, [ebp - 0x3f8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4238a6
sub ecx, edx
push ecx
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x458]
call fcn.0042c1e0
mov byte [ebp - 4], 5
lea esi, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
lea edi, [ebp - 0x440]
lea ebx, [ebp - 0x458]
cmovae esi, dword [ebp + 8]
lea eax, [ebp - 0x410]
cmp dword [ebp - 0x42c], 0x10
cmovae edi, dword [ebp - 0x440]
cmp dword [ebp - 0x444], 0x10
cmovae ebx, dword [ebp - 0x458]
cmp dword [ebp - 0x3fc], 0x10
cmovae eax, dword [ebp - 0x410]
mov dword [ebp - 0x45c], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5c9840]
cmp eax, dword [ecx + 4]
jle 0x42395d
push 0x5c9840
call fcn.00533993
add esp, 4
cmp dword [0x5c9840], 0xffffffff
jne 0x42395d
call fcn.00436720
push 0x5607c0
call fcn.00533d1d
add esp, 4
push 0x5c9840
call fcn.00533954
add esp, 4
push esi
push edi
push ebx
push dword [ebp - 0x45c]
push str.CAllUpdate::CheckPackageVersion
push str._s__s__s__s__s
push 0
push 0x5b063c
push 0x5c9848
call fcn.00436800
mov esi, dword [ebp - 0x42c]
add esp, 0x24
cmp dword [ebp - 0x400], 0
mov edi, dword [ebp - 0x440]
je 0x4239fc
cmp dword [ebp - 0x448], 0
je 0x4239fc
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x440]
mov edx, dword [ebp - 0x430]
cmp esi, 0x10
push eax
cmovae ecx, edi
call fcn.0042b9c0
add esp, 8
test eax, eax
jne 0x4239fc
lea ecx, [ebp - 0x458]
mov dword [0x5c5420], eax
call fcn.0042a3c0
lea ecx, [ebp - 0x440]
call fcn.0042a3c0
lea ecx, [ebp - 0x410]
call fcn.0042a3c0
mov bl, 1
jmp 0x423b43
mov eax, dword [ebp - 0x444]
cmp eax, 0x10
jb 0x423a26
inc eax
lea ecx, [ebp - 0x458]
push eax
push dword [ebp - 0x458]
call fcn.0042ceb0
mov esi, dword [ebp - 0x42c]
mov edi, dword [ebp - 0x440]
mov dword [ebp - 0x444], 0xf
mov dword [ebp - 0x448], 0
mov byte [ebp - 0x458], 0
cmp esi, 0x10
jb 0x423a56
lea eax, [esi + 1]
push eax
push edi
lea ecx, [ebp - 0x440]
call fcn.0042ceb0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x3fc]
mov dword [ebp - 0x42c], 0xf
mov dword [ebp - 0x430], 0
mov byte [ebp - 0x440], 0
cmp eax, 0x10
jb 0x423a93
inc eax
lea ecx, [ebp - 0x410]
push eax
push dword [ebp - 0x410]
call fcn.0042ceb0
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x20]
mov dword [ebp - 0x3fc], 0xf
push eax
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x400], 0
mov byte [ebp - 0x410], 0
call fcn.0042c2e0
cmp dword [ebp - 0x3fc], 0x10
lea eax, [ebp - 0x410]
cmovae eax, dword [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x423aec
test al, 0x10
je 0x423aec
mov esi, 1
jmp 0x423aee
xor esi, esi
mov eax, dword [ebp - 0x3fc]
cmp eax, 0x10
jb 0x423b0c
inc eax
lea ecx, [ebp - 0x410]
push eax
push dword [ebp - 0x410]
call fcn.0042ceb0
test esi, esi
je 0x423b3b
sub esp, 0x18
lea eax, [ebp + 0x20]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0042c2e0
call fcn.00435a10
add esp, 0x18
inc dword [0x5c5420]
xor bl, bl
mov eax, dword [ebp - 0x414]
cmp eax, 0x10
jb 0x423b61
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.0042ceb0
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x428], 0
cmp eax, 0x10
jb 0x423b91
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.0042ceb0
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
cmp ecx, 0x10
jb 0x423bb8
inc ecx
push ecx
push dword [ebp + 0x20]
lea ecx, [ebp + 0x20]
call fcn.0042ceb0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00533845
mov esp, ebp
pop ebp
ret 0x30