joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ce593
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100b4020
and dword [ebp - 4], 0
cmp dword [0x1015b0fc], 0
mov ebx, eax
jne 0x100ce644
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100ce6f5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100ce6f5
push eax
call fcn.100b3fae
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1015b0fc], eax
call esi
push eax
call fcn.100b3fae
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1015b100], eax
call esi
push eax
call fcn.100b3fae
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1015b104], eax
call esi
push eax
call fcn.100b3fae
pop ecx
mov dword [0x1015b10c], eax
test eax, eax
je 0x100ce644
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100b3fae
pop ecx
mov dword [0x1015b108], eax
mov eax, dword [0x1015b108]
cmp eax, ebx
je 0x100ce69c
cmp dword [0x1015b10c], ebx
je 0x100ce69c
push eax
call fcn.100b4029
push dword [0x1015b10c]
mov esi, eax
call fcn.100b4029
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100ce69c
test edi, edi
je 0x100ce69c
call esi
test eax, eax
je 0x100ce693
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100ce693
test byte [ebp - 0xc], 1
jne 0x100ce69c
or dword [ebp + 0x10], 0x200000
jmp 0x100ce6d5
mov eax, dword [0x1015b100]
cmp eax, ebx
je 0x100ce6d5
push eax
call fcn.100b4029
pop ecx
test eax, eax
je 0x100ce6d5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100ce6d5
mov eax, dword [0x1015b104]
cmp eax, ebx
je 0x100ce6d5
push eax
call fcn.100b4029
pop ecx
test eax, eax
je 0x100ce6d5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1015b0fc]
call fcn.100b4029
pop ecx
test eax, eax
je 0x100ce6f5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100ce6f7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x42e072
nop
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x65e07629
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x772e0676
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
popal
nop
nop
nop
jmp 0x401219

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x42e030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d7a
nop
sub eax, 0x403d20
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x401090
Capabilities:
Get common file path

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0xc]
push esi
xor esi, esi
push eax
push ecx
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4010f6
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4010f6
mov edx, dword [esp + 0xc]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x4010c6
mov esi, 1
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x4010f6
mov eax, dword [esp + 4]
test eax, eax
je 0x4010f6
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4010f0
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x14]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
pop esi
pop ecx
ret

Function at 0x401200
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x10]
push 0
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40122e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 2
pop esi
ret
mov eax, dword [esp + 0x10]
sub eax, esi
pop esi
neg eax
sbb eax, eax
and eax, 3
ret
Function at 0x402220
Capabilities:
Get disk size

Disassembly:
sub esp, 0x124
push ebp
mov ebp, dword [esp + 0x130]
push esi
or esi, 0xffffffff
test ebp, ebp
je 0x40223d
mov dword [ebp], 1
mov eax, dword [esp + 0x130]
test eax, eax
je 0x4023a2
cmp byte [eax], 0
je 0x4023a2
lea edx, [esp + 0x24]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40225b
mov al, byte [esp + 0x25]
push ebx
cmp al, 0x3a
push edi
mov bl, 0x5c
jne 0x40227b
cmp byte [esp + 0x2e], bl
jne 0x40227b
mov byte [esp + 0x2f], cl
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40231e
push str.GetDiskFreeSpaceExA
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
test ebp, ebp
je 0x402300
cmp byte [esp + 0x2c], bl
jne 0x4022ba
cmp byte [esp + 0x2d], bl
jne 0x4022ba
lea eax, [esp + 0x2c]
push eax
call fcn.00402110
jmp 0x4022c4
lea ecx, [esp + 0x2c]
push ecx
call fcn.00402150
add esp, 4
lea edx, [esp + 0x1c]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x14]
push edx
push eax
lea edx, [esp + 0x34]
push ecx
push edx
call ebp
test eax, eax
je 0x402300
mov esi, dword [esp + 0x18]
cmp esi, 0x400
jb 0x4022f4
mov esi, 0xfffffffe
jmp 0x402300
mov eax, dword [esp + 0x14]
shl esi, 0x16
shr eax, 0xa
add esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, 0xffffffff
je 0x402317
mov eax, dword [esp + 0x13c]
test eax, eax
je 0x402395
mov ebp, dword [esp + 0x13c]
mov al, byte [esp + 0x2c]
mov dword [esp + 0x10], 0
cmp al, bl
mov al, byte [esp + 0x2d]
jne 0x402336
cmp al, bl
je 0x402343
cmp al, 0x3a
jne 0x402343
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], 0
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x402395
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
cmp esi, 0xffffffff
jne 0x402383
mov esi, eax
imul esi, ecx
shr esi, 8
imul esi, dword [esp + 0x10]
shr esi, 2
test ebp, ebp
je 0x402395
imul eax, ecx
add eax, 0x3ff
shr eax, 0xa
mov dword [ebp], eax
pop edi
mov eax, esi
pop ebx
pop esi
pop ebp
add esp, 0x124
ret
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x124
ret
Function at 0x4026d0
Capabilities:
Create process on windows

