Function at 0x404d20
Capabilities:
Access peb ldr_data
Get number of processors
Initialize winhttp library
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov edi, ecx
test edi, edi
jne 0x404d4d
mov cl, 1
call fcn.00404bc0
test al, al
je 0x404fea
xor ecx, ecx
mov edx, 0x4334b4
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x404fea
mov esi, dword [0x4334ac]
test esi, esi
jne 0x404ebb
push esi
push 1
push 0x433918
call dword [sym.imp.ntdll.dll_RtlRunOnceBeginInitialize]
test eax, eax
jns 0x404e06
push esi
push esi
push 0x433918
call dword [sym.imp.ntdll.dll_RtlRunOnceBeginInitialize]
cmp eax, 0x103
jne 0x404e06
push esi
xor edx, edx
mov ecx, str.UserAgent
call fcn.00402900
mov dword [0x4334fc], eax
test eax, eax
je 0x404dc5
cmp dword [eax], esi
je 0x404dc5
mov eax, dword [eax + 4]
test eax, eax
je 0x404dc5
nop
cmp word [eax], si
jne 0x404df2
push 0x42d4a4
push str.https:__github.com_henrypp_freeshooter
push 0x42d4a8
push 0x42cffc
push 0x42d4b0
push 0x42ce20
push 6
call fcn.00408110
add esp, 0x1c
mov dword [0x4334fc], eax
push 0
push 0
push 0x433918
call dword [sym.imp.ntdll.dll_RtlRunOnceComplete]
mov eax, dword [0x4334fc]
test eax, eax
je 0x404e22
cmp dword [eax], 0
je 0x404e22
mov eax, dword [eax + 4]
test eax, eax
je 0x404e22
cmp word ds:[eax], 0
jne 0x404e24
xor eax, eax
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov esi, eax
test esi, esi
je 0x404ead
push 4
lea eax, [esp + 0x74]
mov dword [esp + 0x74], 0x2800
push eax
push 0x54
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
push 4
lea eax, [esp + 0x70]
mov dword [esp + 0x70], 1
push eax
push 0x58
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
push 4
lea eax, [esp + 0x7c]
mov dword [esp + 0x7c], 3
push eax
push 0x76
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
call fcn.0040ac00
cmp eax, 0xa00
jb 0x404ead
push 4
lea eax, [esp + 0x78]
mov dword [esp + 0x78], 1
push eax
push 0x85
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov dword [0x4334ac], esi
test esi, esi
je 0x404fea
mov eax, dword [esp + 0x6c]
mov edx, 0x43349c
and eax, 0xfffffabe
or eax, 0xabe
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x6c]
push ecx
push eax
lea eax, [esp + 0x78]
mov ecx, 0x403fa0
push eax
call fcn.0040b480
test eax, eax
js 0x404fea
lock inc dword [0x4334b4]
mov dword [0x4334a4], edi
mov dword [0x4334a0], 0
mov dword [0x4334a8], 0
mov dword [0x4334b0], 0
mov byte [0x4334b8], 0
test edi, edi
je 0x404fc3
mov eax, dword ds:[esp + 0x70]
push 0x60
mov dword [0x4334a8], eax
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00415be0
mov eax, dword fs:[0x18]
add esp, 0xc
mov dword [esp + 8], 0x60
mov dword [esp + 0x14], 0x1010208
mov dword [esp + 0xc], edi
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x74]
push eax
push 0
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x24], 8
push eax
mov dword [esp + 0x6c], 0x405000
mov dword [esp + 0x70], 0x43349c
mov dword [esp + 0x30], 0x64
mov dword [esp + 0x2c], 0x42ce20
mov dword [esp + 0x38], str.Checking_for_new_releases...
call dword [sym.imp.COMCTL32.dll_Ordinal_345]
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00414c55
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x70]
push 0
push esi
call dword [sym.imp.ntdll.dll_NtResumeThread]
push esi
call dword [sym.imp.ntdll.dll_NtClose]
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00414c55
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x7c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.00414c55
mov esp, ebp
pop ebp
ret