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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov eax, dword [eax]
and eax, 7
cmp edx, 5
jae 0x406ca0
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
add edx, 0xfffffffc
or ebx, 0xffffffff
add edx, ecx
push esi
mov dword [ebp - 8], edx
lea ecx, [ecx]
lea esi, [edi + ecx]
cmp esi, edx
jae 0x406cc9
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x406cc6
inc esi
cmp esi, edx
jb 0x406cb7
mov ecx, dword [ebp - 4]
mov edi, esi
sub edi, ecx
mov ecx, edi
sub ecx, ebx
cmp esi, edx
jae 0x406dd1
cmp ecx, 3
jbe 0x406ce2
xor eax, eax
jmp 0x406d20
dec ecx
shl eax, cl
and eax, 7
je 0x406d20
movzx ecx, byte [eax + 0x644dd0]
mov edx, esi
sub edx, ecx
cmp byte [eax + 0x644dc8], 0
mov cl, byte [edx + 4]
je 0x406d0a
test cl, cl
je 0x406d0a
cmp cl, 0xff
jne 0x406d1d
mov edx, dword [ebp - 8]
and eax, 3
mov ecx, dword [ebp - 4]
add eax, eax
mov ebx, edi
or eax, 1
inc edi
jmp 0x406cb0
mov edx, dword [ebp - 8]
mov cl, byte [esi + 4]
mov ebx, edi
mov dword [ebp - 0x10], ebx
test cl, cl
je 0x406d42
cmp cl, 0xff
je 0x406d42
mov ecx, dword [ebp - 4]
and eax, 3
add eax, eax
or eax, 1
inc edi
jmp 0x406cb0
movzx edx, cl
movzx ecx, byte [esi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 1]
shl edx, 8
or edx, ecx
sub edx, edi
lea ebx, [edx - 5]
test eax, eax
je 0x406d9e
movzx edx, byte [eax + 0x644dd0]
mov ecx, 0x18
shl edx, 3
sub ecx, edx
mov dword [ebp - 0xc], edx
mov edx, ebx
shr edx, cl
test dl, dl
je 0x406d8a
cmp dl, 0xff
jne 0x406d9e
mov ecx, 0x20
mov edx, 1
sub ecx, dword [ebp - 0xc]
shl edx, cl
dec edx
xor edx, ebx
jmp 0x406d60
mov edx, dword [ebp - 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
mov byte [esi + 1], bl
dec cl
not cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
mov ebx, dword [ebp - 0x10]
shr ecx, 8
add edi, 5
mov byte [esi + 2], cl
mov ecx, dword [ebp - 4]
jmp 0x406cb0
pop esi
pop ebx
cmp ecx, 3
jbe 0x406de6
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [ecx], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 7
mov dword [ecx], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40cf70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, ax
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0045ea39

Function at 0x40e240
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40e255
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40e294
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40e290
lea ebx, [ebx]
cmp esi, edx
jae 0x40e294
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x40e280
cmp esi, edx
jb 0x40e299
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret

Function at 0x40eaa0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
push dword [ebp + 0x10]
mov dword [ebp - 4], esi
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi], eax
lea edi, [esi + 0xd]
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, dword [esi]
sub eax, 5
mov dword [esi + 0xe], eax
lea eax, [ebp + 0xc]
push eax
push 0x40
push 5
push dword [esi]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp + 8]
push eax
push 5
lea eax, [esi + 8]
push eax
push dword [esi]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [ebp + 0x10]
push eax
push 5
push edi
mov edi, dword [ebp - 4]
push dword [edi]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push dword [ebp + 0xc]
push 5
push dword [edi]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40eb30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
lea eax, [ebp - 4]
mov edi, ecx
push eax
push 0x40
push 5
push dword [edi]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 5
lea eax, [edi + 0xd]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push dword [ebp - 4]
push 5
push dword [edi]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40ef30
Capabilities:
Connect socket
Get socket status
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x6731c0]
xor eax, ebp
mov dword [ebp - 4], eax
movdqu xmm0, xmmword [ebp + 8]
push ebx
push esi
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], 0xffffffff
push eax
mov esi, ecx
mov dword [ebp - 0x124], 4
push 0x8004667e
push esi
movdqu xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x11c], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
push 0x10
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x40f007
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 3
push eax
push 0
lea eax, [ebp - 0x118]
mov dword [ebp - 0x128], 0
push eax
push 0
lea eax, [esi + 1]
mov dword [ebp - 0x114], esi
push eax
mov dword [ebp - 0x118], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x40f003
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x120]
push eax
push 0x1007
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_getsockopt]
cmp dword [ebp - 0x120], 0
sete bl
jmp 0x40f009
xor bl, bl
jmp 0x40f009
mov bl, 1
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0
push eax
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.00587560
mov esp, ebp
pop ebp
ret
Function at 0x413f00
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eda33
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x6731c0]
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 dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jge 0x413f43
or esi, 0xffffffff
jmp 0x413f63
push 0x645694
push eax
call fcn.005889d1
mov esi, eax
add esp, 8
mov eax, dword [ebp + 8]
test esi, esi
jne 0x413f5f
or esi, 0xffffffff
jmp 0x413f63
sub esi, eax
sar esi, 1
mov eax, dword [eax - 0xc]
lea ecx, [ebp + 8]
sub eax, esi
dec eax
push eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.00415be0
push 0xa
push 0
push dword [eax]
call fcn.005889a1
mov ebx, dword [ebp - 0x1ac]
or edi, 0xffffffff
add ebx, 0xfffffff0
mov dword [ebp - 0x1b0], eax
add esp, 0xc
mov ecx, edi
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413faf
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp + 8]
call fcn.00415c60
lea eax, [ebp - 0x1a0]
mov byte [ebp - 4], 1
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov esi, dword [ebp - 0x1a8]
test eax, eax
jne 0x4140b3
mov eax, dword [ebp - 0x1a0]
cmp al, 1
jne 0x4140ad
shr eax, 8
cmp al, 1
jne 0x4140ad
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
push esi
lea ecx, [ebp - 0x1a4]
mov ebx, eax
call fcn.00415e90
push dword [ebp - 0x1a4]
call dword [sym.imp.WS2_32.dll_inet_addr]
push dword [ebp - 0x1b0]
mov dword [ebp - 0x1bc], eax
mov eax, 2
mov word [ebp - 0x1c0], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1be], ax
sub esp, 0x10
movdqu xmm0, xmmword [ebp - 0x1c0]
mov eax, esp
mov ecx, ebx
movdqu xmmword [eax], xmm0
call fcn.0040ef30
add esp, 0x10
test al, al
jne 0x41407d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor bl, bl
jmp 0x41408c
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov bl, 1
mov edx, dword [ebp - 0x1a4]
mov ecx, edi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4140b5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4140b5
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor bl, bl
add esi, 0xfffffff0
mov byte [ebp - 4], 0
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4140d2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x4140f3
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
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.00587560
mov esp, ebp
pop ebp
ret 4
Function at 0x414650
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x6731c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp dword [ebx + 4], 0x100
jne 0x41478c
cmp dword [ebx + 8], 0xd
jne 0x41478c
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
call fcn.0058b410
add esp, 0xc
lea eax, [ebp - 0x204]
push 0x100
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClassNameW]
lea ecx, [ebp - 0x204]
mov eax, str.MacromediaFlashPlayerActiveX
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4146e6
test dx, dx
je 0x4146e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4146e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4146c0
xor eax, eax
jmp 0x4146eb
sbb eax, eax
or eax, 1
test eax, eax
je 0x41472f
mov ecx, 0x645698
lea eax, [ebp - 0x204]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x414726
test dx, dx
je 0x414722
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x414726
add eax, 4
add ecx, 4
test dx, dx
jne 0x414700
xor eax, eax
jmp 0x41472b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41478c
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x1c0001
push 0xd
push 0x100
push dword [ebx]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
call esi
push 0x11c0001
push 0xd
push 0x102
push dword [ebx]
call edi
push 0xa
call esi
push 0x1c0001
push 0xd
push 0x101
push dword [ebx]
call edi
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00587560
mov esp, ebp
pop ebp
ret 4
push ebx
mov ecx, esi
call fcn.0046e7a3
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00587560
mov esp, ebp
pop ebp
ret 4
Function at 0x41a680
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ee053
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6731c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0045fbca
mov dword [ebp - 4], 0
mov dword [esi], vtable.CTCMemDC.0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], vtable.CBitmap.0
mov edi, dword [ebp + 8]
lea ebx, [esi + 0x20]
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], 0
cmp dword [edi + 0xc], eax
sete al
mov dword [esi + 0x30], eax
test eax, eax
je 0x41a77d
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x50]
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.004603f1
mov ecx, dword [ebx + 0xc]
sub ecx, dword [ebx + 4]
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
push ecx
push eax
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esi + 0x10]
call fcn.00460427
lea eax, [esi + 0x10]
test eax, eax
je 0x41a74d
mov eax, dword [eax + 4]
push eax
push dword [esi + 4]
call fcn.00460a7a
push dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov ecx, esi
push dword [ebx]
lea eax, [ebp - 0x18]
push eax
call fcn.00460df9
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_GetBkColor]
push eax
push ebx
mov ecx, esi
call fcn.004737a3
jmp 0x41a78f
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41ae60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x6731c0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 3
push eax
mov dword [ebp - 0x218], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41aed1
cmp dword [ebp - 0x208], 1
jne 0x41aeaa
cmp dword [ebp - 0x210], 0
je 0x41aed1
push 0
lea eax, [ebp - 0x21c]
push eax
push 0
push 0x68
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00587560
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x220]
push eax
push 1
push 0
push str.Control_PanelDesktop
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41af4a
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0x100
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x228]
push eax
push 0
push str.WheelScrollLines
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41af3e
push 0xa
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.005889b9
add esp, 0xc
mov dword [ebp - 0x21c], eax
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x21c]
xor ecx, ebp
call fcn.00587560
mov esp, ebp
pop ebp
ret
Function at 0x433c30
Capabilities:
Log keystrokes via application hook

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x88]
cmp eax, 1
jne 0x433c66
cmp dword [0x681db8], 0
jne 0x433c8d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0x433b00
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x681db8], eax
jmp 0x433c8d
cmp eax, 2
jne 0x433ce6
cmp dword [0x681dbc], 0
jne 0x433c8d
push 0
push 0
push 0
push 0
push 0
push 0x433cf0
call fcn.004782fd
mov dword [0x681dbc], eax
mov ecx, dword [0x682028]
xor eax, eax
push edi
test ecx, ecx
jle 0x433cb4
mov edi, dword [0x682024]
test eax, eax
js 0x433cea
cmp eax, ecx
jge 0x433cea
mov edx, dword [edi + eax*4]
cmp edx, esi
je 0x433cc5
inc eax
cmp eax, ecx
jl 0x433ca0
push esi
push ecx
mov ecx, 0x682020
call fcn.0047396a
pop edi
mov al, 1
pop esi
ret
movzx eax, word [esi + 0x84]
mov word [edx + 0x84], ax
movzx eax, word [esi + 0x82]
pop edi
mov word [edx + 0x82], ax
mov al, 1
pop esi
ret
xor al, al
pop esi
ret
call fcn.0045d0fa
int3

