joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cf2a
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.00405266
and dword [ebp - 4], 0
cmp dword [0x42d374], 0
mov ebx, eax
jne 0x40cfdb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40d08c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40d08c
push eax
call fcn.004051f4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42d374], eax
call esi
push eax
call fcn.004051f4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42d378], eax
call esi
push eax
call fcn.004051f4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42d37c], eax
call esi
push eax
call fcn.004051f4
pop ecx
mov dword [0x42d384], eax
test eax, eax
je 0x40cfdb
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004051f4
pop ecx
mov dword [0x42d380], eax
mov eax, dword [0x42d380]
cmp eax, ebx
je 0x40d033
cmp dword [0x42d384], ebx
je 0x40d033
push eax
call fcn.0040526f
push dword [0x42d384]
mov esi, eax
call fcn.0040526f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40d033
test edi, edi
je 0x40d033
call esi
test eax, eax
je 0x40d02a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40d02a
test byte [ebp - 0xc], 1
jne 0x40d033
or dword [ebp + 0x10], 0x200000
jmp 0x40d06c
mov eax, dword [0x42d378]
cmp eax, ebx
je 0x40d06c
push eax
call fcn.0040526f
pop ecx
test eax, eax
je 0x40d06c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40d06c
mov eax, dword [0x42d37c]
cmp eax, ebx
je 0x40d06c
push eax
call fcn.0040526f
pop ecx
test eax, eax
je 0x40d06c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42d374]
call fcn.0040526f
pop ecx
test eax, eax
je 0x40d08c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40d08e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
mov ebx, 0x408ed0
nop
mov ecx, 0x42ab35fd
nop
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x5b7c501e
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x432030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x41ad50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x41ad72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ad79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ad68
mov eax, 1
add ebx, ebx
jne 0x41ad8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ad80
jne 0x41ad9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ad80
xor ecx, ecx
sub eax, 3
jb 0x41adb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ae22
mov ebp, eax
add ebx, ebx
jne 0x41adbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41adc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41adec
inc ecx
add ebx, ebx
jne 0x41add8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41adcd
jne 0x41ade9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41adcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ae0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41adfd
jmp 0x41ad6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ae0c
add edi, ecx
jmp 0x41ad6e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ae2a
cmp byte [edi], 5
jne 0x41ae2a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41ae2f
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41aea7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ae5c
mov ecx, edi
jns 0x41ae8b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a09c]
or eax, eax
je 0x41aea1
mov dword [ebx], eax
add ebx, 4
jmp 0x41ae79
call dword [esi + 0x1a098]
mov ebp, dword [esi + 0x1a0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41aedb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408e84
nop
mov ecx, 0x73a13a9
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x1ced2228
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401628
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40167f
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401670
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [esp + 0x10]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x40166c
cmp esi, ecx
jae 0x401670
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec edx
jne 0x40165c
cmp esi, ecx
jb 0x401674
xor eax, eax
jmp 0x40167e
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4017b2
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x41091e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4190a0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38]
xor edi, edi
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x4c]
inc eax
push eax
call fcn.004032b2
cmp dword [esp + 0x54], 0x10
lea ecx, [esp + 0x40]
cmovae ecx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x54]
inc ecx
push ecx
push eax
mov dword [esp + 0x28], eax
call fcn.00405e65
mov eax, dword [esp + 0x5c]
inc eax
push ebp
mov dword [esp + 0x28], eax
call fcn.00405be7
add esp, 0x14
mov esi, eax
mov dword [esp + 0x1c], esi
test ebp, ebp
je 0x40185a
mov ecx, dword [esp + 0x30]
mov ebx, esi
sub ecx, esi
mov esi, dword [esp + 0x18]
xor eax, eax
cmp edi, dword [esp + 0x14]
cmove edi, eax
lea eax, [edi - 1]
cdq
idiv dword [esp + 0x14]
mov al, byte [edx + esi + 1]
inc al
xor al, byte [ecx + ebx]
inc edi
mov byte [ebx], al
inc ebx
dec ebp
jne 0x401835
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x3c]
call fcn.00401185
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x24
Function at 0x40a418
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4190a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00408338
mov dword [ebp - 0x14], eax
cmp dword [0x41b144], edi
jne 0x40a509
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x40a496
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40a5e9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40a5e9
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40a5e9
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x41b144], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x41b148], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x41b14c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41b154], eax
test eax, eax
je 0x40a506
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41b150], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40a52e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40a521
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x40a543
push 4
pop eax
jmp 0x40a5eb
cmp dword [ebp - 0x14], edi
je 0x40a543
push dword [0x41b144]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40a528
mov eax, dword [0x41b150]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x40a5a1
cmp dword [0x41b154], esi
je 0x40a5a1
push eax
call ebx
push dword [0x41b154]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40a5a1
test eax, eax
je 0x40a5a1
call ecx
test eax, eax
je 0x40a596
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40a596
test byte [ebp - 8], 1
jne 0x40a5a1
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x40a5d1
mov eax, dword [0x41b148]
cmp eax, esi
je 0x40a5ce
push eax
call ebx
test eax, eax
je 0x40a5ce
call eax
mov edi, eax
test edi, edi
je 0x40a5ce
mov eax, dword [0x41b14c]
cmp eax, esi
je 0x40a5ce
push eax
call ebx
test eax, eax
je 0x40a5ce
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x41b144]
call ebx
test eax, eax
je 0x40a5e9
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x40a5eb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004032bb
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
mov ecx, 0x4ca24450
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
mov ecx, 0x31c83690
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x1008d1b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde0
push esi
push edi
xor ecx, ecx
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x100]
lodsb al, byte [esi]
or al, al
je 0x1008d44
inc ecx
test cl, 3
je 0x1008d41
shl eax, 8
jmp 0x1008d31
stosd dword es:[edi], eax
jmp 0x1008d31
mov al, 0x80
push ecx
inc ecx
test cl, 3
je 0x1008d52
shl eax, 8
jmp 0x1008d47
stosd dword es:[edi], eax
xor eax, eax
jmp 0x1008d5b
stosd dword es:[edi], eax
add ecx, 4
cmp ecx, 0x3c
jb 0x1008d57
pop eax
shl eax, 3
stosd dword es:[edi], eax
sub ecx, 0xc
mov eax, dword [edi - 0x3c]
push ecx
mov ecx, eax
mov edx, eax
ror eax, 7
ror ecx, 0x12
shr edx, 3
xor eax, ecx
xor eax, edx
push eax
mov eax, dword [edi - 8]
mov ecx, eax
mov edx, eax
ror eax, 0x11
ror ecx, 0x13
shr edx, 0xa
xor eax, ecx
xor eax, edx
add dword [esp], eax
pop eax
add eax, dword [edi - 0x40]
pop ecx
add eax, dword [edi - 0x1c]
stosd dword es:[edi], eax
loop 0x1008d68
call int.01008dc5
out 9, al
push 0xffffffffffffff85
scasb al, byte es:[edi]
mov ebx, 0x3c6ef372
cmp dh, ch
dec edi
movsd dword es:[edi], dword [esi]
jg 0x1008e09
push cs
push ecx
mov word [eax + 5], gs
wait
stosd dword es:[edi], eax
fld dword [ebx - 0x1f32e6e1]
pop ebx
invalid
Function at 0x401220
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x434304]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov dword [ebp - 0x218], 0
mov word [ebp - 0x20c], ax
call fcn.0041d650
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x210]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareAtheros
push 0x80000002
mov dword [ebp - 0x214], 4
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4012ce
mov eax, dword [ebp - 0x210]
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0
push 0
push str.EnableServiceDebug
push eax
call edi
mov ecx, dword [ebp - 0x210]
push ecx
call ebx
cmp dword [ebp - 0x218], 0
je 0x40136d
push str.C:AthSvc
lea edx, [ebp - 0x20c]
push 0x104
push edx
call fcn.00415b9a
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x210]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareAtheros
push 0x80000002
mov dword [ebp - 0x214], 0x208
call esi
test eax, eax
jne 0x401352
mov ecx, dword [ebp - 0x210]
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push str.ServiceLogPath
push ecx
call edi
mov edx, dword [ebp - 0x210]
push edx
call ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.00415250
mov ecx, dword [ebp - 0x218]
push ecx
call fcn.004152b0
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041558a
mov esp, ebp
pop ebp
ret

