joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10012170
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10012320
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1001223d
mov edx, dword [ebp - 4]
cmp edx, dword [0x10140bc8]
jb 0x100121ba
mov eax, dword [ebp - 4]
cmp eax, dword [0x10140bcc]
ja 0x100121ba
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1001218a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10017ef0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100121e0
jmp 0x1001223d
cmp dword [ebp - 0x14], 0x10000
jne 0x10012223
cmp dword [ebp - 0x18], 0x10000
jb 0x10012223
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10012216
mov eax, dword [ebp - 8]
jmp 0x1001223f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10012238
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10012320
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1001218a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10012250
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10012350
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10012315
mov edx, dword [ebp - 4]
cmp edx, dword [0x10140bc8]
jb 0x10012295
mov eax, dword [ebp - 4]
cmp eax, dword [0x10140bcc]
ja 0x10012295
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10012265
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10017ef0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100122bb
jmp 0x10012315
cmp dword [ebp - 0x14], 0x10000
jne 0x100122fe
cmp dword [ebp - 0x18], 0x10000
jb 0x100122fe
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100122f1
mov eax, dword [ebp - 8]
jmp 0x10012317
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10012310
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10012350
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10012265
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10012380
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10012770
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x10142440], 0
jne 0x100123bd
cmp dword [0x1014243c], 0
je 0x100123bd
mov eax, dword [0x1014243c]
mov dword [0x10142440], eax
cmp dword [0x10142440], 0
je 0x1001243a
mov ecx, dword [0x10142440]
cmp dword [ecx + 8], 0
je 0x1001243a
mov edx, dword [0x10142440]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x1001243a
mov ecx, dword [0x10142440]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x1001243a
mov eax, dword [0x10142440]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x10012409
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x10012410
xor eax, eax
jmp 0x10012559
mov ecx, dword [0x10142440]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call fcn.10017ef0
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x10012559
mov edx, dword [0x1014243c]
mov dword [0x10142440], edx
jmp 0x10012456
mov eax, dword [0x10142440]
mov ecx, dword [eax + 4]
mov dword [0x10142440], ecx
cmp dword [0x10142440], 0
je 0x10012496
cmp dword [0x10142440], 0
je 0x10012494
mov edx, dword [0x10142440]
cmp dword [edx + 8], 0
je 0x10012494
mov eax, dword [0x10142440]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10012494
mov edx, dword [0x10142440]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10012494
jmp 0x100123ee
jmp 0x10012448
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10012560
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10012557
mov eax, dword [ebp - 0x18]
mov dword [0x10142440], eax
mov ecx, dword [0x10142440]
mov dword [ecx], 0x52727464
mov edx, dword [0x10142440]
mov dword [edx + 8], 0
mov eax, dword [0x10142440]
mov ecx, dword [0x1014243c]
mov dword [eax + 4], ecx
mov edx, dword [0x10142440]
mov dword [0x1014243c], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x10142440]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x10012527
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x10012547
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x1001251e
mov eax, dword [0x10142440]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x100123ee
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10023bc1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10023a40

Function at 0x10028d35
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100289f5

Function at 0x12b40b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x12b4200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x12b40d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x12b40c2
add dl, dl
jne 0x12b40e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x12b4134
xor eax, eax
add dl, dl
jne 0x12b40ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x12b41d5
add dl, dl
jne 0x12b40fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x12b4108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x12b4113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x12b411e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x12b412a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x12b40cd
mov eax, 1
add dl, dl
jne 0x12b4142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x12b414d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x12b4139
sub eax, ebx
mov ebx, 1
jne 0x12b4180
mov ecx, 1
add dl, dl
jne 0x12b4166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x12b4171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x12b415d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x12b40cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x12b4197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x12b41a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x12b418e
cmp eax, 0x7d00
jae 0x12b41c5
cmp eax, 0x500
jb 0x12b41c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x12b40cd
cmp eax, 0x7f
ja 0x12b41c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x12b40cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x12b41f6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x12b40cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x402420
Capabilities:
Monitor local ipv4 address changes

