Function at 0x10001e60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10137bae
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x10196fc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x438], esi
push str.DoPopAd_Begin
call fcn.100070c0
add esp, 4
cmp dword [esi + 0x24], 0
je 0x100020b4
mov eax, dword [0x1019bc40]
test eax, eax
jne 0x10001eea
push 0x228
call fcn.10007357
add esp, 4
mov dword [ebp - 0x43c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x10001edc
mov ecx, eax
call fcn.10002f90
jmp 0x10001ede
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x1019bc40], eax
mov ecx, eax
call fcn.10005030
mov esi, eax
call fcn.10006dd0
push esi
push 0xffffffffffffffff
push str.ServicePopAd
push str.Setting
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, edi
jne 0x10001f23
push str.DoPopAd_already_pop_today
call fcn.100070c0
add esp, 4
jmp 0x100020b4
xor eax, eax
xorps xmm0, xmm0
push edi
mov word [ebp - 0x24], ax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x24]
push 0x10147c58
push eax
movdqu xmmword [ebp - 0x22], xmm0
call fcn.1011d6a3
add esp, 0xc
lea eax, [ebp - 0x24]
push esi
push eax
push str.ServicePopAd
push str.Setting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x22a]
push eax
call fcn.1011e210
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x434], ax
lea eax, [ebp - 0x432]
push eax
call fcn.1011e210
add esp, 0x18
call fcn.100027b0
mov ecx, eax
call fcn.10005010
lea edx, [ebp - 0x434]
sub edx, eax
lea esp, [esp]
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x10001fb0
lea edi, [ebp - 0x434]
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10001fd0
mov ecx, 8
mov esi, str.WnPicUtility.exe
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
movsw word es:[edi], word [esi]
lea esp, [esp]
movzx eax, word [ecx + 0x10147e00]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x22e], ax
test ax, ax
jne 0x10001ff0
lea edx, [ebp - 0x434]
mov esi, edx
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10002010
lea edi, [ebp - 0x22c]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10002026
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x22c]
add ecx, 0xfffffffe
lea esp, [esp]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x10002050
mov eax, dword [str.__PopAd_0]
mov dword [ecx], eax
mov eax, dword [0x10147e98]
mov dword [ecx + 4], eax
mov eax, dword [0x10147e9c]
mov dword [ecx + 8], eax
mov eax, dword [0x10147ea0]
mov dword [ecx + 0xc], eax
mov eax, dword [0x10147ea4]
mov dword [ecx + 0x10], eax
lea eax, [ebp - 0x22c]
push eax
push str.DoPopAd_Path__s
call fcn.100070c0
add esp, 8
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x438]
lea eax, [ebp - 0x22c]
push eax
call fcn.10002700
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011d762
mov esp, ebp
pop ebp
ret