joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b44c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43b48b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43b48b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43b48b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x43b48b
cmp dword [ecx + 0x74], 0xe
jbe 0x43b48b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x43d9c0
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x449dd4
push 0x449dcc
push str.FlsAlloc
push 0x1f
call fcn.0043d89c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43d9f4
push dword [ebp + 8]
mov ecx, esi
call dword [0x44625c]
call esi
jmp 0x43d9fa
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x43da3e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x449de4
push 0x449ddc
push str.FlsGetValue
push 0x21
call fcn.0043d89c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43da75
push dword [ebp + 8]
mov ecx, esi
call dword [0x44625c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x43da7d
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x449dec
push 0x449de4
push str.FlsSetValue
push 0x22
call fcn.0043d89c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43dab7
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x44625c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x43f052
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x43f0ef
push ebx
push esi
call fcn.0043f01b
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0043d6ba
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x43f09c
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x43f0ee
push edi
push eax
call fcn.0043d2d1
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x43f0bc
call fcn.0043d297
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x43f0ed
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0043d6ba
add esp, 0x20
test eax, eax
jne 0x43f0db
push edi
call fcn.0043d297
jmp 0x43f0e3
push ebx
call fcn.0043d297
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x4014e5
Capabilities:
Log keystrokes via polling

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x14
call sym.___main
mov dword [esp + 4], str.PUBG_Macro_All_Weapon
mov dword [esp], sym.imp.libstdc_6.dll_std::cout
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], sym.std::basic_ostream_char__std::char_traits_char____std::endl_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, eax
call sym.std::ostream::operator___std::ostream____std::ostream__
sub esp, 4
mov dword [esp + 4], str.Press_the_Numpad1_button_then_click_the_mouse
mov dword [esp], sym.imp.libstdc_6.dll_std::cout
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], sym.std::basic_ostream_char__std::char_traits_char____std::endl_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, eax
call sym.std::ostream::operator___std::ostream____std::ostream__
sub esp, 4
mov dword [esp + 4], str.DPI:_500__Vertical_Recoil:_1__1___1.50__
mov dword [esp], sym.imp.libstdc_6.dll_std::cout
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], sym.std::basic_ostream_char__std::char_traits_char____std::endl_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, eax
call sym.std::ostream::operator___std::ostream____std::ostream__
sub esp, 4
mov dword [esp + 4], str.More_effective_when_using_holo_red_dot_2x_scope_3x_scope
mov dword [esp], sym.imp.libstdc_6.dll_std::cout
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], sym.std::basic_ostream_char__std::char_traits_char____std::endl_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, eax
call sym.std::ostream::operator___std::ostream____std::ostream__
sub esp, 4
mov dword [esp], 0x61
call sym._GetKeyState_4
sub esp, 4
test ax, ax
sete al
test al, al
jne 0x401617
mov dword [esp], 1
call sym._GetAsyncKeyState_4
sub esp, 4
test ax, ax
setne al
test al, al
je 0x401603
mov dword [esp], 0x19
call sym._Sleep_4
sub esp, 4
fldz
fstp dword [esp + 4]
fldz
fstp dword [esp]
call dbg.mouse_move(float, float)
mov dword [esp], 0x19
call sym._Sleep_4
sub esp, 4
fld dword [0x40511c]
fstp dword [esp + 4]
fldz
fstp dword [esp]
call dbg.mouse_move(float, float)
mov dword [esp], 1
call sym._Sleep_4
sub esp, 4
jmp 0x40158f
nop
jmp 0x40158f
Function at 0x401cf0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x407048
call sym._EnterCriticalSection_4
mov ebx, dword [0x407040]
sub esp, 4
test ebx, ebx
je 0x401d3b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401d34
test esi, esi
je 0x401d34
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401d10
mov dword [esp], 0x407048
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401f20
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401f70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402048
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x401fae
cmp eax, 4
jne 0x401fd0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x401fbe
cmp edx, 4
je 0x401fbe
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401f20
Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x2cc472ff
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x57be141f
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401350
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x58
xor eax, eax
push 0x44
push eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0xc], 0
call fcn.00401ae0
add esp, 0xc
push 1
push 0x401330
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4013d5
push str.failed_to_create_process._n
call fcn.004018e1
add eax, 0x40
push eax
call fcn.004017c5
add esp, 8
xor eax, eax
add esp, 0x58
ret
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push edx
mov dword [0x412000], ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 4]
lea eax, [esp]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x401406
push str.failed_to_get_exit_code_from_process._n
jmp 0x4013be
mov eax, dword [esp]
add esp, 0x58
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x409577
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.00404ee9
and dword [ebp - 4], 0
cmp dword [0x412990], 0
mov ebx, eax
jne 0x409628
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4096d9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4096d9
push eax
call fcn.00404e77
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x412990], eax
call esi
push eax
call fcn.00404e77
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x412994], eax
call esi
push eax
call fcn.00404e77
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x412998], eax
call esi
push eax
call fcn.00404e77
pop ecx
mov dword [0x4129a0], eax
test eax, eax
je 0x409628
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404e77
pop ecx
mov dword [0x41299c], eax
mov eax, dword [0x41299c]
cmp eax, ebx
je 0x409680
cmp dword [0x4129a0], ebx
je 0x409680
push eax
call fcn.00404ef2
push dword [0x4129a0]
mov esi, eax
call fcn.00404ef2
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409680
test edi, edi
je 0x409680
call esi
test eax, eax
je 0x409677
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409677
test byte [ebp - 0xc], 1
jne 0x409680
or dword [ebp + 0x10], 0x200000
jmp 0x4096b9
mov eax, dword [0x412994]
cmp eax, ebx
je 0x4096b9
push eax
call fcn.00404ef2
pop ecx
test eax, eax
je 0x4096b9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4096b9
mov eax, dword [0x412998]
cmp eax, ebx
je 0x4096b9
push eax
call fcn.00404ef2
pop ecx
test eax, eax
je 0x4096b9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x412990]
call fcn.00404ef2
pop ecx
test eax, eax
je 0x4096d9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4096db
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40d5e3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x40d614
call fcn.00403737
mov dword [eax], esi
call fcn.00403724
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004036bc
add esp, 0x14
push 0x16
pop eax
jmp 0x40d669
test dword [ebp + 0xc], 0xfffffff9
jne 0x40d5f0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40d641
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040374a
pop ecx
call fcn.00403724
mov eax, dword [eax]
jmp 0x40d669
test al, 0x10
jne 0x40d667
test al, 1
je 0x40d667
test byte [ebp + 0xc], 2
je 0x40d667
call fcn.00403737
mov dword [eax], 5
call fcn.00403724
mov dword [eax], 0xd
jmp 0x40d638
xor eax, eax
pop esi
pop ebp
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 0x405006
Capabilities:
Create process on windows

