joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007efc8
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1007f065
push ebx
push esi
call fcn.1007ef91
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1007d882
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1007f012
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1007f064
push edi
push eax
call fcn.10079cd6
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1007f032
call fcn.10079c9c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1007f063
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1007d882
add esp, 0x20
test eax, eax
jne 0x1007f051
push edi
call fcn.10079c9c
jmp 0x1007f059
push ebx
call fcn.10079c9c
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1007f068
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1007f079
pop esi
ret
push ebx
push edi
push esi
call fcn.1007ef91
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.10079cd6
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1007f0a1
push ebx
push esi
push edi
call fcn.100607c0
add esp, 0xc
push 0
call fcn.10079c9c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x1007f471
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1007f0b6

Function at 0x10081b70
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.100782ec
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10081bdf
cmp esi, dword [ebp - 4]
je 0x10081bda
cmp dword [ebp + 0xc], 0
je 0x10081bda
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10081bb7
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.100816c2
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x10081be1
xor eax, eax
inc eax
jmp 0x10081be1
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x10081c46
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100b0040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.100782ec
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.100782ec
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x10081cbd
cmp word [ecx], dx
je 0x10081cbd
mov eax, dword [0x1009a0a4]
push edi
dec eax
push eax
push 0x10099f90
call fcn.10081be5
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x10081d30
cmp word [eax], dx
je 0x10081d30
mov eax, dword [edi]
test eax, eax
je 0x10081ce1
cmp word [eax], dx
je 0x10081ce1
lea eax, [ebp - 0x10]
push eax
call fcn.100815c8
jmp 0x10081cea
lea eax, [ebp - 0x10]
push eax
call fcn.10081663
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x10081d5a
mov eax, dword [0x10099f8c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10099c80
call fcn.10081be5
add esp, 0xc
test al, al
je 0x10081d5a
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x10081d25
cmp word [eax], di
je 0x10081d25
lea eax, [ebp - 0x10]
push eax
call fcn.100815c8
pop ecx
jmp 0x10081d5c
lea eax, [ebp - 0x10]
push eax
call fcn.10081663
jmp 0x10081d22
mov eax, dword [edi]
test eax, eax
je 0x10081d47
cmp word [eax], dx
je 0x10081d47
lea eax, [ebp - 0x10]
push eax
call fcn.1008157d
pop ecx
jmp 0x10081d5a
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x10081e25
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10081a6a
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10081e25
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x10081e25
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x10081e25
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10081db2
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.1007bcce
test ebx, ebx
je 0x10081e20
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.1007bcce
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10081e25
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10081e25
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.10086d8d
add esp, 0x10
xor eax, eax
inc eax
jmp 0x10081e27
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005a767
leave
ret
Function at 0x100885e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1008860d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1008860d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40dfde
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x40dfed
pop dword [ebp - 0x20]
mov eax, 0x4ab18ae5
add eax, 0xb58f5508
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x30990
push 0
mov eax, 0x2b434843
add eax, 0xd4fdb8d5
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0xc793cb6a
sub ecx, 0xc7939bbd
xor ebx, ebx
add ebx, eax
mov esi, 0xecd50b7e
add esi, 0x136f2a82
add esi, dword [ebp - 0x20]
mov edi, 0x6139c6b1
add edi, 0xafc014e7
xor dword [ebp - 0x1c], edx
mov edx, dword [esi]
sub dword [ebp - 0x18], 0x9dbbd041
add edx, edi
mov dword [ebp - 0xc], 0x41e18e58
mov dword [ebx], edx
add dword [ebp - 0x1c], 0xc0e9aae7
add ebx, 0x5b5f2644
sub ebx, 0x5b5f2640
add esi, 0xa096972b
add esi, 0x5f6968d9
loop 0x40e04e
add eax, 0x9005bfd
sub eax, 0x8ffaa76
mov ebx, eax
add eax, 5
mov ecx, 0xd89df35e
sub ecx, 0xd85df35e
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x403e59
pop dword [ebp - 0x34]
mov eax, 0x309f5b24
add eax, 0xcfa0e335
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x1cdb15aa
add dword [ebp - 0x44], 0x31772fa1
mov dword [ebp - 0x40], 0xd7f6c3a7
add dword [ebp - 0x40], 0x5a3c889e
mov dword [ebp - 0x3c], 0x8c684962
sub dword [ebp - 0x3c], 0x401c0534
mov dword [ebp - 0x38], 0xbc3bbef6
add dword [ebp - 0x38], 0x43c4410a
lea eax, [ebp - 0x44]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xce7cd14f
sub dword [ebp - 0x44], 0x5a0a67f9
mov dword [ebp - 0x40], 0x9037525e
add dword [ebp - 0x40], 0xb1350f17
mov dword [ebp - 0x3c], 0xd6d8434f
sub dword [ebp - 0x3c], 0x7368d6e3
mov dword [ebp - 0x38], 0xb132ea80
add dword [ebp - 0x38], 0x4ecd1580
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3cb35
push 0
call eax
mov ecx, 0x66e6edf3
add ecx, 0x991971dd
mov edx, eax
mov edi, 0xfbb44bc7
add edi, 0x48cc439
add edi, dword [ebp - 0x34]
mov esi, 0xdae9ee8a
sub esi, 0x20c2c2de
xor dword [ebp - 0x28], ebx
mov ebx, dword [edi]
add dword [ebp - 0x14], ebx
add ebx, esi
add dword [ebp - 0x14], edi
mov dword [edx], ebx
sub dword [ebp - 0x10], 0x7a5045e6
add edx, 0x1cba96c1
add edx, 0xe3456943
add edi, 0xc167b1ef
add edi, 0x3e984e15
loop 0x403f71
add eax, 0x7180e1c6
sub eax, 0x717f6fb3
mov ebx, eax
add eax, 0x2e575a69
sub eax, 0x2e575a64
mov ecx, 0x400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x1000655b
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [edi - 0x6c]
mov ecx, esi
call fcn.10003ae7
test eax, eax
jne 0x1000657b
mov eax, 0x80070005
jmp 0x100065ec
push esi
mov ecx, esi
call fcn.10003ae7
test eax, eax
js 0x100065ea
cmp dword [edi + 0x44], 0
je 0x100065ea
and dword [ebp + 8], 0
lea eax, [ebp - 0x10]
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
push eax
call esi
lea eax, [ebp - 8]
push eax
call esi
push 0x14
pop ecx
call fcn.100099b8
test eax, eax
je 0x100065c7
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
and dword [eax + 8], 0
mov dword [eax], vtable.CNameShowContactCardJob.0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
jmp 0x100065c9
xor eax, eax
push eax
lea ecx, [ebp + 8]
call fcn.10003ae7
mov esi, dword [ebp + 8]
test esi, esi
je 0x100065ea
mov ecx, dword [edi + 0x44]
push esi
call fcn.10003ae7
test eax, eax
mov eax, dword [esi]
push esi
call dword [eax + 8]
xor eax, eax
pop edi
pop esi
leave
ret 4

Function at 0x1000a002
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x1000bfd5
call fcn.1000be6e
mov ebx, ecx
lea eax, [ebp - 0x14]
xor ecx, ecx
push eax
push 0x20019
push ecx
push 0x1000e1a8
mov dword [ebp - 4], ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push SysReAllocString
mov dword [ebp - 0x14], ecx
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x1000a0aa
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
and dword [ebp - 0x10], 0
push eax
push 0x20019
push 0
push ebx
push dword [ebp - 0x14]
call edi
push 4
pop ebx
test eax, eax
jne 0x1000a09c
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push str.InsecureQI
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000a09c
cmp dword [ebp - 0x18], ebx
jne 0x1000a09c
mov edi, dword [ebp - 0x1c]
cmp edi, 3
ja 0x1000a09c
mov byte [ebp - 4], 2
cmp dword [ebp - 0x10], eax
je 0x1000a0ac
push dword [ebp - 0x10]
call esi
jmp 0x1000a0ac
mov byte [ebp - 4], bl
cmp dword [ebp - 0x10], 0
je 0x1000a0aa
push dword [ebp - 0x10]
call esi
xor edi, edi
mov dword [ebp - 4], 5
cmp dword [ebp - 0x14], 0
je 0x1000a0be
push dword [ebp - 0x14]
call esi
mov eax, edi
call fcn.1000be4c
ret
Function at 0x10016f85
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x10016f94
pop dword [ebp - 0x48]
mov eax, 0x3e97ae3d
add eax, 0xd169c157
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xc1c461c0
sub dword [ebp - 0x58], 0x73721c75
mov dword [ebp - 0x54], 0xd78c5730
sub dword [ebp - 0x54], 0xa5590aeb
mov dword [ebp - 0x50], 0x2ac6e92f
add dword [ebp - 0x50], 0x21855aff
mov dword [ebp - 0x4c], 0xffd3958d
sub dword [ebp - 0x4c], 0xffd3958d
lea eax, [ebp - 0x58]
push eax
mov eax, 0xf9f238e1
sub eax, 0xe9efe891
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xacd9897c
sub dword [ebp - 0x58], 0x38672026
mov dword [ebp - 0x54], 0x151347ae
add dword [ebp - 0x54], 0x2c5919c7
mov dword [ebp - 0x50], 0x49a0cd64
add dword [ebp - 0x50], 0x19ce9f08
mov dword [ebp - 0x4c], 0xa46e276b
sub dword [ebp - 0x4c], 0xa46e276b
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0xc1daabe3
sub eax, 0xb1d85b8f
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x4278c
push 0
call eax
mov ecx, 0xbeac2c0a
sub ecx, 0xbeabd103
mov edx, eax
mov ebx, 0x10035a00
add ebx, dword [ebp - 0x48]
mov edi, 0xe5a15208
sub edi, 0x69be5540
mov dword [ebp - 4], 0x5cd8ce96
mov esi, dword [ebx]
xor dword [ebp - 0x10], 0x5ea0585e
add esi, edi
xor dword [ebp - 0x18], 0xc7846020
mov dword [edx], esi
xor dword [ebp - 0x20], 0x82dbbf9e
add edx, 0xea39793d
sub edx, 0xea397939
add ebx, 0x129445fb
add ebx, 0xed6bba09
loop 0x100170b0
add eax, 0x91cb2cc3
sub eax, 0x91c9cdd4
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0xbde9c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5cb000]
push edi
or ebp, 0xffffffff
jmp 0xbde9e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xbde9e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xbde9d8
mov eax, 1
add ebx, ebx
jne 0xbde9fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xbdea0c
jne 0xbdea2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xbdea2b
dec eax
add ebx, ebx
jne 0xbdea18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xbde9f0
add ebx, ebx
jne 0xbdea27
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xbdea7d
xor ecx, ecx
sub eax, 3
jb 0xbdea43
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xbdeab2
sar eax, 1
mov ebp, eax
jmp 0xbdea4e
add ebx, ebx
jne 0xbdea4e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xbdea1c
inc ecx
add ebx, ebx
jne 0xbdea5c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xbdea1c
add ebx, ebx
jne 0xbdea69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xbdea5e
jne 0xbdea7a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xbdea5e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xbdea9c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xbdea8e
jmp 0xbde9de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xbdea9c
add edi, ecx
jmp 0xbde9de
pop esi
mov edi, esi
mov ecx, 0x2c416
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xbdeaba
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0xbdeabf
lea edi, [esi + 0x7da000]
mov eax, dword [edi]
or eax, eax
je 0xbdeb27
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7e7990]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7e7ad0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xbdeae5
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7e7ad4]
or eax, eax
je 0xbdeb21
mov dword [ebx], eax
add ebx, 4
jmp 0xbdeb02
call dword [esi + 0x7e7adc]
mov ebp, dword [esi + 0x7e7ad8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0xbdeb5b
sub esp, 0xffffff80
jmp 0x93c940
Function at 0x6d77946d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x6d77947c
pop dword [ebp - 0x40]
mov eax, 0x727b7c37
sub eax, 0x503e7bb
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x1fea3555
sub dword [ebp - 0x50], 0xd197f00a
mov dword [ebp - 0x4c], 0x6e50f61f
add dword [ebp - 0x4c], 0xc3e25626
mov dword [ebp - 0x48], 0x8756bdc0
add dword [ebp - 0x48], 0xc4f5866e
mov dword [ebp - 0x44], 0xd2e24231
add dword [ebp - 0x44], 0x2d1dbdcf
lea eax, [ebp - 0x50]
push eax
mov eax, 0xecaad472
sub eax, 0x7f331436
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x71dbb5ea
add dword [ebp - 0x50], 0x296b36c
mov dword [ebp - 0x4c], 0x7cea66f4
sub dword [ebp - 0x4c], 0x3b7e057f
mov dword [ebp - 0x48], 0xbd5ebf52
sub dword [ebp - 0x48], 0x59ef52e6
mov dword [ebp - 0x44], 0x5c590ffb
sub dword [ebp - 0x44], 0x5c590ffb
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x99d0a061
sub eax, 0x2c58e015
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3790c
push 0
call eax
mov ecx, 0x167bdae9
add ecx, 0xe9846e74
mov edi, eax
mov esi, 0x3b372094
add esi, 0x32411f6c
add esi, dword [ebp - 0x40]
mov ebx, 0x4b2e6e0f
sub ebx, 0xee147d3f
xor dword [ebp - 0x34], 0xde04b236
mov edx, dword [esi]
sub dword [ebp - 0x2c], 0x3073a696
add edx, ebx
xor dword [ebp - 0xc], esi
mov dword [edi], edx
add dword [ebp - 0x14], 0x3efed29c
add edi, 4
add esi, 4
loop 0x6d77959e
add eax, 0x4c9dacf9
sub eax, 0x4c9c94b2
mov ebx, eax
add eax, 0x17bcbc26
add eax, 0xe84343df
mov ecx, 0x6d770000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x6d779708
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
lea ebp, [esp - 0xac]
sub esp, 0x128
mov eax, dword [0x6d781098]
xor eax, ebp
mov dword [ebp + 0xa8], eax
push esi
mov esi, dword [sym.imp.ws2_32.dll_select]
xor ecx, ecx
lea edx, [ebp - 0x7c]
push edx
push ecx
push ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], ecx
lea ecx, [ebp - 0x6c]
lea eax, [edi + 1]
push ecx
push eax
mov byte [ebp - 0x6d], 0
mov dword [ebp - 0x74], 0x10
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x6c], 1
call esi
test eax, eax
jle 0x6d7797bb
push ebx
mov ebx, dword [sym.imp.ws2_32.dll_recvfrom]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x98]
push eax
push 2
push 1
lea eax, [ebp - 0x6e]
push eax
push edi
call ebx
cmp eax, 0xffffffff
jne 0x6d7797ba
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2746
jne 0x6d7797ba
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x98]
push eax
push 0
push 1
lea eax, [ebp - 0x6e]
push eax
push edi
call ebx
lea eax, [ebp - 0x7c]
push eax
push 0
push 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [edi + 1]
push eax
mov byte [ebp - 0x6d], 1
call esi
test eax, eax
jg 0x6d779762
pop ebx
mov ecx, dword [ebp + 0xa8]
mov al, byte [ebp - 0x6d]
xor ecx, ebp
pop esi
call fcn.6d77b1da
add ebp, 0xac
leave
ret
Function at 0x407c81
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x407c90
pop dword [ebp - 0x40]
mov eax, 0x407c90
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xab47e7e2
add dword [ebp - 0x50], 0xa30a5d69
mov dword [ebp - 0x4c], 0xabec946c
sub dword [ebp - 0x4c], 0x79b94827
mov dword [ebp - 0x48], 0xeccc3382
add dword [ebp - 0x48], 0x5f8010ac
mov dword [ebp - 0x44], 0x1d17d67
sub dword [ebp - 0x44], 0x1d17d67
lea eax, [ebp - 0x50]
push eax
mov eax, 0x93198d09
sub eax, 0x92d80cb9
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xcef129ce
add dword [ebp - 0x50], 0xa5813f88
mov dword [ebp - 0x4c], 0x96e12ea8
add dword [ebp - 0x4c], 0xaa8b32cd
mov dword [ebp - 0x48], 0xead0b883
sub dword [ebp - 0x48], 0x87614c17
mov dword [ebp - 0x44], 0xeadf0152
sub dword [ebp - 0x44], 0xeadf0152
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0xa0027724
add eax, 0x603f0928
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x370f5
push 0
call eax
mov ecx, 0x36c7
mov edx, eax
mov ebx, 0x42e800
add ebx, dword [ebp - 0x40]
mov esi, 0x289f5b18
xor dword [ebp - 0x38], esi
mov edi, dword [ebx]
mov dword [ebp - 0x28], 0x7d31e27e
sub edi, esi
sub dword [ebp - 0x3c], edx
mov dword [edx], edi
add dword [ebp - 0x20], 0x84db219f
add edx, 0x5dd2b368
add edx, 0xa22d4c9c
add ebx, 0xa36dd97e
add ebx, 0x5c922686
loop 0x407d9b
add eax, 0xcdef
xor ebx, ebx
add ebx, eax
add eax, 0xf8bc97c5
add eax, 0x7436840
mov ecx, 0x9cbfb95b
add ecx, 0x638046a5
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x4088d9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x420030]
jne 0x4088e3
repz ret
jmp fcn.00410778
Function at 0x10004ac0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
push ebx
push esi
push edi
mov edi, str.SOFTWAREMicrosoftMicrosoft_ReferenceBilinguals_1.0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, edx
push 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x10], 0x104
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.10005d7f
add esp, 4
mov ebx, eax
lea ecx, [esp + 0x14]
push ebx
push 0x20019
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10004b3f
lea edx, [esp + 0x14]
push 0
push edx
push str.cannot_open_key
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
add esp, 0x10c
ret 4
mov edx, dword [ebx]
push ebp
mov ebp, dword [esp + 0x120]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ebp
push ecx
push 0
push 0x1000f218
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10004b88
mov edi, 0x1000f218
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10c
ret 4

Function at 0x10009a96
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x10009aa5
pop dword [ebp - 0x1c]
mov eax, 0x6298d3c5
add eax, 0xad67c6e0
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x369de
push 0
mov eax, 0x9c6c7db7
add eax, 0x7394432d
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0xb013b49
add ecx, 0xf4ff0a35
mov edi, eax
mov ebx, 0x10015000
add ebx, dword [ebp - 0x1c]
mov edx, 0x60609723
sub edx, 0xce3e8098
mov dword [ebp - 0x18], 0x5fe630b
mov esi, dword [ebx]
xor dword [ebp - 0x18], ebx
add esi, edx
mov dword [edi], esi
sub dword [ebp - 4], 0xd5d7f50f
add edi, 0x4ed577cd
sub edi, 0x4ed577c9
add ebx, 0x358de3d0
add ebx, 0xca721c34
loop 0x10009afe
add eax, 0x8dc6ae31
sub eax, 0x8dc5a566
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x100a380
Capabilities:
Get token membership

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100e324]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x100a3ea
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x100a3e1
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
xor ecx, ebp
pop ebx
call fcn.01008d3f
leave
ret