Function at 0x401380
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x434304]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1d0
xor ebx, ebx
lea eax, [ebp - 0x1d4]
push ebx
mov ecx, 0xe
mov esi, str.SOFTWAREAtherosVistaAddOn
lea edi, [ebp - 0x20c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0041d650
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
push 0x20019
push ebx
lea edx, [ebp - 0x20c]
push edx
push 0x80000002
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x218], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40145b
mov edx, dword [ebp - 0x210]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x214]
push ecx
push ebx
push ebx
push str.SwitchRadio
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40144e
cmp dword [ebp - 0x214], 2
jne 0x40144e
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.reset_radio_off_status.__r_n
call esi
push str.Enter_Function_DisableRadioHandler__n_n
call esi
mov eax, dword [0x436850]
push ebx
push 1
push 0x5e5d
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov ebx, 1
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0041558a
mov esp, ebp
pop ebp
ret
Function at 0x401470
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x434304]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x1d0
lea eax, [ebp - 0x1d4]
push 0
mov ecx, 0xe
mov esi, str.SOFTWAREAtherosVistaAddOn
lea edi, [ebp - 0x20c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0041d650
add esp, 0xc
lea ecx, [ebp - 0x214]
push ecx
push 0xf003f
push 0
lea edx, [ebp - 0x20c]
push edx
push 0x80000002
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x218], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop edi
pop esi
test eax, eax
jne 0x401518
mov edx, dword [ebp - 0x214]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x210]
push ecx
push 0
push 0
push str.SwitchRadio
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x210]
push ecx
push str.The_value_of_SwitchRadio_is__d
call fcn.0040ca40
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
xor ecx, ebp
add esp, 8
call fcn.0041558a
mov esp, ebp
pop ebp
ret

