Function at 0x41e6e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x61dc40]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0x10c
mov eax, 0x5b8a68
call fcn.00598f2b
mov eax, dword [ebp + 0x218]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x21c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x220]
push 8
mov esi, ecx
mov dword [ebp - 0x18], eax
pop ecx
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x74], ebx
lea edi, [ebp - 0x70]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x5c], 6
je 0x41e75c
xor eax, eax
cmp dword [ebp - 0x5c], 9
sete al
dec eax
and eax, 0xffff7ae8
add eax, 0x8664
mov dword [ebp - 0x30], eax
jmp 0x41e763
mov dword [ebp - 0x30], 0x200
push 0xa0
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.00596530
mov eax, dword [esi + 0xb8]
mov ecx, dword [esi + 0xb4]
add esp, 0xc
mov dword [ebp - 0x118], eax
push 3
pop eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0xf8], eax
mov eax, dword [0x63696c]
mov edi, 0x63696c
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
mov eax, dword [0x63696c]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 1
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x24], ebx
push ebx
push dword [0x6393c4]
lea eax, [ebp - 0x118]
push dword [0x6393b4]
push ebx
push esi
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x20]
push dword [ebp - 0x30]
call dword [0x638364]
test eax, eax
je 0x41e91f
cmp dword [ebp - 0x118], ebx
je 0x41e8bd
push 6
pop ecx
xor eax, eax
mov dword [ebp - 0x50], ebx
lea edi, [ebp - 0x4c]
push 0x1c
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x118]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
xor eax, eax
push 0x208
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.00596530
add esp, 0xc
cmp dword [ebp - 0x4c], ebx
je 0x41e89e
mov eax, dword [0x6393c8]
cmp eax, ebx
je 0x41e89e
push 0x104
lea ecx, [ebp]
push ecx
push dword [ebp - 0x4c]
push dword [ebp - 0x20]
call eax
test eax, eax
je 0x41e89e
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edi, eax
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
mov eax, dword [ebp - 0x118]
sub eax, dword [ebp - 0x4c]
push eax
push edi
push str._s0x_08x
lea eax, [ebp - 0x14]
call fcn.00404f66
add esp, 0xc
mov byte [ebp - 0xd], bl
jmp 0x41e8cb
push dword [ebp - 0x118]
lea eax, [ebp - 0x14]
push str.0x_08x
cmp byte [ebp - 0xd], bl
je 0x41e8b4
lea eax, [ebp - 0x2c]
call fcn.00404f66
pop ecx
pop ecx
jmp 0x41e8cb
push 0x5df200
lea eax, [ebp - 0x14]
push eax
call fcn.00407af8
push dword [ebp - 0x14]
lea edi, [ebp - 0x28]
call fcn.004203a8
mov ebx, dword [ebp - 0x18]
mov eax, edi
push eax
mov byte [ebp - 4], 2
call fcn.0042051e
mov byte [ebp - 4], 1
call fcn.004204de
push 0x5df204
lea edi, [ebp - 0x1c]
call fcn.004203a8
mov eax, edi
push eax
mov byte [ebp - 4], 3
call fcn.0042051e
mov byte [ebp - 4], 1
call fcn.004204de
inc dword [ebp - 0x24]
xor ebx, ebx
cmp dword [ebp - 0x24], 0xf
jbe 0x41e7d2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp eax, ebx
je 0x41e92c
mov ecx, dword [eax]
jmp 0x41e92e
xor ecx, ecx
mov esi, dword [ebp - 0x2c]
cmp ecx, ebx
je 0x41e942
cmp eax, ebx
je 0x41e93b
mov ebx, dword [eax]
xor eax, eax
cmp ax, word [ebx]
jne 0x41e95f
push esi
lea edi, [ebp - 0x1c]
call fcn.004203a8
mov ebx, dword [ebp - 0x18]
mov eax, edi
push eax
mov byte [ebp - 4], 4
call fcn.0042051e
call fcn.004204de
mov eax, dword [ebp - 0x18]
call fcn.00420408
xor ecx, ecx
cmp ecx, eax
sbb edi, edi
lea eax, [esi - 0x10]
neg edi
call fcn.00407b6b
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00407b6b
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.0058f3cf
add ebp, 0x210
leave
ret