Function at 0x427ac0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x46cf34
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d0
mov eax, dword [0x480630]
xor eax, esp
push ebx
push ebp
mov ebp, dword [esp + 0x1e8]
mov dword [esp + 0x1d4], eax
mov eax, dword [0x4800d8]
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x84]
push eax
push 0x20
push 0x20
lea ecx, [esp + 0x28]
mov dword [esp + 0x1f4], 0
call fcn.004042d0
push eax
push 0x4708d8
push ebp
push str.Component
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x1c]
call fcn.00404410
mov edi, dword [esp + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [edi - 8], eax
mov byte [eax + edi], 0
mov eax, dword [edi - 8]
test eax, eax
jne 0x427b9b
mov ecx, dword [ebx + 0x84]
push ecx
push ebp
push str.Failed_to_get__s_newver_from__s
push 4
call fcn.004047f0
mov eax, dword [0x4800dc]
lea edx, [edi - 0xc]
add esp, 0x10
cmp edx, eax
je 0x428199
lea esi, [edi - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x428199
push esi
call fcn.00457c3f
add esp, 4
xor eax, eax
jmp 0x428120
mov eax, dword [0x4800d8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push edi
push eax
mov byte [esp + 0x1f0], 3
call fcn.0044b420
mov ecx, dword [eax]
mov edx, dword [ebx + 0x80]
push ebp
push ecx
push ebp
push edx
lea eax, [esp + 0x28]
push str._s_s__s__s.xml
push eax
mov byte [esp + 0x208], 4
call fcn.00405ab0
mov eax, dword [esp + 0x34]
mov edx, dword [0x4800dc]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
add esp, 0x20
cmp ecx, edx
mov byte [esp + 0x1e8], 3
je 0x427c1e
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x427c1e
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00457c3f
add esp, 4
mov eax, dword [esp + 0x10]
push 0
lea edx, [esp + 0x14]
push edx
push eax
call fcn.0044ac10
mov ecx, dword [ebx]
push ebp
push ebp
push ecx
lea edx, [esp + 0x38]
push str._s_s_s.xml
push edx
call fcn.00405ab0
mov ecx, dword [esp + 0x40]
push 0
lea eax, [esp + 0x3c]
push eax
push ecx
call fcn.0044ac10
mov edx, dword [0x4800d8]
add esp, 0x2c
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push 3
push eax
push ecx
mov ecx, ebx
mov byte [esp + 0x1f4], 5
call fcn.00427220
test eax, eax
jne 0x427db3
lea edx, [esp + 0x14]
push edi
push edx
call fcn.0044b420
mov eax, dword [eax]
push ebp
push eax
push ebp
lea ecx, [esp + 0x38]
push str._s__s__s_xml.zip
push ecx
mov byte [esp + 0x204], 6
call fcn.00405ab0
mov eax, dword [esp + 0x30]
mov ecx, dword [0x4800dc]
lea edx, [eax - 0xc]
add esp, 0x1c
cmp edx, ecx
je 0x427cd9
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x427cd9
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00457c3f
add esp, 4
mov ebx, dword [esp + 0x24]
push ebx
push str.Download__s_retry___3
push 4
call fcn.004047f0
mov eax, dword [0x4800dc]
lea ecx, [ebx - 0xc]
add esp, 0xc
cmp ecx, eax
je 0x427d0c
add ebx, 0xfffffff4
push ebx
call esi
test eax, eax
jg 0x427d0c
push ebx
call fcn.00457c3f
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [0x4800dc]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x427d37
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x427d37
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.00457c3f
add esp, 4
mov ebx, dword [esp + 0x20]
mov eax, dword [0x4800dc]
lea ecx, [ebx - 0xc]
cmp ecx, eax
je 0x427d5a
add ebx, 0xfffffff4
push ebx
call esi
test eax, eax
jg 0x427d5a
push ebx
call fcn.00457c3f
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4800dc]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x427d85
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x427d85
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00457c3f
add esp, 4
mov eax, dword [0x4800dc]
lea ecx, [edi - 0xc]
cmp ecx, eax
je 0x428199
add edi, 0xfffffff4
push edi
call esi
test eax, eax
jg 0x428199
push edi
call fcn.00457c3f
add esp, 4
xor eax, eax
jmp 0x428120
lea ecx, [esp + 0x3c]
mov dword [esp + 0x38], 0x470fd8
call fcn.0044e0e0
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0xb4]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1e8], 7
call fcn.0044bbb0
mov esi, dword [esp + 0x20]
push 0
push esi
lea ecx, [esp + 0x44]
call fcn.0044e190
test al, al
jne 0x427e0e
push esi
push str.Failed_to_load__s.
push 4
call fcn.004047f0
add esp, 0xc
jmp 0x42815b
lea ecx, [esp + 0x38]
call fcn.00409770
test eax, eax
jne 0x427e26
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x38]
call dword [edx + 4]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x427e4b
mov ecx, dword [eax + 0x14]
test ecx, ecx
jl 0x427e39
cmp ecx, 1
jle 0x427e47
push 0
push eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x40]
call dword [eax + 0x1c]
test eax, eax
jne 0x427e60
push esi
push str.Failed_to_get__s_COMPONENT.
push 4
call fcn.004047f0
add esp, 0xc
jmp 0x42815b
push str.FILES
push eax
lea ecx, [esp + 0x40]
call fcn.004089d0
test eax, eax
jne 0x427e88
push esi
push str.Failed_to_get__s_FILES.
push 4
call fcn.004047f0
add esp, 0xc
jmp 0x42815b
push str.ITEM
push eax
lea ecx, [esp + 0x40]
call fcn.004089d0
mov esi, eax
test esi, esi
jne 0x427ec0
mov ecx, dword [esp + 0x20]
push ecx
push str.Failed_to_get__s_ITEM.
push 4
call fcn.004047f0
add esp, 0xc
jmp 0x42815b
mov eax, dword [0x4800d8]
xor edx, edx
mov dword [esp + 0x1b9], edx
mov dword [esp + 0x1bd], edx
mov dword [esp + 0x1c1], edx
mov dword [esp + 0x1c5], edx
mov dword [esp + 0x1c9], edx
mov dword [esp + 0x1cd], edx
mov dword [esp + 0x1d1], edx
mov byte [esp + 0x1b8], 0
mov dword [esp + 0x1d5], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
push str.SOURCEPATH
push esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x1f0], 9
call fcn.00409620
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
push str.FILENAME
lea ecx, [esp + 0x3c]
push esi
jg 0x427fa5
call fcn.00409620
push eax
mov eax, dword [ebx]
push ebp
push eax
lea ecx, [esp + 0x20]
push str._s_s_s
push ecx
call fcn.00405ab0
mov edx, dword [esp + 0x30]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.0044b420
add esp, 0x1c
mov edi, eax
push str.FILENAME
push esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x1f0], 0xa
call fcn.00409620
mov ecx, dword [edi]
mov edx, dword [ebx + 0x80]
push eax
push ecx
push ebp
push edx
lea eax, [esp + 0x20]
push str._s_s__s__s
push eax
call fcn.00405ab0
add esp, 0x18
lea ecx, [esp + 0x30]
jmp 0x428013
call fcn.00409620
mov ecx, dword [ebx]
push eax
push edi
push ebp
push ecx
lea edx, [esp + 0x24]
push str._s_s_s_s
push edx
call fcn.00405ab0
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.0044b420
add esp, 0x20
mov dword [esp + 0x34], eax
push str.FILENAME
push esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x1f0], 0xb
call fcn.00409620
mov edx, dword [esp + 0x34]
mov ecx, dword [ebx + 0x80]
push eax
mov eax, dword [edx]
push edi
push eax
push ebp
push ecx
lea edx, [esp + 0x24]
push str._s_s__s__s__s
push edx
call fcn.00405ab0
add esp, 0x1c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1e8], 9
call fcn.004309a0
push str.CHECK
push esi
lea ecx, [esp + 0x40]
call fcn.00409620
mov ecx, dword [esp + 0x14]
mov edi, eax
push 0
lea eax, [esp + 0x1bc]
push eax
push ecx
call fcn.004655b0
add esp, 0xc
lea edx, [esp + 0x1b8]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x42809c
mov ecx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.0044ac10
mov eax, dword [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push edx
push eax
call fcn.0044ac10
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
add esp, 0x18
push 3
push edi
push ecx
push edx
mov ecx, ebx
call fcn.00427410
test eax, eax
je 0x428149
test esi, esi
mov eax, esi
jne 0x4280ad
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x38]
call dword [eax + 4]
mov esi, eax
nop
mov esi, dword [esi + 0x40]
test esi, esi
je 0x4280c3
mov eax, dword [esi + 0x14]
test eax, eax
jl 0x4280b0
cmp eax, 1
jg 0x4280b0
lea ecx, [esp + 0x28]
call fcn.004309a0
lea ecx, [esp + 0x14]
call fcn.004309a0
test esi, esi
jne 0x427ec0
lea ecx, [esp + 0x38]
mov byte [esp + 0x1e8], 5
call fcn.00409730
lea ecx, [esp + 0x24]
call fcn.004309a0
lea ecx, [esp + 0x18]
call fcn.004309a0
lea ecx, [esp + 0x20]
call fcn.004309a0
lea ecx, [esp + 0x10]
call fcn.004309a0
lea ecx, [esp + 0x1c]
call fcn.004309a0
mov eax, 1
mov ecx, dword [esp + 0x1e0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1d0]
pop ebx
xor ecx, esp
call fcn.004570de
add esp, 0x1dc
ret 4
lea ecx, [esp + 0x28]
call fcn.004309a0
lea ecx, [esp + 0x14]
call fcn.004309a0
lea ecx, [esp + 0x38]
mov byte [esp + 0x1e8], 5
call fcn.00409730
lea ecx, [esp + 0x24]
call fcn.004309a0
lea ecx, [esp + 0x18]
call fcn.004309a0
lea ecx, [esp + 0x20]
call fcn.004309a0
lea ecx, [esp + 0x10]
call fcn.004309a0
lea ecx, [esp + 0x1c]
call fcn.004309a0
xor eax, eax
jmp 0x428120