Function at 0x424560
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4b4218
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4d0b80]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
mov eax, dword [0x4d0b80]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
xor eax, eax
xor ebx, ebx
push 0x4d5358
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x20], 0x4d5358
mov dword [esp + 0x90], ebx
cmp byte [0x4d5258], bl
je 0x4245fb
mov eax, 0x4d5258
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4245e0
sub eax, edx
push eax
push 0x4d5258
mov ecx, edi
call fcn.00426630
jmp 0x4247ce
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
xor ecx, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
cpuid
lea esi, [esp + 0xc]
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, 1
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
cmp dword [esp + 0xc], eax
jb 0x42466a
xor ecx, ecx
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
xor ecx, ecx
mov eax, closesocket
cpuid
lea esi, [esp + 0xc]
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
push 0x40
lea ecx, [esp + 0x48]
push 0
push ecx
mov dword [esi + 0xc], edx
call fcn.00450680
add esp, 0xc
cmp dword [esp + 0xc], 0x80000004
jb 0x42473d
xor ecx, ecx
mov eax, reloc.OLEAUT32.dll_SysReAllocString
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x50], edx
mov eax, reloc.WS2_32.dll_closesocket
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x60], eax
xor ecx, ecx
mov dword [esp + 0x5c], edx
mov eax, reloc.WS2_32.dll_connect
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov esi, dword [sym.imp.SHLWAPI.dll_StrTrimA]
push 0x4c6774
lea edx, [esp + 0x28]
push edx
call esi
push 0x4c6774
lea eax, [esp + 0x48]
push eax
call esi
mov ecx, str.GenuineIotel
lea eax, [esp + 0x24]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x424784
test dl, dl
je 0x424780
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x424784
add eax, 2
add ecx, 2
test dl, dl
jne 0x424764
xor eax, eax
jmp 0x424789
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4247a0
mov eax, str.GenuineIntel
mov edx, 0x20
lea ecx, [esp + 0x24]
call fcn.00427230
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x44]
push ecx
push edx
lea eax, [esp + 0x2c]
push eax
push str._s__x__s
push edi
call fcn.00426bc0
mov eax, dword [edi]
add esp, 0x14
mov edx, 0x80
mov ecx, 0x4d5258
call fcn.00427230
push 0x4d5358
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004513b1
add esp, 0x88
ret