Disassembly:
sub esp, 0x18
push ebx
push edi
mov edi, eax
xor ebx, ebx
cmp byte [edi + 0x29], bl
jne 0x402441
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
mov al, 1
pop ebx
add esp, 0x18
ret
push esi
mov dword [esp + 0xc], ebx
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
cmp eax, ebx
mov dword [esp + 0x20], eax
jne 0x4024aa
mov eax, dword [edi + 0x24]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call fcn.004025b0
push 0xfa0
mov byte [edi + 0x29], bl
call dword [sym.imp.KERNEL32.dll_Sleep]
call sub.Comn.dll_GetObjectLogPXE
mov ebx, eax
mov esi, dword [ebx]
push 0x1ae
add esi, 0xc
call fcn.00401200
mov ecx, dword [esi]
push eax
push str._s:__DHCP_Create_WSA_event_fail
push ebx
call ecx
mov edx, dword [edi + 0x24]
add esp, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop esi
pop edi
xor al, al
pop ebx
add esp, 0x18
ret
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
call sub.IPHLPAPI.DLL_NotifyAddrChange
test eax, eax
je 0x40252b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x40252b
mov edx, dword [edi + 0x24]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call fcn.004025b0
push 0xfa0
mov byte [edi + 0x29], bl
call dword [sym.imp.KERNEL32.dll_Sleep]
call sub.Comn.dll_GetObjectLogPXE
mov ebx, eax
mov esi, dword [ebx]
push 0x1bb
add esi, 0xc
call fcn.00401200
push eax
mov eax, dword [esi]
push str._s:__DHCP_Add_notify_fail
push ebx
call eax
mov ecx, dword [edi + 0x24]
add esp, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
xor al, al
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1f4
push eax
call esi
cmp eax, 0x102
mov bl, 1
jne 0x40255e
cmp byte [edi + 0x28], bl
je 0x40255e
mov ecx, dword [esp + 0x20]
push 0x1f4
push ecx
call esi
cmp eax, 0x102
je 0x402546
lea edx, [esp + 0x10]
push edx
call sub.IPHLPAPI.DLL_CancelIPChangeNotify
test eax, eax
jne 0x402590
call sub.Comn.dll_GetObjectLogPXE
mov edi, eax
mov esi, dword [edi]
push 0x1d1
add esi, 0xc
call fcn.00401200
push eax
mov eax, dword [esi]
push str._s:__DHCP_CancelNotify_fail
push edi
call eax
add esp, 0x10
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
mov al, bl
pop ebx
add esp, 0x18
ret

Function at 0x402670
Capabilities:
Send data
Send data on socket

Disassembly:
push 0x10
push eax
mov eax, dword [esp + 0xc]
push 0
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
setne al
ret 4
Function at 0x403110
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x43c
mov eax, dword [0x4c3740]
xor eax, esp
mov dword [esp + 0x434], eax
mov eax, dword [esp + 0x440]
push ebx
push ebp
mov ebp, dword [esp + 0x44c]
push esi
mov esi, edx
mov edx, dword [esi + 8]
and edx, dword [esi + 0xc]
push edi
lea ebx, [eax + 0x2c]
push edx
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x24], ecx
lea edi, [ebp + 8]
push edi
mov ecx, esi
mov edx, ebx
call fcn.0040a500
cmp eax, 0xfa1
jne 0x403169
mov eax, 0xfa1
jmp 0x4031fb
cmp eax, 0xfa2
mov ecx, dword [esi + 8]
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], ecx
jne 0x403189
mov dword [esp + 0x14], 6
jmp 0x4031a9
test eax, eax
jne 0x4031a9
mov eax, ecx
mov ecx, dword [esp + 0x20]
and eax, dword [esi + 0xc]
push edi
push ecx
mov ecx, esi
mov edx, ebx
mov dword [esp + 0x1c], 5
call fcn.0040a770
mov edx, dword [esp + 0x14]
push 0
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, 0x4b3150
push ebp
lea edi, [esp + 0x54]
mov edx, ecx
call fcn.00408cb0
test al, al
je 0x40315f
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov esi, dword [esi + 0x14]
push 0x10
push edx
push 0
push eax
mov ecx, edi
push ecx
push esi
call dword [sym.imp.WS2_32.dll_sendto]
sub eax, 0xffffffff
neg eax
sbb eax, eax
and eax, 0xfffff05f
add eax, 0xfa1
mov ecx, dword [esp + 0x444]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00437634
add esp, 0x43c
ret 8

