joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1096080b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pushfd
pushfd
jmp 0x107232e4
pushfd
add ecx, edx
cmp ah, 0xc6
mov dword [ebp - 0x10], ecx
mov byte [esp], dl
clc
stc
rol cx, 0xd
mov ecx, dword [ebp + 0xc]
call fcn.109b5b0c
lea esp, [esp + 0xc]
je 0x109bf5e2
bsr si, bp
mov esi, dword [eax + 0x3c]
and dh, 0x5b
bsf dx, bx
btc dx, 0xe
add esi, eax
dec dh
rcl dh, cl
mov edx, dword [esi + 0x78]
push 0xd2ca2078
test edx, edx
pushfd
lea esp, [esp + 8]
je 0x109bf5e2
cmc
inc cl
add edx, eax
rcr cl, cl
sal cx, 9
shl cx, 0xc
neg cx
mov ecx, dword [esi + 0x7c]
jmp 0x1055998e
push edx
cmp eax, 0x47d3e31e
test bl, 0xe4
mov word [esp], 0xcc2d
test eax, eax
jmp 0x1055746b
test ch, 0x8b
sar ax, 0xf
push ebp
inc al
mov ebp, esp
cmp esp, edx
sal ah, cl
cwde
shr ax, 9
sub esp, 0x10
btr ax, 0xf
movzx ax, bl
push esi
ror al, cl
pushal
bts ax, si
mov dword [esp + 0x1c], edi
movzx ax, bl
mov dword [esp + 0x18], ebx
cmc
mov dword [esp + 0x14], edx
sub ah, bl
pushal
bsr ax, cx
sal ax, cl
mov eax, dword [ebp + 8]
bt ebx, edi
stc
sub esp, 0xffffffcc
je 0x1095fcad
test eax, eax
pushfd
call fcn.10961803
int1
popal
out 0x88, al
in al, dx
mov edi, 0x4e46534b
push eax
insb byte es:[edi], dx
jg 0x109608cf
push ebp
or al, 0x26
push ds
and byte [ebp - 0x37], bl
mov esp, 0xf77886f0
inc eax
salc
mov al, 0xfa
add dword [edi], edi
invalid
insb byte es:[edi], dx
mov eax, dword [edi]
jo 0x109608d5
mov bl, 0x16
and esp, dword [edx - 0x1bb8ca21]
xchg esp, eax
sbb edi, dword [esi - 0x11]
fbstp tbyte [0x1b94e447]
jle 0x1096088f
cli
pop esp
pop ss
das
shl dword [ebx - 0xc9b3bbc], 1
js 0x10960901
arpl bx, bx
lcall 0xa5, 0x61a6042a
jns 0x109608d1
sbb dword [eax + 0x2b7d7a38], edx
and al, 0x46
nop
cmp byte [edx + 0x7d], bh
sub esp, dword [esi + eax*2]
mov ebp, 0xa6ec0434
push esp
sub dword [eax + 0x13ed5ab0], 0x57
call 0xd80b2ee2
jne 0x10960898
cmpsb byte fs:[esi], byte es:[edi]
mov ah, byte [ebp - 0x49fd57d2]
xor al, 0xe4
ja 0x109608b7
test al, 2
mov dh, 0x34
in al, 0x77
fisub dword [edi - 3]
std
fldenv [edi + 4]
push ebx
lds ebp, [esi + 0x13]
in eax, 0x95
push ds
sub dword [ebp + 0xf082464], ecx
invalid
and al, 0x24
jmp fcn.109c2fa7

Function at 0x109c043c
Capabilities:
Encrypt data using speck

Disassembly:
push ebx
bswap ax
movsx ax, al
pushfd
mov word [esp], 0xc6bb
lea eax, [0x10555e4f]
pushfd
call fcn.10555dd4
cwde
cwde
mov eax, esi
call fcn.1096208a
lea esp, [esp + 0x2c]
ja 0x105586ad
clc
neg al
test cx, sp
sub ebx, edi
movzx di, dl
adc al, 0xc8
add ebx, esp
sbb al, ah
sbb di, bx
sub di, dx
or al, ch
mov edi, ebx
sbb al, dh
mov al, 0x2e
cmc
test sp, cx
repne scasb al, byte es:[edi]
push edi
pushal
lea esp, [esp + 0x24]
jne 0x109bf8cb
not ax
lea eax, [ecx*8 - 0x46767b3c]
mov byte [edi - 1], 0
movsx ax, bl
bswap ax
mov ah, 0xdb
jmp 0x1095e7d0
Function at 0x40b3e0
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40b388
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40b3a6
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov dword [ecx + eax], 0x948b0000
invalid
or byte [ecx], al
add byte [eax], al
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x40b404
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40b3eb
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40b3f4
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40b3fe
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe fcn.0040b3e0
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40b36a
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x40b451
dec eax
je 0x40b448
sub eax, 3
je 0x40b43f
mov dword [ebp - 4], 0x40
jmp 0x40b46e
mov dword [ebp - 4], 4
jmp 0x40b454
mov dword [ebp - 4], 0x20
jmp 0x40b454
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x40b4a0
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x40b420
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0040acb1
xor al, 0xeb
dec eax
xchg edi, eax
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x40b4ac