Disassembly:
push ebp
push edi
push 1
push 0x208
call fcn.0041a522
push 1
push 0x208
mov edi, eax
call fcn.0041a522
add esp, 0x10
mov ebp, eax
test edi, edi
je 0x40280b
test ebp, ebp
je 0x40280b
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov edx, ebp
xor esi, esi
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40270f
push 7
push str.http:__
push ebp
call fcn.0041aac0
add esp, 0xc
test eax, eax
je 0x402755
push 8
push str.https:__
push ebp
call fcn.0041aac0
add esp, 0xc
test eax, eax
je 0x402755
push 0x5c
push ebp
call fcn.0041a320
add esp, 8
test eax, eax
je 0x402755
mov byte [eax], 0
mov esi, ebp
push 5
push esi
push 0
push ebx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x4027fa
mov eax, dword [esp + 0x18]
push edi
push eax
push 0x80000000
call fcn.00402810
add esp, 0xc
test eax, eax
jne 0x4027fa
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str._shellopencommand
push edi
call ebx
push edi
push edi
push 0x80000000
call fcn.00402810
add esp, 0xc
test eax, eax
jne 0x4027fa
push str.__1_
push edi
call fcn.0041a820
mov esi, eax
add esp, 8
test esi, esi
jne 0x4027de
push 0x42567c
push edi
call fcn.0041a820
mov esi, eax
add esp, 8
test esi, esi
jne 0x4027de
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + edi - 1]
jmp 0x4027e1
mov byte [esi], 0
push 0x425678
push esi
call ebx
mov ecx, dword [esp + 0x14]
push ecx
push esi
call ebx
push 5
push edi
call dword [sym.imp.KERNEL32.dll_WinExec]
push ebp
call fcn.0041a5d3
push edi
call fcn.0041a5d3
add esp, 8
pop esi
pop ebx
pop edi
pop ebp
ret

Function at 0x402810
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x402859
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
lea eax, [esp + 8]
mov dword [esp + 8], 0x104
push eax
push ecx
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
ret
Function at 0x402860
Capabilities:
Set registry value

Disassembly:
sub esp, 0x20c
lea eax, [esp + 4]
push edi
mov edi, dword [esp + 0x214]
push 0x208
push eax
push edi
call fcn.00402950
add esp, 0xc
push edi
call dword [sym.imp.GDI32.dll_AddFontResourceA]
test eax, eax
je 0x40293a
mov al, byte [esp + 8]
push esi
test al, al
je 0x402912
push 0x5c
push edi
call fcn.0041a320
mov esi, eax
add esp, 8
test esi, esi
je 0x4028ad
inc esi
jmp 0x4028af
mov esi, edi
lea ecx, [esp + 0xc]
push str.__TrueType_
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, dword [0x42adbc]
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionFonts
test ecx, ecx
je 0x4028d3
mov eax, str.SoftwareMicrosoftWindows_NTCurrentVersionFonts
lea edx, [esp + 8]
push edx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x402912
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0xc]
push esi
push 1
push eax
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x42a984
push 0x1388
push 0
push 0
push 0
push 0x1d
push 0xffff
mov dword [0x42a984], 0
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
pop esi
pop edi
add esp, 0x20c
ret

Function at 0x402b70
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x20c
lea eax, [esp + 4]
push esi
mov esi, dword [esp + 0x214]
push edi
push 0x208
push eax
push esi
call fcn.00402950
add esp, 0xc
push esi
call dword [sym.imp.GDI32.dll_RemoveFontResourceA]
mov edi, eax
mov al, byte [esp + 0xc]
test al, al
je 0x402c02
push 0x5c
push esi
call fcn.0041a320
add esp, 8
lea ecx, [esp + 0xc]
push str.__TrueType_
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, dword [0x42adbc]
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionFonts
test ecx, ecx
je 0x402bd2
mov eax, str.SoftwareMicrosoftWindows_NTCurrentVersionFonts
lea edx, [esp + 8]
push edx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x402c02
mov ecx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
pop esi
je 0x402c25
push 0x42a984
push 0x1388
push 0
push 0
push 0
push 0x1d
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
add esp, 0x20c
ret
Function at 0x402cd0
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
push 0x208
call fcn.0041a470
mov ebp, eax
xor ebx, ebx
add esp, 4
cmp ebp, ebx
jne 0x402cf6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x54
ret
mov eax, dword [esp + 0x68]
push eax
push str.__s_
push ebp
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [esp + 0x78]
add esp, 0xc
cmp edx, ebx
je 0x402d4f
cmp byte [edx], bl
je 0x402d4f
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov cx, word [0x425678]
mov word [edi - 1], cx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x208
call fcn.0041a470
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x402d75
push ebp
call fcn.0041a5d3
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, dword [esp + 0x68]
lea edi, [esi + 0x104]
mov edx, edi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x402d91
push 0x5c
push edi
call fcn.0041a320
add esp, 8
cmp eax, ebx
je 0x402db3
push edi
mov byte [eax], bl
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [esp + 0x10]
mov eax, dword [esp + 0x70]
lea edx, [esp + 0x20]
push ecx
push edx
push ebx
push ebx
push 0x20
push 1
push ebx
push ebx
push ebp
push ebx
mov dword [eax], ebx
mov dword [esp + 0x48], 0x44
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x74], ebx
mov word [esp + 0x7a], bx
mov dword [esp + 0x7c], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push esi
call fcn.0041a5d3
push ebp
call fcn.0041a5d3
add esp, 8
cmp edi, ebx
jne 0x402e1a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x54
ret
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [ecx], eax
pop ebp
mov eax, 1
pop ebx
add esp, 0x54
ret

Function at 0x403ab0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 8
lea eax, [esp + 0x10]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403b19
lea eax, [esp + 0x10]
lea ecx, [esp + 4]
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push esi
push eax
push ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x403b0e
mov esi, 1
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x403b20
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x58
cmp eax, 6
ja case.default.0x403b30
jmp dword [eax*4 + 0x403cd4]
push str.Install
push str.SoftwareMicrosoft.NETFrameworkpolicy_v1.0
push 0x80000002
call fcn.00403ab0
add esp, 0xc
add esp, 0x58
ret
push str.Install
push str.SoftwareMicrosoftNET_Framework_SetupNDP_v1.1.4322
push 0x80000002
call fcn.00403ab0
add esp, 0xc
add esp, 0x58
ret
push str.Install
push str.SoftwareMicrosoftNET_Framework_SetupNDP_v2.0.50727
push 0x80000002
call fcn.00403ab0
add esp, 0xc
add esp, 0x58
ret
push str.InstallSuccess
push str.SoftwareMicrosoftNET_Framework_SetupNDP_v3.0Setup
push 0x80000002
call fcn.00403ab0
add esp, 0xc
add esp, 0x58
ret
push str.Install
push str.SoftwareMicrosoftNET_Framework_SetupNDP_v3.5
push 0x80000002
call fcn.00403ab0
add esp, 0xc
add esp, 0x58
ret
push str.Install
push str.SoftwareMicrosoftNET_Framework_SetupNDP_v4Client
push 0x80000002
call fcn.00403ab0
add esp, 0xc
test eax, eax
jne 0x403bf8
push str.Install
push str.SoftwareMicrosoftNET_Framework_SetupNDP_v4Full
push 0x80000002
call fcn.00403ab0
add esp, 0xc
test eax, eax
je case.default.0x403b30
mov eax, 1
add esp, 0x58
ret
push esi
push str.Install
push str.SoftwareMicrosoftNET_Framework_SetupNDP_v4Full
push 0x80000002
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x50
xor esi, esi
call fcn.00403ab0
add esp, 0xc
test eax, eax
je 0x403c41
lea eax, [esp + 0x60]
push eax
push 0x20019
push esi
push str.SoftwareMicrosoftNET_Framework_SetupNDP_v4Full
jmp 0x403c6d
push str.Install
push str.SoftwareMicrosoftNET_Framework_SetupNDP_v4Client
push 0x80000002
call fcn.00403ab0
add esp, 0xc
test eax, eax
je 0x403cc6
lea eax, [esp + 0x60]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftNET_Framework_SetupNDP_v4Client
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403cc6
lea ecx, [esp + 4]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push str.Version
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x403cbb
cmp byte [esp + 0xc], 0x34
jne 0x403cbb
cmp byte [esp + 0xd], 0x2e
jne 0x403cbb
cmp byte [esp + 0xe], 0x35
jl 0x403cbb
mov esi, 1
mov edx, dword [esp + 0x60]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x58
ret
xor eax, eax
add esp, 0x58
ret
Function at 0x405840
Capabilities:
Get common file path

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebx, 1
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push esi
call fcn.00402110
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebp
add ecx, esi
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
push 0
push esi
call fcn.00401140
add esp, 0x18
cmp eax, 0xffffffff
je 0x405898
push eax
call fcn.004013c0
add esp, 4
or eax, 0xffffffff
jmp 0x4058a6
push esi
call fcn.00401190
add esp, 4
cmp eax, 0xffffffff
jne 0x4058af
inc ebx
cmp ebx, 0x3e7
jl 0x405851
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4059d0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
xor bl, bl
test edi, edi
jbe 0x4059fa
mov eax, dword [esi]
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov al, byte [ecx]
xor al, dl
xor al, 0x6a
inc word [ecx]
add bl, al
dec edi
jne 0x4059e5
mov edi, dword [esi]
mov dl, byte [edi]
inc edi
mov dword [esi], edi
mov al, byte [ecx]
xor al, dl
pop edi
xor al, 0x6a
inc word [ecx]
xor ecx, ecx
cmp bl, al
sete cl
pop esi
mov eax, ecx
pop ebx
ret

Function at 0x405a20
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
lea eax, [esp + 0x14]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1a]
and eax, 0xffff
and edx, 0xffff
xor esi, esi
mov byte [esp + 0x13], 0
lea eax, [eax + eax*4]
mov ebp, 8
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x1e]
and ecx, 0xffff
xor edi, edi
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x30]
mov bl, byte [ecx]
mov al, dl
xor al, bl
lea esi, [esi + esi*4]
xor al, 0x6a
inc ecx
mov byte [esp + 0x2c], al
inc edx
mov ebx, dword [esp + 0x2c]
and ebx, 0xff
lea esi, [ebx + esi*2 - 0x41]
mov bl, byte [esp + 0x13]
add bl, al
dec ebp
mov byte [esp + 0x13], bl
jne 0x405a7b
mov ebp, 8
mov bl, byte [ecx]
mov al, dl
xor al, bl
lea edi, [edi + edi*4]
xor al, 0x6a
inc ecx
mov byte [esp + 0x2c], al
inc edx
mov ebx, dword [esp + 0x2c]
and ebx, 0xff
lea edi, [ebx + edi*2 - 0x41]
mov bl, byte [esp + 0x13]
add bl, al
dec ebp
mov byte [esp + 0x13], bl
jne 0x405aac
mov al, byte [ecx]
mov cl, bl
xor al, dl
xor al, 0x6a
cmp cl, al
jne 0x405afd
mov eax, dword [esp + 0x14]
cmp eax, esi
jb 0x405afd
cmp eax, edi
jae 0x405afd
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x18
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x4081c0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, dword [0x42aa24]
push esi
push edi
cmp byte [eax], 0
jne 0x408352
mov ecx, dword [0x42ae3c]
mov edx, dword [0x42a9b4]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4081dc
mov ecx, dword [0x42a9b4]
push 0x5c
push ecx
call fcn.0041a320
add esp, 8
test eax, eax
je 0x4081fe
inc eax
jmp 0x408203
mov eax, dword [0x42a9b4]
mov byte [eax], 0x72
inc eax
push ebx
push 0
mov byte [eax], 0x65
inc eax
mov byte [eax], 0x67
inc eax
mov byte [eax], 0x69
inc eax
mov byte [eax], 0x6e
inc eax
mov byte [eax], 0x66
inc eax
mov byte [eax], 0x6f
inc eax
mov byte [eax], 0x2e
inc eax
mov byte [eax], 0x74
inc eax
mov byte [eax], 0x78
inc eax
mov byte [eax], 0x74
mov byte [eax + 1], 0
mov edx, dword [0x42a9b4]
push edx
call fcn.00401140
mov ebx, eax
add esp, 8
cmp ebx, 0xffffffff
je 0x4082c1
push ebx
call fcn.004012c0
mov esi, eax
add esp, 4
test esi, esi
jbe 0x4082b8
cmp esi, 0x186a0
jae 0x4082b8
lea eax, [esi + 1]
push eax
call fcn.0041a470
mov edi, eax
add esp, 4
test edi, edi
je 0x4082b8
push esi
push edi
push ebx
call fcn.004011c0
mov byte [edi + esi], 0
mov ecx, dword [0x42ad10]
add esp, 0xc
mov eax, dword [ecx + 8]
test eax, eax
jne 0x40829c
push esi
push edi
call fcn.00407fb0
add esp, 8
jmp 0x4082af
xor edx, edx
cmp eax, 4
sete dl
push edx
push esi
push edi
call fcn.00408e90
add esp, 0xc
push edi
call fcn.0041a5d3
add esp, 4
push ebx
call fcn.004013c0
add esp, 4
mov eax, dword [0x42aa24]
pop ebx
cmp byte [eax], 0
jne 0x408352
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x408352
mov ecx, dword [0x42ae04]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x408352
push ebp
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebp, eax
test ebp, ebp
je 0x408349
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
test edx, edx
je 0x408342
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [0x42ad10]
not ecx
mov eax, dword [eax + 8]
dec ecx
test eax, eax
mov esi, ecx
jne 0x40832f
push esi
push edx
call fcn.00407fb0
add esp, 8
jmp 0x408342
xor ecx, ecx
cmp eax, 4
sete cl
push ecx
push esi
push edx
call fcn.00408e90
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop ebp
pop edi
pop esi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
ret