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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
cmp eax, dword [esi + 0x24]
je 0x4aa709
xor eax, eax
jmp 0x4aa7aa
push ebx
push edi
xor ebx, ebx
push ebx
push ebx
push dword [esi + 0x94]
push dword [ecx + 0x10]
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xd
call edi
push 0xe
mov dword [esi + 0xb0], eax
call edi
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 8
push 0x110a
push dword [esi + 0x24]
mov dword [esi + 0xb4], eax
call ebx
mov dword [esi + 0xac], eax
test eax, eax
jne 0x4aa7a5
push eax
push 9
push 0x110a
push dword [esi + 0x24]
call ebx
mov ebx, eax
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 0x24]
sete cl
mov byte [ebp + 0xf], cl
je 0x4aa787
push 0xfffffffffffffff0
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test al, 0x20
je 0x4aa7a5
mov cl, byte [ebp + 0xf]
test cl, cl
jne 0x4aa79f
push 0xf
call edi
push 0x12
mov dword [esi + 0xb0], eax
call edi
mov dword [esi + 0xb4], eax
mov dword [esi + 0xac], ebx
push 0x20
pop eax
pop edi
pop ebx
pop esi
pop ebp
ret 8

Function at 0x4abd95
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x4abf17
Capabilities:
Get keyboard layout
Identify system language via api

