joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4513de
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
cmp dword [ebp + 0x14], 0
je 0x45144f
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x45144f
mov ecx, dword [ebp - 8]
cmp dword [ecx + 4], 2
jne 0x451445
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
push eax
push 0x4865c0
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x4865c0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00451b0c
add esp, 8
test eax, eax
je 0x45143e
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x4865c0
mov eax, 1
jmp 0x45160d
xor eax, eax
jmp 0x45160d
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
jmp 0x4513f3
cmp dword [ebp + 0x10], 0
je 0x45151a
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
je 0x45151a
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 1
jne 0x45150d
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
push edx
push 0x4865c0
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x5c
push 0x4865c0
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4514c3
push 0xff
push 0x4865c0
call dword [sym.imp.MSVCRT.dll__getcwd]
add esp, 8
test eax, eax
jne 0x4514c1
xor eax, eax
jmp 0x45160d
jmp 0x4514c9
mov eax, dword [ebp - 4]
mov byte [eax], 0
push 0x4865c0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00451b0c
add esp, 8
test eax, eax
je 0x451506
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x4865c0
mov eax, dword [ebp + 0x1c]
push eax
push 0x4865c0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00451cb8
add esp, 0xc
mov eax, 1
jmp 0x45160d
xor eax, eax
jmp 0x45160d
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0xc], eax
jmp 0x45145f
push 0x475bd8
push 0x4865c0
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x5c
push 0x4865c0
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov byte [ecx], 0
push 0x4865c0
mov edx, dword [ebp + 8]
push edx
call fcn.00451b0c
add esp, 8
test eax, eax
je 0x451582
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x4865c0
mov ecx, dword [ebp + 0x1c]
push ecx
push 0x4865c0
mov edx, dword [ebp + 8]
push edx
call fcn.00451cb8
add esp, 0xc
mov eax, 1
jmp 0x45160d
push str.C:_flexlmlicense.dat
lea eax, [ebp - 0x110]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x5c
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4515b7
mov edx, dword [ebp - 0x10]
mov byte [edx], 0
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.MSVCRT.dll__mkdir]
add esp, 4
test eax, eax
jne 0x451607
push 0x4865c0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00451b0c
add esp, 8
test eax, eax
je 0x451605
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x4865c0
mov eax, dword [ebp + 0x1c]
push eax
push 0x4865c0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00451cb8
add esp, 0xc
mov eax, 1
jmp 0x45160d
jmp 0x45160b
xor eax, eax
jmp 0x45160d
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x459870
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x10325476
jmp 0x4598b5
pop edi
pop esi
pop ebx
leave
ret

Function at 0x45abe0
Capabilities:
Link many functions at runtime

Disassembly:
lea esi, [0x489818]
push esi
mov eax, dword [0x489408]
push eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x48982d], eax
mov dword [0x4890f5], 1
mov eax, 0x4000
push eax
lea eax, [0x489333]
push eax
lea eax, [0x4890e1]
push eax
lea esi, [0x4895cf]
call dword [esi]
cmp eax, 0xffffffff
jne 0x45ac2c
mov dword [0x4890f5], 0
cmp dword [0x4890f5], 0
je 0x45aca2
mov eax, 0x4000
push eax
lea eax, [0x489333]
push eax
lea eax, [0x4890ca]
push eax
lea esi, [0x4895cf]
call dword [esi]
cmp eax, 0xffffffff
je 0x45aca2
lea eax, [0x4890ca]
push eax
call dword [0x4891f3]
mov dword [0x4890ed], eax
cmp eax, 0
je 0x45aca2
lea edx, [0x4890f9]
push edx
push eax
call sub.KERNEL32.dll_GetProcAddress
cmp eax, 0
je 0x45aca2
mov dword [0x48914b], eax
mov eax, dword [0x4890ed]
lea edx, [0x489130]
push edx
push eax
call sub.KERNEL32.dll_GetProcAddress
cmp eax, 0
je 0x45aca2
mov dword [0x48914f], eax
jmp 0x45ad1a
mov eax, 0x4000
push eax
lea eax, [0x489333]
push eax
lea eax, [0x4890d7]
push eax
lea esi, [0x4895cf]
call dword [esi]
cmp eax, 0xffffffff
je 0x45ad0f
lea eax, [0x4890d7]
push eax
call dword [0x4891f3]
mov dword [0x4890f1], eax
cmp eax, 0
je 0x45ad0f
lea edx, [0x489115]
push edx
push eax
call sub.KERNEL32.dll_GetProcAddress
cmp eax, 0
je 0x45ad0f
mov dword [0x48914b], eax
mov eax, dword [0x4890f1]
lea edx, [0x48913e]
push edx
push eax
call sub.KERNEL32.dll_GetProcAddress
cmp eax, 0
je 0x45ad0f
mov dword [0x48914f], eax
jmp 0x45ad25
mov dword [0x489153], 0
ret
mov dword [0x489153], 1
ret
mov dword [0x489153], 2
ret

Function at 0x45b03d
Capabilities:
Packed with generic packer

Disassembly:
pushal
push eax
push ecx
push edx
test ax, 1
je 0x45b05a
push ecx
push edx
call dword [0x489763]
cmp eax, 0
je 0x45b05a
pop edx
pop ecx
pop eax
stc
jmp 0x45b075
pop edx
pop ecx
pop eax
test ax, 2
je 0x45b074
push ecx
push edx
call dword [0x489775]
cmp ax, 0
je 0x45b074
stc
jmp 0x45b075
clc
popal
ret
Function at 0x45bea8
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
mov ecx, dword [eax]
push edi
mov edi, dword [esp + 0x14]
lea ebp, [eax + 8]
mov dword [esp + 0x14], 0xc
mov edx, dword [edi + 4]
add edx, ecx
mov ecx, dword [edi]
mov dword [edi + 4], edx
mov edx, dword [eax + 4]
add ecx, edx
mov dword [edi], ecx
mov ebx, dword [edi]
mov ecx, dword [edi + 4]
mov esi, ebx
mov edx, ebx
shr esi, 4
xor edx, ecx
and esi, 0x1f
mov ecx, 0x20
mov eax, edx
sub ecx, esi
add ebp, 8
shr eax, cl
mov ecx, esi
shl edx, cl
mov ecx, 0x20
or eax, edx
mov edx, dword [ebp - 8]
sub eax, edx
mov edx, eax
mov dword [edi + 4], eax
shr edx, 7
and edx, 0x1f
xor eax, ebx
sub ecx, edx
mov esi, eax
shr esi, cl
mov ecx, edx
mov edx, dword [ebp - 4]
shl eax, cl
or esi, eax
mov eax, dword [esp + 0x14]
add esi, edx
dec eax
mov dword [edi], esi
mov dword [esp + 0x14], eax
jne 0x45bed2
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x45bf31
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
lea ebp, [eax + 0x60]
mov dword [esp + 0x14], 0xc
mov ebx, dword [edi + 4]
mov edx, dword [edi]
mov ecx, dword [ebp + 4]
mov esi, ebx
shr esi, 7
sub edx, ecx
and esi, 0x1f
mov ecx, 0x20
mov eax, edx
sub ecx, esi
sub ebp, 8
shl eax, cl
mov ecx, esi
shr edx, cl
or eax, edx
xor eax, ebx
mov dword [edi], eax
mov ecx, dword [ebp + 8]
mov edx, eax
shr edx, 4
lea esi, [ebx + ecx]
and edx, 0x1f
mov ecx, 0x20
mov ebx, esi
sub ecx, edx
shl ebx, cl
mov ecx, edx
shr esi, cl
or ebx, esi
xor ebx, eax
mov eax, dword [esp + 0x14]
dec eax
mov dword [edi + 4], ebx
mov dword [esp + 0x14], eax
jne 0x45bf48
mov eax, dword [esp + 0x18]
mov esi, dword [edi]
mov ecx, ebx
mov edx, dword [eax + 4]
sub esi, edx
mov dword [edi], esi
mov eax, dword [eax]
sub ecx, eax
mov dword [edi + 4], ecx
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x45bfbc
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x88
mov eax, dword [esp + 0x90]
push ebx
push esi
mov esi, dword [esp + 0x94]
lea ebx, [eax + 7]
shr ebx, 3
and eax, 7
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], eax
jne 0x45bfed
mov dword [esp + 0x10], 8
push ebp
push edi
lea eax, [ebx - 1]
xor edx, edx
xor ecx, ecx
xor edi, edi
test eax, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], edi
jbe 0x45c0bd
mov ebp, dword [esi]
xor ebp, ecx
mov ecx, dword [esi + 4]
xor ecx, edx
mov dword [esi], ebp
test edi, edi
mov dword [esi + 4], ecx
jne 0x45c08f
cmp ebx, 2
push edi
jbe 0x45c082
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.0045c3ed
mov edi, dword [esp + 0x34]
add esp, 0xc
mov dword [esp + 0x30], edi
lea eax, [esp + 0x30]
mov ebx, 0x19
mov ecx, dword [eax]
mov edx, dword [esp + 0x2c]
add ecx, edx
mov ebp, edi
mov dword [eax + 4], ecx
mov edx, dword [eax]
and edx, 0x1f
mov ecx, 0x20
sub ecx, edx
add eax, 4
shl ebp, cl
mov ecx, edx
mov edx, ebp
mov ebp, edi
shr ebp, cl
or edx, ebp
mov ebp, dword [esp + 0x34]
xor ebp, edx
dec ebx
mov dword [esp + 0x34], ebp
jne 0x45c043
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
jmp 0x45c09d
push 0
push esi
call fcn.0045c3ed
add esp, 0xc
jmp 0x45c09d
lea eax, [esp + 0x30]
push eax
push esi
call fcn.0045bea8
add esp, 8
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add esi, 8
inc edi
lea eax, [ebx - 1]
mov dword [esp + 0x10], ecx
cmp edi, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], edi
jb 0x45c00c
mov eax, dword [esp + 0x18]
xor edi, edi
test eax, eax
jbe 0x45c0e8
mov ebp, esi
lea ecx, [esp + 0x10]
sub ebp, ecx
mov cl, byte [esp + edi + 0x10]
lea eax, [esp + edi + 0x10]
mov dl, byte [ebp + eax]
xor cl, dl
inc edi
mov byte [eax], cl
mov eax, dword [esp + 0x18]
cmp edi, eax
jb 0x45c0cf
pop edi
cmp ebx, 2
pop ebp
jbe 0x45c103
lea eax, [esp + 0x28]
lea ecx, [esp + 8]
push eax
push ecx
call fcn.0045bea8
add esp, 8
jmp 0x45c126
cmp ebx, 1
jne 0x45c115
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
push 0
lea ecx, [esp + 0xc]
push 0
push ecx
call fcn.0045c3ed
add esp, 0xc
cmp ebx, 1
jbe 0x45c15a
mov ecx, dword [esp + 0x10]
xor eax, eax
test ecx, ecx
jbe 0x45c141
mov dl, byte [esi + eax - 8]
mov byte [esi + eax], dl
inc eax
cmp eax, ecx
jb 0x45c135
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esi - 8], eax
mov dword [esi - 4], ecx
pop esi
xor eax, eax
pop ebx
add esp, 0x88
ret
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov dword [esi], edx
mov dword [esi + 4], eax
pop esi
xor eax, eax
pop ebx
add esp, 0x88
ret
Function at 0x45c172
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x90
mov eax, dword [esp + 0x98]
push ebx
mov ebx, dword [esp + 0x98]
push ebp
lea ebp, [eax + 7]
push esi
shr ebp, 3
and eax, 7
push edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], eax
jne 0x45c1a5
mov dword [esp + 0x20], 8
xor edx, edx
cmp ebp, 1
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
jbe 0x45c28e
lea eax, [ebp - 2]
xor esi, esi
cmp eax, edx
mov dword [esp + 0x24], esi
jbe 0x45c28e
jmp 0x45c1d5
xor edx, edx
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
cmp esi, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jne 0x45c245
push edx
lea edx, [esp + 0x34]
push edx
push ebx
call fcn.0045c3ed
mov esi, dword [esp + 0x3c]
add esp, 0xc
mov dword [esp + 0x38], esi
lea eax, [esp + 0x38]
mov edi, 0x19
mov ecx, dword [eax]
mov edx, dword [esp + 0x34]
add ecx, edx
mov ebp, esi
mov dword [eax + 4], ecx
mov edx, dword [eax]
and edx, 0x1f
mov ecx, 0x20
sub ecx, edx
add eax, 4
shl ebp, cl
mov ecx, edx
mov edx, ebp
mov ebp, esi
shr ebp, cl
or edx, ebp
mov ebp, dword [esp + 0x3c]
xor ebp, edx
dec edi
mov dword [esp + 0x3c], ebp
jne 0x45c206
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
jmp 0x45c253
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.0045bf31
add esp, 8
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
xor edx, ecx
mov dword [ebx], edx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
xor eax, edx
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
add ebx, 8
inc esi
lea eax, [ebp - 2]
cmp esi, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], esi
jb 0x45c1d3
xor edx, edx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], edx
cmp ecx, edx
mov dword [esp + 0x14], edx
jbe 0x45c2b3
mov eax, ecx
lea esi, [ebx + 8]
lea edi, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp ebp, 1
jne 0x45c2c8
push edx
push edx
push ebx
call fcn.0045c3ed
add esp, 0xc
jmp 0x45c350
cmp ebp, 2
jne 0x45c2da
push edx
push edx
push ebx
call fcn.0045c3ed
add esp, 0xc
jmp 0x45c2ed
lea ecx, [esp + 0x38]
push ecx
push ebx
call fcn.0045bf31
add esp, 8
cmp ebp, 1
jbe 0x45c350
mov edx, dword [ebx]
mov esi, dword [esp + 0x10]
mov eax, dword [ebx + 4]
mov edi, dword [esp + 0x20]
xor esi, edx
mov edx, dword [esp + 0x14]
xor edx, eax
xor eax, eax
test edi, edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edx
jbe 0x45c32e
mov ecx, ebx
lea edx, [esp + 0x10]
sub ecx, edx
mov dl, byte [eax + ebx + 8]
lea esi, [esp + eax + 0x10]
inc eax
mov byte [esi + ecx], dl
mov dl, byte [esi]
mov byte [eax + ebx + 7], dl
cmp eax, edi
jb 0x45c318
cmp ebp, 2
jne 0x45c342
push 0
push 0
push ebx
call fcn.0045c3ed
add esp, 0xc
jmp 0x45c350
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.0045bf31
add esp, 8
mov ecx, dword [esp + 0x18]
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
xor edx, ecx
mov dword [ebx], edx
mov edx, dword [esp + 0x1c]
xor eax, edx
pop edi
pop esi
mov dword [ebx + 4], eax
pop ebp
xor eax, eax
pop ebx
add esp, 0x90
ret
Function at 0x45c580
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
add eax, 0x5c
push eax
call fcn.0045e684
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], 0x67452301
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x98badcfe
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 0x10325476
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0xc3d2e1f0
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0
pop ebp
ret

Function at 0x45e6b0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x11c]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionNetworkCards
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x45e81b
mov dword [ebp - 0x120], 0x104
mov dword [ebp - 0x10], 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x118]
push edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x11c]
push edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x45e80c
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
lea edx, [ebp - 0x118]
push edx
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x45e7f3
mov dword [ebp - 0x120], 0
lea ecx, [ebp - 0x120]
push ecx
push 0
lea edx, [ebp - 8]
push edx
push 0
push 0x476670
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x120]
add ecx, 1
push ecx
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push str.ServiceName
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x14], 0
je 0x45e7e6
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x120], 0x104
jmp 0x45e6fc
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45e822
mov eax, 0xffffff01
jmp 0x45e824
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x45eb9d
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push edi
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
cmp dword [0x48678c], 0
jne 0x45eccc
call sub.MSVCRT.dll__getpid
push eax
push str.IPHelperMutex
push str._s__d
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea ecx, [ebp - 0x104]
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jne 0x45ec28
xor eax, eax
jmp 0x45ecd2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x45ec44
push 0xffffffffffffffff
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x48678c], 0
jne 0x45ecb2
push str.iphlpapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x486790], eax
cmp dword [0x486790], 0
jne 0x45ec72
mov dword [ebp - 0x108], 0xfffffffe
jmp 0x45eca8
push str.GetNetworkParams
mov eax, dword [0x486790]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x486784], eax
cmp dword [0x486784], 0
je 0x45eca8
push str.GetAdaptersInfo
mov ecx, dword [0x486790]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x486788], eax
mov dword [0x48678c], 1
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x108]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x45f56c
Capabilities:
Create service
Persist via windows service
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x476734]
mov dword [ebp - 8], eax
mov ecx, dword [0x476738]
mov dword [ebp - 4], ecx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x45f636
push 0xf01ff
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45f5e1
push 0
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
je 0x45f5d4
mov eax, 1
jmp 0x45f638
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
xor eax, eax
jmp 0x45f638
push 0
push 0
push 0
push 0
push str.Extended_Base
push str.SYSTEM32driversDS1410D.SYS
push 1
push 2
push 1
push 0xf01ff
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45f636
push 0
push 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
je 0x45f632
mov eax, 1
jmp 0x45f638
xor eax, eax
jmp 0x45f638
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x460519
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 4], 1
cmp dword [0x4867c8], 0
je 0x46053a
mov al, byte [ebp + 8]
push eax
push 2
call fcn.004605ad
add esp, 8
jmp 0x4605a9
cmp dword [0x4867c4], 0
je 0x4605a7
cmp dword [0x4867b4], 0
je 0x4605a2
mov byte [0x486824], 1
mov cl, byte [ebp + 8]
mov byte [0x486825], cl
push 0
push 0x486830
push 2
push 0x486824
mov edx, dword [0x48683c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4605a2
push 0
push 0x486830
push 1
push 0x486824
mov eax, dword [0x48683c]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4605a2
mov cl, byte [0x486824]
mov byte [ebp - 4], cl
mov al, byte [ebp - 4]
jmp 0x4605a9
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x46061e
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [ebp + 8]
mov byte [ebp - 4], al
cmp dword [0x4867c8], 0
je 0x460641
mov cl, byte [ebp + 8]
push ecx
push 3
call fcn.004605ad
add esp, 8
jmp 0x4606b0
cmp dword [0x4867c4], 0
je 0x4606ae
cmp dword [0x4867b4], 0
je 0x4606a9
mov byte [0x486824], 2
mov dl, byte [ebp + 8]
mov byte [0x486825], dl
push 0
push 0x486830
push 2
push 0x486824
mov eax, dword [0x48683c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4606a9
push 0
push 0x486830
push 1
push 0x486824
mov ecx, dword [0x48683c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4606a9
mov dl, byte [0x486824]
mov byte [ebp - 4], dl
mov al, byte [ebp - 4]
jmp 0x4606b0
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x4606b4
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 4], 0
cmp dword [0x4867c8], 0
je 0x4606d3
push 0
push 1
call fcn.004605ad
add esp, 8
jmp 0x46074b
cmp dword [0x4867c4], 0
je 0x460749
cmp dword [0x4867b4], 0
je 0x460744
mov byte [0x486824], 0
mov al, byte [0x476728]
mov byte [0x486825], al
push 0
push 0x486830
push 2
push 0x486824
mov ecx, dword [0x48683c]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x46073c
push 0
push 0x486830
push 1
push 0x486824
mov edx, dword [0x48683c]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46073c
mov al, byte [0x486824]
mov byte [ebp - 4], al
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [ebp - 4]
jmp 0x46074b
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x46074f
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 4], 0
cmp dword [0x4867c8], 0
je 0x46076e
push 0
push 4
call fcn.004605ad
add esp, 8
jmp 0x4607d4
cmp dword [0x4867c4], 0
je 0x4607d2
cmp dword [0x4867b4], 0
je 0x4607cd
mov byte [0x486824], 3
push 0
push 0x486830
push 2
push 0x486824
mov eax, dword [0x48683c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4607cd
push 0
push 0x486830
push 1
push 0x486824
mov ecx, dword [0x48683c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4607cd
mov dl, byte [0x486824]
mov byte [ebp - 4], dl
mov al, byte [ebp - 4]
jmp 0x4607d4
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x4607d8
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 4], 0
cmp dword [0x4867c8], 0
je 0x4607f7
push 0
push 0x22
call fcn.004605ad
add esp, 8
jmp 0x46085d
cmp dword [0x4867c4], 0
je 0x46085b
cmp dword [0x4867b4], 0
je 0x460856
mov byte [0x486824], 0x22
push 0
push 0x486830
push 2
push 0x486824
mov eax, dword [0x48683c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x460856
push 0
push 0x486830
push 1
push 0x486824
mov ecx, dword [0x48683c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x460856
mov dl, byte [0x486824]
mov byte [ebp - 4], dl
mov al, byte [ebp - 4]
jmp 0x46085d
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x460861
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 4], 0
cmp dword [0x4867c8], 0
je 0x460880
push 0
push 5
call fcn.004605ad
add esp, 8
jmp 0x4608e6
cmp dword [0x4867c4], 0
je 0x4608e4
cmp dword [0x4867b4], 0
je 0x4608df
mov byte [0x486824], 5
push 0
push 0x486830
push 2
push 0x486824
mov eax, dword [0x48683c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4608df
push 0
push 0x486830
push 1
push 0x486824
mov ecx, dword [0x48683c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4608df
mov dl, byte [0x486824]
mov byte [ebp - 4], dl
mov al, byte [ebp - 4]
jmp 0x4608e6
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x460b75
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 4], 0
cmp dword [0x4867b4], 0
je 0x460bcd
mov byte [0x486824], 6
mov al, byte [0x476728]
mov byte [0x486825], al
push 0
push 0x486830
push 2
push 0x486824
mov ecx, dword [0x48683c]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push 0x486830
push 1
push 0x486824
mov edx, dword [0x48683c]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esp, ebp
pop ebp
ret