joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4455f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f479
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4c6184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push esi
mov edi, eax
call fcn.0041bb70
inc edi
mov ecx, 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], ecx
jns 0x44564e
push 0x80070057
call fcn.004170a0
mov eax, dword [esi]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or eax, ecx
jge 0x445665
mov eax, edi
mov ecx, esi
call fcn.00416f90
mov eax, dword [esi]
mov ecx, dword [ebx + 4]
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x44568a
push ecx
push eax
call fcn.004883c5
add esp, 8
test eax, eax
js 0x445644
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x445644
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4456c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49feb8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push edi
mov eax, dword [0x4c6184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 4]
xor ebx, ebx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x394]
cmp eax, ebx
je 0x445730
mov eax, dword [eax]
cmp eax, ebx
je 0x445730
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x28]
push ecx
push ebx
push 0x407
push eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0x44], ebx
je 0x4457e8
cmp byte [esi + 0x48], bl
je 0x4457e8
mov eax, dword [esi + 0x24]
call fcn.00474640
push eax
call fcn.00466a00
cmp eax, dword [esi + 0x44]
jne 0x4457e5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x54]
cmp eax, 0x1f4
jbe 0x4457e5
cmp dword [esi + 0x40], edi
je 0x4457e5
lea edx, [ebp + 0x10]
push edx
call fcn.0041bb70
mov dword [ebp - 4], ebx
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx]
mov eax, dword [eax + 4]
mov edx, dword [edx + 0x14]
lea edi, [ebp + 0x10]
push edi
push eax
call edx
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4457a8
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], ebx
jne 0x4457b5
cmp ecx, ebx
je 0x4457da
lea edx, [ebp + 0x10]
push edx
call fcn.0041d2b0
test eax, eax
je 0x4457da
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x24]
call fcn.00474640
mov eax, dword [eax]
cmp eax, ebx
je 0x4457da
push ebx
push ebx
push 0x41c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp + 0x10]
call fcn.0043ec30
mov edi, dword [ebp + 0xc]
mov dword [esi + 0x40], edi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4460c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0e00
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4c6184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ebx, [esi + 0x30]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 1
call fcn.0042d890
mov ebx, dword [ebx]
push ebx
call fcn.00486a80
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
sub eax, 0x10
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44612e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x463770
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2f01
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4c6184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
call fcn.0041bb70
lea eax, [esi + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, 1
push eax
mov dword [esi + 4], edi
call fcn.0041bb70
lea ecx, [esi + 0xc]
push ecx
mov byte [ebp - 4], 1
call fcn.0041bb70
mov byte [ebp - 4], 2
lea edx, [esi + 0x30]
push edx
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x20], 7
mov dword [esi + 0x24], ebx
mov byte [esi + 0x28], 1
mov dword [esi + 0x2c], ebx
call fcn.0041bb70
lea eax, [esi + 0x34]
push eax
mov byte [ebp - 4], 3
call fcn.0041bb70
mov byte [ebp - 4], 4
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], 0x1010101
mov word [esi + 0x44], di
mov byte [esi + 0x46], 1
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], edi
mov word [esi + 0x5c], bx
mov dword [esi + 0x60], ebx
or eax, 0xffffffff
lea ecx, [esi + 0x74]
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
push ecx
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
call fcn.00463670
mov byte [ebp - 4], 5
push 0x38
mov dword [esi + 0x9c], ebx
call fcn.00486d3e
add esp, 4
cmp eax, ebx
je 0x463889
mov dword [esi + 0x98], eax
mov dword [eax], eax
mov eax, dword [esi + 0x98]
mov dword [eax + 4], eax
mov dword [esi + 0x4c], 0xef1e1e1e
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.00488262
push 0x4b9970
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.0048a3a0
int3
Function at 0x46a6a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0b08
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4c6184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [edi]
sub eax, 0x10
call fcn.004170c0
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
movzx eax, byte [edi + 4]
mov byte [esi + 4], al
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov cl, byte [edi + 0x20]
mov byte [esi + 0x20], cl
mov dl, byte [edi + 0x21]
mov byte [esi + 0x21], dl
movzx eax, byte [edi + 0x22]
mov byte [esi + 0x22], al
mov ecx, dword [edi + 0x24]
mov dword [esi + 0x24], ecx
mov edx, dword [edi + 0x28]
mov dword [esi + 0x28], edx
mov eax, dword [edi + 0x2c]
add edi, 0x30
push edi
lea ecx, [esi + 0x30]
mov dword [esi + 0x2c], eax
call fcn.00475aa0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x46be30
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp dword [esi + 0x3a8], 0
mov dword [esi + 0x20], eax
je 0x46be8f
test eax, eax
je 0x46be8f
push edi
push 0
push 0
push esi
push 0x474d20
push 0
push 0
call fcn.00489a52
mov edi, eax
add esp, 0x18
test edi, edi
je 0x46be8b
mov eax, dword [esi + 0x20]
push 0x7530
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x46be84
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
ret
xor eax, eax
ret
Function at 0x46f8e0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e7e1
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4c6184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [esi], vtable.CInterfaceControl::CControlInfo.0
mov eax, dword [edi + 4]
sub eax, 0x10
call fcn.004170c0
add eax, 0x10
mov dword [esi + 4], eax
mov dword [ebp - 4], 0
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
movzx ecx, byte [edi + 0xc]
mov byte [esi + 0xc], cl
movzx edx, byte [edi + 0xd]
mov byte [esi + 0xd], dl
mov eax, dword [edi + 0x10]
sub eax, 0x10
call fcn.004170c0
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x14]
sub eax, 0x10
call fcn.004170c0
add eax, 0x10
mov dword [esi + 0x14], eax
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 0x18]
push ecx
mov byte [ebp - 4], 2
call fcn.00475b60
mov edx, dword [edi + 0x24]
mov dword [esi + 0x24], edx
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x30]
mov dword [esi + 0x30], edx
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x38], ecx
movzx edx, byte [edi + 0x3c]
mov byte [esi + 0x3c], dl
movzx eax, byte [edi + 0x3d]
mov byte [esi + 0x3d], al
movzx ecx, byte [edi + 0x3e]
mov byte [esi + 0x3e], cl
movzx edx, byte [edi + 0x3f]
mov byte [esi + 0x3f], dl
movzx eax, byte [edi + 0x40]
mov byte [esi + 0x40], al
movzx ecx, byte [edi + 0x41]
mov byte [esi + 0x41], cl
movzx edx, byte [edi + 0x42]
mov byte [esi + 0x42], dl
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4737d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0xc], 0
push esi
mov esi, ecx
je 0x4737eb
mov eax, dword [ebp + 8]
push eax
push esi
call fcn.00473830
pop esi
pop ebp
ret 8
cmp byte [esi + 0x14c], 0
jne 0x473825
cmp byte [esi + 0x159], 0
mov byte [esi + 0x14c], 1
jne 0x473810
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp + 8]
mov eax, dword [esi + 4]
push 0
push edx
push 0x81d9
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
pop ebp
ret 8

Function at 0x4758c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fa68
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4c6184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x18], 0xffffffff
call fcn.0041bb70
mov dword [ebp - 4], 0
mov ecx, dword [0x4cfcd4]
push ecx
push str.SoftwareMicrosoftMSNMessengerPerPassportSettings_u
lea edi, [ebp - 0x10]
call fcn.00417b50
mov eax, dword [ebp - 0x10]
add esp, 8
lea edx, [ebp - 0x14]
push edx
push 0x20019
xor edi, edi
push edi
push eax
push Ordinal_4
mov dword [ebp - 0x14], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47595b
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x20]
push eax
push 0
push str.MainWndLastColor
push edi
mov dword [ebp - 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x18]
cmp eax, 0xffffffff
je 0x475990
cmp eax, 0xfffffffe
je 0x475990
cmp eax, 0xfffffffd
je 0x475990
movzx esi, al
mov ecx, eax
or esi, 0xffffff00
shr ecx, 8
shl esi, 8
movzx edx, cl
shr eax, 0x10
or esi, edx
movzx eax, al
shl esi, 8
or esi, eax
jmp 0x475995
mov esi, 0xff83c0d9
test edi, edi
je 0x4759a0
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4759c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x47a770
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f9fa
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x4c6184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
fldz
xor edi, edi
lea eax, [esi + 0x1c]
fstp dword [esi + 0x18]
push eax
mov dword [ebp - 0x128], esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call fcn.0041bb70
lea ecx, [esi + 0x20]
push ecx
mov dword [ebp - 4], edi
call fcn.0041bb70
lea edx, [esi + 0x24]
push edx
mov byte [ebp - 4], 1
call fcn.0041bb70
lea eax, [esi + 0x28]
push eax
mov byte [ebp - 4], 2
call fcn.0041bb70
lea ecx, [esi + 0x2c]
push ecx
mov byte [ebp - 4], 3
call fcn.0041bb70
lea edx, [esi + 0x30]
push edx
mov byte [ebp - 4], 4
call fcn.0041bb70
lea eax, [esi + 0x34]
push eax
mov byte [ebp - 4], 5
call fcn.0041bb70
lea ecx, [esi + 0x38]
push ecx
mov byte [ebp - 4], 6
call fcn.0041bb70
lea edx, [esi + 0x3c]
push edx
mov byte [ebp - 4], 7
call fcn.0041bb70
lea eax, [esi + 0x40]
push eax
mov byte [ebp - 4], 8
call fcn.0041bb70
lea ecx, [esi + 0x44]
push ecx
mov byte [ebp - 4], 9
call fcn.0041bb70
lea edx, [esi + 0x48]
push edx
mov byte [ebp - 4], 0xa
call fcn.0041bb70
mov eax, dword [ebp + 8]
push 0x114
lea ecx, [ebp - 0x124]
push edi
push ecx
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], 3
mov dword [esi + 0x54], edi
call fcn.0048a470
add esp, 0xc
lea edx, [ebp - 0x124]
mov dword [ebp - 0x124], 0x114
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00486a8b
mov esp, ebp
pop ebp
ret 4
Function at 0x47d340
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4c74f0]
sub esp, 0x18
cmp eax, 0xa
jne 0x47d3fc
push esi
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.SoftwareYuna_SoftwareMessenger_Plus_
mov esi, 1
push Ordinal_4
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47d400
mov eax, dword [ebp - 8]
push edi
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x10]
push ecx
push 0
push str.InstallDateTBB
push eax
mov edi, eax
mov dword [ebp - 0xc], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x18]
or edx, dword [ebp - 0x14]
je 0x47d3ed
push 0
call fcn.00489c0e
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
add esp, 4
add esi, 0xed4e00
adc ecx, 0
cmp edx, ecx
jg 0x47d3ea
jl 0x47d3e3
cmp eax, esi
jae 0x47d3ea
mov dword [ebp - 4], 3
mov esi, dword [ebp - 4]
test edi, edi
je 0x47d3f8
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x482e50
Capabilities:
Create thread