Disassembly:
push 0x190
mov eax, 0x510cb2
call fcn.005060cc
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov ebx, 0x419
cmp ax, bx
je 0x4abf70
push 0xa
pop esi
xor eax, eax
lea edi, [ebp - 0x38]
mov ecx, esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
xor ecx, ecx
cmp eax, esi
cmovb esi, eax
test esi, esi
je 0x4ac103
cmp word [ebp + ecx*4 - 0x38], bx
je 0x4abf70
inc ecx
cmp ecx, esi
jb 0x4abf5f
jmp 0x4ac103
mov eax, dword [0xd58f54]
test eax, eax
jne 0x4abf7d
xor esi, esi
jmp 0x4abf80
lea esi, [eax + 0x5c]
call fcn.004abecc
sub eax, dword [esi + 0x40c]
cmp eax, 0x32
jb 0x4ac103
mov eax, dword [0xd58f54]
test eax, eax
jne 0x4abfa1
xor ecx, ecx
jmp 0x4abfa4
lea ecx, [eax + 0x5c]
cmp dword [ecx + 0x1fc], 0
je 0x4ac103
test eax, eax
jne 0x4abfb9
xor esi, esi
jmp 0x4abfbc
lea esi, [eax + 0x5c]
call fcn.004abecc
push 0x7d0
mov dword [esi + 0x40c], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 0xc
lea ecx, [ebp - 0x188]
call fcn.004eeba0
and dword [ebp - 4], 0
push ecx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x188]
call fcn.004ad9a3
mov esi, eax
xor eax, eax
cmp esi, 1
push 0x60
sete al
mov dword [ebp - 0x190], eax
call fcn.004f0435
pop ecx
mov ecx, eax
mov dword [ebp - 0x18c], eax
call fcn.0040a909
push 0
push ecx
mov ebx, eax
mov dword [ebp - 0x18c], esp
lea eax, [ebp - 0x3c]
cmp esi, 1
mov ecx, esp
lea edi, [ebp - 0x40]
push str.yandex_downloader.exe
cmovne edi, eax
call fcn.004094e6
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x194], esp
push str.update.iobit_team.ru
call fcn.004094e6
mov byte [ebp - 4], 2
push dword [edi]
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x198], esp
push str.yandex_pack_downloader_downloader.exe
call fcn.004094e6
push ecx
mov ecx, esp
mov byte [ebp - 4], 3
push str.download.yandex.ru
call fcn.004094e6
mov ecx, ebx
mov byte [ebp - 4], 0
call fcn.0040a9a3
push ecx
mov ecx, esp
mov dword [ebp - 0x19c], esp
mov esi, 0x51e784
push esi
call fcn.004094e6
push ecx
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x198], esp
push esi
call fcn.004094e6
push ecx
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x194], esp
mov eax, str.AskYes
mov edx, str.AskNo
cmp dword [ebp - 0x190], 0
cmove eax, edx
push eax
call fcn.004094e6
push ecx
mov ecx, esp
mov byte [ebp - 4], 6
push str.YandexAnvir
call fcn.004094e6
mov byte [ebp - 4], 0
call fcn.0041dfc0
add esp, 0x10
lea ecx, [ebp - 0x188]
call fcn.004ac109
call fcn.00506076
ret
Function at 0x4adbd5
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, ecx
mov ecx, dword [ebp + 0x14]
mov ebx, eax
mov dword [ebp - 0x444], eax
push esi
add eax, 0xffffff9c
mov dword [ebp - 0x450], ecx
push edi
neg ebx
mov esi, 0x400
push esi
sbb ebx, ebx
xor edi, edi
and ebx, eax
lea eax, [ebp - 0x404]
push edi
push eax
mov dword [ebp - 0x448], ebx
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x404]
add ebx, 4
mov dword [ebp - 0x44c], ebx
push esi
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x31
push dword [ebx]
call edi
push 0x3c
mov esi, eax
lea eax, [ebp - 0x440]
push 0
push eax
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x440]
push eax
push 0x3c
push esi
call dword [sym.imp.GDI32.dll_GetObjectA]
cmp dword [ebp - 0x43c], 0
jle 0x4adc89
push 0
push 0x4375ef
push dword [ebx]
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov esi, dword [ebp - 0x444]
push ecx
push ecx
mov eax, esp
xor ecx, ecx
push ecx
push 2
push ecx
mov dword [eax], ecx
push ecx
mov eax, esp
mov dword [eax], ecx
mov ecx, esi
push dword [ebx]
call fcn.004167be
push dword [ebp - 0x448]
push 0x416354
push dword [ebx]
call dword [sym.imp.USER32.dll_EnumChildWindows]
push 0
push 0
push 0x418
push dword [esi]
call edi
push 0
push 1
push 0x401
push dword [esi]
call edi
push 0
push 1
push 0x7f
push dword [ebx]
call edi
test eax, eax
jne 0x4add5f
mov eax, dword [0xd59fbc]
test eax, eax
jne 0x4add45
mov esi, dword [0xd584c8]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0xc
call ebx
push eax
push 0xb
call ebx
mov edi, dword [sym.imp.USER32.dll_LoadImageA]
push eax
push 1
push 1
push esi
call edi
mov esi, dword [0xd584c8]
push 0
push 0x32
mov dword [0xd59fbc], eax
call ebx
push eax
push 0x31
call ebx
push eax
push 1
push 1
push esi
call edi
mov ebx, dword [ebp - 0x44c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0xd59fb8], eax
mov eax, dword [0xd59fbc]
push eax
push 1
mov esi, 0x80
push esi
push dword [ebx]
call edi
push dword [0xd59fb8]
push 0
push esi
push dword [ebx]
call edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, ebx
call fcn.004165da
mov ecx, dword [ebp - 0x450]
xor eax, eax
pop edi
pop esi
inc eax
and dword [ecx], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004efcea
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4ae66f
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp dword [edi + 0x28], 0
je 0x4ae89e
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.004f1a90
add esp, 0xc
lea ecx, [ebp - 0x108]
mov edx, str.blockpr.dat
call fcn.0042066b
test eax, eax
je 0x4ae89e
or dword [ebp - 0x10c], 0xffffffff
lea eax, [ebp - 0x108]
push ebx
push 0x80
push 2
push 1
push 0x40000000
push eax
lea ecx, [ebp - 0x10c]
call fcn.0040b961
test eax, eax
je 0x4ae888
push 4
pop ebx
push ebx
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 0x63ef35
push eax
lea ecx, [ebp - 0x10c]
call fcn.0040b34a
test eax, eax
je 0x4ae888
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
push esi
push 0xc
pop ecx
cdq
idiv ecx
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
sar ecx, 3
add eax, ecx
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x110]
push ebx
push eax
call fcn.0040b34a
mov esi, dword [edi]
jmp 0x4ae7a8
and dword [ebp - 0x110], 0
lea eax, [ebp - 0x110]
push ebx
push eax
lea ecx, [ebp - 0x10c]
call fcn.0040b34a
and dword [ebp - 0x110], 0
lea eax, [ebp - 0x110]
push ebx
push eax
lea ecx, [ebp - 0x10c]
call fcn.0040b34a
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x110]
push ebx
push eax
call fcn.0040b34a
push esi
lea ecx, [ebp - 0x10c]
call fcn.004733a7
add esi, 8
cmp esi, dword [edi + 4]
jne 0x4ae749
mov esi, dword [edi + 0xc]
jmp 0x4ae816
and dword [ebp - 0x110], 0
lea eax, [ebp - 0x110]
push ebx
push eax
lea ecx, [ebp - 0x10c]
call fcn.0040b34a
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x10c]
inc eax
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x110]
push ebx
push eax
call fcn.0040b34a
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x110]
push ebx
push eax
call fcn.0040b34a
push esi
lea ecx, [ebp - 0x10c]
call fcn.004733a7
push 0xc
pop eax
add esi, eax
cmp esi, dword [edi + 0x10]
jne 0x4ae7b2
mov eax, dword [edi + 0x1c]
sub eax, dword [edi + 0x18]
push 0xc
pop ecx
cdq
idiv ecx
push ebx
mov dword [ebp - 0x110], eax
lea ecx, [ebp - 0x10c]
lea eax, [ebp - 0x110]
push eax
call fcn.0040b34a
mov esi, dword [edi + 0x18]
jmp 0x4ae872
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x110]
push ebx
push eax
call fcn.0040b34a
push esi
lea ecx, [ebp - 0x10c]
call fcn.004733a7
push 0xc
pop eax
add esi, eax
cmp esi, dword [edi + 0x1c]
jne 0x4ae845
push dword [ebp - 0x10c]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
and dword [edi + 0x28], 0
pop esi
cmp dword [ebp - 0x10c], 0xffffffff
je 0x4ae89d
push dword [ebp - 0x10c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004efcea
mov esp, ebp
pop ebp
ret
Function at 0x4af7ad
Capabilities:
Clear file content

Disassembly:
push 0x14
mov eax, 0x511002
call fcn.00506098
or ebx, 0xffffffff
mov dword [ebp - 0x10], ebx
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push 0x80
push 4
push 0
push 0x40000000
push dword [0xd5ad0c]
call fcn.0040b961
test eax, eax
je 0x4af8e9
mov eax, dword [0xd5ad10]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
cmp esi, eax
je 0x4af8e0
mov ecx, dword [esi + 0x18]
sub ecx, 0x10
call fcn.004098e7
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x55f584
push 0x51eb64
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00413698
call fcn.00409736
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040953f
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push dword [esi + 0x10]
push eax
call fcn.00423aec
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
push edi
push dword [ebp - 0x18]
push dword [esi + 0x14]
push str._d___s___s_r_n
push eax
call fcn.0040a7c0
mov byte [ebp - 4], 2
add esp, 0x14
mov edx, dword [ebp - 0x18]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4af87b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
push dword [esi - 0xc]
push esi
call fcn.0040b34a
add esi, 0xfffffff0
mov byte [ebp - 4], 1
test eax, eax
mov eax, ebx
je 0x4af8fd
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4af8a9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4af8c4
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040fc9f
mov esi, dword [ebp - 0x20]
cmp esi, dword [0xd5ad10]
jne 0x4af7f9
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp dword [ebp - 0x10], ebx
je 0x4af8f7
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00506061
ret
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4af90f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4af8e9
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4af8e9
Function at 0x4b0225
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5110c6
mov eax, dword fs:[0]
push eax
mov eax, 0x2814
call fcn.004f0e50
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, 0x2800
lea eax, [ebp - 0x2810]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x2810]
push esi
push eax
push 0x4c0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
mov dword [ebp - 0x281c], ebx
call fcn.00409736
push eax
lea ecx, [ebp - 0x2818]
call fcn.0040953f
lea eax, [ebp - 0x2810]
mov dword [ebp - 4], ebx
push eax
call fcn.004f5d90
pop ecx
push eax
lea eax, [ebp - 0x2810]
push eax
lea ecx, [ebp - 0x2818]
call fcn.0040942f
push ebx
push ebx
push 0x147
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [edi + 0x30]
sub ecx, 0x10
mov dword [ebp - 0x281c], eax
call fcn.004098e7
add eax, 0x10
mov dword [ebp - 0x2814], eax
lea ecx, [ebp - 0x281c]
mov byte [ebp - 4], 1
push ecx
push ecx
lea ebx, [eax - 0x10]
mov esi, esp
mov ecx, ebx
mov dword [ebp - 0x2820], esi
call fcn.004098e7
add eax, 0x10
mov dword [esi], eax
call fcn.004afa51
or esi, 0xffffffff
mov byte [ebp - 4], 0
mov eax, esi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x4b032e
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x3c], 0
je 0x4b033d
push dword [edi + 0x3c]
call dword [sym.imp.USER32.dll_DestroyIcon]
lea ecx, [edi + 0x38]
call fcn.0042c915
movzx eax, word [ebp + 0xc]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov dword [ebp - 4], esi
mov edx, dword [ebp - 0x2818]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4b0371
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004efcea
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4b0c8d
Capabilities:
Create process on windows

Disassembly:
push pe_nt_image_headers32
mov eax, 0x5111a7
call fcn.00506098
mov edi, ecx
test edi, edi
je 0x4b0d7a
cmp byte [edi], 0
je 0x4b0d7a
lea ecx, [ebp - 0x1c]
call fcn.0042320d
mov esi, eax
and dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
mov ebx, 0x553e84
push ebx
call fcn.004094e6
push edi
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00405cb9
push ebx
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00405cb9
pop ecx
pop ecx
push 1
push dword [esi]
push dword [eax]
mov eax, dword [0xd58f54]
push str.VirusTotalUpload.exe
push str.open
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edx, dword [ebp - 0x10]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b0d23
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b0d41
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b0d5f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], esi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4b0d7a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00506061
ret

Function at 0x4b102d
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
xor eax, eax
push edi
mov edi, ecx
cmp dword [edi + 8], eax
je 0x4b1104
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 4]
push ebx
push 0x80
push 4
pop ebx
push ebx
push eax
push 0x40000000
push dword [edi + 4]
mov dword [edi + 8], eax
call fcn.0040b961
test eax, eax
je 0x4b10f4
push ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x5cf7ed
push eax
lea ecx, [ebp - 4]
call fcn.0040b34a
test eax, eax
je 0x4b10f4
mov eax, dword [edi + 0x10]
lea ecx, [ebp - 4]
push esi
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push ebx
push eax
call fcn.0040b34a
mov eax, dword [edi + 0xc]
mov esi, dword [eax]
mov dword [ebp - 8], esi
cmp esi, eax
je 0x4b10ea
mov eax, dword [esi + 0x1c]
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.0040b34a
mov eax, dword [esi + 0x18]
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.0040b34a
add esi, 0x10
lea ecx, [ebp - 4]
push esi
call fcn.004733a7
push ecx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
call fcn.0040fc9f
mov esi, dword [ebp - 8]
cmp esi, dword [edi + 0xc]
jne 0x4b10a3
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop esi
cmp dword [ebp - 4], 0xffffffff
je 0x4b1103
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4b2f6c
Capabilities:
Create process on windows
Get common file path

