Function at 0x40d5c0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x449e4f
mov eax, dword fs:[0]
push eax
mov eax, 0x592c
call fcn.004350e0
mov eax, dword [0x460df4]
xor eax, esp
mov dword [esp + 0x5928], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x460df4]
xor eax, esp
push eax
lea eax, [esp + 0x5940]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5954]
mov edi, dword [esp + 0x5950]
mov esi, ecx
xor ebx, ebx
push 0x3ff
lea ecx, [esp + 0x141]
push ebx
push ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], eax
mov byte [esp + 0x148], bl
call fcn.00432a30
push 0x4fff
lea edx, [esp + 0x94d]
push ebx
push edx
mov byte [esp + 0x954], bl
call fcn.00432a30
add esp, 0x18
push edi
lea ebp, [esp + 0x940]
push 0x5000
mov eax, ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
test eax, eax
jne 0x40d68e
push 0x6e
call fcn.00418ab1
cmp eax, ebx
je 0x40df56
mov ecx, dword [esp + 0x30]
push 0x6e
push eax
call fcn.00401540
jmp 0x40df56
lea ecx, [esp + 0x20]
call fcn.004082c0
mov dword [esp + 0x24], eax
mov byte [eax + 0x71], 1
mov eax, dword [esp + 0x24]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x24]
mov dword [eax], eax
mov eax, dword [esp + 0x24]
mov dword [eax + 8], eax
mov dword [esp + 0x28], ebx
cmp byte [esp + 0x93c], bl
mov dword [esp + 0x5948], ebx
je 0x40db3d
jmp 0x40d6d0
mov edi, str.Version
mov esi, ebp
mov ecx, 8
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40d7d5
mov eax, dword [esp + 0x2c]
push eax
push 0x400
lea ecx, [esp + 0x144]
push ecx
push 0x44c8cf
push str.Latest
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x13c]
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40d713
mov edi, dword [esp + 0x34]
sub eax, esi
push eax
lea edx, [esp + 0x140]
lea esi, [edi + 8]
push edx
mov ecx, esi
call fcn.00402d10
mov eax, dword [esp + 0x2c]
push eax
push 0x400
lea ecx, [esp + 0x144]
push ecx
push 0x44c8cf
push str.Launch
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x13c]
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x40d762
sub eax, ecx
push eax
lea edx, [esp + 0x140]
push edx
lea ecx, [edi + 0x94]
call fcn.00402d10
cmp dword [esi + 0x18], 0x10
mov eax, dword [esi + 0x14]
lea ecx, [edi + 0x24]
jb 0x40d792
mov esi, dword [esi + 4]
jmp 0x40d795
add esi, 4
push eax
mov eax, dword [ecx + 0x14]
push esi
push eax
push ebx
call fcn.00402650
test eax, eax
jne 0x40db16
mov esi, 1
lea ecx, [esp + 0x20]
mov dword [edi + 0xb0], esi
mov dword [edi + 0xb4], esi
mov dword [esp + 0x5948], 0xffffffff
call fcn.0040d2c0
mov eax, esi
jmp 0x40df58
push 1
push 0x44d41c
push ebp
call fcn.00435014
add esp, 0xc
test eax, eax
jne 0x40db16
mov eax, 0xf
mov dword [esp + 0x10c], eax
mov dword [esp + 0x108], ebx
mov byte [esp + 0xf8], bl
mov dword [esp + 0x128], eax
mov dword [esp + 0x124], ebx
mov byte [esp + 0x114], bl
mov dword [esp + 0x130], ebx
mov dword [esp + 0x134], ebx
mov dword [esp + 0x138], ebx
mov ecx, dword [esp + 0x2c]
push ecx
push 0x400
lea edx, [esp + 0x144]
push edx
push 0x44c8cf
push 0x44d418
push ebp
mov byte [esp + 0x5960], 3
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x13c]
push 0x2d
push eax
call fcn.00434b90
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x40dcba
lea eax, [esp + 0x13c]
mov byte [esi], bl
add esi, 1
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40d887
sub eax, edx
push eax
lea ecx, [esp + 0x140]
push ecx
lea ecx, [esp + 0xfc]
call fcn.00402d10
mov eax, esi
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40d8b0
sub eax, edi
push eax
push esi
lea ecx, [esp + 0x118]
call fcn.00402d10
push 1
lea edx, [esp + 0x540]
push str.URL_d
push edx
mov dword [esp + 0x4c], 1
call fcn.00433f59
mov eax, dword [esp + 0x38]
add esp, 0xc
push eax
push 0x400
lea ecx, [esp + 0x144]
push ecx
push 0x44c8cf
lea edx, [esp + 0x54c]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x40da38
sub esp, 0x1c
mov esi, esp
lea eax, [esp + 0x158]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [esp + 0x60], esp
mov byte [esi + 4], bl
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40d936
sub eax, edi
push eax
lea eax, [esp + 0x15c]
push eax
mov ecx, esi
call fcn.00402d10
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push ebx
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x44c8cf
mov byte [esp + 0x5988], 4
mov byte [ecx + 4], bl
call fcn.00402d10
lea ecx, [esp + 0x84]
mov byte [esp + 0x5980], 3
call fcn.00408d30
push eax
lea ecx, [esp + 0x130]
mov byte [esp + 0x594c], 5
call fcn.0040b850
mov esi, 0x10
cmp dword [esp + 0x80], esi
mov byte [esp + 0x5948], 3
jb 0x40d9c7
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.00416894
add esp, 4
cmp dword [esp + 0x64], esi
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
jb 0x40d9e9
mov edx, dword [esp + 0x50]
push edx
call fcn.00416894
add esp, 4
mov eax, dword [esp + 0x40]
add eax, 1
push eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x540]
push str.URL_d
push eax
call fcn.00433f59
mov ecx, dword [esp + 0x38]
add esp, 0xc
push ecx
push 0x400
lea edx, [esp + 0x144]
push edx
push 0x44c8cf
lea eax, [esp + 0x54c]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
ja 0x40d916
push 0x44d40c
lea ecx, [esp + 0xf8]
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.00404fa0
lea ecx, [esp + 0x11c]
push ecx
push eax
lea edx, [esp + 0x98]
push edx
mov byte [esp + 0x5960], 6
call fcn.00408b90
add esp, 0x18
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x594c], 7
call fcn.0040c7b0
push 0xffffffffffffffff
mov esi, eax
push ebx
lea eax, [esp + 0xfc]
push eax
mov ecx, esi
call fcn.00402c30
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x118]
push ecx
lea ecx, [esi + 0x1c]
call fcn.00402c30
lea edx, [esp + 0x12c]
push edx
lea ecx, [esi + 0x38]
call fcn.0040ae40
mov esi, 0x10
cmp dword [esp + 0x9c], esi
jb 0x40dad7
mov eax, dword [esp + 0x88]
push eax
call fcn.00416894
add esp, 4
cmp dword [esp + 0x64], esi
mov dword [esp + 0x9c], 0xf
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
jb 0x40db03
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00416894
add esp, 4
lea ecx, [esp + 0xf4]
mov byte [esp + 0x5948], bl
call fcn.0040adc0
mov eax, ebp
lea edx, [eax + 1]
jmp 0x40db20
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40db20
sub eax, edx
cmp byte [eax + ebp + 1], bl
lea ebp, [eax + ebp + 1]
jne 0x40d6d0
mov esi, dword [esp + 0x34]
push 0xffffffffffffffff
push ebx
lea edx, [esi + 0x24]
mov edi, 0xf
push edx
lea ecx, [esp + 0xe4]
mov dword [esp + 0xfc], edi
mov dword [esp + 0xf8], ebx
mov byte [esp + 0xe8], bl
call fcn.00402c30
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
lea ecx, [esp + 0x14]
mov byte [esp + 0x5948], 0xa
call fcn.004082c0
mov dword [esp + 0x18], eax
mov byte [eax + 0x71], 1
mov eax, dword [esp + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x18]
mov dword [eax], eax
mov eax, dword [esp + 0x18]
mov dword [eax + 8], eax
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x5948], 0xb
lea ecx, [ecx]
lea eax, [esp + 0xa0]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x100]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00402c30
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x70]
push ecx
mov ecx, esi
call fcn.00409ea0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xc8]
mov byte [esp + 0x5954], 0xc
call fcn.00402c30
mov ebp, 0x10
cmp dword [esp + 0x64], ebp
mov byte [esp + 0x5948], 0xb
jb 0x40dc43
mov edx, dword [esp + 0x50]
push edx
call fcn.00416894
add esp, 4
cmp dword [esp + 0xb4], ebx
je 0x40deeb
cmp dword [esp + 0xd0], ebx
je 0x40deeb
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x24]
call fcn.0040c7b0
lea ecx, [esp + 0xbc]
push ecx
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.0040c7b0
push 0xffffffffffffffff
mov edi, eax
push ebx
push esi
mov ecx, edi
call fcn.00402c30
push 0xffffffffffffffff
push ebx
lea edx, [esi + 0x1c]
push edx
lea ecx, [edi + 0x1c]
call fcn.00402c30
add esi, 0x38
push esi
lea ecx, [edi + 0x38]
call fcn.0040ae40
mov esi, dword [esp + 0x34]
cmp dword [esi + 0x20], ebp
mov eax, dword [esi + 0x1c]
jb 0x40dce2
mov ecx, dword [esi + 0xc]
jmp 0x40dce5
push 0x6e
call fcn.00418ab1
cmp eax, ebx
je 0x40dcd1
mov ecx, dword [esp + 0x30]
push 0x6e
push eax
call fcn.00401540
lea ecx, [esp + 0xf4]
call fcn.0040adc0
jmp 0x40df42
lea ecx, [esi + 0xc]
push eax
mov eax, dword [esp + 0xb8]
push ecx
push eax
push ebx
lea ecx, [esp + 0xb0]
call fcn.00402650
test eax, eax
je 0x40dd39
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xa8]
push ecx
lea ecx, [esp + 0xe4]
call fcn.00402c30
lea ecx, [esp + 0xa0]
call fcn.00408a70
lea ecx, [esp + 0xbc]
call fcn.00408a70
mov edi, 0xf
jmp 0x40dbd0
cmp dword [esp + 0x1c], ebx
jne 0x40dd48
mov ecx, dword [esp + 0x30]
jmp 0x40df06
mov edx, dword [esp + 0x18]
mov ebp, dword [edx]
lea edi, [esp + 0x14]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], edi
lea ebx, [ebx]
cmp edi, ebx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x48], eax
je 0x40dd74
lea ecx, [esp + 0x14]
cmp edi, ecx
je 0x40dd79
call fcn.004334ac
cmp ebp, dword [esp + 0x48]
je 0x40ddb4
cmp edi, ebx
jne 0x40dd88
call fcn.004334ac
cmp ebp, dword [edi + 4]
jne 0x40dd92
call fcn.004334ac
add ebp, 0x28
push ebp
lea ecx, [esi + 0xd4]
call fcn.0040d300
lea ecx, [esp + 0x38]
call fcn.00407e30
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
jmp 0x40dd60
mov eax, dword [esi + 0xd8]
cmp eax, ebx
jne 0x40ddc2
xor eax, eax
jmp 0x40dddb
mov ecx, dword [esi + 0xdc]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x18]
mov dword [esi + 0xc4], eax
mov esi, dword [esp + 0x18]
mov ecx, dword [edx]
push esi
lea eax, [esp + 0x18]
push eax
mov edx, eax
push ecx
push edx
lea eax, [esp + 0x48]
push eax
mov ecx, edx
mov byte [esp + 0x595c], 0xa
call fcn.0040c950
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00416894
mov esi, 0x10
add esp, 4
cmp dword [esp + 0xd4], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
jb 0x40de3c
mov edx, dword [esp + 0xc0]
push edx
call fcn.00416894
add esp, 4
cmp dword [esp + 0xb8], esi
mov edi, 0xf
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
jb 0x40de6f
mov eax, dword [esp + 0xa4]
push eax
call fcn.00416894
add esp, 4
cmp dword [esp + 0xf0], esi
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
jb 0x40de9d
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.00416894
add esp, 4
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0xf8], edi
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
mov edx, dword [eax]
push edx
mov esi, ecx
push esi
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x595c], 0xffffffff
call fcn.0040c950
mov eax, dword [esp + 0x24]
push eax
call fcn.00416894
add esp, 4
mov eax, 1
jmp 0x40df58
cmp dword [esi + 0x20], ebp
jb 0x40def5
mov esi, dword [esi + 0xc]
jmp 0x40def8
add esi, 0xc
push esi
mov esi, dword [esp + 0x34]
mov ecx, esi
call fcn.00401770
mov ecx, esi
push 0x6f
call fcn.004016c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x5948], 0xa
call fcn.0040d2c0
lea ecx, [esp + 0xbc]
call fcn.00402a30
lea ecx, [esp + 0xa0]
call fcn.00402a30
lea ecx, [esp + 0xd8]
call fcn.00402a30
lea ecx, [esp + 0x20]
mov dword [esp + 0x5948], 0xffffffff
call fcn.0040d2c0
xor eax, eax
mov ecx, dword [esp + 0x5940]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5928]
xor ecx, esp
call fcn.00432a13
add esp, 0x5938
ret 8