Function at 0x44c720
Capabilities:
Check os version
Get system information on windows
Query or enumerate registry value

Disassembly:
sub esp, 0x1d0
push ebx
mov ebx, dword [esp + 0x1e0]
push ebp
mov ebp, dword [esp + 0x1e0]
push esi
mov esi, dword [esp + 0x1e0]
push edi
mov byte [esi], 0
lea eax, [esp + 0xb4]
mov byte [ebp], 0
push eax
mov dword [ebx], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
mov ecx, 0x27
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 0x9c
call edi
test eax, eax
mov dword [esp + 0x10], eax
jne 0x44c79b
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], 0x94
call edi
test eax, eax
je 0x44d303
mov eax, dword [esp + 0x28]
sub eax, 0
je 0x44d458
dec eax
je 0x44d310
dec eax
jne 0x44d491
mov eax, dword [esp + 0x1c]
cmp eax, 6
jb 0x44c81b
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44c7e4
lea ecx, [esp + 0xb4]
push ecx
call eax
cmp byte [esp + 0xb2], 1
jne 0x44c805
mov edx, dword [str.Vista]
mov dword [esi], edx
mov ax, word [0x47ce84]
mov word [esi + 4], ax
jmp 0x44ca16
mov ecx, dword [str.2008]
mov dword [esi], ecx
mov dl, byte [0x47ce7c]
mov byte [esi + 4], dl
jmp 0x44ca16
cmp eax, 5
mov ecx, dword [esp + 0x20]
jne 0x44c9f5
cmp ecx, 2
jne 0x44c9c5
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44c856
lea ecx, [esp + 0xb4]
push ecx
call eax
cmp byte [esp + 0xb2], 1
jne 0x44c8a0
mov dx, word [0x47ce74]
mov word [esi], dx
mov al, byte [0x47ce76]
mov byte [esi + 2], al
mov edx, dword [str.Professional]
mov ecx, ebp
mov dword [ecx], edx
mov eax, dword [0x4698f8]
mov dword [ecx + 4], eax
mov edx, dword [0x4698fc]
mov dword [ecx + 8], edx
mov al, byte [0x469900]
mov byte [ecx + 0xc], al
mov dword [ebx], 0x42
jmp 0x44ca16
mov ecx, dword [str.2003]
mov eax, dword [esp + 0xb0]
test al, 0x20
mov dword [esi], ecx
mov dl, byte [0x47ce70]
mov byte [esi + 4], dl
je 0x44c92b
mov ecx, dword [str.Small_Business_Server]
mov eax, ebp
mov dword [eax], ecx
mov edx, dword [0x47ca8c]
mov dword [eax + 4], edx
mov ecx, dword [0x47ca90]
mov dword [eax + 8], ecx
mov edx, dword [0x47ca94]
mov dword [eax + 0xc], edx
mov ecx, dword [0x47ca98]
mov dword [eax + 0x10], ecx
mov dx, word [0x47ca9c]
push 1
mov word [eax + 0x14], dx
call fcn.0044c320
add esp, 4
test eax, eax
je 0x44c920
mov edi, ebp
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x44c906
mov eax, dword [0x47ce68]
mov dword [edi], eax
mov dword [ebx], 0x4f
jmp 0x44ca16
mov dword [ebx], 0x4c
jmp 0x44ca16
test ah, 0x20
push 0
mov ecx, ebp
je 0x44c98a
mov edx, dword [str.Storage_Server]
mov dword [ecx], edx
mov eax, dword [0x47ce5c]
mov dword [ecx + 4], eax
mov edx, dword [0x47ce60]
mov dword [ecx + 8], edx
mov ax, word [0x47ce64]
mov word [ecx + 0xc], ax
mov dl, byte [0x47ce66]
mov byte [ecx + 0xe], dl
call fcn.0044c320
add esp, 4
test eax, eax
je 0x44c97f
mov edi, ebp
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x44c970
mov eax, dword [0x47ce68]
mov dword [edi], eax
mov dword [ebx], 0x4b
jmp 0x44ca16
mov edx, dword [str.Server]
mov dword [ecx], edx
mov ax, word [0x47ce54]
mov word [ecx + 4], ax
mov dl, byte [0x47ce56]
mov byte [ecx + 6], dl
call fcn.0044c320
add esp, 4
test eax, eax
je 0x44ca16
mov edi, ebp
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x44c9b4
mov eax, dword [0x47ce68]
mov dword [edi], eax
jmp 0x44ca16
cmp ecx, 1
jne 0x44c9df
mov cx, word [0x47ce74]
mov word [esi], cx
mov dl, byte [0x47ce76]
mov byte [esi + 2], dl
jmp 0x44ca16
test ecx, ecx
jne 0x44ca06
mov eax, dword [str.2000]
mov dword [esi], eax
mov cl, byte [0x47ce4c]
mov byte [esi + 4], cl
jmp 0x44ca16
cmp eax, 4
jne 0x44ca06
test ecx, ecx
jne 0x44ca06
mov dword [esi], 0x34544e
jmp 0x44ca16
push ecx
push eax
push str.NT_d._d
push esi
call fcn.00458ee7
add esp, 0x10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44d0fe
mov al, byte [esp + 0xb2]
cmp al, 1
jne 0x44cbc6
mov eax, dword [esp + 0x1c]
cmp eax, 6
jb 0x44ca7f
push ebx
lea edx, [esp + 0xdc]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.0044bc10
mov al, byte [esp + 0xe4]
add esp, 0xc
test al, al
je 0x44cb58
lea eax, [esp + 0xd8]
mov edx, ebp
mov ecx, eax
sub edx, ecx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x44ca70
jmp 0x44cb58
cmp eax, 5
jne 0x44cb33
mov eax, dword [esp + 0x20]
cmp eax, 2
je 0x44cb63
cmp eax, 1
jne 0x44cadc
push ebx
lea edx, [esp + 0xdc]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.0044bda0
mov al, byte [esp + 0xe4]
add esp, 0xc
test al, al
je 0x44cb58
lea eax, [esp + 0xd8]
mov edx, ebp
mov ecx, eax
sub edx, ecx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x44cad0
jmp 0x44cb58
test eax, eax
jne 0x44cb63
mov eax, dword [esp + 0xb0]
test ah, 2
mov edx, ebp
je 0x44cb0a
mov eax, dword [str.Home]
mov dword [edx], eax
mov cl, byte [0x47c998]
mov byte [edx + 4], cl
mov dword [ebx], 0x33
jmp 0x44cb63
mov eax, dword [str.Professional]
mov dword [edx], eax
mov ecx, dword [0x4698f8]
mov dword [edx + 4], ecx
mov eax, dword [0x4698fc]
mov dword [edx + 8], eax
mov cl, byte [0x469900]
mov byte [edx + 0xc], cl
mov dword [ebx], 0x34
jmp 0x44cb63
cmp eax, 4
ja 0x44cb63
mov eax, dword [str.Workstation]
mov edx, ebp
mov dword [edx], eax
mov ecx, dword [0x47ce38]
mov dword [edx + 4], ecx
mov eax, dword [0x47ce3c]
mov dword [edx + 8], eax
mov dword [ebx], 0x29
cmp dword [esp + 0x1c], 4
jbe 0x44d219
mov edi, ebp
dec edi
cmp word [esp + 0xb4], 9
jne 0x44cba0
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x44cb71
mov ecx, dword [str._x64_Edition]
mov dword [edi], ecx
mov edx, dword [0x47ce28]
mov dword [edi + 4], edx
mov eax, dword [0x47ce2c]
mov dword [edi + 8], eax
mov cl, byte [0x47ce30]
mov byte [edi + 0xc], cl
jmp 0x44d214
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x44cba0
mov edx, dword [str._Edition]
mov dword [edi], edx
mov eax, dword [0x47ce1c]
mov dword [edi + 4], eax
mov cl, byte [0x47ce20]
mov byte [edi + 8], cl
jmp 0x44d214
cmp al, 3
je 0x44cbd2
cmp al, 2
jne 0x44d214
mov eax, dword [esp + 0x1c]
cmp eax, 6
jb 0x44cc86
push ebx
lea edx, [esp + 0xdc]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.0044be90
mov al, byte [esp + 0xe4]
add esp, 0xc
test al, al
je 0x44d214
lea eax, [esp + 0xd8]
mov edx, ebp
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x44cc11
mov edi, ebp
dec edi
cmp word [esp + 0xb4], 9
jne 0x44cc60
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x44cc30
mov edx, dword [str._x64_Edition]
mov dword [edi], edx
mov eax, dword [0x47ce28]
mov dword [edi + 4], eax
mov ecx, dword [0x47ce2c]
mov dword [edi + 8], ecx
mov dl, byte [0x47ce30]
mov byte [edi + 0xc], dl
jmp 0x44d214
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x44cc60
mov eax, dword [str._Edition]
mov dword [edi], eax
mov ecx, dword [0x47ce1c]
mov dword [edi + 4], ecx
mov dl, byte [0x47ce20]
mov byte [edi + 8], dl
jmp 0x44d214
cmp eax, 5
jne 0x44d07e
mov eax, dword [esp + 0x20]
cmp eax, 2
jne 0x44cf8f
mov ax, word [esp + 0xb4]
cmp ax, 6
jne 0x44ccf8
mov al, byte [esp + 0xb0]
test al, al
jns 0x44ccd3
mov edi, ebp
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x44ccb8
mov ecx, 0xb
mov esi, str._Datacenter_Edition_for_Itanium_based_Systems
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp 0x44cd4f
test al, 2
je 0x44cd4f
mov edi, ebp
dec edi
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x44cce0
mov ecx, 0xb
mov esi, str._Enterprise_Edition_for_Itanium_based_Systems
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp 0x44cd4f
cmp ax, 9
jne 0x44ce42
mov al, byte [esp + 0xb0]
mov edi, ebp
dec edi
test al, al
jns 0x44cdb8
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x44cd14
mov eax, dword [str._Datacenter_x64_Edition]
mov dword [edi], eax
mov ecx, dword [0x47cda4]
mov dword [edi + 4], ecx
mov edx, dword [0x47cda8]
mov dword [edi + 8], edx
mov eax, dword [0x47cdac]
mov dword [edi + 0xc], eax
mov ecx, dword [0x47cdb0]
mov dword [edi + 0x10], ecx
mov edx, dword [0x47cdb4]
mov dword [edi + 0x14], edx
mov eax, dword [esp + 0x24]
and eax, 0xffff
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0xe0]
push str.__s_Build__d
push edx
call fcn.00458ee7
lea eax, [esp + 0xe8]
add esp, 0x10
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44cd80
sub eax, edx
dec ebp
mov edi, ebp
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x44cd90
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1d0
ret
test al, 2
je 0x44ce00
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x44cdc0
mov eax, dword [str._Enterprise_x64_Edition]
mov dword [edi], eax
mov ecx, dword [0x47cd7c]
mov dword [edi + 4], ecx
mov edx, dword [0x47cd80]
mov dword [edi + 8], edx
mov eax, dword [0x47cd84]
mov dword [edi + 0xc], eax
mov ecx, dword [0x47cd88]
mov dword [edi + 0x10], ecx
mov edx, dword [0x47cd8c]
jmp 0x44cd4c
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x44ce00
mov eax, dword [str._Standard_x64_Edition]
mov dword [edi], eax
mov ecx, dword [0x47cd64]
mov dword [edi + 4], ecx
mov edx, dword [0x47cd68]
mov dword [edi + 8], edx
mov eax, dword [0x47cd6c]
mov dword [edi + 0xc], eax
mov ecx, dword [0x47cd70]
mov dword [edi + 0x10], ecx
mov dx, word [0x47cd74]
mov word [edi + 0x14], dx
jmp 0x44cd4f
mov eax, dword [esp + 0xb0]
test al, al
jns 0x44ce8d
mov edi, ebp
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x44ce50
mov eax, dword [str._Datacenter_Edition]
mov dword [edi], eax
mov ecx, dword [0x47cd50]
mov dword [edi + 4], ecx
mov edx, dword [0x47cd54]
mov dword [edi + 8], edx
mov eax, dword [0x47cd58]
mov dword [edi + 0xc], eax
mov ecx, dword [0x47cd5c]
mov dword [edi + 0x10], ecx
mov dword [ebx], 0x4a
jmp 0x44cd4f
test al, 2
je 0x44cee1
mov edi, ebp
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x44ce94
mov edx, dword [str._Enterprise_Edition]
mov dword [edi], edx
mov eax, dword [0x47cd3c]
mov dword [edi + 4], eax
mov ecx, dword [0x47cd40]
mov dword [edi + 8], ecx
mov edx, dword [0x47cd44]
mov dword [edi + 0xc], edx
mov eax, dword [0x47cd48]
push 0
mov dword [edi + 0x10], eax
call fcn.0044c320
add esp, 4
neg eax
sbb eax, eax
and eax, 6
add eax, 0x48
mov dword [ebx], eax
jmp 0x44d214
test ah, 4
je 0x44cf25
mov edi, ebp
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x44cef0
mov ecx, dword [str._Web_Edition]
mov dword [edi], ecx
mov edx, dword [0x47cd2c]
mov dword [edi + 4], edx
mov eax, dword [0x47cd30]
mov dword [edi + 8], eax
mov cl, byte [0x47cd34]
mov byte [edi + 0xc], cl
mov dword [ebx], 0x49
jmp 0x44cd4f
test al, 0x20
jne 0x44cd4f
test ah, 0x20
jne 0x44cd4f
mov edi, ebp
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x44cf40
mov edx, dword [str._Standard_Edition]
mov dword [edi], edx
mov eax, dword [0x47cd18]
mov dword [edi + 4], eax
mov ecx, dword [0x47cd1c]
mov dword [edi + 8], ecx
mov edx, dword [0x47cd20]
mov dword [edi + 0xc], edx
mov ax, word [0x47cd24]
push 0
mov word [edi + 0x10], ax
call fcn.0044c320
add esp, 4
neg eax
sbb eax, eax
and eax, 6
add eax, 0x47
mov dword [ebx], eax
jmp 0x44d214
test eax, eax
jne 0x44d07e
mov al, byte [esp + 0xb0]
test al, al
jns 0x44cfdb
mov edx, dword [str.Datacenter_Server]
mov ecx, ebp
mov dword [ecx], edx
mov eax, dword [0x47cb28]
mov dword [ecx + 4], eax
mov edx, dword [0x47cb2c]
mov dword [ecx + 8], edx
mov eax, dword [0x47cb30]
mov dword [ecx + 0xc], eax
mov dx, word [0x47cb34]
mov word [ecx + 0x10], dx
mov dword [ebx], 0x37
jmp 0x44cd4f
test al, 2
je 0x44d00f
mov ecx, dword [str.Advanced_Server]
mov eax, ebp
mov dword [eax], ecx
mov edx, dword [0x47cd08]
mov dword [eax + 4], edx
mov ecx, dword [0x47cd0c]
mov dword [eax + 8], ecx
mov edx, dword [0x47cd10]
mov dword [eax + 0xc], edx
mov dword [ebx], 0x36
jmp 0x44cd4f
test al, 0x20
mov eax, ebp
je 0x44d057
mov ecx, dword [str.Small_Business_Server]
mov dword [eax], ecx
mov edx, dword [0x47ca8c]
mov dword [eax + 4], edx
mov ecx, dword [0x47ca90]
mov dword [eax + 8], ecx
mov edx, dword [0x47ca94]
mov dword [eax + 0xc], edx
mov ecx, dword [0x47ca98]
mov dword [eax + 0x10], ecx
mov dx, word [0x47ca9c]
mov word [eax + 0x14], dx
mov dword [ebx], 0x38
jmp 0x44cd4f
mov ecx, dword [str.Server]
mov dword [eax], ecx
mov dx, word [0x47ce54]
mov word [eax + 4], dx
mov cl, byte [0x47ce56]
mov byte [eax + 6], cl
mov dword [ebx], 0x35
jmp 0x44cd4f
mov al, byte [esp + 0xb0]
test al, 0x10
je 0x44d0b7
mov eax, dword [str.Terminal_Server]
mov edx, ebp
mov dword [edx], eax
mov ecx, dword [0x47ccf8]
mov dword [edx + 4], ecx
mov eax, dword [0x47ccfc]
mov dword [edx + 8], eax
mov ecx, dword [0x47cd00]
mov dword [edx + 0xc], ecx
mov dword [ebx], 0x2d
jmp 0x44d214
test al, 2
je 0x44d0d7
mov ecx, 6
mov esi, str.Server__Enterprise_Edition
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebx], 0x2c
jmp 0x44d214
mov eax, dword [str.Server]
mov edx, ebp
mov dword [edx], eax
mov cx, word [0x47ce54]
mov word [edx + 4], cx
mov al, byte [0x47ce56]
mov byte [edx + 6], al
mov dword [ebx], 0x2a
jmp 0x44d214
lea ecx, [esp + 0x14]
push ecx
push 1
push 0
push str.SYSTEMCurrentControlSetControlProductOptions
mov edi, 0x104
push 0x80000002
mov dword [esp + 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44d303
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0xdc]
push eax
push 0
push 0
push str.ProductType
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x14]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x44d303
cmp dword [esp + 0x10], edi
ja 0x44d303
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea eax, [esp + 0xd8]
push eax
push str.WINNT
call esi
test eax, eax
jne 0x44d1a2
mov edx, dword [str.Workstation]
mov ecx, ebp
mov dword [ecx], edx
mov eax, dword [0x47ce38]
mov dword [ecx + 4], eax
mov edx, dword [0x47ce3c]
mov dword [ecx + 8], edx
mov dword [ebx], 0x29
lea eax, [esp + 0xd8]
push eax
push str.LANMANNT
call esi
test eax, eax
jne 0x44d1d8
mov edx, dword [str.Server]
mov ecx, ebp
mov dword [ecx], edx
mov ax, word [0x47ce54]
mov word [ecx + 4], ax
mov dl, byte [0x47ce56]
mov byte [ecx + 6], dl
mov dword [ebx], 0x2a
lea eax, [esp + 0xd8]
push eax
push str.SERVERNT
call esi
test eax, eax
jne 0x44d214
mov edx, dword [str.Advanced_Server]
mov ecx, ebp
mov dword [ecx], edx
mov eax, dword [0x47cd08]
mov dword [ecx + 4], eax
mov edx, dword [0x47cd0c]
mov dword [ecx + 8], edx
mov eax, dword [0x47cd10]
mov dword [ecx + 0xc], eax
mov dword [ebx], 0x2b
cmp dword [esp + 0x1c], 4
jne 0x44cd4f
push str.Service_Pack_6
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x44cd4f
lea edx, [esp + 0x10]
push edx
push 1
push eax
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionHotfixQ246009
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
lea ecx, [esp + 0xd8]
jne 0x44d29a
mov eax, dword [esp + 0x24]
and eax, 0xffff
push eax
push str._Service_Pack_6a_Build__d
push ecx
call fcn.00458ee7
lea eax, [esp + 0xe4]
add esp, 0xc
mov edx, eax
jmp 0x44d280
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44d280
sub eax, edx
dec ebp
mov edi, ebp
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x44d290
jmp 0x44d2d8
mov edx, dword [esp + 0x24]
and edx, 0xffff
push edx
lea eax, [esp + 0x30]
push eax
push str.__s_Build__d
push ecx
call fcn.00458ee7
lea eax, [esp + 0xe8]
add esp, 0x10
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44d2c1
sub eax, edx
dec ebp
mov edi, ebp
lea ecx, [ecx]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x44d2d0
mov ecx, eax
shr ecx, 2
mov esi, edx
mov edx, dword [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1d0
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1d0
ret
cmp dword [esp + 0x1c], 4
jne 0x44d491
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x44d398
mov ax, word [0x4767ac]
mov word [esi], ax
mov cl, byte [0x4767ae]
mov al, byte [esp + 0x2d]
cmp al, 0x43
mov byte [esi + 2], cl
mov dword [ebx], 0xa
je 0x44d36f
cmp al, 0x42
je 0x44d36f
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x2c]
push edx
push eax
push str.Build__d__s
push ebp
call fcn.00458ee7
add esp, 0x10
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1d0
ret
mov ecx, dword [esp + 0x24]
push ecx
push str.OSR2_Build__d
push ebp
call fcn.00458ee7
add esp, 0xc
pop edi
pop esi
pop ebp
mov dword [ebx], 0xb
mov eax, 1
pop ebx
add esp, 0x1d0
ret
cmp eax, 0xa
jne 0x44d412
mov dx, word [0x4767b0]
mov word [esi], dx
mov al, byte [0x4767b2]
mov byte [esi + 2], al
mov al, byte [esp + 0x2d]
cmp al, 0x41
mov dword [ebx], 0x14
je 0x44d3e9
cmp al, 0x42
je 0x44d3e9
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x2c]
push ecx
push edx
push str.Build__d__s
push ebp
call fcn.00458ee7
add esp, 0x10
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1d0
ret
mov eax, dword [esp + 0x24]
push eax
push str.SE_Build__d
push ebp
call fcn.00458ee7
add esp, 0xc
pop edi
pop esi
pop ebp
mov dword [ebx], 0x15
mov eax, 1
pop ebx
add esp, 0x1d0
ret
cmp eax, 0x5a
jne 0x44d491
mov cx, word [0x4767a8]
mov word [esi], cx
mov ecx, dword [esp + 0x24]
mov dl, byte [0x4767aa]
lea eax, [esp + 0x2c]
push eax
push ecx
push str.Build__d__s
push ebp
mov byte [esi + 2], dl
call fcn.00458ee7
add esp, 0x10
pop edi
pop esi
pop ebp
mov dword [ebx], 0x1e
mov eax, 1
pop ebx
add esp, 0x1d0
ret
mov edx, dword [str.Win32s]
mov dword [esi], edx
mov ax, word [0x47cbe8]
mov word [esi + 4], ax
mov eax, dword [esp + 0x24]
mov cl, byte [0x47cbea]
lea edx, [esp + 0x2c]
push edx
push eax
push str.Build__d__s
push ebp
mov byte [esi + 6], cl
call fcn.00458ee7
mov dword [ebx], 0x5a
add esp, 0x10
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1d0
ret