Function at 0x10155d50
Capabilities:
Check os version
Get system information on windows
Identify system language via api
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b0
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov byte [ebp - 0x1f], al
mov dword [ebp - 4], 0
push 0x24
push 0
lea ecx, [ebp - 0x50]
push ecx
call fcn.1011e8d0
add esp, 0xc
push 0x9c
push 0
lea edx, [ebp - 0xf0]
push edx
call fcn.1011e8d0
add esp, 0xc
mov dword [ebp - 0xf0], 0x9c
lea eax, [ebp - 0xf0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10155de1
mov dword [ebp - 0xf0], 0x94
lea ecx, [ebp - 0xf0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x10155de1
xor eax, eax
jmp 0x101569d8
push str.RtlGetNtVersionNumbers
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10155e61
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xfc], 0
lea edx, [ebp - 0xfc]
push edx
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0xf4]
push ecx
call dword [ebp - 0x10]
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0xec], edx
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xfc]
and ecx, 0xffff
mov dword [ebp - 0xe4], ecx
cmp dword [ebp + 8], 0
je 0x101568ac
push str.GetNativeSystemInfo
push 0x101cc2dc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10155e94
lea edx, [ebp - 0x50]
push edx
call dword [ebp - 0x18]
jmp 0x10155e9e
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0x1a8], ecx
cmp dword [ebp - 0x1a8], 0
je 0x1015689b
cmp dword [ebp - 0x1a8], 1
je 0x101567da
cmp dword [ebp - 0x1a8], 2
je 0x10155ed2
jmp 0x101568ac
push str.Microsoft
mov edx, dword [ebp + 8]
push edx
call fcn.1011e460
add esp, 8
cmp dword [ebp - 0xec], 6
jb 0x101562ab
cmp dword [ebp - 0xec], 0xa
jne 0x10155f2e
cmp dword [ebp - 0xe4], 0x55f0
jb 0x10155f18
push str.Windows_11
mov eax, dword [ebp + 8]
push eax
call fcn.1011e470
add esp, 8
jmp 0x10155f29
push str.Windows_10
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011e470
add esp, 8
jmp 0x10156069
cmp dword [ebp - 0xec], 6
jne 0x10155ff9
cmp dword [ebp - 0xe8], 0
jne 0x10155f71
movzx edx, byte [ebp - 0x56]
cmp edx, 1
jne 0x10155f60
push str.Windows_Vista
mov eax, dword [ebp + 8]
push eax
call fcn.1011e470
add esp, 8
jmp 0x10155f71
push str.Windows_Server_2008
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011e470
add esp, 8
cmp dword [ebp - 0xe8], 1
jne 0x10155fa7
movzx edx, byte [ebp - 0x56]
cmp edx, 1
jne 0x10155f96
push str.Windows_7
mov eax, dword [ebp + 8]
push eax
call fcn.1011e470
add esp, 8
jmp 0x10155fa7
push str.Windows_Server_2008_R2
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011e470
add esp, 8
cmp dword [ebp - 0xe8], 2
jne 0x10155fdd
movzx edx, byte [ebp - 0x56]
cmp edx, 1
jne 0x10155fcc
push str.Windows_8
mov eax, dword [ebp + 8]
push eax
call fcn.1011e470
add esp, 8
jmp 0x10155fdd
push str.Windows_Server_2012
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011e470
add esp, 8
cmp dword [ebp - 0xe8], 3
jne 0x10155ff7
push str.Windows_8.1
mov edx, dword [ebp + 8]
push edx
call fcn.1011e470
add esp, 8
jmp 0x10156069
mov byte [ebp - 0x11c], 0
xor eax, eax
mov dword [ebp - 0x11b], eax
mov dword [ebp - 0x117], eax
mov dword [ebp - 0x113], eax
mov dword [ebp - 0x10f], eax
mov dword [ebp - 0x10b], eax
mov dword [ebp - 0x107], eax
mov dword [ebp - 0x103], eax
mov word [ebp - 0xff], ax
mov byte [ebp - 0xfd], al
mov ecx, dword [ebp - 0xec]
push ecx
push str.Windows__d
push 0x1f
lea edx, [ebp - 0x11c]
push edx
call fcn.1011ee39
add esp, 0x10
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011e470
add esp, 8
push str.GetProductInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 8]
push edx
push 0
push 0
mov eax, dword [ebp - 0xe8]
push eax
mov ecx, dword [ebp - 0xec]
push ecx
call dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x1ac], edx
mov eax, dword [ebp - 0x1ac]
sub eax, 1
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0x78
ja case.0x101560ce.4
mov ecx, dword [ebp - 0x1ac]
movzx edx, byte [ecx + 0x10156a3c]
jmp dword [edx*4 + 0x101569e8]
push str.Ultimate_Edition
mov eax, dword [ebp + 8]
push eax
call fcn.1011e470
add esp, 8
jmp case.0x101560ce.4
push str.Home_Premium_Edition
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011e470
add esp, 8
jmp case.0x101560ce.4
push str.Home_Basic_Edition
mov edx, dword [ebp + 8]
push edx
call fcn.1011e470
add esp, 8
jmp case.0x101560ce.4
push 0x101cc3fc
mov eax, dword [ebp + 8]
push eax
call fcn.1011e470
add esp, 8
jmp case.0x101560ce.4
push str.Business_Edition
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011e470
add esp, 8
jmp case.0x101560ce.4
push str.Starter_Edition
mov edx, dword [ebp + 8]
push edx
call fcn.1011e470
add esp, 8
jmp case.0x101560ce.4
push str.Cluster_Server_Edition
mov eax, dword [ebp + 8]
push eax
call fcn.1011e470
add esp, 8
jmp case.0x101560ce.4
push 0x101cc450
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011e470
add esp, 8
jmp case.0x101560ce.4
push str.Datacenter_Edition__core_installation_
mov edx, dword [ebp + 8]
push edx
call fcn.1011e470
add esp, 8
jmp case.0x101560ce.4
push 0x101cc48c
mov eax, dword [ebp + 8]
push eax
call fcn.1011e470
add esp, 8
jmp case.0x101560ce.4
push str.Enterprise_Edition__core_installation_
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011e470
add esp, 8
jmp case.0x101560ce.4
push 0x101cc4c8
mov edx, dword [ebp + 8]
push edx
call fcn.1011e470
add esp, 8
jmp case.0x101560ce.4
push str.Small_Business_Server
mov eax, dword [ebp + 8]
push eax
call fcn.1011e470
add esp, 8
jmp case.0x101560ce.4
push str.Small_Business_Server_Premium_Edition
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011e470
add esp, 8
jmp case.0x101560ce.4
push 0x101cc538
mov edx, dword [ebp + 8]
push edx
call fcn.1011e470
add esp, 8
jmp case.0x101560ce.4
push str.Standard_Edition__core_installation_
mov eax, dword [ebp + 8]
push eax
call fcn.1011e470
add esp, 8
jmp case.0x101560ce.4
push str.Web_Server_Edition
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011e470
add esp, 8
jmp case.0x101560ce.4
push str.Professinal_Edition
mov edx, dword [ebp + 8]
push edx
call fcn.1011e470
add esp, 8
jmp case.0x101560ce.4
push str.Home_China
mov eax, dword [ebp + 8]
push eax
call fcn.1011e470
add esp, 8
jmp case.0x101560ce.4
push str.Education
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011e470
add esp, 8
movzx edx, word [ebp - 0x50]
cmp edx, 9
jne 0x10156292
push str.64_bit
mov eax, dword [ebp + 8]
push eax
call fcn.1011e470
add esp, 8
jmp 0x101562ab
movzx ecx, word [ebp - 0x50]
test ecx, ecx
jne 0x101562ab
push str.32_bit
mov edx, dword [ebp + 8]
push edx
call fcn.1011e470
add esp, 8
cmp dword [ebp - 0xec], 5
jne 0x1015648d
cmp dword [ebp - 0xe8], 2
jne 0x1015648d
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x101562e4
push str.Windows_Server_2003_R2_
mov eax, dword [ebp + 8]
push eax
call fcn.1011e470
add esp, 8
jmp 0x10156357
movzx ecx, word [ebp - 0x58]
cmp ecx, 0x2000
jne 0x10156303
push str.Windows_Storage_Server_2003
mov edx, dword [ebp + 8]
push edx
call fcn.1011e470
add esp, 8
jmp 0x10156357
movzx eax, word [ebp - 0x58]
cmp eax, 0x8000
jne 0x10156321
push str.Windows_Home_Server
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011e470
add esp, 8
jmp 0x10156357
movzx edx, byte [ebp - 0x56]
cmp edx, 1
jne 0x10156346
movzx eax, word [ebp - 0x50]
cmp eax, 9
jne 0x10156346
push str.Windows_XP_Professional_x64_Edition
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011e470
add esp, 8
jmp 0x10156357
push str.Windows_Server_2003
mov edx, dword [ebp + 8]
push edx
call fcn.1011e470
add esp, 8
movzx eax, byte [ebp - 0x56]
cmp eax, 1
je 0x1015648d
movzx ecx, word [ebp - 0x50]
cmp ecx, 6
jne 0x101563ab
movzx edx, word [ebp - 0x58]
and edx, 0x80
je 0x1015638c
push str.Datacenter_Edition_for_Itanium_based_Systems
mov eax, dword [ebp + 8]
push eax
call fcn.1011e470
add esp, 8
jmp 0x101563a6
movzx ecx, word [ebp - 0x58]
and ecx, 2
je 0x101563a6
push str.Enterprise_Edition_for_Itanium_based_Systems
mov edx, dword [ebp + 8]
push edx
call fcn.1011e470
add esp, 8
jmp 0x1015648d
movzx eax, word [ebp - 0x50]
cmp eax, 9
jne 0x10156405
movzx ecx, word [ebp - 0x58]
and ecx, 0x80
je 0x101563d3
push str.Datacenter_x64_Edition
mov edx, dword [ebp + 8]
push edx
call fcn.1011e470
add esp, 8
jmp 0x10156400
movzx eax, word [ebp - 0x58]
and eax, 2
je 0x101563ef
push str.Enterprise_x64_Edition
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011e470
add esp, 8
jmp 0x10156400
push str.Standard_x64_Edition
mov edx, dword [ebp + 8]
push edx
call fcn.1011e470
add esp, 8
jmp 0x1015648d
movzx eax, word [ebp - 0x58]
and eax, 0x4000
je 0x10156423
push str.Compute_Cluster_Edition
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011e470
add esp, 8
jmp 0x1015648d
movzx edx, word [ebp - 0x58]
and edx, 0x80
je 0x10156442
push str.Datacenter_Edition
mov eax, dword [ebp + 8]
push eax
call fcn.1011e470
add esp, 8
jmp 0x1015648d
movzx ecx, word [ebp - 0x58]
and ecx, 2
je 0x1015645e
push str.Enterprise_Edition
mov edx, dword [ebp + 8]
push edx
call fcn.1011e470
add esp, 8
jmp 0x1015648d
movzx eax, word [ebp - 0x58]
and eax, 0x400
je 0x1015647c
push str.Web_Edition
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011e470
add esp, 8
jmp 0x1015648d
push str.Standard_Edition
mov edx, dword [ebp + 8]
push edx
call fcn.1011e470
add esp, 8
cmp dword [ebp - 0xec], 5
jne 0x101564fc
cmp dword [ebp - 0xe8], 1
jne 0x101564fc
push str.Windows_XP
mov eax, dword [ebp + 8]
push eax
call fcn.1011e470
add esp, 8
movzx ecx, word [ebp - 0x58]
and ecx, 0x200
je 0x101564cf
push 0x101cc770
mov edx, dword [ebp + 8]
push edx
call fcn.1011e470
add esp, 8
jmp 0x101564fc
movzx eax, word [ebp - 0x58]
and eax, 0x40
je 0x101564eb
push str.Embedded
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011e470
add esp, 8
jmp 0x101564fc
push 0x101cc78c
mov edx, dword [ebp + 8]
push edx
call fcn.1011e470
add esp, 8
cmp dword [ebp - 0xec], 5
jne 0x1015658a
cmp dword [ebp - 0xe8], 0
jne 0x1015658a
push str.Windows_2000
mov eax, dword [ebp + 8]
push eax
call fcn.1011e470
add esp, 8
movzx ecx, byte [ebp - 0x56]
cmp ecx, 1
jne 0x1015653f
push 0x101cc7ac
mov edx, dword [ebp + 8]
push edx
call fcn.1011e470
add esp, 8
jmp 0x1015658a
movzx eax, word [ebp - 0x58]
and eax, 0x80
je 0x1015655d
push str.Datacenter_Server
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011e470
add esp, 8
jmp 0x1015658a
movzx edx, word [ebp - 0x58]
and edx, 2
je 0x10156579
push str.Advanced_Server
mov eax, dword [ebp + 8]
push eax
call fcn.1011e470
add esp, 8
jmp 0x1015658a
push str.Server
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011e470
add esp, 8
cmp dword [ebp - 0xec], 4
ja 0x101567d5
push str.Windows_NT
mov edx, dword [ebp + 8]
push edx
call fcn.1011e470
add esp, 8
cmp dword [ebp - 0xc], 0
je 0x10156655
movzx eax, byte [ebp - 0x56]
cmp eax, 1
jne 0x10156611
movzx ecx, word [ebp - 0x50]
cmp ecx, 9
je 0x10156611
cmp dword [ebp - 0xec], 4
jne 0x101565e0
push str.Workstation_4.0
mov edx, dword [ebp + 8]
push edx
call fcn.1011e470
add esp, 8
jmp 0x1015660f
movzx eax, word [ebp - 0x58]
and eax, 0x200
je 0x101565fe
push str.Home_Edition
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011e470
add esp, 8
jmp 0x1015660f
push str.Professional
mov edx, dword [ebp + 8]
push edx
call fcn.1011e470
add esp, 8
jmp 0x10156650
movzx eax, byte [ebp - 0x56]
cmp eax, 3
je 0x10156623
movzx ecx, byte [ebp - 0x56]
cmp ecx, 2
jne 0x10156650
movzx edx, word [ebp - 0x58]
and edx, 2
je 0x1015663f
push str.Server_4.0__Enterprise_Edition
mov eax, dword [ebp + 8]
push eax
call fcn.1011e470
add esp, 8
jmp 0x10156650
push str.Server_4.0
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011e470
add esp, 8
jmp 0x101567d5
mov byte [ebp - 0x19c], 0
xor edx, edx
mov dword [ebp - 0x19b], edx
mov dword [ebp - 0x197], edx
mov dword [ebp - 0x193], edx
mov dword [ebp - 0x18f], edx
mov dword [ebp - 0x18b], edx
mov dword [ebp - 0x187], edx
mov dword [ebp - 0x183], edx
mov word [ebp - 0x17f], dx
mov byte [ebp - 0x17d], dl
mov dword [ebp - 0x178], 0x50
lea eax, [ebp - 0x174]
push eax
push 1
push 0
push str.SYSTEMCurrentControlSetControlProductOptions
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0
je 0x101566d0
xor eax, eax
jmp 0x101569d8
lea ecx, [ebp - 0x178]
push ecx
lea edx, [ebp - 0x170]
push edx
push 0
push 0
push str.ProductType
mov eax, dword [ebp - 0x174]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x174]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x17c], 0
jne 0x10156719
cmp dword [ebp - 0x178], 0x50
jbe 0x10156720
xor eax, eax
jmp 0x101569d8
lea eax, [ebp - 0x170]
mov ecx, str.WINNT
call fcn.10001000
test eax, eax
jne 0x10156756
mov edx, dword [ebp - 0xe8]
push edx
mov eax, dword [ebp - 0xec]
push eax
push str.Workstation__d._d
lea ecx, [ebp - 0x19c]
push ecx
call fcn.1011ed45
add esp, 0x10
lea eax, [ebp - 0x170]
mov ecx, str.LANMANNT
call fcn.10001000
test eax, eax
jne 0x1015678c
mov edx, dword [ebp - 0xe8]
push edx
mov eax, dword [ebp - 0xec]
push eax
push str.Server__d._d
lea ecx, [ebp - 0x19c]
push ecx
call fcn.1011ed45
add esp, 0x10
lea eax, [ebp - 0x170]
mov ecx, str.SERVERNT
call fcn.10001000
test eax, eax
jne 0x101567c2
mov edx, dword [ebp - 0xe8]
push edx
mov eax, dword [ebp - 0xec]
push eax
push str.Advanced_Server__d._d
lea ecx, [ebp - 0x19c]
push ecx
call fcn.1011ed45
add esp, 0x10
lea edx, [ebp - 0x19c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1011e470
add esp, 8
jmp 0x101568ac
cmp dword [ebp - 0xec], 4
jne 0x10156828
cmp dword [ebp - 0xe8], 0
jne 0x10156828
movsx ecx, byte [ebp - 0xdb]
cmp ecx, 0x43
je 0x10156804
movsx edx, byte [ebp - 0xdb]
cmp edx, 0x42
jne 0x10156817
push str.Microsoft_Windows_95_OSR2
mov eax, dword [ebp + 8]
push eax
call fcn.1011e460
add esp, 8
jmp 0x10156828
push str.Microsoft_Windows_95
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011e460
add esp, 8
cmp dword [ebp - 0xec], 4
jne 0x10156876
cmp dword [ebp - 0xe8], 0xa
jne 0x10156876
movsx edx, byte [ebp - 0xdb]
cmp edx, 0x41
je 0x10156852
movsx eax, byte [ebp - 0xdb]
cmp eax, 0x42
jne 0x10156865
push str.Microsoft_Windows_98_SE
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011e460
add esp, 8
jmp 0x10156876
push str.Microsoft_Windows_98
mov edx, dword [ebp + 8]
push edx
call fcn.1011e460
add esp, 8
cmp dword [ebp - 0xec], 4
jne 0x10156899
cmp dword [ebp - 0xe8], 0x5a
jne 0x10156899
push str.Microsoft_Windows_Millennium_Edition
mov eax, dword [ebp + 8]
push eax
call fcn.1011e460
add esp, 8
jmp 0x101568ac
push str.Microsoft_Win32s
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011e460
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x10156945
cmp dword [ebp - 0xec], 4
jne 0x10156932
mov eax, str.Service_Pack_6
lea ecx, [ebp - 0xdc]
call fcn.10001000
test eax, eax
jne 0x10156932
lea edx, [ebp - 0x1a0]
push edx
push 1
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionHotfixQ246009
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0x1a4], 0
jne 0x10156910
push str.Service_Pack_6a
mov eax, dword [ebp + 0xc]
push eax
call fcn.1011e460
add esp, 8
jmp 0x10156923
lea ecx, [ebp - 0xdc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.1011e460
add esp, 8
mov eax, dword [ebp - 0x1a0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10156945
lea ecx, [ebp - 0xdc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.1011e460
add esp, 8
cmp dword [ebp + 0x10], 0
je 0x1015695b
mov eax, dword [ebp - 0xe4]
and eax, 0xffff
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
cmp dword [ebp + 0x14], 0
je 0x101569d3
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx edx, ax
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1b0], eax
cmp dword [ebp - 0x1b0], 0x404
je 0x101569af
cmp dword [ebp - 0x1b0], 0x409
je 0x101569c2
cmp dword [ebp - 0x1b0], 0x804
je 0x1015699c
jmp 0x101569d3
push 0x101cc9e4
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.1011e460
add esp, 8
jmp 0x101569d3
push 0x101cc9e8
mov edx, dword [ebp + 0x14]
push edx
call fcn.1011e460
add esp, 8
jmp 0x101569d3
push 0x101cc9ec
mov eax, dword [ebp + 0x14]
push eax
call fcn.1011e460
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret