Function at 0x41b110
Capabilities:
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5b7644
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x632e20]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x632e20]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov ecx, ebx
mov dword [esp + 0x14], ebx
call fcn.0040c080
mov eax, dword [0x634a8c]
xor esi, esi
push esi
push 0x606d46
push eax
push esi
mov ecx, 0x634a78
call fcn.00410a10
test eax, eax
je 0x41b18b
push 0xffffffffffffffff
push esi
push 0x634a78
mov ecx, ebx
call fcn.004110e0
jmp 0x41b9fb
cmp dword [edi], esi
jne 0x41b199
mov eax, 1
jmp 0x41b9fd
lea ecx, [esp + 0x60]
call fcn.0040c2b0
mov dword [esp + 0x128], esi
push str.Select__FROM_Win32_OperatingSystem
lea ebx, [esp + 0x5c]
mov dword [esp + 0x20], esi
call fcn.00410fb0
mov esi, eax
push 0x60be60
lea ebx, [esp + 0x28]
mov byte [esp + 0x12c], 1
call fcn.00410fb0
mov byte [esp + 0x128], 2
mov ecx, dword [esi]
xor ebx, ebx
cmp ecx, ebx
je 0x41b1e7
mov ecx, dword [ecx]
jmp 0x41b1e9
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x41b1f3
mov edx, dword [eax]
jmp 0x41b1f5
xor edx, edx
mov eax, dword [edi]
mov esi, dword [eax]
lea edi, [esp + 0x1c]
push edi
push ebx
push 0x30
push ecx
mov ecx, dword [esi + 0x50]
push edx
push eax
call ecx
lea edi, [esp + 0x24]
mov esi, eax
call fcn.00410f60
lea edi, [esp + 0x58]
mov byte [esp + 0x128], bl
call fcn.00410f60
cmp esi, ebx
mov eax, dword [esp + 0x1c]
jge 0x41b248
cmp eax, ebx
je 0x41b238
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x60]
call fcn.004116d0
mov eax, esi
jmp 0x41b9fd
mov dword [esp + 0x18], ebx
mov dword [esp + 0x3c], ebx
cmp eax, ebx
je 0x41b8b8
mov ebp, 0xf
lea edi, [ebp - 7]
mov ecx, dword [eax]
lea edx, [esp + 0x3c]
push edx
lea edx, [esp + 0x1c]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [esp + 0x3c], ebx
je 0x41b8a8
cmp eax, ebx
jne 0x41b8a8
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov dword [esp + 0x36], eax
mov word [esp + 0x3a], ax
xor edx, edx
push ebx
mov eax, 0x6071ac
lea esi, [esp + 0xe8]
mov word [esp + 0x30], cx
mov dword [esp + 0x100], 7
mov dword [esp + 0xfc], ebx
mov word [esp + 0xec], dx
call fcn.0040e1b0
mov byte [esp + 0x128], 3
push ebx
push 0x606d46
lea ecx, [esp + 0xd0]
mov dword [esp + 0xe8], ebp
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
call fcn.004114a0
push ebx
push ebx
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x134], 4
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push ebx
push str.Version
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, ebx
jne 0x41b385
cmp word [esp + 0x2c], 1
je 0x41b385
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0x58]
push ecx
call fcn.00410dc0
mov byte [esp + 0x128], 5
mov eax, dword [eax]
cmp eax, ebx
je 0x41b34c
mov eax, dword [eax]
jmp 0x41b34e
xor eax, eax
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x41b353
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0xe8]
call fcn.0040e1b0
lea edi, [esp + 0x58]
mov byte [esp + 0x128], 4
call fcn.00410f60
mov edi, 8
cmp dword [esp + 0xf8], ebx
jne 0x41b3a6
push 3
push 0x60c394
lea ecx, [esp + 0xd0]
call fcn.004114a0
jmp 0x41b752
lea edx, [esp + 0x40]
push edx
call fcn.0040c850
mov byte [esp + 0x128], 6
xor eax, eax
mov word [esp + 0x84], ax
push 1
mov eax, 0x60c398
lea esi, [esp + 0x84]
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], ebx
call fcn.0040e1b0
mov ecx, esi
push ecx
lea edx, [esp + 0xe8]
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0x130], 7
call fcn.0041cee0
mov byte [esp + 0x128], 6
cmp dword [esp + 0x98], edi
jb 0x41b424
mov eax, dword [esp + 0x84]
push eax
call fcn.0044f690
add esp, 4
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x24], 0x3a8
jne 0x41b454
call fcn.0058ab42
mov esi, dword [esp + 0x4c]
cmp dword [esi + 0x18], edi
jb 0x41b45e
mov eax, dword [esi + 4]
jmp 0x41b461
lea eax, [esi + 4]
push eax
lea ecx, [esp + 0x28]
lea edi, [esp + 0x84]
call fcn.0042a3a0
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xd4]
mov byte [esp + 0x134], 8
call fcn.0040dbe0
mov byte [esp + 0x128], 6
cmp dword [esp + 0x98], 0x10
jb 0x41b4af
mov edx, dword [esp + 0x84]
push edx
call fcn.0044f690
add esp, 4
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x24], 0x3a8
cmp eax, 1
ja 0x41b4e2
call fcn.0058ab42
mov esi, dword [esp + 0x4c]
cmp dword [esi + 0x34], 8
jb 0x41b4ed
mov esi, dword [esi + 0x20]
jmp 0x41b4f0
add esi, 0x20
push esi
lea ecx, [esp + 0x28]
lea edi, [esp + 0x84]
call fcn.0042a3a0
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xd4]
mov byte [esp + 0x134], 9
call fcn.0040dbe0
mov byte [esp + 0x128], 6
cmp dword [esp + 0x98], 0x10
jb 0x41b53e
mov ecx, dword [esp + 0x84]
push ecx
call fcn.0044f690
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ebx
push ebx
lea ecx, [esp + 0x34]
push ecx
push ebx
push 0x60c39c
push eax
call edx
cmp eax, ebx
jne 0x41b5ef
cmp word [esp + 0x2c], 1
je 0x41b5ef
mov ecx, dword [esp + 0x34]
mov eax, 0x17
mov word [esp + 0xa4], ax
mov dword [esp + 0xac], ecx
lea esi, [esp + 0xa4]
lea edi, [esp + 0x78]
mov byte [esp + 0x128], 0xa
call fcn.0041e5a0
mov byte [esp + 0x128], 0xb
mov eax, dword [eax]
cmp eax, ebx
je 0x41b5ad
mov eax, dword [eax]
jmp 0x41b5af
xor eax, eax
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x41b5b4
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0xe8]
call fcn.0040e1b0
lea edi, [esp + 0x78]
call fcn.00410f60
lea edx, [esp + 0xa4]
push edx
mov byte [esp + 0x12c], 6
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [esp + 0xfc], 8
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x24], 0x3a8
jae 0x41b60f
lea eax, [esp + 0xe8]
push eax
lea ecx, [esp + 0x28]
lea edi, [esp + 0x84]
call fcn.0042a3a0
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xd4]
mov byte [esp + 0x134], 0xc
call fcn.0040dbe0
mov byte [esp + 0x128], 6
cmp dword [esp + 0x98], 0x10
jb 0x41b65d
mov eax, dword [esp + 0x84]
push eax
call fcn.0044f690
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [esp + 0x34]
push edx
push ebx
push str.ServicePackMinorVersion
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, ebx
jne 0x41b706
cmp word [esp + 0x2c], 1
je 0x41b706
mov edx, dword [esp + 0x34]
mov ecx, 0x17
mov word [esp + 0xb4], cx
mov dword [esp + 0xbc], edx
lea esi, [esp + 0xb4]
lea edi, [esp + 0x20]
mov byte [esp + 0x128], 0xd
call fcn.0041e5a0
mov byte [esp + 0x128], 0xe
mov eax, dword [eax]
cmp eax, ebx
je 0x41b6cc
mov eax, dword [eax]
jmp 0x41b6ce
xor eax, eax
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x41b6d3
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0xe8]
call fcn.0040e1b0
lea edi, [esp + 0x20]
call fcn.00410f60
lea eax, [esp + 0xb4]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [esp + 0x128], 4
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x41b734
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x50]
push ecx
call fcn.00410320
mov edx, dword [esp + 0x50]
add esp, 4
push edx
call fcn.0044f690
add esp, 4
mov eax, dword [esp + 0x40]
push eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.0044f690
add esp, 4
mov edi, 8
push ebx
push 0x606d46
lea ecx, [esp + 0x108]
mov dword [esp + 0x120], ebp
mov dword [esp + 0x11c], ebx
mov byte [esp + 0x10c], bl
call fcn.004114a0
lea ecx, [esp + 0x80]
push ecx
mov byte [esp + 0x12c], 0xf
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [esp + 0x80]
cmp ax, 9
je 0x41b7ac
cmp ax, 6
je 0x41b7ac
push 2
push 0x60c5a8
jmp 0x41b7b3
push 2
push 0x60c5a4
lea ecx, [esp + 0x108]
call fcn.004114a0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x108]
push edx
lea ecx, [esp + 0xd4]
call fcn.0040dbe0
lea esi, [esp + 0x100]
call fcn.0041d0b0
push 0xffffffffffffffff
push ebx
mov eax, esi
push eax
lea ecx, [esp + 0xd4]
call fcn.0040dbe0
lea ecx, [esp + 0xc8]
push ecx
lea ecx, [esp + 0x64]
call fcn.0040c450
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x118], 0x10
jb 0x41b836
mov eax, dword [esp + 0x104]
push eax
call fcn.0044f690
add esp, 4
cmp dword [esp + 0xe0], 0x10
mov dword [esp + 0x118], ebp
mov dword [esp + 0x114], ebx
mov byte [esp + 0x104], bl
jb 0x41b865
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.0044f690
add esp, 4
mov byte [esp + 0x128], bl
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], bl
cmp dword [esp + 0xfc], edi
jb 0x41b89a
mov edx, dword [esp + 0xe8]
push edx
call fcn.0044f690
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x41b260
jmp 0x41b8b8
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41b8b8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x6c]
cmp eax, ebx
je 0x41b9c9
mov ecx, dword [esp + 0x74]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x41b9c9
push ebx
lea ecx, [esp + 0x64]
call fcn.0041d180
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push ebx
push eax
call fcn.004110e0
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x64]
call fcn.0040c420
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ebp, dword [esp + 0x14]
push 1
push 0x60c3fc
mov ecx, ebp
call fcn.0040dce0
cmp esi, ebx
jne 0x41b994
call fcn.0058ab42
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x41b937
call fcn.0058ab42
add edi, 0x1c
cmp esi, ebx
jne 0x41b998
call fcn.0058ab42
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x41b94f
call fcn.0058ab42
push 0xffffffffffffffff
push ebx
push edi
mov ecx, ebp
call fcn.0040dbe0
mov eax, dword [esp + 0x70]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x6c], eax
jbe 0x41b96d
call fcn.0058ab42
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x28], edi
cmp esi, ebx
jne 0x41b99c
call fcn.0058ab42
xor eax, eax
lea ebp, [edi + 0x1c]
cmp ebp, dword [eax + 0x10]
ja 0x41b9a7
cmp esi, ebx
je 0x41b9a0
mov eax, dword [esi]
jmp 0x41b9a2
mov eax, dword [esi]
jmp 0x41b92d
mov eax, dword [esi]
jmp 0x41b945
mov eax, dword [esi]
jmp 0x41b984
xor eax, eax
cmp ebp, dword [eax + 0xc]
jae 0x41b9ae
call fcn.0058ab42
xor ebx, ebx
cmp esi, ebx
je 0x41b9b8
cmp esi, dword [esp + 0x78]
je 0x41b9bd
call fcn.0058ab42
cmp ebp, dword [esp + 0x20]
jne 0x41b910
jmp 0x41b9e0
push ebx
lea ecx, [esp + 0x64]
call fcn.0041d180
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push ebx
push eax
call fcn.004110e0
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
push ebx
push edx
mov ecx, 0x634a78
call fcn.004110e0
lea ecx, [esp + 0x60]
call fcn.004116d0
xor eax, eax
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0058841d
add esp, 0x118
ret