joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5554d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [edi + 0x2c]
push ebp
push esi
mov ebp, dword [edi + 0x3c]
sub ebp, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea edx, [ebx + ecx - 0x106]
sub ebp, eax
cmp eax, edx
jb 0x55554e
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.00506e30
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x555521
sub eax, ebx
jmp 0x555523
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x555512
mov ecx, dword [edi + 0x40]
mov edx, ebx
lea ecx, [ecx + ebx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x555542
sub eax, ebx
jmp 0x555544
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x555533
add ebp, ebx
mov esi, dword [edi]
cmp dword [esi + 4], 0
je 0x5555a9
mov edx, dword [edi + 0x74]
add edx, dword [edi + 0x6c]
mov ecx, ebp
add edx, dword [edi + 0x38]
push edx
call fcn.005551d0
add dword [edi + 0x74], eax
mov edx, dword [edi + 0x74]
add esp, 4
cmp edx, 3
jb 0x555595
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp edx, 0x106
jae 0x5555a9
mov edx, dword [edi]
cmp dword [edx + 4], 0
jne 0x5554d6
pop esi
pop ebp
pop ebx
ret
Function at 0x40bf60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
mov esi, dword fs:[0x18]
sub esp, 0x1c
mov edi, dword [sym.imp.kernel32.dll_CreateEventA]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
mov dword [ebx + 4], eax
sub esp, 0x10
call fcn.0054f6e0
mov dword [eax], 0x55e3cb
mov dword [eax + 4], 0xee
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x55e78c
mov dword [esp + 8], eax
mov edx, dword [ebx + 4]
xor eax, eax
test edx, edx
setne al
mov dword [esp], eax
call fcn.0040b610
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
mov dword [ebx + 8], eax
sub esp, 0x10
call fcn.0054f6e0
mov dword [eax], 0x55e3cb
mov dword [eax + 4], 0xf0
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x55e78c
mov dword [esp + 8], eax
mov ecx, dword [ebx + 8]
xor eax, eax
test ecx, ecx
setne al
mov dword [esp], eax
call fcn.0040b610
lea eax, [ebp - 0x10]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x40c0f0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [ebx + 0xc], eax
sub esp, 0x18
call fcn.0054f6e0
mov dword [eax], 0x55e3cb
mov dword [eax + 4], 0xf2
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x55e7b4
mov dword [esp + 8], eax
mov edi, dword [ebx + 0xc]
xor eax, eax
test edi, edi
setne al
mov dword [esp], eax
call fcn.0040b610
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebx + 4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
sub esp, 8
mov ebx, eax
call fcn.0054f6e0
mov dword [eax], 0x55e3cb
mov dword [eax + 4], 0xf4
mov eax, dword [esi + 0x34]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 4], 0x55e7e0
mov dword [esp], eax
call fcn.0040b610
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x44d520
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
mov esi, dword fs:[0x18]
sub esp, 0x1c
mov edi, dword [sym.imp.kernel32.dll_CreateEventA]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
mov dword [ebx + 4], eax
sub esp, 0x10
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0xef
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x567aa0
mov dword [esp + 8], eax
mov edx, dword [ebx + 4]
xor eax, eax
test edx, edx
setne al
mov dword [esp], eax
call fcn.0044c570
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
mov dword [ebx + 8], eax
sub esp, 0x10
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0xf1
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x567aa0
mov dword [esp + 8], eax
mov ecx, dword [ebx + 8]
xor eax, eax
test ecx, ecx
setne al
mov dword [esp], eax
call fcn.0044c570
lea eax, [ebp - 0x10]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x44d6b0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [ebx + 0xc], eax
sub esp, 0x18
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0xf3
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x567ac8
mov dword [esp + 8], eax
mov edi, dword [ebx + 0xc]
xor eax, eax
test edi, edi
setne al
mov dword [esp], eax
call fcn.0044c570
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebx + 4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
sub esp, 8
mov ebx, eax
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0xf5
mov eax, dword [esi + 0x34]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 4], 0x567af4
mov dword [esp], eax
call fcn.0044c570
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x494280
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
mov esi, dword fs:[0x18]
sub esp, 0x1c
mov edi, dword [sym.imp.kernel32.dll_CreateEventA]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
mov dword [ebx + 4], eax
sub esp, 0x10
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0xf1
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x571f90
mov dword [esp + 8], eax
mov edx, dword [ebx + 4]
xor eax, eax
test edx, edx
setne al
mov dword [esp], eax
call fcn.00493590
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
mov dword [ebx + 8], eax
sub esp, 0x10
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0xf3
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x571f90
mov dword [esp + 8], eax
mov ecx, dword [ebx + 8]
xor eax, eax
test ecx, ecx
setne al
mov dword [esp], eax
call fcn.00493590
lea eax, [ebp - 0x10]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x494410
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [ebx + 0xc], eax
sub esp, 0x18
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0xf5
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x571fb8
mov dword [esp + 8], eax
mov edi, dword [ebx + 0xc]
xor eax, eax
test edi, edi
setne al
mov dword [esp], eax
call fcn.00493590
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebx + 4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
sub esp, 8
mov ebx, eax
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0xf7
mov eax, dword [esi + 0x34]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 4], 0x571fe4
mov dword [esp], eax
call fcn.00493590
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4e8250
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
mov esi, dword fs:[0x18]
sub esp, 0x1c
mov edi, dword [sym.imp.kernel32.dll_CreateEventA]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
mov dword [ebx + 4], eax
sub esp, 0x10
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0x11b
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.CreateEvent_failed__last_error__lu._n
mov dword [esp + 8], eax
mov edx, dword [ebx + 4]
xor eax, eax
test edx, edx
setne al
mov dword [esp], eax
call fcn.004e6560
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
mov dword [ebx + 8], eax
sub esp, 0x10
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0x11d
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.CreateEvent_failed__last_error__lu._n
mov dword [esp + 8], eax
mov ecx, dword [ebx + 8]
xor eax, eax
test ecx, ecx
setne al
mov dword [esp], eax
call fcn.004e6560
lea eax, [ebp - 0x10]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x4e83e0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [ebx + 0xc], eax
sub esp, 0x18
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0x11f
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.Failed_to_create_thread__last_error__lu._n
mov dword [esp + 8], eax
mov edi, dword [ebx + 0xc]
xor eax, eax
test edi, edi
setne al
mov dword [esp], eax
call fcn.004e6560
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebx + 4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
sub esp, 8
mov ebx, eax
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0x121
mov eax, dword [esi + 0x34]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 4], str.Wait_failed___lx___last_error__lu._n
mov dword [esp], eax
call fcn.004e6560
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x536b40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x30
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov edi, dword [sym.imp.user32.dll_GetSystemMetrics]
sub esp, 4
mov esi, eax
mov dword [esp], 1
call edi
sub esp, 4
mov ebx, eax
mov dword [esp], 0
call edi
sub esp, 4
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x80000000
mov dword [esp + 8], str.TestWindowClass
mov dword [esp + 4], str.TestWindowClass
mov dword [esp], 0
call dword [sym.imp.user32.dll_CreateWindowExA]
sub esp, 0x30
mov ebx, eax
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
mov dword [esp], ebx
call dword [sym.imp.user32.dll_UpdateWindow]
sub esp, 4
mov dword [esp], ebx
call dword [sym.imp.user32.dll_SetFocus]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x54f630
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [esp], 1
call dword [0x55a334]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_fflush]
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_ExitProcess]

