Function at 0x41c03d
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x4b8f40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor ecx, ecx
mov word [eax], cx
mov ebx, edx
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x140], edi
or dword [edi], 0xffffffff
mov dword [edi + 8], edx
mov dword [edi + 4], edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x134], edx
cmp dword [0x4bb748], ecx
jne 0x41c9be
test byte [0x4bf9a4], 0x20
je 0x41c0c1
push edx
push edx
push edx
push str..tmp
push edi
push dword [ebp + 0xc]
push eax
call fcn.0041ca0f
jmp 0x41c9fc
xor edi, edi
push edi
push 0x14
call fcn.0042036b
pop ecx
pop ecx
test eax, eax
je 0x41c0da
mov ecx, eax
call fcn.0041963b
mov ebx, eax
test ebx, ebx
je 0x41c9be
push edi
push 0x14
push 0x14
push ebx
call fcn.0044b300
test eax, eax
je 0x41c9be
lea eax, [ebp - 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [ebp - 0x194]
mov edx, dword [0x4bf994]
mov dword [ebp - 0x128], edx
cmp esi, dword [ebp - 0x190]
jae 0x41c1df
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x178]
push 0x1c
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x178]
push eax
push esi
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
mov dword [ebp - 0x118], eax
cmp eax, 0x1c
je 0x41c15e
mov esi, dword [ebp - 0x190]
lea edi, [ebp - 0x178]
push 7
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
jmp 0x41c1b6
cmp dword [ebp - 0x168], 0x1000
jne 0x41c1b6
cmp dword [ebp - 0x164], 4
je 0x41c17c
cmp dword [ebp - 0x164], 0x40
jne 0x41c1b6
cmp dword [ebp - 0x160], 0x20000
jne 0x41c1b6
mov ecx, dword [ebp - 0x16c]
cmp ecx, 0xffffffff
jae 0x41c1bc
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x178]
cdq
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push ebx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ecx
call fcn.0044b692
mov ecx, dword [ebp - 0x16c]
cmp dword [ebp - 0x198], ecx
mov edx, dword [ebp - 0x128]
cmova ecx, dword [ebp - 0x198]
add esi, ecx
cmp esi, dword [ebp - 0x190]
jb 0x41c120
xor edi, edi
push edi
lea eax, [ebp - 0x13c]
push eax
push edi
push 4
push dword [0x4c9ac8]
call sub.dbghelp.dll_MiniDumpReadDumpStream
mov esi, dword [ebp - 0x13c]
mov dword [ebp - 0x130], esi
test esi, esi
je 0x41c9be
mov eax, edi
mov dword [ebp - 0x110], eax
cmp dword [esi], edi
jbe 0x41c3fd
mov ecx, edi
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x120], edi
cmp dword [ebx], edi
jle 0x41c3e5
mov edx, edi
mov dword [ebp - 0x124], edx
add edx, dword [ebx + 0xc]
mov edi, dword [ecx + esi + 4]
mov dword [ebp - 0x138], edx
mov eax, dword [edx + 4]
mov dword [ebp - 0x12c], eax
cmp eax, dword [ecx + esi + 8]
ja 0x41c287
jb 0x41c259
cmp dword [edx], edi
ja 0x41c287
mov esi, dword [ebp - 0x138]
xor eax, eax
mov edx, dword [edx + 8]
add edx, dword [esi]
adc eax, dword [esi + 4]
mov esi, dword [ebp - 0x130]
cmp dword [ecx + esi + 8], eax
jb 0x41c2c3
ja 0x41c27b
cmp edi, edx
jb 0x41c2c3
mov edx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x12c]
cmp dword [ecx + esi + 8], eax
ja 0x41c39d
jb 0x41c29b
cmp edi, dword [edx]
ja 0x41c39d
mov edx, dword [ecx + esi + 0xc]
xor eax, eax
add edx, edi
adc eax, dword [ecx + esi + 8]
cmp dword [ebp - 0x12c], eax
ja 0x41c39d
jb 0x41c2c3
mov eax, dword [ebp - 0x138]
cmp dword [eax], edx
jae 0x41c39d
mov esi, dword [ebp - 0x138]
lea edi, [ebp - 0x154]
push 1
push dword [ebp - 0x120]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0044b363
mov esi, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x114]
mov edx, dword [ebp - 0x150]
cmp edx, dword [ecx + esi + 8]
ja 0x41c346
jb 0x41c307
mov edi, dword [ebp - 0x154]
cmp edi, dword [ecx + esi + 4]
jae 0x41c34c
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x154]
mov edi, dword [ebp - 0x154]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
mov eax, dword [ecx + esi + 4]
sub eax, edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.0044b692
cmp eax, 0xffffffff
je 0x41c9be
mov ecx, dword [ebp - 0x114]
jmp 0x41c34c
mov edi, dword [ebp - 0x154]
mov eax, dword [ebp - 0x14c]
mov edx, dword [ecx + esi + 0xc]
add eax, edi
add edx, dword [ecx + esi + 4]
mov dword [ebp - 0x12c], eax
cmp eax, edx
jbe 0x41c3bd
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x12c]
xor edi, edi
sub eax, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push ebx
mov dword [ebp - 0x10], edi
call fcn.0044b692
cmp eax, 0xffffffff
je 0x41c9be
mov ecx, dword [ebp - 0x114]
jmp 0x41c3bf
mov eax, dword [ebp - 0x120]
mov edx, dword [ebp - 0x124]
inc eax
add edx, 0x10
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x124], edx
xor edi, edi
jmp 0x41c3cb
xor edi, edi
mov edx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x120]
cmp eax, dword [ebx]
jl 0x41c237
mov esi, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x130], esi
inc eax
add ecx, 0x6c
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x114], ecx
cmp eax, dword [esi]
jb 0x41c221
mov dword [ebp - 0x12c], edi
cmp dword [esi], edi
jbe 0x41c62c
mov eax, edi
mov dword [ebp - 0x114], edi
mov edi, dword [ebp - 0x128]
and dword [ebp - 0x118], 0
lea ecx, [ebp - 0x118]
mov eax, dword [eax + esi + 4]
push ecx
push 4
lea ecx, [ebp - 0x15c]
add eax, 0x3c
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x41c5ef
cmp dword [ebp - 0x118], 4
jne 0x41c5ef
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 0x118]
and dword [ebp - 0x118], 0
push ecx
push 0xf8
mov eax, dword [eax + esi + 4]
lea ecx, [ebp - 0x10c]
add eax, dword [ebp - 0x15c]
push ecx
push eax
push edi
mov dword [ebp - 0x110], eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x41c5ef
cmp dword [ebp - 0x118], 0xf8
jne 0x41c5ef
cmp dword [ebp - 0x10c], 0x4550
jne 0x41c5ef
mov ax, word [ebp - 0x106]
test ax, ax
je 0x41c5ef
movzx eax, ax
imul edi, eax, 0x28
mov eax, dword [ebp - 0x11c]
cmp dword [ebp - 0x134], edi
jae 0x41c501
test eax, eax
je 0x41c4e3
push eax
call fcn.0046d68f
pop ecx
push 0
push edi
mov dword [ebp - 0x134], edi
call fcn.0042036b
mov dword [ebp - 0x11c], eax
pop ecx
pop ecx
test eax, eax
je 0x41c62a
push dword [ebp - 0x134]
and dword [ebp - 0x118], 0
push 0
push eax
call fcn.0044f154
mov ecx, dword [ebp - 0x110]
add esp, 0xc
movzx eax, word [ebp - 0xf8]
add ecx, 0x18
add eax, ecx
lea ecx, [ebp - 0x118]
push ecx
push edi
push dword [ebp - 0x11c]
push eax
push dword [ebp - 0x128]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x41c5e9
cmp dword [ebp - 0x118], edi
jne 0x41c5e9
mov di, word [ebp - 0x106]
xor edx, edx
xor eax, eax
mov dword [ebp - 0x130], edx
cmp ax, di
jae 0x41c5e9
mov ecx, dword [ebp - 0x11c]
add ecx, 0x24
mov dword [ebp - 0x110], ecx
mov eax, dword [ecx]
and eax, 0xc0000000
cmp eax, 0xc0000000
jne 0x41c5d2
test byte [ecx], 0xc0
je 0x41c5d2
mov edx, dword [ebp - 0x114]
lea edi, [ebp - 0x14]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ecx - 0x18]
add eax, dword [edx + esi + 4]
and dword [ebp - 0x10], 0
mov dword [ebp - 0x14], eax
mov eax, dword [ecx - 0x1c]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.0044b692
mov di, word [ebp - 0x106]
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x130]
add ecx, 0x28
movzx eax, di
inc edx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x130], edx
cmp edx, eax
jl 0x41c57f
mov edi, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x12c]
mov esi, dword [ebp - 0x13c]
inc ecx
mov eax, dword [ebp - 0x114]
add eax, 0x6c
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x114], eax
cmp ecx, dword [esi]
jb 0x41c419
mov eax, dword [ebp - 0x11c]
test eax, eax
je 0x41c62a
push eax
call fcn.0046d68f
pop ecx
xor edi, edi
push edi
lea eax, [ebp - 0x144]
push eax
push edi
push 5
push dword [0x4c9ac8]
call sub.dbghelp.dll_MiniDumpReadDumpStream
mov esi, dword [ebp - 0x144]
mov dword [ebp - 0x134], esi
test esi, esi
je 0x41c9be
mov eax, edi
mov dword [ebp - 0x110], eax
cmp dword [esi], edi
jbe 0x41c848
mov ecx, edi
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x120], edi
cmp dword [ebx], edi
jle 0x41c830
mov edx, edi
mov dword [ebp - 0x114], edx
add edx, dword [ebx + 0xc]
mov eax, dword [ecx + esi + 8]
mov edi, dword [ecx + esi + 4]
mov dword [ebp - 0x11c], edx
cmp eax, dword [edx + 4]
ja 0x41c6d1
jb 0x41c6a0
cmp edi, dword [edx]
ja 0x41c6d1
mov edx, dword [ecx + esi + 0xc]
xor eax, eax
add edx, edi
mov edi, dword [ebp - 0x11c]
adc eax, dword [ecx + esi + 8]
cmp dword [edi + 4], eax
mov edi, dword [ecx + esi + 4]
jb 0x41c70e
ja 0x41c6c7
mov eax, dword [ebp - 0x11c]
cmp dword [eax], edx
jb 0x41c70e
mov edx, dword [ebp - 0x11c]
mov eax, dword [ecx + esi + 8]
cmp dword [edx + 4], eax
ja 0x41c7e8
jb 0x41c6e4
cmp dword [edx], edi
ja 0x41c7e8
mov esi, dword [ebp - 0x11c]
xor eax, eax
mov edx, dword [edx + 8]
add edx, dword [esi]
adc eax, dword [esi + 4]
mov esi, dword [ebp - 0x134]
cmp dword [ecx + esi + 8], eax
ja 0x41c7e8
jb 0x41c70e
cmp edi, edx
jae 0x41c7e8
mov esi, dword [ebp - 0x11c]
lea edi, [ebp - 0x154]
push 1
push dword [ebp - 0x120]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0044b363
mov esi, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x150]
cmp edx, dword [ecx + esi + 8]
ja 0x41c791
jb 0x41c752
mov edi, dword [ebp - 0x154]
cmp edi, dword [ecx + esi + 4]
jae 0x41c797
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x154]
mov edi, dword [ebp - 0x154]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
mov eax, dword [ecx + esi + 4]
sub eax, edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.0044b692
cmp eax, 0xffffffff
je 0x41c9be
mov ecx, dword [ebp - 0x124]
jmp 0x41c797
mov edi, dword [ebp - 0x154]
mov eax, dword [ebp - 0x14c]
mov edx, dword [ecx + esi + 0xc]
add eax, edi
add edx, dword [ecx + esi + 4]
mov dword [ebp - 0x130], eax
cmp eax, edx
jbe 0x41c808
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x130]
xor edi, edi
sub eax, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push ebx
mov dword [ebp - 0x10], edi
call fcn.0044b692
cmp eax, 0xffffffff
je 0x41c9be
mov ecx, dword [ebp - 0x124]
jmp 0x41c80a
mov eax, dword [ebp - 0x120]
mov edx, dword [ebp - 0x114]
inc eax
add edx, 0x10
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x114], edx
xor edi, edi
jmp 0x41c816
xor edi, edi
mov edx, dword [ebp - 0x114]
mov eax, dword [ebp - 0x120]
cmp eax, dword [ebx]
jl 0x41c684
mov esi, dword [ebp - 0x144]
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x134], esi
inc eax
add ecx, 0x10
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x124], ecx
cmp eax, dword [esi]
jb 0x41c66e
cmp dword [ebx], 0
jle 0x41c9be
mov edi, dword [ebx]
xor esi, esi
shl edi, 4
mov ecx, esi
add edi, 4
cmp dword [ebx], ecx
jbe 0x41c879
mov edx, dword [ebx + 0xc]
mov eax, esi
mov dword [edx + eax + 0xc], edi
lea eax, [eax + 0x10]
mov edx, dword [ebx + 0xc]
add edi, dword [edx + eax - 8]
inc ecx
cmp ecx, dword [ebx]
jb 0x41c866
call fcn.0041b9a3
test eax, eax
je 0x41c9be
push esi
mov esi, dword [ebp - 0x140]
push 0xc0000000
push dword [ebp + 0xc]
push dword [ebp - 0x158]
push str..tmp
push 0x4bca58
push esi
call fcn.0041cd51
test eax, eax
je 0x41c9be
xor eax, eax
push eax
push edi
push eax
push 4
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [esi + 4], eax
test eax, eax
je 0x41c9be
xor ecx, ecx
push ecx
push ecx
push ecx
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
mov eax, dword [ebp - 0x140]
mov dword [eax + 8], esi
test esi, esi
je 0x41c9be
mov dword [eax + 0xc], edi
mov ecx, dword [ebx]
mov dword [esi], ecx
xor ecx, ecx
add esi, 4
mov dword [ebp - 0x110], ecx
cmp dword [ebx], ecx
jbe 0x41c93f
mov eax, dword [ebx + 8]
mov edi, ecx
and eax, 0xffff
push eax
mov eax, dword [ebx + 0xc]
add eax, edi
push eax
push esi
call fcn.0044ec08
mov eax, dword [ebx + 8]
add esp, 0xc
mov ecx, dword [ebp - 0x110]
and eax, 0xffff
add esi, eax
add edi, 0x10
inc ecx
mov dword [ebp - 0x110], ecx
cmp ecx, dword [ebx]
jb 0x41c90f
xor ecx, ecx
mov dword [ebp - 0x110], ecx
cmp dword [ebx], ecx
jbe 0x41c9b0
mov edi, ecx
mov dword [ebp - 0x118], ecx
lea ecx, [ebp - 0x118]
mov eax, dword [ebx + 0xc]
push ecx
push dword [eax + edi + 8]
push esi
push dword [edi + eax]
push dword [ebp - 0x128]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x41c986
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebp - 0x118]
cmp eax, dword [ecx + edi + 8]
jne 0x41c9be
xor ecx, ecx
jmp 0x41c995
mov eax, dword [ebp - 0x140]
xor ecx, ecx
mov eax, dword [eax + 8]
mov dword [edi + eax + 0xc], ecx
mov eax, dword [ebx + 0xc]
add esi, dword [eax + edi + 8]
add edi, 0x10
mov eax, dword [ebp - 0x110]
inc eax
mov dword [ebp - 0x110], eax
cmp eax, dword [ebx]
jb 0x41c94b
push 1
mov ecx, ebx
call fcn.0041965d
xor eax, eax
inc eax
jmp 0x41c9fc
mov edi, dword [ebp - 0x140]
push edi
call fcn.0041fd63
mov esi, dword [ebp - 0x158]
xor eax, eax
cmp word [esi], ax
je 0x41c9df
push esi
call fcn.0041a4a8
xor eax, eax
or dword [edi], 0xffffffff
mov dword [edi + 8], eax
mov dword [edi + 4], eax
xor eax, eax
mov word [esi], ax
test ebx, ebx
je 0x41c9fa
push 1
mov ecx, ebx
call fcn.0041965d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044d772
mov esp, ebp
pop ebp
ret 0xc