Disassembly:
push 0xb4
mov eax, 0x42b247
call fcn.0041550d
mov esi, ecx
push 0x44
xor ebx, ebx
lea eax, [ebp - 0xc0]
push ebx
push eax
call fcn.00418c10
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
cmp dword [esi + 0x18], 8
stosd dword es:[edi], eax
jb 0x40503f
mov esi, dword [esi + 4]
jmp 0x405042
add esi, 4
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc0]
push eax
push ebx
push ebx
push 0x4000008
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
xor edi, edi
inc edi
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x405089
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x10], esp
push 0x642
push eax
call fcn.0040d24d
pop ecx
pop ecx
push ebx
call fcn.0040cf44
add esp, 0x20
jmp 0x4050fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0040d24d
mov esi, eax
lea eax, [ebp - 0x78]
push 0x4c2
push eax
mov dword [ebp - 4], ebx
call fcn.0040d24d
push 0x42eacc
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 1
call fcn.00402a83
mov ecx, esp
mov dword [ebp - 0x10], esp
push esi
push eax
push ecx
mov byte [ebp - 4], 2
call fcn.00402ac9
add esp, 0xc
push 2
call fcn.0040cf44
add esp, 0x20
push ebx
push edi
lea esi, [ebp - 0x40]
call fcn.004023e7
push ebx
push edi
lea esi, [ebp - 0x78]
call fcn.004023e7
push ebx
push edi
lea esi, [ebp - 0x5c]
call fcn.004023e7
push dword [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x20]
call esi
cmp dword [ebp - 0x14], edi
sete al
call fcn.004155e5
ret