Function at 0x4872e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66d8c8
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x718924]
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
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x70]
push eax
call fcn.004883f0
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
cmp eax, esi
je 0x487370
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x487364
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x40]
push eax
call fcn.0044e920
cmp dword [ebp - 0x5c], 8
lea esi, [ebp - 0x70]
push 0xa000
cmovae esi, dword [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.004cba04
add esp, 4
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov edi, eax
cmovae ecx, dword [ebp - 0x40]
push ecx
push 0x5000
push edi
push 0x674944
push str.updatemd5
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, edi
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4873d0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.0044e920
push edi
call fcn.004cb4e9
mov edx, dword [ebp - 0x44]
add esp, 4
cmp edx, 8
jb 0x48742c
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x487422
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487a09
push edx
push ecx
call fcn.004cb4db
add esp, 8
mov eax, dword [ebp - 0x28]
lea esi, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x24]
cmovae esi, dword [ebp - 0x70]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
push 0xa000
mov dword [ebp - 0x44], eax
call fcn.004cba04
add esp, 4
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov edi, eax
cmovae ecx, dword [ebp - 0x40]
push ecx
push 0x5000
push edi
push 0x674944
push 0x6813cc
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, edi
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4874a6
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.0044e920
push edi
call fcn.004cb4e9
add esp, 4
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.00449600
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x48750d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x487503
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487a09
push edx
push ecx
call fcn.004cb4db
add esp, 8
cmp dword [ebp - 0x5c], 8
lea esi, [ebp - 0x70]
push 0xa000
cmovae esi, dword [ebp - 0x70]
call fcn.004cba04
add esp, 4
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov edi, eax
cmovae ecx, dword [ebp - 0x40]
push ecx
push 0x5000
push edi
push 0x674944
push 0x67dd5c
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, edi
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x487563
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.0044e920
push edi
call fcn.004cb4e9
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x28]
add esp, 4
push eax
call fcn.00449600
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4875ce
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4875c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487a09
push edx
push ecx
call fcn.004cb4db
add esp, 8
cmp dword [ebx + 0x10], 0
jne 0x48781d
push 0xa000
call fcn.004cba04
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x40]
add esp, 4
mov esi, eax
cmp dword [ebp - 0x2c], 8
cmovae ecx, dword [ebp - 0x40]
push ecx
push 0x5000
push esi
push 0x674944
push str.updatemd5
push 0x68142c
call edi
mov ecx, esi
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x487630
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0044e920
push esi
call fcn.004cb4e9
mov edx, dword [ebp - 0x44]
add esp, 4
cmp edx, 8
jb 0x48768c
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x487682
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487a09
push edx
push ecx
call fcn.004cb4db
add esp, 8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
push 0xa000
mov dword [ebp - 0x44], eax
call fcn.004cba04
add esp, 4
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov esi, eax
cmovae ecx, dword [ebp - 0x40]
push ecx
push 0x5000
push esi
push 0x674944
push 0x6813cc
push 0x68142c
call edi
mov ecx, esi
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
jmp 0x487700
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x487700
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0044e920
push esi
call fcn.004cb4e9
add esp, 4
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.00449600
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x487767
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48775d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487a09
push edx
push ecx
call fcn.004cb4db
add esp, 8
push 0xa000
call fcn.004cba04
add esp, 4
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov esi, eax
cmovae ecx, dword [ebp - 0x40]
push ecx
push 0x5000
push esi
push 0x674944
push 0x67dd5c
push 0x68142c
call edi
mov edx, esi
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4877b2
sub edx, ecx
lea ecx, [ebp - 0x28]
sar edx, 1
push edx
push esi
call fcn.0044e920
push esi
call fcn.004cb4e9
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x28]
add esp, 4
push eax
call fcn.00449600
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x48781d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x487813
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487a09
push edx
push ecx
call fcn.004cb4db
add esp, 8
lea eax, [ebp - 0x28]
push 0x12
push eax
call fcn.00463760
add esp, 8
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 4
jb 0x487837
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0048ede0
mov edx, dword [ebp - 0x14]
add esp, 8
cmp edx, 8
jb 0x487881
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x487877
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487a04
push edx
push ecx
call fcn.004cb4db
add esp, 8
cmp dword [ebp - 0x78], 0
je 0x4878bb
cmp dword [ebp - 0x48], 0
je 0x4878bb
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x88]
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x74], 8
push ecx
cmovae eax, dword [ebp - 0x88]
push eax
call fcn.004e70a0
add esp, 8
test eax, eax
jne 0x4878bb
xor bl, bl
jmp 0x4878c2
cmp dword [ebx + 0x10], 0
setne bl
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x4878ff
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4878f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487a09
push edx
push ecx
call fcn.004cb4db
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
cmp edx, 8
jb 0x487950
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x487946
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487a09
push edx
push ecx
call fcn.004cb4db
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x48799a
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x487990
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487a09
push edx
push ecx
call fcn.004cb4db
add esp, 8
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x4879e4
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4879da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487a09
push edx
push ecx
call fcn.004cb4db
add esp, 8
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.004cb998
mov esp, ebp
pop ebp
ret 0xc
call fcn.004e6589
call fcn.004e6589
int3