joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411a01
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
cmp dword [0x43461c], 0
push ebx
push esi
push edi
mov ebx, 0x400
jne 0x411a4c
push 0x64
lea eax, [ebp - 0x12c]
push eax
push 0xf
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ax, word [ebp - 0x12c]
mov word [0x46723c], ax
xor eax, eax
mov word [0x46723e], ax
mov dword [0x43461c], 0x46723c
push 0x32
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00406807
mov edi, dword [ebp + 0x10]
xor eax, eax
mov esi, dword [ebp + 0x14]
push esi
push edi
push 0x43460c
mov word [edi], ax
lea eax, [ebp - 0x64]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
xor eax, eax
mov word [edi + esi*2 - 2], ax
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x411b85
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.00415490
cmp byte [0x458d88], 0
je 0x411c33
push 0x800
lea eax, [ebp - 0x200c]
push eax
push dword [ebp + 8]
call fcn.00412fe4
lea eax, [ebp - 8]
push eax
push 1
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x411c33
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x1000
push eax
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x200c]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x411c2a
mov eax, dword [ebp - 4]
mov ecx, 0x7ff
shr eax, 1
mov dword [ebp - 4], eax
cmp eax, ecx
jb 0x411c0e
mov eax, ecx
push dword [ebp + 0xc]
xor ecx, ecx
mov word [ebp + eax*2 - 0x100c], cx
lea eax, [ebp - 0x100c]
push eax
push dword [ebp + 8]
call fcn.0040694c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret 8
Function at 0x411ce4
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x2004
call fcn.00415490
mov ecx, dword [esp + 0x2014]
push ebx
xor ebx, ebx
push esi
test ecx, ecx
je 0x411cff
mov byte [ecx], bl
mov edx, dword [esp + 0x2020]
test edx, edx
je 0x411d0c
mov byte [edx], bl
mov esi, dword [esp + 0x2010]
test esi, esi
je 0x411de8
movzx eax, word [esi]
test ax, ax
je 0x411de8
push ebp
mov ebp, dword [esp + 0x201c]
push edi
mov dword [esp + 0x10], ebx
mov edi, eax
add esi, 2
cmp di, 0x3d
jne 0x411d57
test ebp, ebp
je 0x411d63
test ebx, ebx
jne 0x411d63
test ecx, ecx
je 0x411d4e
mov byte [ecx], 1
mov ebx, dword [esp + 0x201c]
jmp 0x411d87
cmp di, 0xd
je 0x411d9c
cmp di, 0xa
je 0x411d9f
mov eax, dword [esp + 0x201c]
mov word [eax], di
add eax, 2
mov edi, dword [esp + 0x202c]
mov dword [esp + 0x201c], eax
lea eax, [edi - 2]
cmp dword [esp + 0x10], eax
jge 0x411d97
movzx eax, word [esi]
inc dword [esp + 0x10]
mov edi, eax
test ax, ax
jne 0x411d36
jmp 0x411d9f
mov byte [edx], 1
jmp 0x411da6
add esi, 2
mov edi, dword [esp + 0x202c]
mov eax, dword [esp + 0x201c]
xor ecx, ecx
mov word [eax], cx
test ebp, ebp
je 0x411de2
xor eax, eax
mov word [ebp], ax
test ebx, ebx
je 0x411de2
push 0x1000
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push edi
lea eax, [esp + 0x18]
push eax
push ebp
call fcn.0040694c
xor eax, eax
mov word [ebx], ax
pop edi
mov eax, esi
pop ebp
jmp 0x411dea
xor eax, eax
pop esi
pop ebx
add esp, 0x2004
ret 0x18
Function at 0x4142f3
Capabilities:
Hide graphical window

Disassembly:
and dword [0x456d7c], 0
push 1
push dword [esp + 8]
mov byte [0x44f955], 1
mov byte [0x44f956], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 2
push dword [esp + 0xc]
call fcn.00401183
cmp dword [0x467228], 0
jne 0x414333
cmp byte [0x44f963], 0
je 0x41433c
cmp dword [0x44f95c], 0
jne 0x41434f
push 0
push 1
push 0x111
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
ret 4