Function at 0x43be20
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5efeb1
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x6731c0]
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
call fcn.0045f1b9
push dword [edi + 0x120e8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push pe_nt_image_headers32
push dword [edi + 0x20]
call esi
push dword [edi + 0x120e8]
push 0
push pe_nt_image_headers32
push dword [edi + 0x20]
call esi
push 0
push 0
push 0
push 0
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push reloc.WS2_32.dll_closesocket
push 0
push str.tooltips_class32
push 8
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x60a754
mov dword [0x681fcc], eax
call fcn.0048508e
mov dword [0x681fd0], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 7
push str.debuger
push eax
call fcn.0058861c
add esp, 0xc
test eax, eax
jne 0x43bee7
mov byte [edi + 0x120e4], 1
jmp 0x43beee
mov byte [edi + 0x120e4], 0
push 0x64a2dc
jmp 0x6ba015
Function at 0x43c770
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eff3b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x6731c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [0x681fc8], 0
je 0x43c7b6
lea eax, [esi + 0x120fc]
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov eax, dword [esi + 0x120d0]
sub eax, 0x10
push eax
call fcn.0040de00
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x21c], esi
mov dword [ebp - 4], 0
cmp dword [esi - 0xc], 0
je 0x43c7ea
push 0
push esi
call dword [0x681fe0]
add esp, 8
add esi, 0xfffffff0
or ecx, 0xffffffff
mov dword [ebp - 4], ecx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43c807
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call dword [0x681fe4]
push dword [0x681fd4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0058b410
mov eax, dword [0x682034]
lea edx, [ebp - 0x218]
add esp, 0xc
sub edx, eax
lea ebx, [ebx]
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x43c850
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c870
sub ecx, edx
sar ecx, 1
je 0x43c8c4
lea eax, [ebp - 0x218]
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x234], eax
mov eax, 0x614
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x23c]
push eax
mov dword [ebp - 0x238], 3
mov dword [ebp - 0x230], 0
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00587560
mov esp, ebp
pop ebp
ret
Function at 0x44e420
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftInternet_Explorer_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xc], 0x270f
call edi
test eax, eax
je 0x44e459
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push 0x50
call fcn.0045c81a
add esp, 4
mov dword [ebp - 0x18], 1
mov ebx, eax
mov dword [ebp - 0x14], 0x50
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push 0
push str.Version
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x44e499
pop ebx
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp - 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
mov al, byte [ebx]
cmp al, 8
jbe 0x44e4b4
mov dword [ebp - 0xc], 0x2710
jmp 0x44e4c1
jne 0x44e56d
mov dword [ebp - 0xc], 0x1f40
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push reloc.WS2_32.dll_accept
mov dword [ebp - 8], 0
call edi
test eax, eax
je 0x44e544
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
je 0x44e544
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControl
push reloc.WS2_32.dll_accept
call edi
test eax, eax
jne 0x44e544
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.FEATURE_BROWSER_EMULATION
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x44e582
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push dword [ebp - 0x1c]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
test eax, eax
jne 0x44e576
call esi
mov eax, dword [ebp - 8]
test eax, eax
je 0x44e56d
push eax
call esi
pop esi
pop ebx
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret
call esi
mov eax, dword [ebp - 8]
test eax, eax
je 0x44e582
push eax
call esi
pop esi
pop ebx
xor al, al
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x45ea95
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0046ed10
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x45eacc
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0045eaed
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8