Function at 0x421ebc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0x28
call fcn.0043e388
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
call fcn.004221c3
mov dword [0x46f991], eax
push dword [0x46f991]
call fcn.00422bd2
mov dword [0x46f995], eax
mov dword [ebp - 0xc], esp
mov eax, dword [ebp - 4]
push eax
push 0x24
call fcn.0043e388
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x421fad
push 0xea
push 0x402326c
push 6
call fcn.0043e37c
add esp, 0xc
mov ebx, dword [ebp - 0x10]
push ebx
mov edi, dword [ebp - 0x14]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
call fcn.0043e38e
add esp, 4
mov ebx, dword [ebp - 4]
add ebx, 0x14
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
fild dword [ebx]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fadd qword [0x46e6fa]
fstp qword [ebp - 0x1c]
mov dword [ebp - 0x24], 1
fld qword [ebp - 0x1c]
call fcn.00401272
cmp eax, 0
jge 0x42206a
push 0x120
push 0x402326c
push 0xa
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x20], eax
lea ebx, [ebp - 0x24]
call fcn.00402754
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.0043e388
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x20]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [0x46f999]
call fcn.00402754
pop edx
test edx, edx
je 0x4220b2
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [0x46f999]
call fcn.0043e38e
add esp, 4
pop eax
mov dword [0x46f999], eax
mov ebx, dword [0x46f999]
call fcn.004038c4
xor ecx, ecx
push eax
lea eax, [ebp - 8]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x422180
mov ebx, dword [0x46f999]
call fcn.00402754
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x422112
push 0x1d2
push 0x402326c
push 4
call fcn.0043e37c
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x42212f
push 0x1d2
push 0x402326c
push 1
call fcn.0043e37c
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0xc], ebx
push reloc.WS2_32.dll_getsockname
push 0
push 0x424b48
push 1
mov ebx, 0x9dc
call fcn.004405b0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
push dword [0x46f991]
push dword [ebp - 0x10]
call fcn.00422cde
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x4220da
add esp, 0xc
push 0
mov ebx, 4
mov eax, 0x445190
call fcn.0043ed20
add esp, 4
mov dword [0x46f99d], eax
call fcn.00422d33
mov dword [0x46f9a1], eax
call fcn.00422d33
mov dword [0x46f9a5], eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.0043e38e
add esp, 4
mov esp, ebp
pop ebp
ret