Function at 0x401540
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x434304]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x1d0
lea eax, [ebp - 0x1d4]
push 0
mov ecx, 0xe
mov esi, str.SOFTWAREAtherosVistaAddOn
lea edi, [ebp - 0x20c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0041d650
add esp, 0xc
lea ecx, [ebp - 0x214]
push ecx
push 0xf003f
push 0
lea edx, [ebp - 0x20c]
push edx
push 0x80000002
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x218], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop edi
pop esi
test eax, eax
jne 0x4015e8
mov edx, dword [ebp - 0x214]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x210]
push ecx
push 0
push 0
push str.ReplaceTrayIconDisabled
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x210]
push ecx
push str.The_value_of_ReplaceTrayIconDisabled_is__d
call fcn.0040ca40
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
xor ecx, ebp
add esp, 8
call fcn.0041558a
mov esp, ebp
pop ebp
ret
Function at 0x401610
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push str.CommApi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4016b6
push str.Successfully_load_CommApi.dll_n_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InitApi
push esi
call edi
push str.CallApi
push esi
mov dword [ebp - 4], eax
call edi
push str.UnInitApi
push esi
mov ebx, eax
call edi
mov edi, eax
test ebx, ebx
je 0x4016af
mov eax, dword [ebp - 4]
test eax, eax
je 0x4016af
test edi, edi
je 0x4016af
call eax
mov eax, dword [ebp + 8]
mov ecx, dword [0x4285f8]
mov edx, dword [0x4285fc]
push 0
push 0
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x428600]
mov dword [eax + 4], edx
mov edx, dword [0x428604]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call ebx
add esp, 0x1c
call edi
push str.Successfully_fire_message_to_btvstack_n_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4019c0
Capabilities:
Create thread
Print debug messages
Resume thread

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push edi
push str.Enter_Function_StartCustomThread____n
call esi
cmp dword [0x43684c], 0
je 0x4019e4
push str.Enter_condition_pSvc__hWorkEvent___NULL__n
call esi
pop edi
pop esi
pop ebx
ret
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
call esi
push 0
push 0
push 1
push 0
mov dword [0x43684c], eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x436850
push 4
push 0
push 0x40dfc0
push 0
push 0
mov dword [0x436854], eax
call ebx
mov dword [0x436848], eax
test eax, eax
je 0x401a3c
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [0x436848], 0
mov eax, dword [0x436850]
mov esi, dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0
push 0
push 0x5e5b
push eax
call esi
mov ecx, dword [0x43684c]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push ecx
call edi
test eax, eax
je 0x401aa2
jmp 0x401a70
push str.Create_Thread_fails__n
mov ecx, 1
call fcn.00415320
mov edx, dword [0x436850]
add esp, 4
push 0
push 0
push 0x5e5b
push edx
call esi
mov eax, dword [0x43684c]
push 0x64
push eax
call edi
test eax, eax
jne 0x401a70
call fcn.00408760
cmp eax, 0x14
je 0x401ac0
call fcn.00408760
cmp eax, 0x1e
je 0x401ac0
call fcn.00408760
cmp eax, 0x28
jne 0x401ae5
cmp dword [0x436858], 0
jne 0x401ae5
push 0x43685c
push 0
push 0x436818
push 0x4016c0
push 0
push 0
call ebx
mov dword [0x436858], eax
pop edi
pop esi
pop ebx
ret
Function at 0x401af0
Capabilities:
Print debug messages
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push edi
push str.Enter_Function_StopCustomThread____n
call esi
call fcn.00408760
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
cmp eax, 0x14
je 0x401b2a
call fcn.00408760
cmp eax, 0x1e
je 0x401b2a
call fcn.00408760
cmp eax, 0x28
jne 0x401b55
cmp dword [0x436858], ebx
je 0x401b55
push str.TerminateThread_pSvc__hTimerThread__0___n
call esi
mov eax, dword [0x436858]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [0x436858]
push ecx
call edi
mov dword [0x436858], ebx
cmp dword [0x436c5c], ebx
je 0x401b80
push str.TerminateThread_g_hS3S4CheckThread__0___n
call esi
mov edx, dword [0x436c5c]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x436c5c]
push eax
call edi
mov dword [0x436c5c], ebx
mov eax, dword [0x436848]
cmp eax, ebx
je 0x401bed
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0x103
jne 0x401bed
mov edx, dword [0x436850]
push ebx
push ebx
push 0x5e5c
push edx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov eax, dword [0x436848]
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x401bde
push str.TerminateThread_pSvc__hCustomThread__0___n
call esi
mov ecx, dword [0x436848]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [0x436848]
push edx
call edi
mov dword [0x436848], ebx
mov eax, dword [0x43684c]
cmp eax, ebx
je 0x401bff
push eax
call edi
mov dword [0x43684c], ebx
mov eax, dword [0x436854]
cmp eax, ebx
je 0x401c11
push eax
call edi
mov dword [0x436854], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret