Function at 0x10034c50
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007b0a5
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x100a04fc]
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 dword [ebp - 0x10], esp
xor eax, eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 4], eax
mov edi, 0x10
mov eax, edi
call fcn.10073d20
mov dword [ebp - 0x10], esp
mov esi, esp
push 0xdead0065
lea eax, [ebp - 0x94]
push 0x21ebeef
push eax
call fcn.10001af0
add esp, 0xc
cmp dword [eax + 0x14], edi
jb 0x10034cbd
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
cmp dword [ebp - 0x80], edi
jb 0x10034ce8
mov eax, dword [ebp - 0x94]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ebx, 4
mov eax, ebx
call fcn.10073d20
mov esi, esp
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xa0], esi
test esi, esi
je 0x10034d09
mov dword [esi], 0xabab021e
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x10034d34
mov dword [esi], 0xcdcd021e
jmp 0x10034d34
test byte [0x100a4bb0], 1
mov dword [ebp - 0x9c], 6
jne 0x10034d6e
or dword [0x100a4bb0], 1
mov dword [ebp - 4], 2
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
push ecx
mov edi, 0x100a4b60
call fcn.100235e0
test al, al
je 0x10034e9f
xor esi, esi
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], esi
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
lea edi, [ebp - 0x5c]
mov dword [ebp - 4], 3
call fcn.10023cb0
mov ecx, dword [eax + 0x1c]
cmp ecx, esi
jne 0x10034dc3
push 0xd
push str.EnterFunction
mov ecx, eax
call fcn.100041d0
jmp 0x10034dd1
push str.EnterFunction
push ecx
call fcn.10012390
add esp, 8
mov ecx, dword [ebp - 0x3c]
push 0x1ff
push esi
lea edx, [ebp - 0x94]
push edx
call fcn.10001ab0
mov esi, eax
mov byte [ebp - 4], bl
test byte [0x100a4bb0], 1
jne 0x10034e14
or dword [0x100a4bb0], 1
mov byte [ebp - 4], 5
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov byte [ebp - 4], bl
mov eax, dword [0x100a4b64]
mov edx, dword [eax + 4]
mov ecx, 0x100a4b64
mov dword [ebp - 0x9c], 0x100a4b64
call edx
mov byte [ebp - 4], 6
mov ecx, dword [0x100a4bac]
test ecx, ecx
je 0x10034e60
cmp dword [esi + 0x14], 8
jb 0x10034e45
mov eax, dword [esi]
jmp 0x10034e47
mov eax, esi
mov edx, dword [ecx]
push 0x21e
push str.ProcessInfo::IsOs64
push str.ProcessInfo.cpp
push eax
mov eax, dword [edx + 8]
push 6
call eax
mov byte [ebp - 4], bl
mov edx, dword [0x100a4b64]
mov eax, dword [edx + 8]
mov ecx, 0x100a4b64
call eax
cmp dword [ebp - 0x80], 8
jb 0x10034e89
mov ecx, dword [ebp - 0x94]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea edx, [ebp - 0x5c]
push edx
mov dword [ebp - 4], 0xffffffff
call fcn.10023b80
mov esi, dword [ebp - 0xa0]
push str.GetNativeSystemInfo
xor bl, bl
push str.kernel32.dll
mov byte [ebp - 0x95], bl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10034ecd
lea ecx, [ebp - 0xc4]
push ecx
call eax
jmp 0x10034eda
lea edx, [ebp - 0xc4]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [ebp - 0xc4]
cmp ax, 9
je 0x10034eed
cmp ax, 6
jne 0x10034efa
mov byte [ebp - 0x95], 1
mov bl, byte [ebp - 0x95]
test esi, esi
je 0x10034f04
mov dword [esi], 0xcdcd0230
test byte [0x100a4bb0], 1
mov dword [ebp - 0x9c], 6
jne 0x10034f3e
or dword [0x100a4bb0], 1
mov dword [ebp - 4], 7
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x9c]
push eax
mov edi, 0x100a4b60
call fcn.100235e0
test al, al
je 0x100350ce
xor eax, eax
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x38], al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
test bl, bl
mov dword [ebp - 4], 8
mov ebx, str.True
jne 0x10034f81
mov ebx, str.False
lea edi, [ebp - 0x38]
call fcn.10023cb0
mov esi, eax
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x10034fa2
push 0x11
push str.ExitFunction_Ret:
mov ecx, esi
call fcn.100041d0
jmp 0x10034fb0
push str.ExitFunction_Ret:
push eax
call fcn.10012390
add esp, 8
mov edx, ebx
test ebx, ebx
jne 0x10034fbb
mov edx, 0x10085f18
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x10034fe1
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10034fc7
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.100041d0
jmp 0x10034feb
push edx
push eax
call fcn.10012390
add esp, 8
push 0x1ff
push 0
lea ecx, [ebp - 0x78]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.10001ab0
mov esi, eax
mov byte [ebp - 4], 9
test byte [0x100a4bb0], 1
jne 0x1003502e
or dword [0x100a4bb0], 1
mov byte [ebp - 4], 0xa
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov byte [ebp - 4], 9
mov edx, dword [0x100a4b64]
mov eax, dword [edx + 4]
mov ecx, 0x100a4b64
mov dword [ebp - 0x9c], 0x100a4b64
call eax
mov byte [ebp - 4], 0xb
mov ecx, dword [0x100a4bac]
test ecx, ecx
je 0x1003507b
cmp dword [esi + 0x14], 8
jb 0x10035060
mov eax, dword [esi]
jmp 0x10035062
mov eax, esi
mov edx, dword [ecx]
push 0x230
push str.ProcessInfo::IsOs64
push str.ProcessInfo.cpp
push eax
mov eax, dword [edx + 8]
push 6
call eax
mov byte [ebp - 4], 9
mov edx, dword [0x100a4b64]
mov eax, dword [edx + 8]
mov ecx, 0x100a4b64
call eax
cmp dword [ebp - 0x64], 8
jb 0x100350a2
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea eax, [ebp - 0x38]
xor edx, edx
push eax
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], 0
mov word [ebp - 0x78], dx
mov dword [ebp - 4], 0xffffffff
call fcn.10023b80
mov al, byte [ebp - 0x95]
jmp 0x100350d0
mov al, bl
lea esp, [ebp - 0xd4]
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.1007236c
mov esp, ebp
pop ebp
ret