Disassembly:
mov ecx, esi
mov dword [eax], 1
call fcn.0046b780
cmp eax, 0xffffffff
jne 0x482e93
cmp byte [esi + 0x15a], 0
je 0x482e82
cmp byte [esi + 0x159], 0
jne 0x482e82
mov byte [esi + 0x15a], 0
mov byte [esi + 0x120], 1
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
push 1
push 2
mov ecx, esi
call eax
or eax, 0xffffffff
ret
push 0
push 0
push esi
push 0x483310
push 0
push 0
call fcn.00489a52
add esp, 0x18
test eax, eax
jne 0x482edb
cmp byte [esi + 0x15a], al
je 0x482eca
cmp byte [esi + 0x159], al
jne 0x482eca
mov byte [esi + 0x15a], al
mov byte [esi + 0x120], 1
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
push 1
push 2
mov ecx, esi
call eax
or eax, 0xffffffff
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
ret

Function at 0x483460
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x4c6184]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x3cc], 0
je 0x483565
push 0x114
lea eax, [ebp - 0x120]
push 0
push eax
mov byte [edi + 0x3cc], 0
call fcn.0048a470
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x110], 2
jne 0x483565
mov eax, dword [ebp - 0x11c]
cmp eax, 6
ja 0x4834e4
jne 0x483565
cmp dword [ebp - 0x118], 1
jb 0x483565
mov eax, dword [edi + 0x3d0]
lea esi, [edi + 0x3d0]
test eax, eax
je 0x4834fc
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push esi
push 0x4a67cc
push 1
push 0
push 0x4a67dc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x48351b
mov dword [esi], 0
cmp dword [esi], 0
je 0x483565
mov eax, dword [esi]
test eax, eax
jne 0x483530
push 0x80004003
call fcn.00485e30
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
test eax, eax
jns 0x483541
call fcn.004838b0
mov esi, dword [esi]
test esi, esi
jne 0x483551
push 0x80004003
call fcn.00485e30
mov ecx, dword [edi + 0x3c8]
mov edx, dword [ecx + 4]
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
push 2
push edx
push esi
call eax
push ecx
mov dword [ebp - 0x124], esp
push esp
mov ecx, str.PrgInstall
call fcn.0041bf30
lea ebx, [ebp - 0x124]
call fcn.00473d70
mov ecx, dword [eax]
push 0
push 0x55
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0x3d0], 0
je 0x4835cb
mov eax, dword [edi + 0x3d0]
test eax, eax
jne 0x4835b1
push 0x80004003
call fcn.00485e30
mov ecx, dword [edi + 0x3c8]
mov ecx, dword [ecx + 4]
mov edx, dword [eax]
mov edx, dword [edx + 0x24]
push 0
push 0x64
push 0
push 0x55
push ecx
push eax
call edx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00486a8b
mov esp, ebp
pop ebp
ret
Function at 0x4835e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x4c6184]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x3cc], 0
je 0x4836e0
push 0x114
lea eax, [esp + 0x14]
push 0
push eax
mov byte [edi + 0x3cc], 0
call fcn.0048a470
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x20], 2
jne 0x4836e0
mov eax, dword [esp + 0x14]
cmp eax, 6
ja 0x48365f
jne 0x4836e0
cmp dword [esp + 0x18], 1
jb 0x4836e0
mov eax, dword [edi + 0x3d0]
lea esi, [edi + 0x3d0]
test eax, eax
je 0x483677
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push esi
push 0x4a67cc
push 1
push 0
push 0x4a67dc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x483696
mov dword [esi], 0
cmp dword [esi], 0
je 0x4836e0
mov eax, dword [esi]
test eax, eax
jne 0x4836ab
push 0x80004003
call fcn.00485e30
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
test eax, eax
jns 0x4836bc
call fcn.004838b0
mov esi, dword [esi]
test esi, esi
jne 0x4836cc
push 0x80004003
call fcn.00485e30
mov ecx, dword [edi + 0x3c8]
mov edx, dword [ecx + 4]
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
push 2
push edx
push esi
call eax
push ecx
mov dword [esp + 0x10], esp
push esp
mov ecx, str.PrgDownload
call fcn.0041bf30
lea ebx, [esp + 0x10]
call fcn.00473d70
mov esi, dword [ebp + 8]
mov ecx, dword [eax]
push 0
push esi
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0x3d0], 0
je 0x48377f
mov eax, dword [edi + 0x3d0]
test eax, eax
jne 0x48372a
push 0x80004003
call fcn.00485e30
mov ecx, dword [edi + 0x3c8]
mov ecx, dword [ecx + 4]
mov edx, dword [eax]
mov edx, dword [edx + 0x24]
push 0
push 0x64
push 0
push esi
push ecx
push eax
call edx
cmp esi, 0x64
jb 0x48377f
mov eax, dword [edi + 0x3d4]
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [edi + 0x3d0]
test eax, eax
jne 0x48376d
push 0x80004003
call fcn.00485e30
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [edi + 0x3d0], 0
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00486a8b
mov esp, ebp
pop ebp
ret 4
Function at 0x483a30
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1fa8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push edi
mov eax, dword [0x4c6184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, esi
mov dword [eax], 1
call fcn.0046b780
cmp eax, 0xffffffff
jne 0x483aaf
cmp byte [esi + 0x15a], 0
je 0x483a8c
cmp byte [esi + 0x159], 0
jne 0x483a8c
mov byte [esi + 0x15a], 0
mov byte [esi + 0x120], 1
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
push 1
push 2
mov ecx, esi
call eax
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp + 8]
push ecx
call fcn.0041bb70
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edx, dword [0x4d019c]
push edx
push str._smsnmsgr.exe
lea edi, [ebp + 8]
call fcn.00417b50
mov ecx, dword [ebp + 8]
add esp, 8
lea eax, [ebp - 0x18]
push eax
push ecx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
cmp edi, ebx
jbe 0x483bd3
push edi
call fcn.004867fb
mov ebx, eax
add esp, 4
mov dword [ebp - 0x28], ebx
push ebx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
push edi
push edx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x483bc6
lea ecx, [ebp - 0x14]
push ecx
call fcn.0041bb70
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 2
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
push str.VarFileInfoTranslation
push ebx
mov dword [ebp - 0x1c], 0
call edi
test eax, eax
je 0x483b72
cmp dword [ebp - 0x10], 4
jb 0x483b72
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
mov edx, eax
shr edx, 0x10
movzx eax, ax
push edx
push eax
push str.StringFileInfo_04X_04XFileDescription
lea edi, [ebp - 0x14]
call fcn.00417b50
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
add esp, 0xc
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x20]
push edx
push eax
push ebx
mov dword [ebp - 0x20], 0
call edi
test eax, eax
je 0x483ba3
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x24]
push edx
push 0x4a9708
push ebx
mov dword [ebp - 0x24], 0
call edi
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483bc6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
mov byte [ebp - 4], 0
call fcn.004875f2
add esp, 4
push ecx
mov dword [ebp - 0x28], esp
push esp
mov ecx, str.BtnNext
call fcn.0041bf30
mov edi, dword [esi + 0x3c8]
lea ebx, [ebp - 0x28]
call fcn.00473d70
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x483c1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4