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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x5c7ed0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x170]
push esi
push 0x9c
xorps xmm0, xmm0
mov dword [ebp - 0x180], 0
push 0
push eax
mov dword [ebx], 0
movdqu xmmword [ebp - 0x1a0], xmm0
movdqu xmmword [ebp - 0x190], xmm0
call fcn.0053db90
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x170]
add esp, 0xc
mov dword [ebp - 0x170], 0x9c
push eax
call esi
mov dword [ebp - 0x174], eax
test eax, eax
jne 0x4067d0
lea eax, [ebp - 0x170]
mov dword [ebp - 0x170], 0x94
push eax
call esi
test eax, eax
jne 0x4067d0
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053bf68
mov esp, ebp
pop ebp
ret 4
push str.GetNativeSystemInfo
push 0x570710
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4067f6
lea ecx, [ebp - 0x1a0]
push ecx
call eax
jmp 0x406803
lea eax, [ebp - 0x1a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x17c], ecx
push edi
sub eax, 0
je 0x40722c
dec eax
je 0x40710f
dec eax
jne 0x407265
cmp ecx, 6
jne 0x4068ac
mov edx, dword [ebp - 0x168]
mov ah, byte [ebp - 0xd6]
test edx, edx
jne 0x406a2a
cmp ah, 1
jne 0x406888
lea ecx, [ebx - 1]
mov edi, edi
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x406850
mov eax, dword [str.Windows_Vista]
mov dword [ecx], eax
mov eax, dword [0x570e94]
mov dword [ecx + 4], eax
mov eax, dword [0x570e98]
mov dword [ecx + 8], eax
mov ax, word [0x570e9c]
mov word [ecx + 0xc], ax
mov al, byte [0x570e9e]
mov byte [ecx + 0xe], al
jmp 0x406a24
lea edi, [ebx - 1]
jmp 0x406890
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x406890
mov ecx, 6
mov esi, str.Windows_Server__Longhorn_
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jmp 0x406a2a
cmp ecx, 5
jne 0x4069db
mov edx, dword [ebp - 0x168]
cmp edx, 2
jne 0x406949
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x4068e7
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4068d3
mov ecx, 9
mov esi, str.Microsoft_Windows_Server_2003__R2_
jmp 0x406932
cmp byte [ebp - 0xd6], 1
jne 0x406919
cmp word [ebp - 0x1a0], 9
jne 0x406919
lea edi, [ebx - 1]
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x406900
mov ecx, 0xb
mov esi, str.Microsoft_Windows_XP_Professional_x64_Edition
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jmp 0x406934
lea edi, [ebx - 1]
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x406920
mov ecx, 8
mov esi, str.Microsoft_Windows_Server_2003_
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x16c]
cmp ecx, 5
jne 0x4069db
mov edx, dword [ebp - 0x168]
cmp edx, 1
jne 0x406991
lea ecx, [ebx - 1]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x406951
mov eax, dword [str.Microsoft_Windows_XP]
mov dword [ecx], eax
mov eax, dword [0x570f34]
mov dword [ecx + 4], eax
mov eax, dword [0x570f38]
mov dword [ecx + 8], eax
mov eax, dword [0x570f3c]
mov dword [ecx + 0xc], eax
mov eax, dword [0x570f40]
mov dword [ecx + 0x10], eax
mov ax, word [0x570f44]
mov word [ecx + 0x14], ax
jmp 0x406a24
test edx, edx
jne 0x406a24
lea ecx, [ebx - 1]
lea esp, [esp]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4069a0
mov eax, dword [str.Microsoft_Windows_2000]
mov dword [ecx], eax
mov eax, dword [0x570f4c]
mov dword [ecx + 4], eax
mov eax, dword [0x570f50]
mov dword [ecx + 8], eax
mov eax, dword [0x570f54]
mov dword [ecx + 0xc], eax
mov eax, dword [0x570f58]
mov dword [ecx + 0x10], eax
mov eax, dword [0x570f5c]
mov dword [ecx + 0x14], eax
jmp 0x406a24
cmp ecx, 4
ja 0x406a1e
lea ecx, [ebx - 1]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4069e3
mov eax, dword [str.Microsoft_Windows_NT]
mov dword [ecx], eax
mov eax, dword [0x570f64]
mov dword [ecx + 4], eax
mov eax, dword [0x570f68]
mov dword [ecx + 8], eax
mov eax, dword [0x570f6c]
mov dword [ecx + 0xc], eax
mov eax, dword [0x570f70]
mov dword [ecx + 0x10], eax
mov ax, word [0x570f74]
mov word [ecx + 0x14], ax
mov edx, dword [ebp - 0x168]
mov ah, byte [ebp - 0xd6]
cmp dword [ebp - 0x174], 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
je 0x406e96
cmp ah, 1
jne 0x406b08
cmp word [ebp - 0x1a0], 9
je 0x407022
cmp dword [ebp - 0x16c], 4
lea ecx, [ebx - 1]
jne 0x406a9c
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x406a66
mov eax, dword [str.Workstation_4.0]
mov dword [ecx], eax
mov eax, dword [0x570f7c]
mov dword [ecx + 4], eax
mov eax, dword [0x570f80]
mov dword [ecx + 8], eax
mov eax, dword [0x570f84]
mov dword [ecx + 0xc], eax
mov al, byte [0x570f88]
mov byte [ecx + 0x10], al
jmp 0x40702f
test dword [ebp - 0xd8], 0x200
je 0x406ad8
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x406aa8
mov eax, dword [str.Home_Edition]
mov dword [ecx], eax
mov eax, dword [0x570f90]
mov dword [ecx + 4], eax
mov eax, dword [0x570f94]
mov dword [ecx + 8], eax
mov ax, word [0x570f98]
mov word [ecx + 0xc], ax
jmp 0x407022
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x406ad8
mov eax, dword [str.Professional]
mov dword [ecx], eax
mov eax, dword [0x570fa0]
mov dword [ecx + 4], eax
mov eax, dword [0x570fa4]
mov dword [ecx + 8], eax
mov ax, word [0x570fa8]
mov word [ecx + 0xc], ax
jmp 0x407022
cmp ah, 3
je 0x406b16
cmp ah, 2
jne 0x407022
cmp dword [ebp - 0x16c], 5
jne 0x406e3e
cmp edx, 2
jne 0x406d88
cmp word [ebp - 0x1a0], 6
mov eax, dword [ebp - 0xd8]
jne 0x406bca
test al, al
jns 0x406baf
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x406b47
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]
movzx eax, word [ebp - 0x164]
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x84]
push str._s__Build__d_
push eax
call fcn.0053be46
lea edx, [ebp - 0x84]
add esp, 0x10
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x406b88
sub edx, esi
dec ebx
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x406b92
mov ecx, edx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x407265
test al, 2
je 0x406b5d
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x406bb6
mov ecx, 0xb
mov esi, str.Enterprise_Edition_for_Itanium_based_Systems
jmp 0x406b59
cmp word [ebp - 0x1a0], 9
lea ecx, [ebx - 1]
jne 0x406ca0
test al, al
jns 0x406c1e
nop
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x406be0
mov eax, dword [str.Datacenter_x64_Edition]
mov dword [ecx], eax
mov eax, dword [0x571010]
mov dword [ecx + 4], eax
mov eax, dword [0x571014]
mov dword [ecx + 8], eax
mov eax, dword [0x571018]
mov dword [ecx + 0xc], eax
mov eax, dword [0x57101c]
mov dword [ecx + 0x10], eax
mov eax, dword [0x571020]
mov dword [ecx + 0x14], eax
jmp 0x406b5d
test al, 2
je 0x406c60
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x406c22
mov eax, dword [str.Enterprise_x64_Edition]
mov dword [ecx], eax
mov eax, dword [0x571028]
mov dword [ecx + 4], eax
mov eax, dword [0x57102c]
mov dword [ecx + 8], eax
mov eax, dword [0x571030]
mov dword [ecx + 0xc], eax
mov eax, dword [0x571034]
mov dword [ecx + 0x10], eax
mov eax, dword [0x571038]
mov dword [ecx + 0x14], eax
jmp 0x406b5d
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x406c60
mov eax, dword [str.Standard_x64_Edition]
mov dword [ecx], eax
mov eax, dword [0x571040]
mov dword [ecx + 4], eax
mov eax, dword [0x571044]
mov dword [ecx + 8], eax
mov eax, dword [0x571048]
mov dword [ecx + 0xc], eax
mov eax, dword [0x57104c]
mov dword [ecx + 0x10], eax
mov ax, word [0x571050]
mov word [ecx + 0x14], ax
jmp 0x406b5d
test al, al
jns 0x406cda
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x406ca4
mov eax, dword [str.Datacenter_Edition]
mov dword [ecx], eax
mov eax, dword [0x571058]
mov dword [ecx + 4], eax
mov eax, dword [0x57105c]
mov dword [ecx + 8], eax
mov eax, dword [0x571060]
mov dword [ecx + 0xc], eax
mov eax, dword [0x571064]
mov dword [ecx + 0x10], eax
jmp 0x406b5d
test al, 2
je 0x406d16
mov edi, edi
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x406ce0
mov eax, dword [str.Enterprise_Edition]
mov dword [ecx], eax
mov eax, dword [0x57106c]
mov dword [ecx + 4], eax
mov eax, dword [0x571070]
mov dword [ecx + 8], eax
mov eax, dword [0x571074]
mov dword [ecx + 0xc], eax
mov eax, dword [0x571078]
mov dword [ecx + 0x10], eax
jmp 0x406b5d
test eax, 0x400
je 0x406d50
lea ecx, [ecx]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x406d20
mov eax, dword [str.Web_Edition]
mov dword [ecx], eax
mov eax, dword [0x571080]
mov dword [ecx + 4], eax
mov eax, dword [0x571084]
mov dword [ecx + 8], eax
mov al, byte [0x571088]
mov byte [ecx + 0xc], al
jmp 0x406b5d
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x406d50
mov eax, dword [str.Standard_Edition]
mov dword [ecx], eax
mov eax, dword [0x571090]
mov dword [ecx + 4], eax
mov eax, dword [0x571094]
mov dword [ecx + 8], eax
mov eax, dword [0x571098]
mov dword [ecx + 0xc], eax
mov ax, word [0x57109c]
mov word [ecx + 0x10], ax
jmp 0x406b5d
test edx, edx
jne 0x406e3e
mov eax, dword [ebp - 0xd8]
lea ecx, [ebx - 1]
test al, al
jns 0x406de0
lea ecx, [ecx]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x406da0
mov eax, dword [str.Datacenter_Server]
mov dword [ecx], eax
mov eax, dword [0x5710a4]
mov dword [ecx + 4], eax
mov eax, dword [0x5710a8]
mov dword [ecx + 8], eax
mov eax, dword [0x5710ac]
mov dword [ecx + 0xc], eax
mov ax, word [0x5710b0]
mov word [ecx + 0x10], ax
mov al, byte [0x5710b2]
mov byte [ecx + 0x12], al
jmp 0x406b5d
test al, 2
je 0x406e20
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x406de4
mov eax, dword [str.Advanced_Server]
mov dword [ecx], eax
mov eax, dword [0x5710b8]
mov dword [ecx + 4], eax
mov eax, dword [0x5710bc]
mov dword [ecx + 8], eax
mov eax, dword [0x5710c0]
mov dword [ecx + 0xc], eax
mov al, byte [0x5710c4]
mov byte [ecx + 0x10], al
jmp 0x406b5d
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x406e20
mov eax, dword [str.Server]
mov dword [ecx], eax
mov eax, dword [0x5710cc]
mov dword [ecx + 4], eax
jmp 0x406b5d
test byte [ebp - 0xd8], 2
je 0x406e69
lea edi, [ebx - 1]
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x406e50
mov ecx, 8
mov esi, str.Server_4.0__Enterprise_Edition
rep movsd dword es:[edi], dword [esi]
jmp 0x407016
lea ecx, [ebx - 1]
lea esp, [esp]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x406e70
mov eax, dword [str.Server_4.0]
mov dword [ecx], eax
mov eax, dword [0x5710f4]
mov dword [ecx + 4], eax
mov eax, dword [0x5710f8]
mov dword [ecx + 8], eax
jmp 0x407022
lea eax, [ebp - 0x178]
mov dword [ebp - 0x174], 0x50
push eax
push 1
push 0
push str.SYSTEMCurrentControlSetControlProductOptions
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x4070f9
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0xd4]
push eax
push 0
push 0
push str.ProductType
push dword [ebp - 0x178]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x178]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4070f9
cmp dword [ebp - 0x174], 0x50
ja 0x4070f9
lea eax, [ebp - 0xd4]
push eax
push str.WINNT
call edi
test eax, eax
jne 0x406f49
lea ecx, [ebx - 1]
lea ebx, [ebx]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x406f20
mov eax, dword [str.Workstation]
mov dword [ecx], eax
mov eax, dword [0x571144]
mov dword [ecx + 4], eax
mov eax, dword [0x571148]
mov dword [ecx + 8], eax
mov al, byte [0x57114c]
mov byte [ecx + 0xc], al
lea eax, [ebp - 0xd4]
push eax
push str.LANMANNT
call edi
test eax, eax
jne 0x406f79
lea ecx, [ebx - 1]
mov edi, edi
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x406f60
mov eax, dword [str.Server]
mov dword [ecx], eax
mov eax, dword [0x5710cc]
mov dword [ecx + 4], eax
lea eax, [ebp - 0xd4]
push eax
push str.SERVERNT
call edi
test eax, eax
jne 0x406fc1
lea ecx, [ebx - 1]
mov edi, edi
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x406f90
mov eax, dword [str.Advanced_Server]
mov dword [ecx], eax
mov eax, dword [0x5710b8]
mov dword [ecx + 4], eax
mov eax, dword [0x5710bc]
mov dword [ecx + 8], eax
mov eax, dword [0x5710c0]
mov dword [ecx + 0xc], eax
mov al, byte [0x5710c4]
mov byte [ecx + 0x10], al
push dword [ebp - 0x168]
lea eax, [ebp - 0x84]
push dword [ebp - 0x16c]
push str._d._d
push eax
call fcn.0053be46
lea edx, [ebp - 0x84]
add esp, 0x10
mov esi, edx
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x406ff0
sub edx, esi
lea edi, [ebx - 1]
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x407000
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
cmp dword [ebp - 0x16c], 4
jne 0x406b5d
push str.Service_Pack_6
lea eax, [ebp - 0x15c]
push eax
call edi
test eax, eax
jne 0x406b5d
lea eax, [ebp - 0x174]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionHotfixQ246009
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
movzx eax, word [ebp - 0x164]
push eax
jne 0x40709a
lea eax, [ebp - 0x84]
push str.Service_Pack_6a__Build__d_
push eax
call fcn.0053be46
lea edx, [ebp - 0x84]
add esp, 0xc
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x407084
sub edx, esi
dec ebx
mov edi, edi
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x407090
jmp 0x4070d8
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x84]
push str._s__Build__d_
push eax
call fcn.0053be46
lea edx, [ebp - 0x84]
add esp, 0x10
mov esi, edx
lea ecx, [ecx]
mov al, byte [edx]
inc edx
test al, al
jne 0x4070c0
sub edx, esi
dec ebx
lea ebx, [ebx]
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x4070d0
push dword [ebp - 0x174]
mov ecx, edx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x407265
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053bf68
mov esp, ebp
pop ebp
ret 4
cmp ecx, 4
jne 0x407265
mov eax, dword [ebp - 0x168]
test eax, eax
jne 0x407191
lea ecx, [ebx - 1]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x407125
mov eax, dword [str.Microsoft_Windows_95]
mov dword [ecx], eax
mov eax, dword [0x5711ec]
mov dword [ecx + 4], eax
mov eax, dword [0x5711f0]
mov dword [ecx + 8], eax
mov eax, dword [0x5711f4]
mov dword [ecx + 0xc], eax
mov eax, dword [0x5711f8]
mov dword [ecx + 0x10], eax
mov ax, word [0x5711fc]
mov word [ecx + 0x14], ax
mov al, byte [ebp - 0x15b]
cmp al, 0x43
je 0x407172
cmp al, 0x42
jne 0x407265
dec ebx
mov al, byte [ebx + 1]
lea ebx, [ebx + 1]
test al, al
jne 0x407173
mov eax, dword [str.OSR2]
mov dword [ebx], eax
mov al, byte [0x571204]
mov byte [ebx + 4], al
jmp 0x407265
cmp eax, 0xa
jne 0x40720d
lea ecx, [ebx - 1]
lea esp, [esp]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4071a0
mov eax, dword [str.Microsoft_Windows_98]
mov dword [ecx], eax
mov eax, dword [0x57120c]
mov dword [ecx + 4], eax
mov eax, dword [0x571210]
mov dword [ecx + 8], eax
mov eax, dword [0x571214]
mov dword [ecx + 0xc], eax
mov eax, dword [0x571218]
mov dword [ecx + 0x10], eax
mov ax, word [0x57121c]
mov word [ecx + 0x14], ax
mov al, byte [ebp - 0x15b]
cmp al, 0x41
je 0x4071ed
cmp al, 0x42
jne 0x407265
dec ebx
mov edi, edi
mov al, byte [ebx + 1]
lea ebx, [ebx + 1]
test al, al
jne 0x4071f0
mov ax, word [0x571220]
mov word [ebx], ax
mov al, byte [0x571222]
mov byte [ebx + 2], al
jmp 0x407265
cmp eax, 0x5a
jne 0x407265
dec ebx
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x407213
mov edi, ebx
mov ecx, 9
mov esi, str.Microsoft_Windows_Millennium_Edition
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
jmp 0x407265
dec ebx
lea ecx, [ecx]
mov al, byte [ebx + 1]
lea ebx, [ebx + 1]
test al, al
jne 0x407230
mov eax, dword [str.Microsoft_Win32s]
mov dword [ebx], eax
mov ecx, dword [0x571250]
mov dword [ebx + 4], ecx
mov ecx, dword [0x571254]
mov dword [ebx + 8], ecx
mov ecx, dword [0x571258]
mov dword [ebx + 0xc], ecx
mov cl, byte [0x57125c]
mov byte [ebx + 0x10], cl
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x17c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0053bf68
mov esp, ebp
pop ebp
ret 4