Disassembly:
push 0x174
mov eax, 0x5115e4
call fcn.005060cc
push 0x164
xor ebx, ebx
lea eax, [ebp - 0x174]
push ebx
push eax
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x174]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x174]
call fcn.004227d2
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x180]
call fcn.004094e6
push str.anvir_security_report.txt
mov edx, eax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x17c]
call fcn.00405cb9
pop ecx
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov edx, dword [ebp - 0x180]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b2ffb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 0x51e784
push esi
call fcn.004f5d90
pop ecx
push eax
push esi
mov ecx, 0xd5ad18
call fcn.0040942f
call fcn.004b1782
call fcn.004b1c8b
call fcn.004b295e
xor ecx, ecx
inc ecx
call fcn.004b29f7
xor ecx, ecx
call fcn.004b29f7
call fcn.004b2d08
push 0x80
push 2
push ebx
push 0x40000000
push dword [ebp - 0x17c]
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x178], edi
call fcn.0040b961
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4b30a7
mov esi, dword [0xd5ad18]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
lea ecx, [ebp - 0x178]
call fcn.0040b34a
mov esi, dword [ebp - 0x178]
cmp esi, edi
je 0x4b308d
push esi
call ebx
mov esi, edi
push 1
xor eax, eax
push eax
push eax
push dword [ebp - 0x17c]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x4b30ad
mov esi, dword [ebp - 0x178]
cmp esi, edi
je 0x4b30b4
push esi
call ebx
mov dword [ebp - 4], edi
mov edx, dword [ebp - 0x17c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4b30d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00506076
ret
Function at 0x4b3651
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
push edi
mov edi, ecx
push 0
mov eax, dword [edi + 0x14]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call ebx
mov eax, dword [edi + 0x10]
mov esi, dword [eax]
mov dword [ebp - 4], esi
cmp esi, eax
je 0x4b37a1
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp + 8]
call fcn.0041cf44
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp + 8]
call fcn.0041cf44
lea eax, [esi + 0x24]
push eax
lea ecx, [ebp + 8]
call fcn.0041cf44
lea eax, [esi + 0x34]
push eax
lea ecx, [ebp + 8]
call fcn.0041cf44
mov eax, dword [esi + 0x1c]
push 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call ebx
mov eax, dword [esi + 0x20]
push 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call ebx
mov eax, dword [esi + 0x28]
push 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call ebx
mov eax, dword [esi + 0x2c]
push 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call ebx
mov eax, dword [esi + 0x30]
push 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x1c]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call ebx
mov eax, dword [esi + 0x38]
push 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call ebx
mov eax, dword [esi + 0x3c]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x24]
push 0
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call ebx
mov eax, dword [esi + 0x40]
push 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x28]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call ebx
mov eax, dword [esi + 0x44]
push 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x2c]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call ebx
push ecx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 4]
call fcn.0040fc9f
mov esi, dword [ebp - 4]
cmp esi, dword [edi + 0x10]
jne 0x4b3689
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4b6e4c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
imul edx, dword [edi], 0x3e8
sub eax, esi
cmp eax, edx
jb 0x4b6e9f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
inc dword [edi + 0x1c]
mov dword [edi + 0x18], eax
mov ecx, dword [edi + 0x14]
lea eax, [ecx + 1]
cmp eax, 0x190
jbe 0x4b6e93
lea eax, [ecx - 1]
mov dword [edi + 0x14], eax
test eax, eax
jne 0x4b6e90
and dword [edi + 0x10], eax
jmp 0x4b6e93
inc dword [edi + 0x10]
lea eax, [ebp + 8]
push eax
lea ecx, [edi + 4]
call fcn.004b7459
pop edi
pop esi
pop ebp
ret 8