Function at 0x40b520
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [ecx + 0x56fffffc], edi
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.0040acc1
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040ac76
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
dec dword [edx]
Function at 0x42f93e
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0x3c
mov eax, 0x44c54f
call fcn.00438dfc
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.0042fabf
pop ecx
pop ecx
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x42f89e
lea eax, [ebp - 0x2c]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
mov bl, 1
test eax, eax
je 0x42f8c5
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401770
mov al, bl
call fcn.00438e7f
ret
lea eax, [ebp - 0x48]
push esi
push eax
call fcn.0042f4b9
pop ecx
pop ecx
mov byte [ebp - 4], 1
xor esi, esi
cmp dword [ebp - 0x38], esi
je 0x42f8ec
lea eax, [ebp - 0x48]
push eax
call 0x42f873
mov bl, al
pop ecx
test bl, bl
je 0x42f92a
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x42f8f8
lea eax, [ebp - 0x2c]
push eax
call edi
test eax, eax
jne 0x42f92a
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x42f90b
lea eax, [ebp - 0x2c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test bl, bl
jne 0x42f92a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete bl
mov byte [ebp - 4], 0
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.00401770
jmp 0x42f8ad
push ebp
mov ebp, esp
pop ebp
jmp 0x42f873

Function at 0x43268b
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0x450
mov eax, 0x44d133
call fcn.00438dfc
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x410
lea eax, [ebp - 0x420]
push ebx
push eax
mov byte [ebp - 0x459], bl
call fcn.004372a0
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
mov esi, 0x208
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4327d4
push esi
lea eax, [ebp - 0x420]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x43c]
call fcn.00401420
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x458]
push eax
call fcn.0042fa03
pop ecx
pop ecx
mov byte [ebp - 4], 2
push ebx
push 1
lea ecx, [ebp - 0x43c]
call fcn.004018c0
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4327aa
cmp byte [ebp + 0xc], bl
je 0x4327aa
mov dword [ebp - 0x428], 0xf
mov dword [ebp - 0x42c], ebx
mov byte [ebp - 0x43c], bl
mov byte [ebp - 4], 3
lea eax, [ebp - 0x420]
push eax
call fcn.00438e9d
inc eax
pop ecx
add eax, eax
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x43c]
call fcn.00401ba0
lea eax, [ebp - 0x43c]
push eax
call fcn.004330b2
pop ecx
test al, al
je 0x432796
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x458]
push eax
mov ecx, edi
call fcn.004015f0
mov byte [ebp - 0x459], 1
mov byte [ebp - 4], 2
push ebx
push 1
lea ecx, [ebp - 0x43c]
call fcn.00401770
jmp 0x4327c2
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x458]
push eax
mov ecx, edi
call fcn.004015f0
mov byte [ebp - 0x459], 1
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x458]
call fcn.00401770
mov al, byte [ebp - 0x459]
call fcn.00438e7f
ret
Function at 0x4013ae
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x424050]
jne 0x4013b8
repz ret
jmp fcn.00404172