Function at 0x403280
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x430
mov eax, dword [0x4c3740]
xor eax, esp
mov dword [esp + 0x42c], eax
mov eax, dword [esp + 0x434]
push esi
mov esi, ecx
mov ecx, dword [esi + 0xc]
and ecx, dword [esi + 8]
push edi
mov edi, edx
push ecx
lea edx, [esp + 0x14]
push edx
lea ecx, [edi + 8]
push ecx
lea edx, [eax + 0x2c]
mov ecx, esi
call fcn.0040a500
cmp eax, 0xfa1
jne 0x4032c9
mov eax, 0xfa1
jmp 0x403323
mov edx, dword [esi + 8]
push 0
push 5
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, 0x4b3150
mov dword [esp + 0x2c], edx
push edi
lea edi, [esp + 0x44]
mov edx, ecx
mov dword [esp + 0x20], 0
call fcn.00408cb0
test al, al
je 0x4032c2
mov edx, dword [esp + 0xc]
mov esi, dword [esi + 0x14]
push 0x10
push ebx
push 0
push edx
mov eax, edi
push eax
push esi
call dword [sym.imp.WS2_32.dll_sendto]
sub eax, 0xffffffff
neg eax
sbb eax, eax
and eax, 0xfffff05f
add eax, 0xfa1
mov ecx, dword [esp + 0x434]
pop edi
pop esi
xor ecx, esp
call fcn.00437634
add esp, 0x430
ret 4
Function at 0x40dfd0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x43bb0c
mov eax, dword fs:[0]
push eax
mov eax, 0x202c
call fcn.004377c0
mov eax, dword [0x4c3740]
xor eax, esp
mov dword [esp + 0x2028], eax
push esi
push edi
mov eax, dword [0x4c3740]
xor eax, esp
push eax
lea eax, [esp + 0x2038]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
push str.SYSTEMCurrentControlSetControlhivelist
xor edi, edi
push reloc.WS2_32.dll_bind
mov dword [esp + 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp eax, edi
je 0x40e03a
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
jmp 0x40e0fa
push 0x1ffe
lea ecx, [esp + 0x3a]
push edi
push ecx
mov dword [esp + 0x1c], edi
mov word [esp + 0x40], di
call sub.MSVCR80.dll_memset
add esp, 0xc
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x18]
push ecx
push edi
push str._registryuser_s_1_5_19
push edx
mov dword [esp + 0x2c], 0x2000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
je 0x40e098
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x40e0fa
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x10], 1
jne 0x40e033
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea esi, [esp + 0x18]
mov dword [esp + 0x2040], edi
call fcn.004130d0
push edi
push str.device_ramdisk
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_wchar_t_const___unsigned_int_const]
test eax, eax
mov dword [esp + 0x2040], 0xffffffff
mov ecx, esi
je 0x40e0f2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor al, al
jmp 0x40e0fa
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x2038]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2028]
xor ecx, esp
call fcn.00437634
add esp, 0x2038
ret
Function at 0x40fa90
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, 0x4c3df8
mov ecx, 0x14000
lea ebx, [ebx]
xor byte [eax], 0xa5
add eax, 1
sub ecx, 1
jne 0x40faa0
ret

Function at 0x40fab0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.MSVCR80.dll_rand]
xor esi, esi
lea ebx, [ebx]
call edi
neg al
movzx ecx, al
add ecx, esi
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
xor dl, 0xa5
mov byte [esi + 0x4c3df8], dl
add esi, 1
cmp esi, 0x14000
jb 0x40fac0
pop edi
pop esi
ret

Function at 0x410640
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [0x4c3740]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov ecx, 0x14
lea esi, [ebp + 8]
lea edi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x14
lea esi, [esp + 0x68]
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [esp + 0x11]
mov esi, eax
mov ecx, 0x4b3a29
sub ecx, esi
mov esi, 0x29
movzx ebx, byte [ecx + eax - 1]
xor byte [eax - 1], bl
movzx ebx, byte [ecx + eax]
xor byte [eax], bl
add eax, 2
sub esi, 1
jne 0x410690
mov ecx, 0x14
lea esi, [esp + 0x10]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xc4]
movsw word es:[edi], word [esi]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00437634
mov esp, ebp
pop ebp
ret 0x54

Function at 0x4106d0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [0x4c3740]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov ecx, 0x14
lea esi, [ebp + 8]
lea edi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x14
lea esi, [esp + 0x68]
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [esp + 0x11]
mov esi, eax
mov ecx, 0x4b3a29
sub ecx, esi
mov esi, 0x29
movzx ebx, byte [ecx + eax - 1]
xor byte [eax - 1], bl
movzx ebx, byte [ecx + eax]
xor byte [eax], bl
add eax, 2
sub esi, 1
jne 0x410720
mov ecx, 0x14
lea esi, [esp + 0x10]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xc4]
movsw word es:[edi], word [esi]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00437634
mov esp, ebp
pop ebp
ret 0x54
Function at 0x410f60
Capabilities:
Contain obfuscated stackstrings
Set registry value

Disassembly:
sub esp, 0x94
mov eax, dword [0x4c3740]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov al, 0x72
mov ecx, 0x14
lea esi, [esp + 0xa4]
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov byte [esp + 0x7c], al
mov cl, 0x6f
mov byte [esp + 0x8d], al
mov byte [esp + 0x8e], al
mov byte [esp + 0x94], al
mov byte [esp + 0x65], al
mov byte [esp + 0x68], al
mov al, 0x61
mov bl, 0x57
mov byte [esp + 0x69], al
mov byte [esp + 0x6c], al
mov byte [esp + 0x6e], al
mov byte [esp + 0x74], bl
mov byte [esp + 0x83], bl
mov bl, 0x6e
lea eax, [esp + 0xc]
mov byte [esp + 0x7d], cl
mov byte [esp + 0x7f], cl
mov byte [esp + 0x87], cl
mov byte [esp + 0x97], cl
mov byte [esp + 0x66], cl
push eax
lea ecx, [esp + 0x74]
mov dl, 0x74
mov byte [esp + 0x89], bl
mov byte [esp + 0x94], bl
mov byte [esp + 0x9c], bl
xor ebx, ebx
push ecx
push reloc.WS2_32.dll_bind
movsw word es:[edi], word [esi]
mov byte [esp + 0x7c], 0x53
mov byte [esp + 0x7d], 0x4f
mov byte [esp + 0x7e], 0x46
mov byte [esp + 0x7f], 0x54
mov byte [esp + 0x81], 0x41
mov byte [esp + 0x82], 0x52
mov byte [esp + 0x83], 0x45
mov byte [esp + 0x84], 0x5c
mov byte [esp + 0x85], 0x4d
mov byte [esp + 0x86], 0x69
mov byte [esp + 0x87], 0x63
mov byte [esp + 0x8a], 0x73
mov byte [esp + 0x8c], 0x66
mov byte [esp + 0x8d], dl
mov byte [esp + 0x8e], 0x5c
mov byte [esp + 0x90], 0x69
mov byte [esp + 0x92], 0x64
mov byte [esp + 0x94], 0x77
mov byte [esp + 0x95], 0x73
mov byte [esp + 0x96], 0x5c
mov byte [esp + 0x97], 0x43
mov byte [esp + 0x98], 0x75
mov byte [esp + 0x9b], 0x65
mov byte [esp + 0x9d], dl
mov byte [esp + 0x9e], 0x56
mov byte [esp + 0x9f], 0x65
mov byte [esp + 0xa1], 0x73
mov byte [esp + 0xa2], 0x69
mov byte [esp + 0xa5], bl
mov byte [esp + 0x70], 0x50
mov byte [esp + 0x73], 0x67
mov byte [esp + 0x76], 0x6d
mov byte [esp + 0x77], 0x44
mov byte [esp + 0x79], dl
mov byte [esp + 0x7b], bl
mov dword [esp + 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x41113b
mov ecx, dword [esp + 0xc]
push 0x52
lea edx, [esp + 0x14]
push edx
push 3
push ebx
lea eax, [esp + 0x74]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x41113f
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x41114c
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00437634
add esp, 0x94
ret 0x54
Function at 0x411340
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
sub esp, 0x48
mov eax, dword [0x4c3740]
xor eax, esp
mov dword [esp + 0x44], eax
mov al, 0x72
push ebx
mov byte [esp + 0x28], al
mov cl, 0x6f
mov byte [esp + 0x39], al
mov byte [esp + 0x3a], al
mov byte [esp + 0x40], al
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov al, 0x61
mov bl, 0x57
mov byte [esp + 0x15], al
mov byte [esp + 0x18], al
mov byte [esp + 0x1a], al
mov byte [esp + 0x20], bl
mov byte [esp + 0x2f], bl
mov bl, 0x6e
lea eax, [esp + 4]
mov byte [esp + 0x29], cl
mov byte [esp + 0x2b], cl
mov byte [esp + 0x33], cl
mov byte [esp + 0x43], cl
mov byte [esp + 0x12], cl
push eax
lea ecx, [esp + 0x20]
mov dl, 0x74
mov byte [esp + 0x35], bl
mov byte [esp + 0x40], bl
mov byte [esp + 0x48], bl
xor ebx, ebx
push ecx
push reloc.WS2_32.dll_bind
mov byte [esp + 0x28], 0x53
mov byte [esp + 0x29], 0x4f
mov byte [esp + 0x2a], 0x46
mov byte [esp + 0x2b], 0x54
mov byte [esp + 0x2d], 0x41
mov byte [esp + 0x2e], 0x52
mov byte [esp + 0x2f], 0x45
mov byte [esp + 0x30], 0x5c
mov byte [esp + 0x31], 0x4d
mov byte [esp + 0x32], 0x69
mov byte [esp + 0x33], 0x63
mov byte [esp + 0x36], 0x73
mov byte [esp + 0x38], 0x66
mov byte [esp + 0x39], dl
mov byte [esp + 0x3a], 0x5c
mov byte [esp + 0x3c], 0x69
mov byte [esp + 0x3e], 0x64
mov byte [esp + 0x40], 0x77
mov byte [esp + 0x41], 0x73
mov byte [esp + 0x42], 0x5c
mov byte [esp + 0x43], 0x43
mov byte [esp + 0x44], 0x75
mov byte [esp + 0x47], 0x65
mov byte [esp + 0x49], dl
mov byte [esp + 0x4a], 0x56
mov byte [esp + 0x4b], 0x65
mov byte [esp + 0x4d], 0x73
mov byte [esp + 0x4e], 0x69
mov byte [esp + 0x51], bl
mov byte [esp + 0x1c], 0x50
mov byte [esp + 0x1f], 0x67
mov byte [esp + 0x22], 0x6d
mov byte [esp + 0x23], 0x44
mov byte [esp + 0x25], dl
mov byte [esp + 0x27], bl
mov dword [esp + 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4114ab
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 8]
push esi
lea eax, [esp + 0x10]
push eax
push ebx
lea ecx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x20], 3
mov dword [esp + 0x24], 0x52
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4114bd
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00437634
add esp, 0x48
ret
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x48]
pop ebx
xor ecx, esp
mov al, 1
call fcn.00437634
add esp, 0x48
ret