Function at 0x414423
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00415490
cmp byte [0x458d88], 0
je 0x4144b2
cmp word [0x458d8a], 0
je 0x4144b2
push esi
push 0x800
lea eax, [ebp - 0x1008]
push eax
push 0x458d8a
call fcn.00412fe4
lea eax, [ebp - 8]
xor esi, esi
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4144b1
push dword [ebp + 8]
call fcn.0041a003
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x1008]
push 1
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret 4

Function at 0x4144b6
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.00415490
push esi
push dword [ebp + 8]
push str.sfxcmd
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x1000
lea eax, [ebp - 0x2000]
push eax
push dword [ebp + 8]
call fcn.00406679
mov esi, eax
test esi, esi
je 0x41450e
movzx ecx, word [esi]
push ecx
jmp 0x4144f9
add esi, 2
movzx eax, word [esi]
push eax
call fcn.00406795
test al, al
jne 0x4144f2
push esi
push str.sfxpar
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
pop esi
leave
ret 4
Function at 0x415f53
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x415f92
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x415f92
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x415f92
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x415f92
cmp dword [ecx + 0x74], 0xe
jbe 0x415f92
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x428360
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42838d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42838d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4e7fd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x93000]
push edi
jmp 0x4e7fea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4e7ff1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e7fe0
mov eax, 1
add ebx, ebx
jne 0x4e8003
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4e8014
jne 0x4e8033
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e8033
dec eax
add ebx, ebx
jne 0x4e8020
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4e7ff8
add ebx, ebx
jne 0x4e802f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4e8085
xor ecx, ecx
sub eax, 3
jb 0x4e804b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4e80ba
sar eax, 1
mov ebp, eax
jmp 0x4e8056
add ebx, ebx
jne 0x4e8056
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e8024
inc ecx
add ebx, ebx
jne 0x4e8064
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e8024
add ebx, ebx
jne 0x4e8071
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4e8066
jne 0x4e8082
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4e8066
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4e80a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4e8096
jmp 0x4e7fe6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4e80a4
add edi, ecx
jmp 0x4e7fe6
pop esi
mov edi, esi
mov ecx, 0x3eef
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4e80c2
cmp byte [edi], 0x11
jne 0x4e80c2
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 0x4e80c7
lea edi, [esi + 0xe0000]
mov eax, dword [edi]
or eax, eax
je 0x4e813f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf75c0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf773c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4e80f4
mov ecx, edi
jns 0x4e8123
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 + 0xf7740]
or eax, eax
je 0x4e8139
mov dword [ebx], eax
add ebx, 4
jmp 0x4e8111
call dword [esi + 0xf7750]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4e8170
cmp al, 0xef
ja 0x4e8163
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4e8145
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4e8152
mov ebp, dword [esi + 0xf7744]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x4e81a4
sub esp, 0xffffff80
jmp 0x426bf7
Function at 0x100360c
Capabilities:
Acquire debug privileges

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
xor ebx, ebx
push 8
mov dword [ebp - 4], ebx
pop ecx
lea eax, [ebp - 0xc]
mov byte [eax], bl
inc eax
dec ecx
jne 0x1003620
push 0x10
pop ecx
lea eax, [ebp - 0x1c]
mov byte [eax], bl
inc eax
dec ecx
jne 0x100362c
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100979a
lea eax, [ebp - 0xc]
push eax
push 0x10036a8
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x10097a6
mov eax, dword [ebp - 0xc]
push esi
push ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push ebx
push 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [ebp - 4]
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x10097b6
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
leave
ret
call fcn.01002877
xor eax, eax
jmp 0x10036a5
call fcn.01002877
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100979f
call fcn.01002877
xor esi, esi
jmp 0x1003699
Function at 0x1005368
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0x8007000e
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.01002877
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor ebx, ebx
mov dword [esi + 0x20], eax
cmp dword [esi + 0x14], ebx
jne 0x10053a2
call fcn.01002851
mov dword [esi + 0x14], eax
cmp eax, ebx
je 0x100554c
cmp dword [esi + 0x18], ebx
jne 0x10053b7
call fcn.01002851
mov dword [esi + 0x18], eax
cmp eax, ebx
je 0x100554c
cmp dword [esi + 0x2c], ebx
jne 0x10053cc
call fcn.01002851
mov dword [esi + 0x2c], eax
cmp eax, ebx
je 0x100554c
push edi
cmp dword [esi + 0x3c], ebx
jne 0x10053f6
mov edi, 0x3098
push edi
call fcn.01001617
mov dword [esi + 0x3c], eax
cmp eax, ebx
je 0x1005550
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [eax], bl
inc eax
dec edi
jne 0x10053f0
cmp dword [esi + 0x30], ebx
jne 0x100540b
call fcn.01002851
mov dword [esi + 0x30], eax
cmp eax, ebx
je 0x1005550
cmp dword [esi + 0x54], ebx
jne 0x1005420
call fcn.01002851
mov dword [esi + 0x54], eax
cmp eax, ebx
je 0x1005550
lea eax, [esi + 0x40]
push eax
call fcn.0100346d
test eax, eax
je 0x1005550
push ebx
push 0x1005608
mov dword [ebp - 4], ebx
call fcn.010013bc
mov edi, eax
add edi, 0x10a
lea eax, [edi + edi]
push eax
call fcn.01001617
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x1005562
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edi
push 0x10032a8
push dword [ebp - 4]
call fcn.01005623
push edi
push 0x1005608
push dword [ebp - 4]
call fcn.01005623
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x70], eax
lea eax, [ebp - 4]
push eax
call fcn.010014cf
mov eax, dword [esi + 0x70]
cmp eax, ebx
je 0x1005533
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10055f0
push eax
call edi
push 0x10055d8
push dword [esi + 0x70]
mov dword [esi + 0x90], eax
call edi
push 0x10055c0
push dword [esi + 0x70]
mov dword [esi + 0x98], eax
call edi
push 0x10055a8
push dword [esi + 0x70]
mov dword [esi + 0x94], eax
call edi
push 0x100558c
push dword [esi + 0x70]
mov dword [esi + 0x9c], eax
call edi
push 0x100556c
push dword [esi + 0x70]
mov dword [esi + 0xa0], eax
call edi
mov dword [esi + 0xa4], eax
cmp dword [esi + 0x90], ebx
je 0x1005554
cmp dword [esi + 0x98], ebx
je 0x1005554
cmp dword [esi + 0x94], ebx
je 0x1005554
cmp dword [esi + 0x9c], ebx
je 0x1005554
cmp dword [esi + 0xa0], ebx
je 0x1005554
cmp eax, ebx
je 0x1005554
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x1002294
call fcn.0100229d
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
jmp 0x1005548
xor eax, eax
jmp 0x1005547
push dword [esi + 0x70]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x100976e
mov dword [esi + 0x70], ebx
jmp 0x1005498
mov dword [esi + 0x70], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
jmp 0x1005533
Function at 0x1005c89
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1001798
call fcn.01001372
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x1013030
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
jne 0x1009b62
xor esi, esi
inc esi
mov eax, dword [0x101302c]
cmp eax, esi
je 0x1009b81
mov eax, dword [0x101302c]
test eax, eax
jne 0x100176e
mov dword [0x101302c], esi
push 0x1001790
push 0x1001784
call fcn.0100419e
pop ecx
pop ecx
test eax, eax
jne 0x1009b8e
mov eax, dword [0x101302c]
cmp eax, esi
jne 0x1001723
push 0x1001780
push 0x1001778
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x101302c], 2
cmp dword [ebp - 0x1c], ebx
jne 0x1001730
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1013484], ebx
jne 0x1009b9c
push dword [0x1013038]
push dword [0x101303c]
push dword [0x1013034]
call fcn.010017b9
add esp, 0xc
mov dword [0x1013014], eax
cmp dword [0x1013008], ebx
jne 0x1009bee
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov dword [0x10134c8], esi
jmp 0x10016ff
call fcn.01005c98
jmp 0x1001690
cmp eax, esi
jne 0x1009b71
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x10016c6
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10016b2
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x10016ff
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x1009c08
push 0x1013484
call fcn.0100cd85
pop ecx
test eax, eax
je 0x100173c
push ebx
push 2
push ebx
call dword [0x1013484]
jmp 0x100173c
cmp dword [0x10134c8], ebx
jne 0x1009bfc
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1013014]
call fcn.0100167c
ret
Function at 0x100aa39
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 0xc], esi
je 0x100aa78
mov ebx, dword [ebp + 0x10]
cmp ebx, esi
je 0x100aa78
cmp dword [ebx], esi
jne 0x100aa78
mov eax, 0x8000
push eax
mov dword [ebp + 0x10], eax
call fcn.01001617
mov dword [ebx], eax
cmp eax, esi
jne 0x100aa81
push 0x8007000e
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.01002877
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
lea ecx, [ebp + 0x10]
push ecx
push eax
push esi
push esi
push dword [ebp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 8]
call esi
mov edi, 0xea
jmp 0x100aacc
add dword [ebp + 0x10], 0x2000
push ebx
call fcn.010014cf
push dword [ebp + 0x10]
and dword [ebx], 0
call fcn.01001617
mov dword [ebx], eax
test eax, eax
je 0x100aa68
lea ecx, [ebp + 0x10]
push ecx
push eax
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
mov dword [ebp - 4], eax
cmp eax, edi
je 0x100aa9d
xor esi, esi
xor edi, edi
inc esi
cmp eax, edi
je 0x100aaf8
cmp dword [ebx], edi
je 0x100aae8
push ebx
call fcn.010014cf
mov dword [ebx], edi
push dword [ebp - 4]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.01002877
mov eax, esi
jmp 0x100aa7a

Function at 0x100ade0
Capabilities:
Enumerate services

Disassembly:
push 0x1c
mov eax, 0x100f893
call fcn.01001e76
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x14], esi
mov dword [ebx + 0x80], esi
mov dword [ebx + 0x84], esi
xor eax, eax
cmp dword [ebx + 0x34], esi
jne 0x100ae12
inc eax
jmp 0x100ae38
cmp dword [ebx + 0xac], esi
jne 0x100ae1d
mov eax, dword [ebx + 0x68]
mov dword [ebp - 4], esi
push 5
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x18], eax
cmp eax, esi
jne 0x100ae3e
call fcn.01002877
xor eax, eax
call fcn.01001894
ret
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov edi, 0x1000
mov dword [ebp - 0x28], edi
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
ja 0x100aec8
add edi, dword [ebp - 0x24]
mov dword [ebp - 0x28], edi
push edi
call fcn.01001617
mov dword [ebp - 0x14], eax
cmp eax, esi
jne 0x100ae75
push 0x8007000e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x100ae31
mov dword [ebp - 0x20], esi
push esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebx + 0x80]
push eax
lea eax, [ebp - 0x24]
push eax
push edi
push dword [ebp - 0x14]
push 1
push 0x30
push esi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
cmp eax, 1
je 0x100aec8
lea eax, [ebp - 0x14]
push eax
call fcn.010014cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x100ae4c
call fcn.01002877
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x100ae36
or dword [ebp - 4], 0xffffffff
cmp dword [ebx + 0x80], esi
jne 0x100aedf
lea eax, [ebp - 0x14]
push eax
call fcn.010014cf
jmp 0x100aee8
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x84], eax
xor eax, eax
jmp 0x100ae0f
Function at 0x100df63
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa08
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor esi, esi
mov dword [ebp - 0x9e4], eax
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0xa04]
mov dword [ebp - 0xa08], esi
mov dword [ebp - 0x9e8], edx
mov dword [ebp - 0x9e0], esi
mov dword [ebp - 0x9dc], esi
rep stosd dword es:[edi], eax
mov word [ebp - 0x46], ax
cmp dword [ebp - 0x9e4], esi
je 0x100e0e7
cmp ebx, esi
je 0x100e0e7
mov eax, dword [ebx]
cmp eax, esi
je 0x100dfe0
cmp eax, 2
jb 0x100e0e7
cmp edx, esi
je 0x100e0e7
cmp dword [0x1013488], esi
jne 0x100e014
lea eax, [ebp - 0x9d8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x100e00a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
jmp 0x100e0f3
mov dword [0x1013488], 1
lea eax, [ebp - 0x9dc]
push eax
lea eax, [ebp - 0xa08]
push eax
push esi
push dword [ebp - 0x9e4]
call dword [sym.imp.WS2_32.dll_GetAddrInfoW]
test eax, eax
jne 0x100e0f9
mov esi, dword [ebp - 0x9dc]
xor edi, edi
jmp 0x100e081
push 4
xor eax, eax
mov word [ebp - 0x848], ax
push 0x20
lea eax, [ebp - 0x44]
push eax
push 0x401
lea eax, [ebp - 0x848]
push eax
push dword [esi + 0x10]
push dword [esi + 0x18]
call dword [sym.imp.WS2_32.dll_GetNameInfoW]
cmp eax, edi
je 0x100e087
cmp eax, 0x2afc
jne 0x100e07e
cmp word [ebp - 0x848], di
jne 0x100e087
mov esi, dword [esi + 0x1c]
cmp esi, edi
je 0x100e0d3
jmp 0x100e041
lea esi, [ebp - 0x848]
cmp dword [ebp + 0x14], edi
jne 0x100e0a4
mov eax, esi
push 0x100a8c0
push eax
call dword [sym.imp.msvcrt.dll_wcstok]
pop ecx
pop ecx
mov esi, eax
push edi
push esi
call fcn.010013bc
mov ecx, dword [ebx]
inc eax
cmp ecx, eax
jae 0x100e0c0
mov dword [ebx], eax
mov dword [ebp - 0x9e0], 1
jmp 0x100e0d3
push ecx
push esi
push dword [ebp - 0x9e8]
call fcn.01001975
mov dword [ebp - 0x9e0], eax
push dword [ebp - 0x9dc]
call dword [sym.imp.WS2_32.dll_FreeAddrInfoW]
mov eax, dword [ebp - 0x9e0]
jmp 0x100e0fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100e0f9
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001e64
leave
ret 0x10
Function at 0x100e576
Capabilities:
Connect network resource

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
je 0x100e6d1
push esi
call fcn.0100e2eb
cmp eax, 1
je 0x100e6d1
push esi
mov dword [ebp + 8], esi
call fcn.0100de6a
cmp eax, 1
jne 0x100e5b0
add esi, 4
mov dword [ebp + 8], esi
push dword [ebp + 8]
call fcn.0100e469
test eax, eax
jne 0x100e5cc
call fcn.01002877
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100e705
cmp dword [ebp + 0x14], ebx
je 0x100e5f5
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x100e5f5
push dword [ebp + 0x14]
push dword [ebp + 8]
push 0x100a8d0
push 2
call fcn.0100d497
add esp, 0x10
jmp 0x100e607
push dword [ebp + 8]
push 0x100a874
push 1
call fcn.0100d497
add esp, 0xc
test eax, eax
jne 0x100e62a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100e61d
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.01002877
push 8
pop eax
jmp 0x100e705
call fcn.0100cfb1
cmp eax, ebx
jne 0x100e63c
push 0x12
call fcn.0100cf40
jmp 0x100e646
push ebx
push ebx
push eax
push 0x12
call fcn.01001a49
mov edx, eax
cmp edx, ebx
je 0x100e60b
push edi
push 8
pop ecx
push ebx
push dword [ebp + 0xc]
xor eax, eax
push dword [ebp + 0x10]
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], edx
call sub.MPR.dll_WNetAddConnection2W
mov esi, eax
pop edi
cmp esi, ebx
je 0x100e697
cmp esi, 0x4b8
je 0x100e690
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.01002877
jmp 0x100e6ff
call fcn.0100d529
jmp 0x100e6ff
push ebx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp + 8]
call fcn.0100e111
push eax
call fcn.0100d008
test eax, eax
jne 0x100e6ff
push dword [ebp + 8]
call fcn.0100e559
push 0x1580
call fcn.01001c99
push eax
call fcn.0100229d
mov esi, 0x4b8
jmp 0x100e6ff
cmp dword [ebp + 0xc], ebx
je 0x100e703
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x100e703
push 0x157e
call fcn.01001c99
push eax
call fcn.0100229d
mov esi, 0xa0010001
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
jmp 0x100e705
xor eax, eax
pop esi
pop ebx
leave
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, reloc.kernel32.dll_OpenThread
mov ebx, dword [eax]
nop
nop
nop
nop
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
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219