Function at 0x43760a
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x4a95d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
xor ecx, ecx
mov word [eax], cx
push edi
mov edi, dword [ebp + 0x10]
or dword [edi], 0xffffffff
mov dword [edi + 8], edx
mov dword [edi + 4], edx
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x134], edi
mov ebx, edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x140], edx
cmp dword [0x4aaf04], ecx
jne 0x437914
test byte [0x4b502c], 0x20
je 0x43768e
push edx
push edx
push edx
push 0x404cb8
push edi
push dword [ebp + 0xc]
push eax
call fcn.00437f54
jmp 0x437952
push 0x14
call fcn.0044a635
test eax, eax
je 0x4376a2
mov ecx, eax
call fcn.0043cd82
mov ebx, eax
xor edi, edi
test ebx, ebx
je 0x437914
push edi
push 0x14
push 0x14
push ebx
call fcn.0043d8d5
test eax, eax
je 0x437914
lea eax, [ebp - 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [ebp - 0x194]
mov edx, dword [0x4b501c]
mov dword [ebp - 0x130], edx
cmp esi, dword [ebp - 0x190]
jae 0x4377a7
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 0x437728
mov esi, dword [ebp - 0x190]
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x178]
rep stosd dword es:[edi], eax
jmp 0x437780
cmp dword [ebp - 0x168], 0x1000
jne 0x437780
cmp dword [ebp - 0x164], 4
je 0x437746
cmp dword [ebp - 0x164], 0x40
jne 0x437780
cmp dword [ebp - 0x160], 0x20000
jne 0x437780
mov ecx, dword [ebp - 0x16c]
cmp ecx, 0xffffffff
jae 0x437786
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.0043d976
mov ecx, dword [ebp - 0x16c]
mov eax, dword [ebp - 0x198]
mov edx, dword [ebp - 0x130]
cmp eax, ecx
cmovbe eax, ecx
add esi, eax
cmp esi, dword [ebp - 0x190]
jb 0x4376ea
xor edi, edi
push edi
lea eax, [ebp - 0x138]
push eax
push edi
push 4
push dword [0x4bf150]
call sub.dbghelp.dll_MiniDumpReadDumpStream
mov eax, dword [ebp - 0x138]
test eax, eax
je 0x437914
mov edx, edi
mov dword [ebp - 0x12c], edx
cmp dword [eax], edi
jbe 0x4379e5
mov ecx, edi
mov dword [ebp - 0x114], edi
lea esi, [ecx + 4]
add esi, eax
mov ecx, edi
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x110], ecx
cmp dword [ebx], edi
jle 0x4379c7
mov edx, edi
mov dword [ebp - 0x11c], edx
mov eax, dword [ebx + 0xc]
mov edi, dword [esi + 4]
add eax, edx
mov edx, dword [eax]
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x128], edx
cmp dword [eax + 4], edi
ja 0x437856
jb 0x437827
cmp edx, dword [esi]
ja 0x437856
mov eax, dword [ebx + 0xc]
add eax, dword [ebp - 0x11c]
xor ecx, ecx
mov edx, dword [eax + 8]
add edx, dword [eax]
adc ecx, dword [eax + 4]
cmp edi, ecx
jb 0x43789e
ja 0x437844
cmp dword [esi], edx
jb 0x43789e
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x128]
cmp edi, dword [eax + 4]
ja 0x437881
jb 0x437861
cmp dword [esi], edx
ja 0x437881
mov ecx, dword [esi + 8]
xor eax, eax
add ecx, dword [esi]
adc eax, edi
mov edi, dword [ebp - 0x124]
cmp dword [edi + 4], eax
ja 0x43787b
jb 0x4378a4
cmp edx, ecx
jb 0x4378a4
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x11c]
inc ecx
add edx, 0x10
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x11c], edx
xor edi, edi
jmp 0x4379b3
mov edi, dword [ebp - 0x124]
mov esi, edi
lea edi, [ebp - 0x154]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
push dword [ebp - 0x110]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
call fcn.0043db5d
mov ecx, dword [ebp - 0x150]
mov esi, dword [ebp - 0x13c]
cmp ecx, dword [esi + 4]
ja 0x437963
jb 0x4378e3
mov edi, dword [ebp - 0x154]
cmp edi, dword [esi]
jae 0x437969
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], ecx
mov eax, dword [esi]
sub eax, edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.0043d976
cmp eax, 0xffffffff
jne 0x437969
mov edi, dword [ebp - 0x134]
push edi
call fcn.00438c21
mov esi, dword [ebp - 0x158]
xor eax, eax
cmp word [esi], ax
je 0x437935
push esi
call fcn.0043a34c
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 0x437950
push 1
mov ecx, ebx
call fcn.0043cda4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045cd7f
leave
ret 0xc
mov edi, dword [ebp - 0x154]
mov ecx, dword [esi + 8]
mov edx, dword [ebp - 0x14c]
add ecx, dword [esi]
add edx, edi
cmp edx, ecx
jbe 0x4379a5
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
lea eax, [ebp - 0x14]
push eax
sub edx, ecx
xor edi, edi
push ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edx
call fcn.0043d976
cmp eax, 0xffffffff
je 0x437914
jmp 0x4379a7
xor edi, edi
mov edx, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x110]
cmp ecx, dword [ebx]
jl 0x437806
mov eax, dword [ebp - 0x138]
mov edx, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x114]
inc edx
add ecx, 0x6c
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x114], ecx
cmp edx, dword [eax]
jb 0x4377e3
mov dword [ebp - 0x12c], edi
cmp dword [eax], edi
jbe 0x437be5
mov edx, edi
mov dword [ebp - 0x128], edx
jmp 0x4379ff
xor edi, edi
lea esi, [eax + 4]
lea ecx, [ebp - 0x118]
push ecx
add esi, edx
push 4
mov dword [ebp - 0x118], edi
mov eax, dword [esi]
lea ecx, [ebp - 0x15c]
push ecx
add eax, 0x3c
push eax
push dword [ebp - 0x130]
mov dword [ebp - 0x13c], esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x437ba9
cmp dword [ebp - 0x118], 4
jne 0x437ba9
mov dword [ebp - 0x118], edi
mov edi, dword [esi]
add edi, dword [ebp - 0x15c]
lea eax, [ebp - 0x118]
push eax
mov esi, 0xf8
push esi
lea eax, [ebp - 0x10c]
push eax
push edi
push dword [ebp - 0x130]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x437ba9
cmp dword [ebp - 0x118], esi
jne 0x437ba9
cmp dword [ebp - 0x10c], 0x4550
jne 0x437ba9
mov ax, word [ebp - 0x106]
test ax, ax
je 0x437ba9
movzx esi, ax
mov eax, dword [ebp - 0x120]
imul esi, esi, 0x28
cmp dword [ebp - 0x140], esi
jae 0x437ae2
test eax, eax
je 0x437ac8
push eax
call fcn.0044a645
push esi
mov dword [ebp - 0x140], esi
call fcn.0044a635
mov dword [ebp - 0x120], eax
test eax, eax
je 0x437be3
push dword [ebp - 0x140]
and dword [ebp - 0x118], 0
push 0
push eax
call fcn.0045d10c
movzx eax, word [ebp - 0xf8]
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
add eax, 0x18
add eax, edi
mov edi, dword [ebp - 0x120]
push esi
push edi
push eax
push dword [ebp - 0x130]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x437baf
cmp dword [ebp - 0x118], esi
jne 0x437baf
mov dx, word [ebp - 0x106]
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x114], ecx
cmp ax, dx
jae 0x437baf
lea esi, [edi + 0x24]
test dword [esi], 0x80000000
je 0x437b98
test dword [esi], 0x40000000
je 0x437b98
test byte [esi], 0xc0
je 0x437b98
mov ecx, dword [ebp - 0x13c]
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 [esi - 0x18]
add eax, dword [ecx]
and dword [ebp - 0x10], 0
mov dword [ebp - 0x14], eax
mov eax, dword [esi - 0x1c]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.0043d976
mov dx, word [ebp - 0x106]
mov ecx, dword [ebp - 0x114]
add esi, 0x28
movzx eax, dx
inc ecx
mov dword [ebp - 0x114], ecx
cmp ecx, eax
jl 0x437b4b
mov edi, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x138]
inc ecx
add edx, 0x6c
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x128], edx
cmp ecx, dword [eax]
jb 0x4379fd
test edi, edi
je 0x437be3
push edi
call fcn.0044a645
xor edi, edi
push edi
lea eax, [ebp - 0x144]
push eax
push edi
push 5
push dword [0x4bf150]
call sub.dbghelp.dll_MiniDumpReadDumpStream
mov eax, dword [ebp - 0x144]
test eax, eax
je 0x437914
mov edx, edi
mov dword [ebp - 0x12c], edx
cmp dword [eax], edi
jbe 0x437dd7
mov ecx, edi
mov dword [ebp - 0x128], edi
lea esi, [ecx + 4]
add esi, eax
mov ecx, edi
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x110], ecx
cmp dword [ebx], edi
jle 0x437db9
mov edx, edi
mov dword [ebp - 0x11c], edx
mov eax, dword [ebx + 0xc]
mov edi, dword [esi + 4]
add eax, edx
mov edx, dword [eax]
mov dword [ebp - 0x124], eax
cmp edi, dword [eax + 4]
ja 0x437c8b
jb 0x437c5f
cmp dword [esi], edx
ja 0x437c8b
mov ecx, dword [esi + 8]
xor eax, eax
add ecx, dword [esi]
mov esi, dword [ebp - 0x124]
adc eax, edi
cmp dword [esi + 4], eax
mov esi, dword [ebp - 0x114]
jb 0x437cc3
ja 0x437c7f
cmp edx, ecx
jb 0x437cc3
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x110]
cmp dword [eax + 4], edi
ja 0x437d7d
jb 0x437c9e
cmp edx, dword [esi]
ja 0x437d7d
mov eax, dword [ebx + 0xc]
add eax, dword [ebp - 0x11c]
xor ecx, ecx
mov edx, dword [eax + 8]
add edx, dword [eax]
adc ecx, dword [eax + 4]
cmp edi, ecx
ja 0x437d77
jb 0x437cc3
cmp dword [esi], edx
jae 0x437d77
mov esi, dword [ebp - 0x124]
lea edi, [ebp - 0x154]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
push dword [ebp - 0x110]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
call fcn.0043db5d
mov ecx, dword [ebp - 0x150]
mov esi, dword [ebp - 0x114]
cmp ecx, dword [esi + 4]
ja 0x437d35
jb 0x437cfe
mov edi, dword [ebp - 0x154]
cmp edi, dword [esi]
jae 0x437d3b
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], ecx
mov eax, dword [esi]
sub eax, edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.0043d976
cmp eax, 0xffffffff
je 0x437914
jmp 0x437d3b
mov edi, dword [ebp - 0x154]
mov ecx, dword [esi + 8]
mov edx, dword [ebp - 0x14c]
add ecx, dword [esi]
add edx, edi
cmp edx, ecx
jbe 0x437d97
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
lea eax, [ebp - 0x14]
push eax
sub edx, ecx
xor edi, edi
push ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edx
call fcn.0043d976
cmp eax, 0xffffffff
je 0x437914
jmp 0x437d99
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x11c]
inc ecx
add edx, 0x10
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x11c], edx
xor edi, edi
jmp 0x437da5
xor edi, edi
mov edx, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x110]
cmp ecx, dword [ebx]
jl 0x437c44
mov eax, dword [ebp - 0x144]
mov edx, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x128]
inc edx
add ecx, 0x10
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x128], ecx
cmp edx, dword [eax]
jb 0x437c21
cmp dword [ebx], 0
jle 0x437914
mov edi, dword [ebx]
xor esi, esi
shl edi, 4
mov ecx, esi
add edi, 4
cmp dword [ebx], ecx
jbe 0x437e08
mov edx, dword [ebx + 0xc]
mov eax, esi
mov dword [edx + eax + 0xc], edi
mov edx, dword [ebx + 0xc]
add edi, dword [edx + eax + 8]
inc ecx
add eax, 0x10
cmp ecx, dword [ebx]
jb 0x437df5
call fcn.0043cae8
test eax, eax
je 0x437914
push esi
mov esi, dword [ebp - 0x134]
push 0xc0000000
push dword [ebp + 0xc]
push dword [ebp - 0x158]
push 0x404cb8
push 0x4b20a8
push esi
call fcn.00438f71
test eax, eax
je 0x437914
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 0x437914
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 - 0x134]
mov dword [eax + 8], esi
test esi, esi
je 0x437914
mov dword [eax + 0xc], edi
mov ecx, dword [ebx]
mov dword [esi], ecx
xor ecx, ecx
add esi, 4
mov dword [ebp - 0x114], ecx
cmp dword [ebx], ecx
jbe 0x437ece
mov eax, dword [ebx + 8]
and eax, 0xffff
mov edi, ecx
push eax
mov eax, dword [ebx + 0xc]
add eax, edi
push eax
push esi
call fcn.0045cdc1
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x114]
and eax, 0xffff
add esp, 0xc
add esi, eax
inc ecx
add edi, 0x10
mov dword [ebp - 0x114], ecx
cmp ecx, dword [ebx]
jb 0x437e9e
xor ecx, ecx
mov dword [ebp - 0x114], ecx
cmp dword [ebx], ecx
jbe 0x437f43
mov edi, ecx
mov dword [ebp - 0x118], ecx
mov eax, dword [ebx + 0xc]
lea ecx, [ebp - 0x118]
push ecx
push dword [eax + edi + 8]
push esi
push dword [edi + eax]
push dword [ebp - 0x130]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x437f19
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebp - 0x118]
cmp eax, dword [ecx + edi + 8]
jne 0x437914
xor ecx, ecx
jmp 0x437f28
mov eax, dword [ebp - 0x134]
mov eax, dword [eax + 8]
xor ecx, ecx
mov dword [eax + edi + 0xc], ecx
mov eax, dword [ebx + 0xc]
add esi, dword [eax + edi + 8]
mov eax, dword [ebp - 0x114]
inc eax
add edi, 0x10
mov dword [ebp - 0x114], eax
cmp eax, dword [ebx]
jb 0x437eda
push 1
mov ecx, ebx
call fcn.0043cda4
xor eax, eax
inc eax
jmp 0x437952