Function at 0x40b7fd
Capabilities:
Check os version
Get common file path
Get file version info
Get system information on windows
Log keystrokes via polling
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
push ebx
push esi
lea eax, [ebp - 0x1c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edi, dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.Number1_Global_
push edi
call esi
test eax, eax
jne 0x40b857
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x144]
mov ecx, dword [ebp + 0x14]
cmp dword [ebp + 0x10], 0
mov dword [ecx], eax
je 0x40c425
push eax
push 0x468e54
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x40c425
push str.Number2_Global_
push edi
call esi
test eax, eax
jne 0x40b86e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x148]
jmp 0x40b831
push str.Number3_Global_
push edi
call esi
test eax, eax
jne 0x40b885
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14c]
jmp 0x40b831
push str.Number4_Global_
push edi
call esi
test eax, eax
jne 0x40b89c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x150]
jmp 0x40b831
push str.Number5_Global_
push edi
call esi
test eax, eax
jne 0x40b8b6
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x154]
jmp 0x40b831
push str.Number6_Global_
push edi
call esi
test eax, eax
jne 0x40b8d0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x158]
jmp 0x40b831
push str.String1_Global_
push edi
call esi
test eax, eax
jne 0x40b8f3
mov eax, dword [ebp + 8]
add eax, 0x15c
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x40c425
push str.String2_Global_
push edi
call esi
test eax, eax
jne 0x40b909
mov eax, dword [ebp + 8]
add eax, 0x261
jmp 0x40b8e4
push str.String3_Global_
push edi
call esi
test eax, eax
jne 0x40b91f
mov eax, dword [ebp + 8]
add eax, 0x366
jmp 0x40b8e4
push str.String4_Global_
push edi
call esi
test eax, eax
jne 0x40b935
mov eax, dword [ebp + 8]
add eax, 0x46b
jmp 0x40b8e4
push str.String5_Global_
push edi
call esi
test eax, eax
jne 0x40b94b
mov eax, dword [ebp + 8]
add eax, 0x570
jmp 0x40b8e4
push str.String6_Global_
push edi
call esi
test eax, eax
jne 0x40b961
mov eax, dword [ebp + 8]
add eax, 0x675
jmp 0x40b8e4
push str.Random
push edi
call esi
test eax, eax
jne 0x40b985
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x64
xor edx, edx
pop ecx
div ecx
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
push edx
jmp 0x40b841
push str.ScrollLock
push edi
call esi
test eax, eax
jne 0x40b998
push 0x91
jmp 0x40b9e9
push str.NumLock
push edi
call esi
test eax, eax
jne 0x40b9ab
push 0x90
jmp 0x40b9e9
push str.CapsLock
push edi
call esi
test eax, eax
jne 0x40b9bb
push 0x14
jmp 0x40b9e9
push str.AltKey
push edi
call esi
test eax, eax
jne 0x40b9cb
push 0x12
jmp 0x40b9e9
push str.CtrlKey
push edi
call esi
test eax, eax
jne 0x40b9db
push 0x11
jmp 0x40b9e9
push str.ShiftKey
push edi
call esi
test eax, eax
jne 0x40ba00
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movzx ecx, ax
mov eax, dword [ebp + 0x14]
shr ecx, 0xf
mov dword [eax], ecx
push ecx
jmp 0x40b841
push str.SystemTime
push edi
call esi
test eax, eax
jne 0x40ba25
movzx eax, word [ebp - 0x10]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
push str._02u:_02u:_02u
jmp 0x40bc59
push str.Hour
push edi
call esi
test eax, eax
jne 0x40ba3a
movzx eax, word [ebp - 0x14]
jmp 0x40bc2f
push str.Minute
push edi
call esi
test eax, eax
jne 0x40ba4f
movzx eax, word [ebp - 0x12]
jmp 0x40bc2f
push str.ElapsedTime
push edi
call esi
test eax, eax
jne 0x40ba6f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 8]
sub eax, dword [ecx + 0x128]
jmp 0x40bc2f
push str.Resolution
push edi
call esi
test eax, eax
jne 0x40baa1
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call esi
push eax
push 0
call esi
push eax
push str._04dx_04d
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x40c1bc
push str.Language
push edi
call esi
test eax, eax
jne 0x40bae3
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
movzx eax, ax
push eax
call fcn.00409e37
pop ecx
lea eax, [ebp - 0x30]
pop ecx
push str..DAT
push eax
call esi
test eax, eax
jne 0x40badb
push 0x468db0
jmp 0x40c1b3
lea eax, [ebp - 0x2f]
jmp 0x40c1b2
push str.SelectedLanguage
push edi
call esi
test eax, eax
jne 0x40bafe
push 0xc
push dword [ebp + 8]
call fcn.0040b46b
jmp 0x40c1b2
push str.Color_Depth
push edi
call esi
test eax, eax
jne 0x40bb7e
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ebx, eax
push 0xe
push ebx
call edi
push 0xc
push ebx
mov esi, eax
call edi
imul esi, eax
dec esi
je 0x40bb62
sub esi, 3
je 0x40bb5b
sub esi, 4
je 0x40bb54
sub esi, 8
je 0x40bb4d
sub esi, 8
je 0x40bb46
push str.True
jmp 0x40bb67
push str.16777216
jmp 0x40bb67
push str.65536
jmp 0x40bb67
push 0x468d70
jmp 0x40bb67
push 0x468d6c
jmp 0x40bb67
push 0x468d68
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x40c1bc
push str.CurrentScene
push edi
call esi
test eax, eax
jne 0x40bba4
push 2
push dword [ebp + 8]
call fcn.0040b5af
push dword [ebp + 0x10]
push 0xa
push eax
call fcn.0040daff
jmp 0x40c1bc
push str.OSVersion
push edi
call esi
test eax, eax
jne 0x40bbbb
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx eax, al
jmp 0x40bc2f
push str.OSVersionMinor
push edi
call esi
test eax, eax
jne 0x40bbd6
call dword [sym.imp.KERNEL32.dll_GetVersion]
xor ecx, ecx
mov cl, ah
movzx eax, cl
jmp 0x40bc2f
push str.X_Extent
push edi
call esi
test eax, eax
jne 0x40bbeb
push eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
jmp 0x40bc2f
push str.Y_Extent
push edi
call esi
test eax, eax
jne 0x40bbfb
push 1
jmp 0x40bbe3
push 0x468d20
push edi
call esi
test eax, eax
jne 0x40bc0d
movzx eax, word [ebp - 0x16]
jmp 0x40bc2f
push str.Month
push edi
call esi
test eax, eax
jne 0x40bc1f
movzx eax, word [ebp - 0x1a]
jmp 0x40bc2f
push str.Year
push edi
call esi
test eax, eax
jne 0x40bc39
movzx eax, word [ebp - 0x1c]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jmp 0x40b840
push str.SystemDate
push edi
call esi
test eax, eax
jne 0x40bc6a
movzx eax, word [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x1a]
push eax
push str._02u._02u._u
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x40c1bc
push str.DetectOS
push edi
call esi
test eax, eax
jne 0x40bd78
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x1f0]
push eax
mov dword [ebp - 0x1f0], 0x94
call edi
mov ebx, dword [ebp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.Unknown
push ebx
call esi
xor ecx, ecx
cmp dword [ebp - 0x1e0], ecx
jne 0x40bcb8
push str.Win31
jmp 0x40bd6f
cmp dword [ebp - 0x1e0], 1
jne 0x40bcf7
cmp dword [ebp - 0x1e8], ecx
je 0x40bcf0
cmp dword [ebp - 0x1e8], 0xa
je 0x40bce9
cmp dword [ebp - 0x1e8], 0x5a
jne 0x40bd72
push str.WinMe
jmp 0x40bd6f
push str.Win98
jmp 0x40bd6f
push str.Win95
jmp 0x40bd6f
cmp dword [ebp - 0x1e0], 2
jne 0x40bd72
mov eax, dword [ebp - 0x1ec]
sub eax, 4
je 0x40bd6a
dec eax
je 0x40bd15
push 0x468cc4
jmp 0x40bd6f
mov eax, dword [ebp - 0x1e8]
sub eax, ecx
je 0x40bd63
dec eax
je 0x40bd5c
dec eax
jne 0x40bd72
lea eax, [ebp - 0xf4]
mov dword [ebp - 0xf4], 0x9c
push eax
call edi
cmp byte [ebp - 0x5a], 1
jne 0x40bd45
push str.WinXP64
jmp 0x40bd6f
call fcn.0040cba6
test al, al
je 0x40bd55
push str.Win2003Server64
jmp 0x40bd6f
push str.Win2003Server
jmp 0x40bd6f
push str.WinXP
jmp 0x40bd6f
push str.Win2000
jmp 0x40bd6f
push str.WinNT4
push ebx
call esi
push ebx
jmp 0x40c1bf
push str.MonthName
push edi
call esi
test eax, eax
jne 0x40be1b
movzx eax, word [ebp - 0x1a]
dec eax
cmp eax, 0xb
ja case.default.0x40bd92
jmp dword [eax*4 + 0x40c42f]
push str.January
jmp 0x40c1b3
push str.February
jmp 0x40c1b3
push str.March
jmp 0x40c1b3
push str.April
jmp 0x40c1b3
push 0x468860
jmp 0x40c1b3
push str.June
jmp 0x40c1b3
push str.July
jmp 0x40c1b3
push str.August
jmp 0x40c1b3
push str.September
jmp 0x40c1b3
push str.October
jmp 0x40c1b3
push str.November
jmp 0x40c1b3
push str.December
jmp 0x40c1b3
push str.Unknown
jmp 0x40c1b3
push str.DayName
push edi
call esi
test eax, eax
jne 0x40be88
movzx eax, word [ebp - 0x18]
sub eax, 0
je 0x40be7e
dec eax
je 0x40be74
dec eax
je 0x40be6a
dec eax
je 0x40be60
dec eax
je 0x40be56
dec eax
je 0x40be4c
dec eax
jne case.default.0x40bd92
push str.Saturday
jmp 0x40c1b3
push str.Friday
jmp 0x40c1b3
push str.Thursday
jmp 0x40c1b3
push str.Wednesday
jmp 0x40c1b3
push str.Tuesday
jmp 0x40c1b3
push str.Monday
jmp 0x40c1b3
push str.Sunday
jmp 0x40c1b3
push str.IsPDF
push edi
call esi
test eax, eax
jne 0x40bef9
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.False
push dword [ebp + 0x10]
call esi
lea eax, [ebp + 8]
xor edi, edi
push eax
push 0x20019
push edi
push str..pdf
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40c1bc
lea eax, [ebp + 0xc]
push eax
push edi
push edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x40beeb
cmp dword [ebp + 0xc], 1
jle 0x40beeb
push str.True
push dword [ebp + 0x10]
call esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40c1bc
push str.IsFTP
push edi
call esi
test eax, eax
jne 0x40bf28
push 0x468c4c
call fcn.0040c45f
test eax, eax
pop ecx
je 0x40bf1e
push str.True
jmp 0x40c1b3
push str.False
jmp 0x40c1b3
push str.IsHTTP
push edi
call esi
test eax, eax
jne 0x40bf3b
push 0x468c3c
jmp 0x40bf0a
push str.IEVersion
push edi
call esi
test eax, eax
jne 0x40bf7d
mov ebx, dword [ebp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.HKEY_LOCAL_MACHINESoftwareMicrosoftInternet_ExplorerVersion
push ebx
call edi
push ebx
call fcn.0040c491
mov dword [esp], str.Not_Found
push ebx
call esi
test eax, eax
jne 0x40bd72
push str.Not_Installed
push ebx
call edi
jmp 0x40bd72
push str.NetscapeVersion
push edi
call esi
test eax, eax
jne 0x40bfbe
mov edi, dword [ebp + 0x10]
push edi
push str.netscape.exe
call fcn.0040c9cb
pop ecx
pop ecx
push str.Not_Installed
push edi
call esi
test eax, eax
jne 0x40bfb8
push str.HKEY_LOCAL_MACHINESoftwareNetscapeNetscape_6CurrentVersion
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call fcn.0040c491
pop ecx
push edi
jmp 0x40c1bf
push str.QuickTimeVersion
push edi
call esi
test eax, eax
jne 0x40bfde
push dword [ebp + 0x10]
push str.QuickTimePlayer.exe
call fcn.0040c9cb
pop ecx
pop ecx
jmp 0x40c1bc
push str.MediaPlayerMajorVersion
push edi
call esi
test eax, eax
je 0x40c1cb
push str.MediaPlayerMinorVersion
push edi
call esi
test eax, eax
je 0x40c1cb
push str.RealPlayerVersion
push edi
call esi
test eax, eax
jne 0x40c0ee
push str.Not_Installed
xor edi, edi
push dword [ebp + 0x10]
mov dword [ebp + 8], edi
mov dword [ebp - 0xc], 0x105
mov dword [ebp + 0xc], edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp + 8]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_realplay.exe
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40c0b3
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x15c]
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x40c0b3
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x15c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
cmp eax, edi
mov dword [ebp - 4], eax
je 0x40c0b3
push eax
push dword [0x4688c0]
call fcn.0040a287
mov esi, eax
cmp esi, edi
je 0x40c0b3
push esi
lea eax, [ebp - 0x15c]
push dword [ebp - 4]
push dword [ebp + 0xc]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x40c0b3
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x4684cc
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x40c0ba
xor eax, eax
jmp 0x40c428
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 0x14]
push ecx
mov ecx, dword [eax + 0x14]
shr ecx, 0x10
push ecx
movzx ecx, word [eax + 0x10]
mov eax, dword [eax + 0x10]
push ecx
shr eax, 0x10
push eax
push str._d._d._d._d
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp - 8]
add esp, 0x18
jmp 0x40c3ec
push str.TypeOfCPU
push edi
call esi
test eax, eax
jne 0x40c18f
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [ebp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.Unknown_CPU_Type
push edi
call esi
movzx eax, word [ebp - 0x54]
sub eax, 0
je 0x40c157
dec eax
dec eax
jne 0x40bfb8
movzx eax, word [ebp - 0x34]
sub eax, 0x5248
je 0x40c150
dec eax
dec eax
je 0x40c149
sub eax, 0x62
jne 0x40bfb8
push str.Alpha_21164
jmp 0x40c187
push str.Alpha_21066
jmp 0x40c187
push str.Alpha_21064
jmp 0x40c187
movzx eax, word [ebp - 0x34]
sub eax, 3
je 0x40c182
dec eax
je 0x40c17b
dec eax
je 0x40c174
dec eax
jne 0x40bfb8
push str.Pentium_Pro_II
jmp 0x40c187
push str.Pentium
jmp 0x40c187
push str.80486
jmp 0x40c187
push str.80386
push edi
call esi
jmp 0x40bfb8
push str.IsLiveInetConxnAvailable
push edi
call esi
test eax, eax
jne 0x40c425
call fcn.0040a90a
test al, al
mov eax, str.True
jne 0x40c1b2
mov eax, str.False
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
jmp 0x40c420
and dword [ebp + 8], 0
and dword [ebp - 8], 0
push str.Not_Installed
mov dword [ebp - 0x20], 0x105
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [ebp + 8]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathswmplayer.exe
push SysReAllocStringLen
call ebx
test eax, eax
je 0x40c324
lea eax, [ebp + 8]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathsmplayer2.exe
push SysReAllocStringLen
call ebx
test eax, eax
je 0x40c324
lea eax, [ebp - 0x15c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x15c]
push str.mplayer.exe
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x15c]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x40c306
mov eax, dword [ebp - 0x24]
push str.mplayer2.exe
lea eax, [ebp + eax - 0x15c]
push eax
call edi
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x15c]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x40c306
lea eax, [ebp - 0x15c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
lea eax, [ebp - 0x15c]
push str.mplayer.exe
push eax
call edi
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x15c]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x40c0b3
lea eax, [ebp + esi - 0x15c]
push str.mplayer2.exe
push eax
call edi
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x15c]
push eax
call ebx
jmp 0x40c0b3
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x304]
push eax
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [ebp + 0xc]
cmp dword [ebp + 8], 0
je 0x40c348
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x15c]
push eax
push 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x40c0b3
lea eax, [ebp - 0x15c]
push eax
call fcn.00409589
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x15c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [ebp - 0xc], eax
jne 0x40c376
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40c0b3
push eax
push dword [0x4688c0]
call fcn.0040a287
mov ebx, eax
test ebx, ebx
je 0x40c0b3
push ebx
lea eax, [ebp - 0x15c]
push dword [ebp - 0xc]
push dword [ebp - 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x40c0b3
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x4684cc
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40c0b3
push str.MediaPlayerMajorVersion
push edi
call esi
test eax, eax
jne 0x40c3f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
shr eax, 0x10
push eax
push 0x468e54
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp - 4]
add esp, 0xc
mov eax, dword [eax + 0x10]
shr eax, 0x10
jmp 0x40c420
push str.MediaPlayerMinorVersion
push edi
call esi
test eax, eax
jne 0x40c425
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10]
push eax
push 0x468e54
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp - 4]
add esp, 0xc
movzx eax, word [eax + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10