Function at 0x40edd0
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x435495
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x600
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0xa8]
push edi
test eax, eax
mov dword [esp + 0x58], ebx
jne 0x40ee04
mov eax, 0x4375d0
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea eax, [esp + 0x110]
push 0x104
push eax
push 0x4467b0
push str.version
push 0x44242c
call esi
lea edi, [esp + 0x10c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x64]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x110]
push ecx
mov ecx, edx
call fcn.00402160
mov eax, dword [ebx + 0xa8]
test eax, eax
jne 0x40ee5c
mov eax, 0x4375d0
push eax
lea edx, [esp + 0x110]
push 0x104
push edx
push 0x4467b0
push 0x442420
push 0x44242c
call esi
lea edi, [esp + 0x10c]
or ecx, 0xffffffff
xor eax, eax
lea ebp, [ebx + 0x44]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x10c]
push ecx
push eax
mov ecx, ebp
call fcn.00402160
xor edi, edi
lea ecx, [esp + 0x6c]
push edi
mov dword [esp + 0x28], edi
call fcn.00402e60
lea ecx, [esp + 0x6c]
mov dword [esp + 0x618], edi
call fcn.00403cc0
mov cl, byte [esp + 0x13]
push edi
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.00401d50
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.00402160
mov edi, str.update_
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x618], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.update_
lea ecx, [esp + 0x1c]
call fcn.004020a0
mov edx, dword [0x4375d4]
lea eax, [ebx + 0x14]
push edx
push 0
push eax
lea ecx, [esp + 0x20]
call fcn.00401fc0
mov edi, str..dat
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str..dat
lea ecx, [esp + 0x1c]
call fcn.004020a0
mov esi, dword [esp + 0x620]
test esi, esi
jne 0x40ef5f
mov esi, dword [ebp + 4]
xor edi, edi
cmp esi, edi
jne 0x40ef61
mov esi, 0x4375d0
jmp 0x40ef61
xor edi, edi
mov ecx, dword [ebx + 0xd0]
push 0x442544
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x40ef8d
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x61c], 0
call fcn.00401d50
jmp 0x40f88f
mov eax, dword [esp + 0x18]
cmp eax, edi
jne 0x40ef9a
mov eax, 0x4375d0
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
push eax
mov eax, dword [ebx + 4]
push esi
push ecx
push edx
push eax
call fcn.0040e600
mov ecx, dword [ebx + 0xd0]
add esp, 0x14
test eax, eax
jne 0x40f83d
mov edx, dword [ecx]
push 0x442530
call dword [edx + 0x10]
test eax, eax
je 0x40ef75
mov ecx, dword [ebx + 0xd0]
push 0x44251c
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
je 0x40ef75
mov eax, dword [esp + 0x18]
cmp eax, edi
jne 0x40efed
mov eax, 0x4375d0
push edi
push eax
lea ecx, [esp + 0x74]
call fcn.00403300
test eax, eax
je 0x40f732
push 0
push 0
lea ecx, [esp + 0x74]
call fcn.00403c10
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x2c], cl
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.00401d50
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x30]
call fcn.00402160
lea ecx, [esp + 0x6c]
mov byte [esp + 0x618], 2
call fcn.00403ca0
push 0
lea ecx, [esp + 0x70]
call fcn.004035f0
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x40f062
mov eax, 0x4375d0
xor edi, edi
lea ebp, [ebx + 0x24]
push edi
push eax
mov ecx, ebp
call fcn.00405ec0
test al, al
je 0x40f6a7
mov ecx, dword [ebp]
cmp ecx, edi
je 0x40f662
mov eax, dword [ebx + 0x18]
mov edx, 0x4375d0
cmp eax, edi
je 0x40f091
mov edx, eax
mov eax, dword [ecx + 0x14]
cmp eax, edi
jne 0x40f09d
mov eax, 0x4375d0
push edx
push eax
call fcn.00421530
add esp, 8
test eax, eax
jne 0x40f662
mov ecx, dword [ebp]
lea edx, [esp + 0x5c]
push str.version
push edx
call fcn.00408720
mov ecx, dword [0x4375d4]
lea esi, [ebx + 0x74]
push ecx
push edi
push eax
mov ecx, esi
mov byte [esp + 0x624], 3
call fcn.00401b50
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0x61c], 2
call fcn.00401d50
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
cmp eax, edi
jne 0x40f0fe
mov eax, 0x4375d0
mov edx, dword [ebx + 0x6c]
push ecx
lea ecx, [ebx + 0x64]
push eax
push edx
push edi
call fcn.00402db0
cmp eax, edi
je 0x40f12a
mov esi, dword [esi + 4]
cmp esi, edi
jne 0x40f11d
mov esi, 0x4375d0
mov ecx, dword [ebx + 0xd0]
push esi
mov eax, dword [ecx]
call dword [eax]
jmp 0x40f135
mov ecx, dword [ebx + 0xd0]
push edi
mov edx, dword [ecx]
call dword [edx]
test eax, eax
jne 0x40f151
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x61c], 1
call fcn.00401d50
jmp 0x40ef75
mov ecx, dword [ebp]
lea eax, [esp + 0x5c]
push str.autorunid
push eax
call fcn.00408720
mov ecx, dword [0x4375d4]
mov byte [esp + 0x618], 4
push ecx
push 0
push eax
lea ecx, [ebx + 0x84]
call fcn.00401b50
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0x61c], 2
call fcn.00401d50
mov ecx, dword [ebp]
lea edx, [esp + 0xbc]
push str.downloaddirectory
push edx
call fcn.00408720
lea ecx, [esp + 0x6c]
mov byte [esp + 0x618], 5
call fcn.00403cc0
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [ebx + 0x94]
push ecx
push edx
mov ecx, esi
call fcn.00402160
mov edx, dword [esp + 0xc4]
test edx, edx
je 0x40f252
mov edi, 0x4420e0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4420e0
push edx
push eax
lea ecx, [esp + 0xcc]
call fcn.00402db0
test eax, eax
je 0x40f252
mov edi, 0x4420e0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4420e0
mov ecx, esi
call fcn.004020a0
mov eax, dword [0x4375d4]
lea ecx, [esp + 0xbc]
push eax
push 0
push ecx
mov ecx, esi
call fcn.00401fc0
mov esi, dword [esi + 4]
test esi, esi
jne 0x40f247
mov esi, 0x4375d0
push 0
push esi
call fcn.0040f8f0
add esp, 8
mov eax, dword [ebp]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [ecx]
cmp ecx, edx
mov dword [esp + 0x24], ecx
je 0x40f5fd
mov esi, dword [ecx + 8]
cmp dword [esi + 4], 5
jne 0x40f5e8
test esi, esi
je 0x40f5e8
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3c], dl
call fcn.00401d50
lea eax, [esp + 0x9c]
push str.sha1
push eax
mov ecx, esi
mov byte [esp + 0x620], 6
call fcn.00408720
lea ecx, [esp + 0xac]
push str.info
push ecx
mov ecx, esi
mov byte [esp + 0x620], 7
call fcn.00408720
lea edx, [esp + 0x48]
push 0x442420
push edx
mov ecx, esi
mov byte [esp + 0x620], 8
call fcn.00408720
lea eax, [esp + 0xcc]
push str.encoding
push eax
mov ecx, esi
mov byte [esp + 0x620], 9
call fcn.00408720
lea ecx, [esp + 0x5c]
push str.size
push ecx
mov ecx, esi
mov byte [esp + 0x620], 0xa
call fcn.00408720
lea edx, [esp + 0xdc]
push 0x4424d4
push edx
mov ecx, esi
mov byte [esp + 0x620], 0xb
call fcn.00408720
mov eax, dword [esp + 0x60]
mov byte [esp + 0x618], 0xc
test eax, eax
jne 0x40f348
mov eax, 0x4375d0
push eax
call fcn.0041a2cb
mov ebp, eax
mov edi, str.gzip
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0xd4]
not ecx
dec ecx
push ecx
push str.gzip
push eax
push 0
lea ecx, [esp + 0xdc]
call fcn.00402db0
test eax, eax
mov eax, dword [0x4375d4]
push 1
sete cl
and ecx, 0xff
lea edx, [esp + 0x17]
mov esi, ecx
push eax
push edx
lea ecx, [esp + 0x54]
mov byte [esp + 0x1f], 0x2f
call fcn.0040d180
test eax, eax
jl 0x40f3f8
mov ecx, dword [0x4375d4]
inc eax
push ecx
lea edx, [esp + 0xf0]
push eax
push edx
lea ecx, [esp + 0x54]
call fcn.00405380
mov ecx, dword [0x4375d4]
xor edi, edi
push ecx
push edi
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x624], 0xd
call fcn.00401b50
push 1
lea ecx, [esp + 0xf0]
mov byte [esp + 0x61c], 0xc
call fcn.00401d50
jmp 0x40f3fa
xor edi, edi
cmp esi, edi
je 0x40f45c
mov eax, dword [0x4375d4]
push 1
lea edx, [esp + 0x17]
push eax
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0x1f], 0x2e
call fcn.0040d180
push eax
lea eax, [esp + 0x100]
push edi
push eax
lea ecx, [esp + 0x44]
call fcn.00405380
mov ecx, dword [0x4375d4]
mov byte [esp + 0x618], 0xe
push ecx
push edi
push eax
lea ecx, [esp + 0x44]
call fcn.00401b50
push 1
lea ecx, [esp + 0x100]
mov byte [esp + 0x61c], 0xc
call fcn.00401d50
cmp ebp, edi
jle 0x40f4c1
cmp dword [esp + 0xa4], edi
je 0x40f4c1
cmp dword [esp + 0x40], edi
je 0x40f4c1
mov eax, dword [esp + 0xb0]
cmp eax, edi
mov edi, 0x4375d0
je 0x40f481
mov edi, eax
mov esi, dword [esp + 0x3c]
test esi, esi
jne 0x40f48e
mov esi, 0x4375d0
mov edx, dword [esp + 0x4c]
test edx, edx
jne 0x40f49b
mov edx, 0x4375d0
mov eax, dword [esp + 0xe0]
test eax, eax
jne 0x40f4ab
mov eax, 0x4375d0
mov ecx, dword [ebx + 0xd0]
push edi
push ebp
push esi
mov ebx, dword [ecx]
push edx
push eax
call dword [ebx + 8]
mov ebx, dword [esp + 0x58]
xor edi, edi
push 1
lea ecx, [esp + 0xe0]
mov byte [esp + 0x61c], 0xb
call fcn.00401d50
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0x61c], 0xa
call fcn.00401d50
push 1
lea ecx, [esp + 0xd0]
mov byte [esp + 0x61c], 9
call fcn.00401d50
mov eax, dword [esp + 0x4c]
cmp eax, edi
je 0x40f525
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40f51c
cmp al, 0xff
je 0x40f51c
dec al
mov byte [ecx], al
jmp 0x40f525
push ecx
call fcn.0042912a
add esp, 4
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x4c], edi
cmp eax, edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
je 0x40f559
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40f550
cmp al, 0xff
je 0x40f550
dec al
mov byte [ecx], al
jmp 0x40f559
push ecx
call fcn.0042912a
add esp, 4
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xb0], edi
cmp eax, edi
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], edi
je 0x40f596
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40f58d
cmp al, 0xff
je 0x40f58d
dec al
mov byte [ecx], al
jmp 0x40f596
push ecx
call fcn.0042912a
add esp, 4
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xa0], edi
cmp eax, edi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], edi
mov byte [esp + 0x618], 5
je 0x40f5d8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40f5cf
cmp al, 0xff
je 0x40f5cf
dec al
mov byte [ecx], al
jmp 0x40f5d8
push ecx
call fcn.0042912a
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov eax, dword [ebx + 0x24]
mov ecx, dword [ecx]
add eax, 0x40
mov dword [esp + 0x24], ecx
cmp ecx, dword [eax + 4]
jne 0x40f269
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x40f61a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40f657
cmp al, 0xff
je 0x40f657
dec al
mov byte [ecx], al
mov eax, dword [esp + 0x2c]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x24], 1
mov byte [esp + 0x618], 1
je 0x40f6df
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40f6d6
cmp al, 0xff
je 0x40f6d6
dec al
mov byte [ecx], al
jmp 0x40f6df
push ecx
call fcn.0042912a
add esp, 4
jmp 0x40f61a
mov ecx, dword [ebx + 0xd0]
push edi
mov edx, dword [ecx]
call dword [edx]
test eax, eax
jne 0x40f61a
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x40f696
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40f68d
cmp al, 0xff
je 0x40f68d
dec al
mov byte [ecx], al
jmp 0x40f696
push ecx
call fcn.0042912a
add esp, 4
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
jmp 0x40f85e
mov ecx, dword [ebx + 0xd0]
push edi
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jne 0x40f61a
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x40f696
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40f68d
cmp al, 0xff
je 0x40f68d
dec al
mov byte [ecx], al
jmp 0x40f696
push ecx
call fcn.0042912a
add esp, 4
cmp dword [ebx + 0x7c], esi
jne 0x40f75f
mov ecx, dword [ebx + 0xd0]
push 0x4424b8
mov edx, dword [ecx]
call dword [edx + 0x10]
test eax, eax
jne 0x40f72e
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x40f71d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40f714
cmp al, 0xff
je 0x40f714
dec al
mov byte [ecx], al
jmp 0x40f71d
push ecx
call fcn.0042912a
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
jmp 0x40f88f
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x18]
xor esi, esi
cmp eax, esi
je 0x40f8b0
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40f8a7
cmp al, 0xff
je 0x40f8a7
dec al
mov byte [ecx], al
jmp 0x40f8b0
mov eax, dword [ebx + 0x78]
mov ebp, dword [ebx + 0x7c]
cmp eax, esi
jne 0x40f76e
mov eax, 0x4375d0
mov edx, dword [ebx + 0x6c]
cmp edx, ebp
mov ecx, edx
jb 0x40f779
mov ecx, ebp
mov esi, dword [ebx + 0x68]
mov edi, eax
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x40f789
sbb eax, eax
sbb eax, 0xffffffff
xor esi, esi
cmp eax, esi
jne 0x40f79e
cmp edx, ebp
jb 0x40f79e
xor eax, eax
cmp edx, ebp
setne al
cmp eax, esi
je 0x40f7f2
mov eax, dword [ebx + 0x78]
mov ecx, 0x4375d0
cmp eax, esi
je 0x40f7ac
mov ecx, eax
mov eax, dword [ebx + 0x18]
cmp eax, esi
jne 0x40f7b8
mov eax, 0x4375d0
push ecx
push eax
lea eax, [esp + 0x218]
push 0x4424a0
push eax
call fcn.00419aee
mov ecx, dword [ebx + 0xd0]
add esp, 0x10
lea eax, [esp + 0x210]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
test eax, eax
jne 0x40f732
mov eax, dword [esp + 0x18]
xor esi, esi
jmp 0x40f80a
mov ecx, dword [ebx + 0xd0]
push 0x442488
mov edx, dword [ecx]
call dword [edx + 0x10]
test eax, eax
jne 0x40f831
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x40f71d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40f714
cmp al, 0xff
je 0x40f714
dec al
mov byte [ecx], al
jmp 0x40f71d
mov dword [ebx + 0x10], 1
jmp 0x40f732
mov eax, dword [ecx]
push 0x442474
call dword [eax + 0x10]
test eax, eax
je 0x40f85e
mov ecx, dword [ebx + 0xd0]
push edi
mov edx, dword [ecx]
call dword [edx]
test eax, eax
jne 0x40f732
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x40f883
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40f87a
cmp al, 0xff
je 0x40f87a
dec al
mov byte [ecx], al
jmp 0x40f883
push ecx
call fcn.0042912a
add esp, 4
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x6c]
mov dword [esp + 0x618], 0xffffffff
call fcn.00403070
xor eax, eax
jmp 0x40f8d4
push ecx
call fcn.0042912a
add esp, 4
lea ecx, [esp + 0x6c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x618], 0xffffffff
call fcn.00403070
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x610]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60c
ret 4