joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x752413bf
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x23951e88
nop
nop
nop
test eax, eax
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0x9d2108
Capabilities:
Encode data using xor

Disassembly:
jmp 0x9d2112
pushal
call 0x9d2118
pop ebp
sub ebp, 0x10
sub ebp, 0x5d2108
jmp 0x9d212e
mov eax, 0x5d2108
add eax, ebp
add eax, 0x4c
mov ecx, 0x617
mov edx, 0xa560cc41
xor byte [eax], dl
inc eax
dec ecx
jne 0x9d2145
jmp 0x9d2158
retf 0xca8c
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x51b8304b
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x79be6995
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

Function at 0x432002
Capabilities:
Encode data using xor

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x37cc769e
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x5da4277f
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x6f622cc2
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x5d324909
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401000
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 0x403520
test eax, eax
jne 0x401021
push str.Error:_Unable_to_register_notification__no_callback__n
call fcn.0040415f
add esp, 4
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
push esi
push 0xc
call fcn.004040cb
mov esi, eax
add esp, 4
test esi, esi
jne 0x401047
push str.Error:_NOTIFICATION_CONTEXT_memory_allocation_failure._n
call fcn.0040415f
add esp, 4
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push edi
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x403e60
push 0
push 0
mov dword [esi], ecx
mov dword [esi + 4], 0x403520
mov dword [esi + 8], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, 0xffffffff
jne 0x401091
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error:_Unable_to_register_notification__error__d_n
call fcn.0040415f
push esi
call fcn.00404091
add esp, 0xc
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401830
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x411014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x214]
push eax
push 0x20019
xor esi, esi
push esi
push str.SYSTEMCurrentControlSetEnumUSB
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401962
push 0x103
lea ecx, [ebp - 0x10f]
push esi
push ecx
mov byte [ebp - 0x110], al
call fcn.004097d0
add esp, 0xc
lea edx, [ebp - 0x230]
push edx
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x228]
push edx
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 0x214]
push esi
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x110]
push edx
push eax
mov dword [ebp - 0x21c], 0x104
mov dword [ebp - 0x218], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [ebp - 0x218]
cmp eax, esi
jbe 0x401950
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x401900
lea ecx, [ebp - 0x230]
push ecx
mov ecx, dword [ebp - 0x214]
push 0
push 0
push 0
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x210]
push eax
push esi
push ecx
mov dword [ebp - 0x220], 0xff
call edi
test eax, eax
jne 0x401947
lea edx, [ebp - 0x210]
push edx
call fcn.00401980
add esp, 4
cmp eax, 1
je 0x401962
inc esi
cmp esi, dword [ebp - 0x218]
jb 0x401900
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00402460
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00403ffe
mov esp, ebp
pop ebp
ret
Function at 0x401a20
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
mov eax, dword [0x411014]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 0x103
xor edi, edi
lea ecx, [ebp - 0x113]
push edi
push ecx
mov dword [ebp - 0x324], eax
mov byte [ebp - 0x114], 0
call fcn.004097d0
add esp, 0xc
lea edx, [ebp - 0x334]
push edx
lea eax, [ebp - 0x340]
push eax
lea ecx, [ebp - 0x338]
push ecx
lea edx, [ebp - 0x32c]
push edx
lea eax, [ebp - 0x348]
push eax
lea ecx, [ebp - 0x344]
push ecx
lea edx, [ebp - 0x33c]
push edx
lea eax, [ebp - 0x318]
push eax
push edi
lea ecx, [ebp - 0x328]
push ecx
lea edx, [ebp - 0x114]
push edx
push ebx
mov dword [ebp - 0x328], 0x104
mov dword [ebp - 0x318], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [ebp - 0x318]
cmp eax, edi
jbe 0x401b6b
lea eax, [ebp - 0x334]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x320]
push ecx
lea edx, [ebp - 0x314]
push edx
push edi
push ebx
mov dword [ebp - 0x320], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x401b5e
mov ecx, dword [ebp - 0x324]
lea eax, [ebp - 0x314]
push eax
push ecx
lea edx, [ebp - 0x214]
push str._s_s
push edx
call fcn.0040400d
add esp, 0x10
lea eax, [ebp - 0x31c]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x214]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401b5e
mov ecx, dword [ebp - 0x31c]
call fcn.00401ba0
mov edx, dword [ebp - 0x31c]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 1
je 0x401b7d
inc edi
cmp edi, dword [ebp - 0x318]
jb 0x401ac8
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00403ffe
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.00403ffe
mov esp, ebp
pop ebp
ret
Function at 0x402a40
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x411014]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push str.Qualcomm_MTU_Service
push str.Installing:__s_n
call fcn.00403fb0
add esp, 8
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x402b6a
push ebx
push esi
push 0x105
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x10c]
push ecx
push str.Installing_Module_Path:___s__n
mov esi, eax
call fcn.00403fb0
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add esp, 8
test esi, esi
je 0x402b49
cmp esi, 0x105
jae 0x402b49
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x10c]
push edx
push 1
push 2
push 0x10
push 0xf01ff
push str.Qualcomm_MTU_Service
push 0x40e96c
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
test eax, eax
je 0x402b1c
push eax
call ebx
push str.Qualcomm_MTU_Service
push str.Installed:__s_n
call fcn.00403fb0
add esp, 8
push edi
call ebx
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403ffe
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Qualcomm_MTU_Service
push str.CreateService_failure:___s__error__d_n
call fcn.00403fb0
add esp, 0xc
push edi
call ebx
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403ffe
mov esp, ebp
pop ebp
ret
push str.Error:_failed_to_obtain_service_path._n
call fcn.00403fb0
add esp, 4
push edi
call ebx
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403ffe
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Qualcomm_MTU_Service
push str.OpenSCManager_failure:___s__error__d_n
call fcn.00403fb0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop edi
call fcn.00403ffe
mov esp, ebp
pop ebp
ret

Function at 0x402ba0
Capabilities:
Delete service
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x411014]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push str.Qualcomm_MTU_Service
push str.Uninstalling:__s_n
call fcn.00403fb0
add esp, 8
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x402c2a
push ebx
push esi
push 0x10004
push 0x40e96c
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x402c25
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x402c22
cmp dword [ebp - 0x1c], 1
jne 0x402c22
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push str.Qualcomm_MTU_Service
push str.Uninstalled:__s_n
call fcn.00403fb0
add esp, 8
push esi
call ebx
push edi
call ebx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00403ffe
mov esp, ebp
pop ebp
ret
Function at 0x403550
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, eax
push edi
lea ebx, [esi + 4]
push ebx
push 0x40f1d4
call fcn.00403fb0
lea eax, [ebp - 0xc]
push eax
lea edx, [esi + 0x240]
mov dword [ebp - 8], 0x5dc
mov byte [ebp - 0xc], 4
call fcn.004031e0
lea ecx, [ebp - 0xc]
add esp, 0xc
push ecx
lea edx, [esi + 0x240]
mov byte [ebp - 0xc], 6
call fcn.004031e0
add esp, 4
push ebx
push str.___QMICL_SetDefaultMTU_for___s__n
call fcn.00403fb0
mov edx, dword [esi + 0x340]
push edx
push str.Start_V4_MTU_notification_thread_with_handle_0x_x_n
call fcn.00403fb0
mov eax, dword [esi + 0x340]
push esi
push 4
push eax
mov eax, 0x403af0
call fcn.00403bd0
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
jne 0x4035e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Unable_to_register_IPV4_MTU_notification__error__d_n
jmp 0x4035ea
push edi
push str.V4_MTU_notification_thread_handle_0x_x_n
call fcn.00403fb0
mov ecx, dword [esi + 0x340]
add esp, 8
push ecx
push str.Start_V6_MTU_notification_thread_with_handle_0x_x_n
call fcn.00403fb0
mov edx, dword [esi + 0x340]
push esi
push 6
push edx
mov eax, 0x403b60
call fcn.00403bd0
add esp, 0x14
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x403630
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Unable_to_register_IPV6_MTU_notification__error__d_n
jmp 0x403636
push eax
push str.V6_MTU_notification_thread_handle_0x_x_n
call fcn.00403fb0
mov eax, dword [esi + 0x340]
add esp, 8
push eax
push str.Start_removal_notification_thread_with_handle_0x_x_n
call fcn.00403fb0
mov ecx, dword [esi + 0x340]
push esi
push ecx
call fcn.00401000
add esp, 0x10
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x403675
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Unable_to_register_notification__error__d_n
jmp 0x40367b
push eax
push str.Removal_notification_thread_handle_0x_x_n
call fcn.00403fb0
add esp, 8
push ebx
push str.Start_main_thread_for___s__n
call fcn.00403fb0
add esp, 8
lea edx, [ebp - 0x10]
push edx
push 0
push esi
push 0x403710
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4036e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Unable_to_launch_MTU_thread__error__d_n
call fcn.00403fb0
mov eax, dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
push eax
call esi
cmp edi, ebx
je 0x4036d5
push edi
call esi
mov eax, dword [ebp - 8]
cmp eax, 0xffffffff
je 0x403707
push eax
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [esi + 0x348], ecx
mov dword [esi + 0x34c], edi
mov dword [esi + 0x350], edx
mov dword [esi + 0x344], ebx
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403bd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, eax
test edi, edi
jne 0x403bf0
push str.Error:_Unable_to_register_MTU_notification__no_callback__n
call fcn.00403fb0
add esp, 4
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret
push esi
push 0x10
call fcn.004040cb
mov esi, eax
add esp, 4
test esi, esi
jne 0x403c17
push str.Error:_NOTIFICATION_CONTEXT_memory_allocation_failure._n
call fcn.00403fb0
add esp, 4
pop esi
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov cl, byte [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esi], eax
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x403c70
push 0
push 0
mov byte [esi + 4], cl
mov dword [esi + 8], edi
mov dword [esi + 0xc], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, 0xffffffff
jne 0x403c62
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error:_Unable_to_register_notification__error__d_n
call fcn.00403fb0
push esi
call fcn.00404091
add esp, 0xc
pop esi
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x403fb0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x411014]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x404]
push 0x400
push edx
call fcn.0040464c
add esp, 0x14
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403ffe
mov esp, ebp
pop ebp
ret

Function at 0x403ffe
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411014]
jne 0x404008
repz ret
jmp fcn.00404887