Function at 0x550af0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
mov dword [esp + 0x10], eax
lea eax, [ebp - 8]
mov dword [esp + 8], eax
lea eax, [ebp - 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x10]
mov dword [esp], eax
mov dword [esp + 0xc], 0
call sub.msvcrt.dll___getmainargs
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.msvcrt.dll___set_app_type
mov eax, dword [ebp - 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00551490
mov dword [esp], eax
call sub.msvcrt.dll_exit
nop
nop
nop
nop
push ebp
mov ebp, esp
call sub.msvcrt.dll___iob_func
mov edx, dword [ebp + 8]
pop ebp
shl edx, 5
add eax, edx
ret
Function at 0x4039e5
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xc
mov eax, 0x429b23
call fcn.00415540
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x403aa3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
jne 0x403a35
xor bl, bl
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
jmp 0x403aa5
push edi
mov dword [ebp - 4], esi
call fcn.00411d83
pop ecx
mov ebx, eax
test edi, edi
jbe 0x403a6c
and dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x403a6c
add esi, dword [ebp - 0x14]
cmp esi, edi
jb 0x403a45
cmp esi, edi
je 0x403a7d
push ebx
call fcn.00412f89
xor al, al
pop ecx
mov bl, al
jmp 0x403a28
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
mov dword [eax], ebx
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x403aa5
xor al, al
call fcn.004155e5
ret 0xc

Function at 0x404c76
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
xor edi, edi
lea esi, [ebp - 0x20]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.00404fbb
lea eax, [ebp - 4]
push eax
push 0x20019
push edi
push str.SOFTWAREMacromediaFlashPlayer
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404cdd
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push edi
push str.LastUpdateCheck
push dword [ebp - 4]
mov dword [ebp - 8], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [ebp - 0xc]
call fcn.00404d7e
push 0xc9
push 0x2a69c000
push edi
push dword [ebp - 0xc]
call fcn.00423a70
add eax, dword [ebp - 0x18]
adc edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x1c]
ja 0x404d0e
jb 0x404d0a
cmp eax, dword [ebp - 0x20]
jae 0x404d0e
mov al, 1
jmp 0x404d10
xor al, al
pop edi
pop esi
leave
ret

Function at 0x404d14
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
cmp byte [ebp + 8], bl
jne 0x404d31
push esi
lea esi, [ebp - 8]
call fcn.00404fbb
pop esi
push ebx
lea eax, [ebp + 8]
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push str.SOFTWAREMacromediaFlashPlayer
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp + 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x404d79
push 8
lea eax, [ebp - 8]
push eax
push 0xb
push ebx
push str.LastUpdateCheck
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x404d70
mov bl, 1
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
leave
ret
Function at 0x404d7e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
push ebx
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.SOFTWAREMacromediaFlashPlayer
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 1], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
inc ebx
test eax, eax
jne 0x404de3
lea eax, [ebp - 0xc]
push eax
push esi
push 0
push 0
push str.CheckFrequency
push dword [ebp - 8]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x404dd4
mov byte [ebp - 1], bl
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 1], 0
jne 0x404de5
mov dword [esi], ebx
mov eax, dword [esi]
cmp eax, ebx
jae 0x404def
mov dword [esi], ebx
jmp 0x404df8
push 3
pop ecx
cmp eax, ecx
jbe 0x404df8
mov dword [esi], ecx
mov al, byte [ebp - 1]
pop ebx
leave
ret

Function at 0x404dfe
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
inc ebx
xor esi, esi
mov dword [ebp - 8], ebx
cmp eax, esi
je 0x404e2a
mov eax, dword [eax]
mov dword [ebp - 8], eax
cmp eax, ebx
jae 0x404e20
mov dword [ebp - 8], ebx
jmp 0x404e2a
push 3
pop ecx
cmp eax, ecx
jbe 0x404e2a
mov dword [ebp - 8], ecx
push esi
lea eax, [ebp - 0xc]
push eax
push esi
push 2
push esi
push esi
push esi
push str.SOFTWAREMacromediaFlashPlayer
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 1], 0
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x404e77
push 4
lea eax, [ebp - 8]
push eax
push 4
push esi
push str.CheckFrequency
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x404e6e
mov byte [ebp - 1], bl
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 1]
pop esi
pop ebx
leave
ret

Function at 0x404e7e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push str.SOFTWAREMacromediaFlashPlayer
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x404ecd
push 4
lea eax, [ebp + 8]
push eax
push 4
push ebx
push str.UpdateAttempts
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x404ec4
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
leave
ret
Function at 0x404ed2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREMacromediaFlashPlayer
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404f28
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 4
push ebx
push ebx
push str.UpdateAttempts
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x404f1f
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
leave
ret

Function at 0x404f2d
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 2
xor ebx, ebx
push ebx
push str.SOFTWAREMacromediaFlashPlayer
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404f6f
push str.LastUpdateCheck
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x404f66
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
leave
ret

Function at 0x404f74
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 2
xor ebx, ebx
push ebx
push str.SOFTWAREMacromediaFlashPlayer
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404fb6
push str.CheckFrequency
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x404fad
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
leave
ret

Function at 0x40541a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
push ecx
push ecx
push 0xffffffffffffffff
push eax
push ecx
mov ebx, 0xfde9
push ebx
call edi
mov esi, eax
inc esi
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00411d83
pop ecx
mov dword [ebp - 4], eax
test eax, eax
jne 0x405468
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push esi
push dword [ebp - 4]
push 0xffffffffffffffff
push eax
push 0
push ebx
call edi
xor bl, bl
test eax, eax
jne 0x40548c
push dword [ebp - 4]
call fcn.00412f89
pop ecx
mov al, bl
jmp 0x405461
mov eax, dword [ebp - 4]
xor ecx, ecx
mov word [eax + esi*2 - 2], cx
mov word [eax + esi*2 - 4], cx
and dword [ebp - 0x24], ecx
and dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov eax, 0x414
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x20], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x4054d3
cmp eax, 2
je 0x4054d3
cmp eax, 0x7c
je 0x4054d3
cmp eax, 0x402
jne 0x40547f
mov bl, 1
jmp 0x40547f
Function at 0x4054d7
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
mov dword [esp + 0x1c], ecx
xor ecx, ecx
push ecx
push ecx
push 0xffffffffffffffff
push eax
push ecx
mov edi, 0xfde9
push edi
call esi
xor ecx, ecx
push 2
pop edx
mov dword [esp + 0x18], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00411d83
pop ecx
mov dword [esp + 0x14], eax
test eax, eax
jne 0x40552e
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push dword [esp + 0x18]
mov ebx, dword [ebx]
push eax
push 0xffffffffffffffff
push ebx
push 0
push edi
call esi
test eax, eax
jne 0x405551
xor bl, bl
push dword [esp + 0x14]
call fcn.00412f89
pop ecx
mov al, bl
jmp 0x405525
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x13]
push eax
push dword [ebp + 0x18]
mov byte [esp + 0x1b], 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x28]
call fcn.00405591
mov bl, al
test bl, bl
je 0x405543
cmp byte [esp + 0x13], 0
je 0x405543
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x405543
jmp 0x405541
Function at 0x403870
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x46e020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403908
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4038e8
xor eax, eax
push ebp
push 0x4038e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403924
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4038e8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x46e020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x46e020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404604
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x470048], 0
je 0x404665
cmp word [0x47021c], 0xd7b2
jne 0x40462d
cmp dword [0x470224], 0
jbe 0x40462d
mov eax, 0x470218
call dword [0x470234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46e070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40468c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x46e030], 0
jne 0x404681
push 0
push 0x46e068
push 0x46e070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret