Function at 0x4148e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b13b
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x436650]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
sub edx, dword [eax + 4]
xor ebx, ebx
sar edx, 2
xor ecx, ecx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x58], ecx
cmp edx, ebx
jle 0x414dd5
jmp 0x414937
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x64]
mov edx, dword [eax + 0x18]
sub edx, dword [eax + 0x14]
sar edx, 2
cmp ecx, edx
jae 0x41494f
mov edx, dword [eax + 0x14]
mov edx, dword [edx + ecx*4]
mov dword [ebp - 0x5c], edx
jmp 0x414952
mov dword [ebp - 0x5c], ebx
mov edx, dword [eax + 0x28]
sub edx, dword [eax + 0x24]
sar edx, 2
cmp ecx, edx
jae 0x41496a
mov edx, dword [eax + 0x24]
mov edx, dword [edx + ecx*4]
mov dword [ebp - 0x60], edx
jmp 0x41496d
mov dword [ebp - 0x60], ebx
mov eax, dword [eax + 4]
mov ecx, dword [eax + ecx*4]
lea edx, [ebp - 0xd0]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
test edx, edx
je 0x4149fb
push str.GetNativeSystemInfo
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4149ee
lea ecx, [ebp - 0xd0]
push ecx
call eax
jmp 0x4149fb
lea edx, [ebp - 0xd0]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [ebp - 0xd0]
cmp ax, 9
je 0x414a18
mov dword [ebp - 0xa4], 0x4318f4
cmp ax, 6
jne 0x414a22
mov dword [ebp - 0xa4], 0x4318f0
lea esi, [ebp - 0xac]
call fcn.00407400
push 0x10
mov dword [ebp - 4], ebx
call fcn.00416497
add esp, 4
cmp eax, ebx
je 0x414a52
mov dword [eax + 0xc], 1
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax], ebx
mov dword [ebp - 0x50], eax
jmp 0x414a55
mov dword [ebp - 0x50], ebx
push 0x66
call fcn.0041576e
add esp, 4
push ebx
mov esi, eax
push 0x42efdb
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.00403140
push 0x66
push ebx
push esi
mov byte [ebp - 4], 1
call fcn.0041cf90
add esp, 0xc
lea ecx, [ebp - 0xac]
call fcn.00407910
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x414aa0
mov edx, dword [ebp - 0x54]
sub eax, ecx
mov esi, ecx
lea edi, [edx - 1]
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x414ab1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [edx - 1]
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x414ad0
mov ax, word [0x4312f0]
mov word [edi], ax
mov eax, dword [ebp - 0x6c]
mov esi, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x414ae6
sub eax, esi
lea edi, [edx - 1]
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x414af2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp edx, ebx
je 0x414b6a
mov eax, dword [ebp - 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x414b12
sub eax, edx
lea esi, [eax + 1]
cmp esi, 1
je 0x414b6a
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx]
cmp eax, ebx
je 0x414b3c
push eax
call fcn.00416430
mov edi, dword [ebp - 0x50]
add esp, 4
mov dword [edi], ebx
jmp 0x414b3f
mov edi, dword [ebp - 0x50]
lea edx, [esi + 1]
push edx
call fcn.0041576e
add esp, 4
push esi
push ebx
push eax
mov dword [edi], eax
call fcn.0041cf90
mov ecx, dword [ebp - 0x54]
mov edx, dword [edi]
add esp, 0xc
lea ecx, [ecx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x414b60
cmp dword [ebp - 0x5c], ebx
je 0x414b7c
mov ebx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x50]
call fcn.00407c60
xor ebx, ebx
mov esi, dword [ebp - 0x60]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x414b84
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.00403140
cmp esi, ebx
jne 0x414c2a
lea eax, [ebp - 0x4c]
push eax
call fcn.004150d0
mov esi, eax
lea ecx, [ebp - 0x30]
mov edi, 0x10
cmp ecx, esi
je 0x414c06
cmp dword [ebp - 0x1c], edi
jb 0x414bc7
mov edx, dword [ebp - 0x30]
push edx
call fcn.0041643b
add esp, 4
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [esi + 0x14], edi
jae 0x414bed
mov eax, dword [esi + 0x10]
inc eax
push eax
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.00416690
add esp, 0xc
jmp 0x414bf4
mov ecx, dword [esi]
mov dword [ebp - 0x30], ecx
mov dword [esi], ebx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x20], edx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x1c], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x38], edi
jb 0x414c1b
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.0041643b
add esp, 4
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
jmp 0x414c2f
mov edi, 0x10
mov esi, dword [ebp - 0x54]
push 0x66
push ebx
push esi
call fcn.0041cf90
add esp, 0xc
lea eax, [esi - 1]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x414c41
mov edx, dword [str._Newdd_ddd]
mov dword [eax], edx
mov ecx, dword [0x431fa4]
mov dword [eax + 4], ecx
mov dx, word [0x431fa8]
mov word [eax + 8], dx
mov cl, byte [0x431faa]
mov byte [eax + 0xa], cl
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], edi
jae 0x414c79
lea eax, [ebp - 0x30]
mov esi, eax
jmp 0x414c80
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x414c80
mov edx, dword [ebp - 0x54]
sub eax, esi
lea edi, [edx - 1]
nop
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x414c90
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [edx - 1]
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x414cb0
mov ecx, dword [str._e3df_TEE]
mov dword [eax], ecx
mov ecx, dword [0x431fb0]
mov dword [eax + 4], ecx
mov cx, word [0x431fb4]
mov word [eax + 8], cx
cmp edx, ebx
je 0x414d3a
mov eax, dword [ebp - 0x54]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x414ce0
sub eax, edx
lea esi, [eax + 1]
cmp esi, 1
je 0x414d3a
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 8]
cmp eax, ebx
je 0x414d0c
push eax
call fcn.00416430
mov edi, dword [ebp - 0x50]
add esp, 4
mov dword [edi + 8], ebx
jmp 0x414d0f
mov edi, dword [ebp - 0x50]
lea eax, [esi + 1]
push eax
call fcn.0041576e
add esp, 4
push esi
push ebx
push eax
mov dword [edi + 8], eax
call fcn.0041cf90
mov ecx, dword [ebp - 0x54]
mov edx, dword [edi + 8]
add esp, 0xc
nop
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x414d30
mov esi, dword [ebp - 0x50]
mov eax, esi
call fcn.00407fd0
cmp esi, ebx
je 0x414d88
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x414d5b
push eax
call fcn.00416430
add esp, 4
mov dword [esi + 4], ebx
mov eax, dword [esi]
cmp eax, ebx
je 0x414d6c
push eax
call fcn.00416430
add esp, 4
mov dword [esi], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x414d7f
push eax
call fcn.00416430
add esp, 4
mov dword [esi + 8], ebx
push esi
call fcn.0041643b
add esp, 4
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.00416430
add esp, 4
cmp dword [ebp - 0x1c], 0x10
jb 0x414da6
mov edx, dword [ebp - 0x30]
push edx
call fcn.0041643b
add esp, 4
lea esi, [ebp - 0xac]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov dword [ebp - 4], 0xffffffff
call fcn.00407ae0
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp eax, dword [ebp - 0x68]
jl 0x414931
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041637f
mov esp, ebp
pop ebp
ret 4