Function at 0x40e32f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404f1b
and dword [ebp - 4], 0
cmp dword [0x425fa8], 0
mov ebx, eax
jne 0x40e3e0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40e491
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40e491
push eax
call fcn.00404ea9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x425fa8], eax
call esi
push eax
call fcn.00404ea9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x425fac], eax
call esi
push eax
call fcn.00404ea9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x425fb0], eax
call esi
push eax
call fcn.00404ea9
pop ecx
mov dword [0x425fb8], eax
test eax, eax
je 0x40e3e0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404ea9
pop ecx
mov dword [0x425fb4], eax
mov eax, dword [0x425fb4]
cmp eax, ebx
je 0x40e438
cmp dword [0x425fb8], ebx
je 0x40e438
push eax
call fcn.00404f24
push dword [0x425fb8]
mov esi, eax
call fcn.00404f24
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40e438
test edi, edi
je 0x40e438
call esi
test eax, eax
je 0x40e42f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40e42f
test byte [ebp - 0xc], 1
jne 0x40e438
or dword [ebp + 0x10], 0x200000
jmp 0x40e471
mov eax, dword [0x425fac]
cmp eax, ebx
je 0x40e471
push eax
call fcn.00404f24
pop ecx
test eax, eax
je 0x40e471
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40e471
mov eax, dword [0x425fb0]
cmp eax, ebx
je 0x40e471
push eax
call fcn.00404f24
pop ecx
test eax, eax
je 0x40e471
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x425fa8]
call fcn.00404f24
pop ecx
test eax, eax
je 0x40e491
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40e493
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x418640
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
je 0x418758
cmp dword [ebp + 0xc], 0x208
jb 0x418758
movzx eax, word [0x4260c0]
test eax, eax
je 0x41867e
push 0x4260c0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401ba9
add esp, 8
jmp 0x418758
mov dword [ebp - 4], 0x80000001
lea edx, [ebp - 4]
push edx
push 0x20019
push 0
mov eax, dword [str.SOFTWAREElcomSoftCommon_Files]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4186e8
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [0x4255c4]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4186e8
cmp dword [ebp - 8], 1
jne 0x4186e8
mov edx, dword [ebp + 8]
push edx
push 0x4260c0
call fcn.00401ba9
add esp, 8
mov eax, dword [ebp + 8]
jmp 0x41875b
mov dword [ebp - 4], 0x80000002
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
mov ecx, dword [str.SOFTWAREElcomSoftCommon_Files]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x418758
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [0x4255c4]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41873e
cmp dword [ebp - 0x10], 1
je 0x418747
mov dword [ebp + 8], 0
jmp 0x418758
mov eax, dword [ebp + 8]
push eax
push 0x4260c0
call fcn.00401ba9
add esp, 8
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x413290
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x41a2d0
call fcn.00413de0
push 1
call fcn.00412a85
pop ecx
test al, al
je 0x41326e
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00412a53
mov byte [ebp - 0x24], al
mov eax, dword [0x41d508]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x41326e
test eax, eax
jne 0x41318c
mov dword [0x41d508], ecx
push 0x4163f4
push 0x4163e4
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x41316f
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x41325e
push 0x4163e0
push 0x4163c8
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x41d508], 2
jmp 0x413191
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.00412bd9
pop ecx
call fcn.00413f3e
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x4131c2
push esi
call fcn.00412b45
pop ecx
test al, al
je 0x4131c2
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x4163c4]
call esi
call fcn.00413f44
mov esi, eax
cmp dword [esi], edi
je 0x4131e0
push esi
call fcn.00412b45
pop ecx
test al, al
je 0x4131e0
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_wide_environment
mov edi, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv
mov esi, dword [eax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
push edi
push esi
push dword [eax]
call main
add esp, 0xc
mov esi, eax
call fcn.00413d23
test al, al
je 0x413275
test bl, bl
jne 0x413213
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push 0
push 1
call fcn.00412bf6
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x41325e
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.00413bf7
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
push dword [ebp - 0x20]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
int3
call fcn.004b7000
jmp 0x413102
Function at 0x772074b0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x772074e1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x772074e1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x772074e1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x7720c2f5
Capabilities:
Encode data using xor

Disassembly:
call 0x7720c26e
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x7720c29e
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x7720c2ba
xor edx, 0
jmp 0x7720c2c5
xor edx, edx
jmp 0x7720c2dc
jmp 0x7720c2e8
xor eax, eax
push 0x8427d7c0
call 0x7720c2f5
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x7720c331
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x7720c30a
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x7720c348
add eax, 0
jno 0x7720c34d
add esi, 0
ret 0x10
Function at 0x7720d0b6
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x7720d0d8
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x7720d27a
cmp edi, dword [ebp + 0x10]
jb 0x7720d27a
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.7720cba2
inc edi
jmp 0x7720d161
jmp 0x7720d16e
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.7720cba2
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.7720cba2
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x7720d1c2
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x7720d1a6
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.7720d1f0
add dword [eax], 0x39
jle 0x7720d1cc
sub al, 0xf5
mov ch, al
call fcn.7720d205
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x7720eedd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x7720eef3
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x7720ef04
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.7720ef45
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x772112b1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x772111fa
add ebx, 0
push ecx
call 0x7721120f
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x72e46285
sub ebx, dword [0x72e65ac4]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x72e65ab4
call fcn.7720ccd9
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.7720c1e7
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x7721136d
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x7721136d
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x77211324
mov eax, 1
lock xchg dword [0x72e65ac0], eax
push 0x3dd1fc71
call 0x772112b1
push esi
add esp, 8
cmp eax, 0
jne 0x7721129a
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x772112c0
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x772112d5
cmp ecx, edx
cmp eax, 0
je 0x772112fa
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x772112e4
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.77211313
dec eax
loope 0x77211316
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x72e65ac0], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x7721134a
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x7721135f
jmp 0x7721136a
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x77211258
Function at 0x772183d2
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x772186a8
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x72e52738
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x72e496fe
push 0xffffffffffffffff
call fcn.7720f5d2
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x7721843c
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.77218454
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x7721869c
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x77218670