Function at 0x401b30
Capabilities:
Create http request
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x42bcb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x438664]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x438664
mov dword [esp + 0x18], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0xc], eax
mov edx, dword [0x438664]
mov ecx, 0x438664
mov dword [esp + 0x24], 0
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x10], eax
mov eax, dword [0x438664]
mov ecx, 0x438664
mov byte [esp + 0x24], 1
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x14], eax
mov edx, dword [0x438664]
mov ecx, 0x438664
mov byte [esp + 0x24], 2
lea ebx, [esi + 0x18]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [0x438664]
mov ecx, 0x438664
mov byte [esp + 0x24], 3
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov edx, dword [0x438664]
mov ecx, 0x438664
mov byte [esp + 0x24], 4
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x20], eax
mov eax, dword [0x438664]
mov ecx, 0x438664
mov byte [esp + 0x24], 5
lea ebp, [esi + 0x24]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp], eax
mov edx, dword [0x438664]
mov ecx, 0x438664
mov byte [esp + 0x24], 6
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x28], eax
push 0
push 0
push 0
push 1
push 0
mov byte [esp + 0x38], 7
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 4], eax
mov eax, dword [0x438664]
mov ecx, 0x438664
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
mov eax, dword [edi - 4]
mov ecx, 1
mov byte [esp + 0x24], 8
sub ecx, eax
mov eax, dword [edi - 8]
sub eax, 0x104
or eax, ecx
jge 0x401c72
push 0x104
lea ecx, [esp + 0x14]
call fcn.004015a0
mov edi, dword [esp + 0x10]
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test edi, edi
jne 0x401c88
xor eax, eax
jmp 0x401c9f
mov eax, edi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401c90
sub eax, edx
js 0x401e91
cmp eax, dword [edi - 8]
jg 0x401e91
push 0x5c
mov dword [edi - 0xc], eax
push edi
mov byte [eax + edi], 0
call fcn.00420b66
add esp, 8
test eax, eax
jne 0x401cc3
or eax, 0xffffffff
jmp 0x401cc5
sub eax, edi
inc eax
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
call fcn.00401720
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 9
call fcn.00401aa0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x24], 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401d07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 0x20]
call fcn.00401aa0
push str.WN_LOAD_MB
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004019e0
add esp, 0xc
push eax
mov ecx, ebx
mov byte [esp + 0x28], 0xa
call fcn.00401aa0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x24], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401d5b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.WN_TOTAL_MB
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.004019e0
add esp, 0xc
push eax
lea ecx, [esi + 0x1c]
mov byte [esp + 0x28], 0xb
call fcn.00401aa0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x24], 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401da3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.wnTime.info
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.004019e0
add esp, 0xc
mov eax, dword [ebp]
mov ebx, dword [eax - 4]
sub eax, 0x10
mov eax, dword [eax + 8]
mov ecx, 1
sub ecx, ebx
sub eax, 0x104
or eax, ecx
mov byte [esp + 0x24], 0xc
jge 0x401de7
push 0x104
mov ecx, ebp
call fcn.004015a0
mov edi, dword [esp + 0x14]
mov eax, dword [ebp]
push edi
push 0x104
push eax
push 0x42e2dc
push str.lastver
push str.update
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp]
test ecx, ecx
jne 0x401e15
xor eax, eax
jmp 0x401e2b
mov eax, ecx
lea ebx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401e20
sub eax, ebx
js 0x401e91
cmp eax, dword [ecx - 8]
jg 0x401e91
mov dword [ecx - 0xc], eax
mov edx, dword [ebp]
mov byte [eax + edx], 0
lea eax, [edi - 0x10]
mov byte [esp + 0x24], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401e59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x24], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401e7c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
push 0x80070057
call fcn.00401100
int3