Function at 0x4032e0
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 0x40335b
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], 0x94
call edi
test eax, eax
je 0x403eb3
mov eax, dword [esp + 0x28]
sub eax, 0
je 0x404014
dec eax
je 0x403ec0
dec eax
jne 0x40404d
mov ecx, dword [esp + 0x1c]
cmp ecx, 6
jb 0x4033ed
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 0x4033a4
lea ecx, [esp + 0xb4]
push ecx
call eax
cmp byte [esp + 0xb2], 1
jne 0x4033d8
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4033ce
mov edx, dword [str.Vista]
mov dword [esi], edx
mov cx, word [0x417bf4]
mov word [esi + 4], cx
jmp 0x4035ec
mov word [esi], 0x37
jmp 0x4035ec
mov edx, dword [str.2008]
mov dword [esi], edx
mov al, byte [0x417bec]
mov byte [esi + 4], al
jmp 0x4035e8
cmp ecx, 5
mov eax, dword [esp + 0x20]
jne 0x4035c7
cmp eax, 2
jne 0x403596
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 0x403428
lea ecx, [esp + 0xb4]
push ecx
call eax
cmp byte [esp + 0xb2], 1
jne 0x403472
mov dx, word [0x417be4]
mov word [esi], dx
mov al, byte [0x417be6]
mov byte [esi + 2], al
mov edx, dword [str.Professional]
mov ecx, ebp
mov dword [ecx], edx
mov eax, dword [0x417410]
mov dword [ecx + 4], eax
mov edx, dword [0x417414]
mov dword [ecx + 8], edx
mov al, byte [0x417418]
mov byte [ecx + 0xc], al
mov dword [ebx], 0x42
jmp 0x4035e8
mov ecx, dword [str.2003]
mov eax, dword [esp + 0xb0]
test al, 0x20
mov dword [esi], ecx
mov dl, byte [0x417be0]
mov byte [esi + 4], dl
je 0x4034fd
mov ecx, dword [str.Small_Business_Server]
mov eax, ebp
mov dword [eax], ecx
mov edx, dword [0x4175d0]
mov dword [eax + 4], edx
mov ecx, dword [0x4175d4]
mov dword [eax + 8], ecx
mov edx, dword [0x4175d8]
mov dword [eax + 0xc], edx
mov ecx, dword [0x4175dc]
mov dword [eax + 0x10], ecx
mov dx, word [0x4175e0]
push 1
mov word [eax + 0x14], dx
call fcn.004024d0
add esp, 4
test eax, eax
je 0x4034f2
mov edi, ebp
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4034d8
mov eax, dword [0x417bd8]
mov dword [edi], eax
mov dword [ebx], 0x4f
jmp 0x4035e8
mov dword [ebx], 0x4c
jmp 0x4035e8
test ah, 0x20
push 0
mov ecx, ebp
je 0x40355b
mov edx, dword [str.Storage_Server]
mov dword [ecx], edx
mov eax, dword [0x417bcc]
mov dword [ecx + 4], eax
mov edx, dword [0x417bd0]
mov dword [ecx + 8], edx
mov ax, word [0x417bd4]
mov word [ecx + 0xc], ax
mov dl, byte [0x417bd6]
mov byte [ecx + 0xe], dl
call fcn.004024d0
add esp, 4
test eax, eax
je 0x403550
mov edi, ebp
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403541
mov eax, dword [0x417bd8]
mov dword [edi], eax
mov dword [ebx], 0x4b
jmp 0x4035e8
mov edx, dword [str.Server]
mov dword [ecx], edx
mov ax, word [0x417bc4]
mov word [ecx + 4], ax
mov dl, byte [0x417bc6]
mov byte [ecx + 6], dl
call fcn.004024d0
add esp, 4
test eax, eax
je 0x4035e8
mov edi, ebp
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403585
mov eax, dword [0x417bd8]
mov dword [edi], eax
jmp 0x4035e8
cmp eax, 1
jne 0x4035b0
mov cx, word [0x417be4]
mov word [esi], cx
mov dl, byte [0x417be6]
mov byte [esi + 2], dl
jmp 0x4035ec
test eax, eax
jne 0x4035d8
mov ecx, dword [str.2000]
mov dword [esi], ecx
mov dl, byte [0x417bbc]
mov byte [esi + 4], dl
jmp 0x4035ec
cmp ecx, 4
jne 0x4035d8
test eax, eax
jne 0x4035d8
mov dword [esi], 0x34544e
jmp 0x4035ec
push eax
push ecx
push str.NT_d._d
push esi
call fcn.0040c6b6
add esp, 0x10
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x403cb1
mov cl, byte [esp + 0xb2]
cmp cl, 1
jne 0x403780
mov ecx, dword [esp + 0x1c]
cmp ecx, 6
jb 0x403652
push ebx
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004029e0
mov al, byte [esp + 0xe4]
add esp, 0xc
test al, al
je 0x40372b
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 0x403643
jmp 0x40372b
cmp ecx, 5
jne 0x403706
cmp eax, 2
je 0x403736
cmp eax, 1
jne 0x4036af
push ebx
lea edx, [esp + 0xdc]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00401d90
mov al, byte [esp + 0xe4]
add esp, 0xc
test al, al
je 0x40372b
lea eax, [esp + 0xd8]
mov edx, ebp
mov ecx, eax
sub edx, ecx
jmp 0x4036a0
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4036a0
jmp 0x40372b
test eax, eax
jne 0x403736
mov eax, dword [esp + 0xb0]
test ah, 2
mov edx, ebp
je 0x4036dd
mov eax, dword [str.Home]
mov dword [edx], eax
mov cl, byte [0x41742c]
mov byte [edx + 4], cl
mov dword [ebx], 0x33
jmp 0x403736
mov eax, dword [str.Professional]
mov dword [edx], eax
mov ecx, dword [0x417410]
mov dword [edx + 4], ecx
mov eax, dword [0x417414]
mov dword [edx + 8], eax
mov cl, byte [0x417418]
mov byte [edx + 0xc], cl
mov dword [ebx], 0x34
jmp 0x403736
cmp ecx, 4
ja 0x403736
mov eax, dword [str.Workstation]
mov edx, ebp
mov dword [edx], eax
mov ecx, dword [0x417ba8]
mov dword [edx + 4], ecx
mov eax, dword [0x417bac]
mov dword [edx + 8], eax
mov dword [ebx], 0x29
cmp dword [esp + 0x1c], 4
jbe 0x403dce
mov edi, ebp
dec edi
cmp word [esp + 0xb4], 9
jne 0x403773
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403744
mov ecx, dword [str._x64_Edition]
mov dword [edi], ecx
mov edx, dword [0x417b98]
mov dword [edi + 4], edx
mov eax, dword [0x417b9c]
mov dword [edi + 8], eax
mov cl, byte [0x417ba0]
mov byte [edi + 0xc], cl
jmp 0x403dc9
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403773
jmp 0x40382b
cmp cl, 3
je 0x40378e
cmp cl, 2
jne 0x403dc9
mov ecx, dword [esp + 0x1c]
cmp ecx, 6
jb 0x403849
cmp eax, 1
jne 0x4037a9
mov dword [ebp], 0x203252
jmp 0x4037ad
mov byte [ebp], 0
push ebx
lea edx, [esp + 0xdc]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00401eb0
mov al, byte [esp + 0xe4]
add esp, 0xc
test al, al
je 0x403dc9
lea eax, [esp + 0xd8]
mov edx, eax
jmp 0x4037e0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4037e0
mov edi, ebp
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4037f0
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]
mov edi, ebp
dec edi
cmp word [esp + 0xb4], 9
jne 0x403823
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403816
jmp 0x40374c
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403823
mov edx, dword [str._Edition]
mov dword [edi], edx
mov eax, dword [0x417b8c]
mov dword [edi + 4], eax
mov cl, byte [0x417b90]
mov byte [edi + 8], cl
jmp 0x403dc9
cmp ecx, 5
jne 0x403c30
cmp eax, 2
jne 0x403b48
mov ax, word [esp + 0xb4]
cmp ax, 6
jne 0x4038b8
mov al, byte [esp + 0xb0]
test al, al
jns 0x403892
mov edi, ebp
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403877
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 0x40390f
test al, 2
je 0x40390f
mov edi, ebp
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4038a0
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 0x40390f
cmp ax, 9
jne 0x403a02
mov al, byte [esp + 0xb0]
mov edi, ebp
dec edi
test al, al
jns 0x403978
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4038d4
mov edx, dword [str._Datacenter_x64_Edition]
mov dword [edi], edx
mov eax, dword [0x417b14]
mov dword [edi + 4], eax
mov ecx, dword [0x417b18]
mov dword [edi + 8], ecx
mov edx, dword [0x417b1c]
mov dword [edi + 0xc], edx
mov eax, dword [0x417b20]
mov dword [edi + 0x10], eax
mov ecx, dword [0x417b24]
mov dword [edi + 0x14], ecx
mov edx, dword [esp + 0x24]
and edx, 0xffff
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0xe0]
push str.__s_Build__d
push ecx
call fcn.0040c6b6
lea eax, [esp + 0xe8]
add esp, 0x10
mov edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403940
sub eax, edx
dec ebp
mov edi, ebp
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x403950
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 0x4039c0
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403980
mov edx, dword [str._Enterprise_x64_Edition]
mov dword [edi], edx
mov eax, dword [0x417aec]
mov dword [edi + 4], eax
mov ecx, dword [0x417af0]
mov dword [edi + 8], ecx
mov edx, dword [0x417af4]
mov dword [edi + 0xc], edx
mov eax, dword [0x417af8]
mov dword [edi + 0x10], eax
mov ecx, dword [0x417afc]
jmp 0x40390c
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4039c0
mov edx, dword [str._Standard_x64_Edition]
mov dword [edi], edx
mov eax, dword [0x417ad4]
mov dword [edi + 4], eax
mov ecx, dword [0x417ad8]
mov dword [edi + 8], ecx
mov edx, dword [0x417adc]
mov dword [edi + 0xc], edx
mov eax, dword [0x417ae0]
mov dword [edi + 0x10], eax
mov cx, word [0x417ae4]
mov word [edi + 0x14], cx
jmp 0x40390f
mov eax, dword [esp + 0xb0]
test al, al
jns 0x403a4d
mov edi, ebp
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403a10
mov edx, dword [str._Datacenter_Edition]
mov dword [edi], edx
mov eax, dword [0x417ac0]
mov dword [edi + 4], eax
mov ecx, dword [0x417ac4]
mov dword [edi + 8], ecx
mov edx, dword [0x417ac8]
mov dword [edi + 0xc], edx
mov eax, dword [0x417acc]
mov dword [edi + 0x10], eax
mov dword [ebx], 0x4a
jmp 0x40390f
test al, 2
je 0x403aa2
mov edi, ebp
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403a54
mov ecx, dword [str._Enterprise_Edition]
mov dword [edi], ecx
mov edx, dword [0x417aac]
mov dword [edi + 4], edx
mov eax, dword [0x417ab0]
mov dword [edi + 8], eax
mov ecx, dword [0x417ab4]
mov dword [edi + 0xc], ecx
mov edx, dword [0x417ab8]
push 0
mov dword [edi + 0x10], edx
call fcn.004024d0
add esp, 4
neg eax
sbb eax, eax
and eax, 6
add eax, 0x48
mov dword [ebx], eax
jmp 0x403dc9
test ah, 4
je 0x403ae4
mov edi, ebp
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403ab0
mov eax, dword [str._Web_Edition]
mov dword [edi], eax
mov ecx, dword [0x417a9c]
mov dword [edi + 4], ecx
mov edx, dword [0x417aa0]
mov dword [edi + 8], edx
mov al, byte [0x417aa4]
mov byte [edi + 0xc], al
mov dword [ebx], 0x49
jmp 0x40390f
test al, 0x20
jne 0x40390f
test ah, 0x20
jne 0x40390f
mov edi, ebp
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403af8
mov ecx, dword [str._Standard_Edition]
mov dword [edi], ecx
mov edx, dword [0x417a88]
mov dword [edi + 4], edx
mov eax, dword [0x417a8c]
mov dword [edi + 8], eax
mov ecx, dword [0x417a90]
mov dword [edi + 0xc], ecx
mov dx, word [0x417a94]
push 0
mov word [edi + 0x10], dx
call fcn.004024d0
add esp, 4
neg eax
sbb eax, eax
and eax, 6
add eax, 0x47
mov dword [ebx], eax
jmp 0x403dc9
test eax, eax
jne 0x403c30
mov al, byte [esp + 0xb0]
test al, al
jns 0x403b96
mov ecx, dword [str.Datacenter_Server]
mov eax, ebp
mov dword [eax], ecx
mov edx, dword [0x417a74]
mov dword [eax + 4], edx
mov ecx, dword [0x417a78]
mov dword [eax + 8], ecx
mov edx, dword [0x417a7c]
mov dword [eax + 0xc], edx
mov cx, word [0x417a80]
mov word [eax + 0x10], cx
mov dword [ebx], 0x37
jmp 0x40390f
test al, 2
mov edx, ebp
je 0x403bc8
mov eax, dword [str.Advanced_Server]
mov dword [edx], eax
mov ecx, dword [0x417a64]
mov dword [edx + 4], ecx
mov eax, dword [0x417a68]
mov dword [edx + 8], eax
mov ecx, dword [0x417a6c]
mov dword [edx + 0xc], ecx
mov dword [ebx], 0x36
jmp 0x40390f
test al, 0x20
je 0x403c0b
mov eax, dword [str.Small_Business_Server]
mov dword [edx], eax
mov ecx, dword [0x4175d0]
mov dword [edx + 4], ecx
mov eax, dword [0x4175d4]
mov dword [edx + 8], eax
mov ecx, dword [0x4175d8]
mov dword [edx + 0xc], ecx
mov eax, dword [0x4175dc]
mov dword [edx + 0x10], eax
mov cx, word [0x4175e0]
mov word [edx + 0x14], cx
mov dword [ebx], 0x38
jmp 0x40390f
mov eax, dword [str.Server]
mov dword [edx], eax
mov cx, word [0x417bc4]
mov word [edx + 4], cx
mov al, byte [0x417bc6]
mov byte [edx + 6], al
mov dword [ebx], 0x35
jmp 0x40390f
mov al, byte [esp + 0xb0]
test al, 0x10
je 0x403c69
mov edx, dword [str.Terminal_Server]
mov ecx, ebp
mov dword [ecx], edx
mov eax, dword [0x417a54]
mov dword [ecx + 4], eax
mov edx, dword [0x417a58]
mov dword [ecx + 8], edx
mov eax, dword [0x417a5c]
mov dword [ecx + 0xc], eax
mov dword [ebx], 0x2d
jmp 0x403dc9
test al, 2
je 0x403c89
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 0x403dc9
mov edx, dword [str.Server]
mov ecx, ebp
mov dword [ecx], edx
mov ax, word [0x417bc4]
mov word [ecx + 4], ax
mov dl, byte [0x417bc6]
mov byte [ecx + 6], dl
mov dword [ebx], 0x2a
jmp 0x403dc9
lea eax, [esp + 0x14]
push eax
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 0x403eb3
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xdc]
push edx
push eax
push eax
mov eax, dword [esp + 0x24]
push str.ProductType
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x14]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x403eb3
cmp dword [esp + 0x10], edi
ja 0x403eb3
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea edx, [esp + 0xd8]
push edx
push str.WINNT
call esi
test eax, eax
jne 0x403d54
mov ecx, dword [str.Workstation]
mov eax, ebp
mov dword [eax], ecx
mov edx, dword [0x417ba8]
mov dword [eax + 4], edx
mov ecx, dword [0x417bac]
mov dword [eax + 8], ecx
mov dword [ebx], 0x29
lea edx, [esp + 0xd8]
push edx
push str.LANMANNT
call esi
test eax, eax
jne 0x403d8b
mov ecx, dword [str.Server]
mov eax, ebp
mov dword [eax], ecx
mov dx, word [0x417bc4]
mov word [eax + 4], dx
mov cl, byte [0x417bc6]
mov byte [eax + 6], cl
mov dword [ebx], 0x2a
lea edx, [esp + 0xd8]
push edx
push str.SERVERNT
call esi
test eax, eax
jne 0x403dc9
mov ecx, dword [str.Advanced_Server]
mov eax, ebp
mov dword [eax], ecx
mov edx, dword [0x417a64]
mov dword [eax + 4], edx
mov ecx, dword [0x417a68]
mov dword [eax + 8], ecx
mov edx, dword [0x417a6c]
mov dword [eax + 0xc], edx
mov dword [ebx], 0x2b
cmp dword [esp + 0x1c], 4
jne 0x40390f
push str.Service_Pack_6
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40390f
lea ecx, [esp + 0x10]
push ecx
push 1
push eax
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionHotfixQ246009
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
lea eax, [esp + 0xd8]
jne 0x403e4a
mov edx, dword [esp + 0x24]
and edx, 0xffff
push edx
push str._Service_Pack_6a_Build__d
push eax
call fcn.0040c6b6
lea eax, [esp + 0xe4]
add esp, 0xc
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403e31
sub eax, edx
dec ebp
mov edi, ebp
lea ecx, [ecx]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x403e40
jmp 0x403e88
mov ecx, dword [esp + 0x24]
and ecx, 0xffff
push ecx
lea edx, [esp + 0x30]
push edx
push str.__s_Build__d
push eax
call fcn.0040c6b6
lea eax, [esp + 0xe8]
add esp, 0x10
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403e71
sub eax, edx
dec ebp
mov edi, ebp
lea ecx, [ecx]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x403e80
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]
mov ecx, dword [esp + 0x10]
push ecx
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 0x40404d
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x403f4c
mov dx, word [0x41796c]
mov word [esi], dx
mov al, byte [0x41796e]
mov byte [esi + 2], al
mov al, byte [esp + 0x2d]
cmp al, 0x43
mov dword [ebx], 0xa
je 0x403f23
cmp al, 0x42
je 0x403f23
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x2c]
push ecx
push edx
push str.Build__d__s
push ebp
call fcn.0040c6b6
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.OSR2_Build__d
push ebp
call fcn.0040c6b6
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 0x403fcb
mov cx, word [0x41794c]
mov al, byte [esp + 0x2d]
cmp al, 0x41
mov word [esi], cx
mov dl, byte [0x41794e]
mov byte [esi + 2], dl
mov dword [ebx], 0x14
je 0x403fa2
cmp al, 0x42
je 0x403fa2
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x2c]
push eax
push ecx
push str.Build__d__s
push ebp
call fcn.0040c6b6
add esp, 0x10
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1d0
ret
mov edx, dword [esp + 0x24]
push edx
push str.SE_Build__d
push ebp
call fcn.0040c6b6
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 0x40404d
mov ax, word [0x41793c]
mov word [esi], ax
mov eax, dword [esp + 0x24]
mov cl, byte [0x41793e]
lea edx, [esp + 0x2c]
push edx
push eax
push str.Build__d__s
push ebp
mov byte [esi + 2], cl
call fcn.0040c6b6
add esp, 0x10
pop edi
pop esi
pop ebp
mov dword [ebx], 0x1e
mov eax, 1
pop ebx
add esp, 0x1d0
ret
mov ecx, dword [str.Win32s]
mov dword [esi], ecx
mov dx, word [0x417938]
mov word [esi + 4], dx
mov edx, dword [esp + 0x24]
mov al, byte [0x41793a]
lea ecx, [esp + 0x2c]
push ecx
push edx
push str.Build__d__s
push ebp
mov byte [esi + 6], al
call fcn.0040c6b6
mov dword [ebx], 0x5a
add esp, 0x10
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1d0
ret