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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x10123014]
xor ecx, ebp
mov dword [esp + 0x78], ecx
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
push eax
call fcn.10010790
add esp, 4
mov esi, dword [esp + 0x38]
mov eax, dword [0x10139124]
test eax, eax
je 0x100d72c4
mov ecx, dword [0x10139128]
jmp 0x100d72fa
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
mov dword [esp + 0x70], 0xffffffff
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov dword [0x10139124], eax
mov dword [0x10139128], ecx
mov ebx, dword [ebp + 8]
cmp ecx, esi
ja 0x100d7534
cmp eax, esi
jb 0x100d7534
mov dword [esp + 0x50], 0
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x3c]
push 4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
jne 0x100d7330
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [esp + 0x50]
test edi, edi
je 0x100d7534
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
mov esi, eax
call fcn.10060950
mov dword [esp + 0xc], edi
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call edi
mov dword [esp + 0x10], esp
call fcn.10060950
call ebx
mov esi, eax
call fcn.10060950
push esi
call edi
mov edi, dword [esp + 0xc]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.10081bb0
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x38], 0x10111e10
mov dword [esp + 0x3c], edi
lea eax, [esp + 0x44]
lea edx, [esp + 0x48]
lea esi, [esp + 0x4c]
lea ecx, [esp + 0x38]
push eax
push edx
push esi
mov esi, ecx
lea eax, [esp + 0x5c]
push eax
call fcn.100af1b6
xor ebx, ebx
mov dword [esp + 8], 0
mov ecx, 0
mov dword [esp], 0
test al, al
je 0x100d759b
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], 0
mov dword [esp + 8], 0
push esi
push dword [esp + 0x48]
push dword [esp + 0x50]
call fcn.100813b0
add esp, 0xc
mov ecx, 0
mov dword [esp], 0
test al, al
je 0x100d7580
movzx eax, byte [esp + 0x43]
mov edx, esi
test al, al
jns 0x100d7455
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
lea esi, [esp + 0x20]
mov ecx, esi
push eax
push edx
call fcn.10081be0
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.10081cf0
lea ecx, [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
call fcn.10081cb0
lea ecx, [esp + 0x2c]
call fcn.10081c90
mov ecx, esi
call fcn.10081c90
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x34], 0xffffffff
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.100ae8d0
add esp, 8
movzx eax, byte [esp + 0x37]
lea ecx, [esp + 0x2c]
test al, al
jns 0x100d74cb
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x2c]
push edx
push 3
push 0x1011c560
push eax
push ecx
call fcn.100821e0
add esp, 0x14
push dword [esp + 0x4c]
push esi
call fcn.100dd830
add esp, 8
movzx eax, byte [esp + 0x2b]
test al, al
jns 0x100d74ff
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push eax
push esi
call fcn.10057e60
cmp byte [esp + 0x2b], 0
jns 0x100d751d
push dword [esp + 0x20]
call fcn.100de098
add esp, 4
movzx eax, byte [esp + 0x37]
test al, al
lea esi, [esp + 0x38]
jns 0x100d753f
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
jmp 0x100d7543
mov dword [ebx], 0
jmp 0x100d7710
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x20]
push eax
push ecx
push edx
call fcn.100816f0
add esp, 0xc
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x28]
cmp byte [esp + 0x37], 0
jns 0x100d7580
push dword [esp + 0x2c]
mov dword [esp + 8], ecx
call fcn.100de098
mov ecx, dword [esp + 8]
add esp, 4
cmp byte [esp + 0x43], 0
jns 0x100d759b
push dword [esp + 0x38]
mov dword [esp + 8], ecx
call fcn.100de098
mov ecx, dword [esp + 8]
add esp, 4
mov dword [esp + 4], ecx
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
call fcn.1006c780
push 0xc
push esi
push edi
push eax
call sub.KERNEL32.dll_K32GetModuleInformation
test eax, eax
je 0x100d765f
push 0x2c
call fcn.100de068
add esp, 4
mov ebx, eax
movsd xmm0, qword [esp + 0x38]
movsd qword [esp + 0x50], xmm0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x58], eax
call fcn.10060950
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov esi, eax
call fcn.10060950
push esi
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
call edi
mov dword [ebx], fcn.100d7750
mov dword [ebx + 4], 0
call fcn.10060950
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [esp + 0xc]
mov dword [ebx + 4], eax
call fcn.10060950
push esi
call edi
mov eax, dword [esp + 0x58]
mov dword [ebx + 0x10], eax
movq xmm0, qword [esp + 0x50]
movq qword [ebx + 8], xmm0
mov eax, dword [esp + 4]
test eax, eax
js 0x100d7664
mov esi, dword [esp]
mov dword [ebx + 0x14], esi
mov ecx, dword [esp + 8]
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], eax
jmp 0x100d76c5
mov esi, dword [esp]
jmp 0x100d76d6
mov edx, dword [esp + 8]
cmp edx, 0xa
mov esi, dword [esp]
ja 0x100d767c
lea eax, [ebx + 0x14]
mov byte [ebx + 0x1f], dl
cmp eax, esi
jbe 0x100d76b1
jmp 0x100d76b9
cmp edx, 0x7ffffff0
jae 0x100d7743
mov esi, edx
or esi, 0xf
inc esi
push esi
call fcn.100de068
mov edx, dword [esp + 0xc]
add esp, 4
mov dword [ebx + 0x14], eax
or esi, 0x80000000
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x18], edx
mov esi, dword [esp]
cmp eax, esi
ja 0x100d76b9
lea ecx, [eax + edx]
inc ecx
cmp ecx, esi
ja 0x100d7725
inc edx
push edx
push esi
push eax
call fcn.100e1250
add esp, 0xc
lea eax, [esp + 0x14]
mov ecx, ebx
add ecx, 0x20
push eax
call fcn.10081bd0
xor edi, edi
mov dword [esp + 0x50], ebx
cmp dword [esp + 4], 0
jns 0x100d76ea
push esi
call fcn.100de098
add esp, 4
lea ecx, [esp + 0x14]
call fcn.10081c90
test edi, edi
mov ebx, dword [ebp + 8]
je 0x100d7706
call fcn.10060950
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esp, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
mov dword [ebx], eax
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.100dea63
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push str.char_traits::copy_overlapped_range
push str.__s2_____s1____s2_____s1__n
push 0xec
push str....._buildtools_third_partylibc_trunkinclude__stringchar_traits.h
push str._s:_d:_assertion__s_failed:__s
call fcn.1003963c
call fcn.100f18b0
int3