joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412281
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x428970]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4122c7
cmp word [ebx], dx
jne 0x4122c7
or byte [eax + edi + 0x28], 4
jmp 0x4122cc
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x41242f
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x41240f
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x41230d
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x412343
cmp eax, edx
jae 0x412351
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x4122e8
jmp 0x41242f
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41240a
cmp dword [ebp - 0x18], 0
je 0x41240a
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x428970]
test byte [eax + edi + 0x28], 0x48
je 0x4123e0
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x4123a4
mov word [esi], cx
jmp 0x4123db
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x428970]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x428970]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x428970]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x41242f
pop eax
cmp word [ebp - 4], ax
jne 0x4123f0
cmp esi, ebx
jne 0x4123f0
mov word [esi], ax
jmp 0x41242c
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00412cba
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x41242f
push 0xd
pop eax
jmp 0x4123eb
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x428970]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x412429
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x41242f
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x416096
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 0x416133
push ebx
push esi
call fcn.0041605f
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.00414d90
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4160e0
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x416132
push edi
push eax
call fcn.00412e9b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x416100
call fcn.0040ebe2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x416131
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00414d90
add esp, 0x20
test eax, eax
jne 0x41611f
push edi
call fcn.0040ebe2
jmp 0x416127
push ebx
call fcn.0040ebe2
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 0x418760
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0040fb31
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 0x4187cf
cmp esi, dword [ebp - 4]
je 0x4187ca
cmp dword [ebp + 0xc], 0
je 0x4187ca
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4187a7
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.004182b2
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x4187d1
xor eax, eax
inc eax
jmp 0x4187d1
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x418836
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x427040]
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.0040fb31
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.0040fb31
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 0x4188ad
cmp word [ecx], dx
je 0x4188ad
mov eax, dword [0x42098c]
push edi
dec eax
push eax
push 0x420878
call fcn.004187d5
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x418920
cmp word [eax], dx
je 0x418920
mov eax, dword [edi]
test eax, eax
je 0x4188d1
cmp word [eax], dx
je 0x4188d1
lea eax, [ebp - 0x10]
push eax
call fcn.004181b8
jmp 0x4188da
lea eax, [ebp - 0x10]
push eax
call fcn.00418253
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x41894a
mov eax, dword [0x420874]
push dword [ebp - 0x14]
dec eax
push eax
push 0x420568
call fcn.004187d5
add esp, 0xc
test al, al
je 0x41894a
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x418915
cmp word [eax], di
je 0x418915
lea eax, [ebp - 0x10]
push eax
call fcn.004181b8
pop ecx
jmp 0x41894c
lea eax, [ebp - 0x10]
push eax
call fcn.00418253
jmp 0x418912
mov eax, dword [edi]
test eax, eax
je 0x418937
cmp word [eax], dx
je 0x418937
lea eax, [ebp - 0x10]
push eax
call fcn.0041816d
pop ecx
jmp 0x41894a
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 0x418a15
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0041865a
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x418a15
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x418a15
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x418a15
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4189a2
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.004104b0
test ebx, ebx
je 0x418a10
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.004104b0
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x418a15
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 0x418a15
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0041a6e6
add esp, 0x10
xor eax, eax
inc eax
jmp 0x418a17
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004048d2
leave
ret
Function at 0x41c320
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41c34d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41c34d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x77206756
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x77208004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, edx
test edi, edi
je 0x772067b9
push ecx
push ecx
push ecx
mov edx, 0x400
lea ecx, [ebp - 0x404]
call fcn.772064bf
push 0x772015c4
mov edx, 0x400
lea ecx, [ebp - 0x404]
call fcn.77206431
push edi
mov edx, 0x400
lea ecx, [ebp - 0x404]
call fcn.77206431
lea ecx, [ebp - 0x404]
xor edi, edi
lea eax, [ebp - 0x40c]
push edi
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push ecx
push 0x80000000
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExA]
test eax, eax
jne 0x77206833
mov eax, edi
mov dword [ebp - 0x408], eax
test esi, esi
je 0x77206805
lea eax, [ebp - 0x408]
mov edx, 0x7fffffff
push eax
mov ecx, esi
call fcn.7720647f
mov ecx, eax
mov eax, dword [ebp - 0x408]
jmp 0x7720680a
mov ecx, 0x80070057
test ecx, ecx
jns 0x77206810
mov eax, edi
inc eax
push eax
push esi
push 1
push edi
push ebx
push dword [ebp - 0x40c]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExA]
push dword [ebp - 0x40c]
mov esi, eax
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.77207240
leave
ret 8

Function at 0x77206844
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x77208004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x108]
mov edi, edx
push eax
push 0xf003f
push 0
mov esi, ecx
push edi
push esi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExA]
test eax, eax
jne 0x772068be
jmp 0x7720688c
mov ecx, dword [ebp - 0x108]
lea edx, [ebp - 0x104]
call fcn.77211950
push 0x100
lea eax, [ebp - 0x104]
push eax
push 0
push dword [ebp - 0x108]
call dword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegEnumKeyA]
test eax, eax
je 0x7720687b
push dword [ebp - 0x108]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
push edi
push esi
call dword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegDeleteKeyA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.77207240
leave
ret

Function at 0x772073a0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x772073de
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x772073d6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x772073e0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x772073c6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
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 0x77210e50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push eax
push ebx
push edx
add esp, 0xfffffffc
mov dword [esp], ecx
push edi
push esi
mov ebx, 0x738c6033
sub ebx, dword [0x738e5114]
push eax
mov eax, ebp
add eax, 0xfffffff8
mov dword [eax], ebx
pop eax
xchg esi, eax
push 0x738e5104
call fcn.7720cd1f
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.7720c3f3
and edi, 0
sub edi, eax
dec edi
not edi
mov eax, dword [esi + 8]
xor eax, edi
cmp edx, eax
jb 0x7721107d
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x7721107d
mov ecx, dword [esi + 0x10]
xor ecx, edi
push esi
sub esp, 4
mov dword [esp], 0x47788fcc
xor dword [esp], 0x47788fd8
add esi, dword [esp]
lea esp, [esp + 4]
mov edx, dword [esi]
pop esi
jmp 0x77210ee0
xor edx, edi
shl edx, 2
mov dword [esp - 0x1b], eax
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x77210faa
or eax, 0xffffffff
and eax, 1
lock xchg dword [0x738e5110], eax
cmp eax, 0
jne 0x77210ef9
sub esp, 4
jmp 0x77210f20
push 0xcc96c45a
xor dword [esp], 0xa770a49
xor dword [esp], 0xc6e1ce13
sub ebx, dword [esp]
lea esp, [esp + 4]
mov dword [esp], edx
xchg eax, edi
mov edi, eax
sub dword [esp - 0xd], edx
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x77210f41
pop edx
mov eax, dword [esi + 0x14]
push 0xc070b981
call 0x77210f69
adc al, 0xbd
mov dl, 3
cmp byte [ecx - 0x7c53a002], 0xc4
or byte [ecx], dh
clc
cmp eax, 0
je 0x77210f93
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 0x77210f7d
or eax, 0xffffffff
and eax, 1
xor eax, edi
mov dword [esi], eax
mov dword [0x738e5110], 0
add edx, esi
sub esp, 0x15
mov dword [esp + 0x11], edx
add esp, 0x11
pop dword [ebp + 4]
mov esi, dword [esp]
add esp, 4
push esi
inc esi
mov esi, esp
sub ecx, 0
jne 0x77210fce
xor eax, 0
push esi
add esi, 4
mov edi, dword [esi]
pop esi
mov esi, dword [esi]
add esp, 8
les ecx, [eax]
pop ecx
xor edx, 0x382ffd5e
shr edx, 7
push 0x55e95355
call 0x77210fff
push 0x5b
clc
sal dword [esi], 1
aaa
movsb byte es:[edi], byte [esi]
or eax, 0x910d3c2
push cs
das
cmp al, 0xc5
sbb al, byte [ebx - 0x153ef73c]
sbb dword [eax - 9], edx
fmul dword [ebx + 0x45033c4]
push ebp
call 0x7721101e
aam 0x7d
jb 0x77210fda
inc eax
jns 0x77210fd8
pop ds
insb byte es:[edi], dx
xor eax, 0x8c483ca
push ebx
lea ebx, [edx + edi*8 + 0x655820ed]
mov ebx, esp
sub dword [ebx - 0x47], esi
pop ebx
mov eax, dword [eax]
push ecx
or ecx, 0xffffffff
not ecx
add ecx, esp
lea ecx, [ecx - 0x59]
sub ecx, 0
mov ecx, dword [ecx + 0x12]
mov ecx, esp
xor dword [ecx - 0x5e], esi
pop ecx
push 0xf6d95007
call fcn.77211062
xor al, 0x5d
shl byte [ebx - 0xe1a660], cl
int3
mov eax, dword [esi + 4]
jmp 0x7721108c
push edx
inc edx
mov edx, esp
and dword [edx - 0x3c], esi
pop edx
xor eax, edi
add esi, eax
jmp 0x77210e95
Function at 0x77210f69
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push eax
push ebx
push edx
add esp, 0xfffffffc
mov dword [esp], ecx
push edi
push esi
mov ebx, 0x738c6033
sub ebx, dword [0x738e5114]
push eax
mov eax, ebp
add eax, 0xfffffff8
mov dword [eax], ebx
pop eax
xchg esi, eax
push 0x738e5104
call fcn.7720cd1f
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.7720c3f3
and edi, 0
sub edi, eax
dec edi
not edi
mov eax, dword [esi + 8]
xor eax, edi
cmp edx, eax
jb 0x7721107d
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x7721107d
mov ecx, dword [esi + 0x10]
xor ecx, edi
push esi
sub esp, 4
mov dword [esp], 0x47788fcc
xor dword [esp], 0x47788fd8
add esi, dword [esp]
lea esp, [esp + 4]
mov edx, dword [esi]
pop esi
jmp 0x77210ee0
xor edx, edi
shl edx, 2
mov dword [esp - 0x1b], eax
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x77210faa
or eax, 0xffffffff
and eax, 1
lock xchg dword [0x738e5110], eax
cmp eax, 0
jne 0x77210ef9
sub esp, 4
jmp 0x77210f20
push 0xcc96c45a
xor dword [esp], 0xa770a49
xor dword [esp], 0xc6e1ce13
sub ebx, dword [esp]
lea esp, [esp + 4]
mov dword [esp], edx
xchg eax, edi
mov edi, eax
sub dword [esp - 0xd], edx
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x77210f41
pop edx
mov eax, dword [esi + 0x14]
push 0xc070b981
call 0x77210f69
adc al, 0xbd
mov dl, 3
cmp byte [ecx - 0x7c53a002], 0xc4
or byte [ecx], dh
clc
cmp eax, 0
je 0x77210f93
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 0x77210f7d
or eax, 0xffffffff
and eax, 1
xor eax, edi
mov dword [esi], eax
mov dword [0x738e5110], 0
add edx, esi
sub esp, 0x15
mov dword [esp + 0x11], edx
add esp, 0x11
pop dword [ebp + 4]
mov esi, dword [esp]
add esp, 4
push esi
inc esi
mov esi, esp
sub ecx, 0
jne 0x77210fce
xor eax, 0
push esi
add esi, 4
mov edi, dword [esi]
pop esi
mov esi, dword [esi]
add esp, 8
les ecx, [eax]
pop ecx
xor edx, 0x382ffd5e
shr edx, 7
push 0x55e95355
call 0x77210fff
push 0x5b
clc
sal dword [esi], 1
aaa
movsb byte es:[edi], byte [esi]
or eax, 0x910d3c2
push cs
das
cmp al, 0xc5
sbb al, byte [ebx - 0x153ef73c]
sbb dword [eax - 9], edx
fmul dword [ebx + 0x45033c4]
push ebp
call 0x7721101e
aam 0x7d
jb 0x77210fda
inc eax
jns 0x77210fd8
pop ds
insb byte es:[edi], dx
xor eax, 0x8c483ca
push ebx
lea ebx, [edx + edi*8 + 0x655820ed]
mov ebx, esp
sub dword [ebx - 0x47], esi
pop ebx
mov eax, dword [eax]
push ecx
or ecx, 0xffffffff
not ecx
add ecx, esp
lea ecx, [ecx - 0x59]
sub ecx, 0
mov ecx, dword [ecx + 0x12]
mov ecx, esp
xor dword [ecx - 0x5e], esi
pop ecx
push 0xf6d95007
call fcn.77211062
xor al, 0x5d
shl byte [ebx - 0xe1a660], cl
int3
mov eax, dword [esi + 4]
jmp 0x7721108c
push edx
inc edx
mov edx, esp
and dword [edx - 0x3c], esi
pop edx
xor eax, edi
add esi, eax
jmp 0x77210e95
Function at 0x77218002
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x49
mov dword [esp + 0x45], ebp
add esp, 0x45
mov ebp, esp
push 0xfee18332
xor dword [esp], 0xef2a0a40
mov dword [esp], ebx
sub esp, 4
jmp 0x77217fe4
call 0x77217feb
and dh, byte [ebx + 0x12e8]
add byte [eax - 0x17], dh
outsb dx, byte [esi]
setl byte [ebp + 0x21882b7a]
inc esi
pop es
xor al, 0x5d
shl byte [ebx - 0x3b7ca660], cl
or byte [edi + 0xc8b240c], al
and al, 0x52
push 0xf150
push 0x801e
and dword [esp], edi
jbe 0x7721801b
cmp edx, eax
or dword [esp], edi
push 0xffffffffffffffff
push edx
mov edx, esp
push edi
add edi, eax
mov edi, esp
or dword [edi - 0x3b], esi
pop edi
jb 0x77218034
xor eax, 0
and dword [edx + 4], esi
pop edx
or edi, 0xffffffff
not edi
sub edi, dword [ebp + 8]
dec edi
not edi
jmp 0x7721804d
push ecx
and ecx, edx
mov ecx, esp
cmp dword [ecx - 0x1c], eax
pop ecx
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1c], eax
pop esi
call fcn.77218081
lodsd eax, dword [esi]
loop 0x772180e7
xor byte [ecx + 0x655ccf2e], ch
cmp ch, bl
dec eax
loope 0x77218085
invalid
add byte [0x83606392], bl
les ecx, [eax]
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x77218114
push ebp
push 0xffffffffffffffff
push 0x738d1d68
sub esp, 4
mov dword [esp], 0x738c910f
push 0xffffffffffffffff
call fcn.7720f457
mov edx, dword [ecx + 0x18]
cmp edx, 0
je 0x772180f0
mov ebx, edx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
jmp 0x772180d0
cmp ebx, 0
je 0x772180f0
lea edi, [edi]
sub edi, 0
cmp edi, edx
lea ebx, [ebx + edx]
mov esi, dword [ebx + 0xc]
lea esi, [esi + edx]
push esi
call fcn.7720ec59
call fcn.7720f4ce
cmp eax, edi
jne 0x77218063
push ecx
not ecx
mov ecx, esp
mov dword [ecx - 0x6a], edi
pop ecx
add esp, 4
mov eax, ecx
pop esi
pop edi
pop edx
pop ecx
pop ebx
leave
ret 4
xor ecx, ecx
jmp 0x77218109
Function at 0x7721b3ac
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d
mov dword [esp + 0x19], edi
add esp, 0x19
push esi
push 0
je 0x7721b3c4
add edx, 0
add dword [esp], ecx
push edx
push ebx
pop ebx
sub edx, edx
je 0x7721b3da
dec esp
xchg ebp, eax
stosb byte es:[edi], al
wait
cmp byte [ecx], dl
jbe 0x7721b44d
in al, 0x4d
add dl, byte [ebx]
or edx, 0xffffffff
push ecx
call 0x7721b3f8
dec esi
outsd dx, dword [esi]
jl 0x7721b3ef
pop edx
mov ebp, dword [eax - 0x7f]
adc al, 0xbd
adc al, 0xbd
mov dl, 3
cmp byte [ecx - 0x74a6a002], 0xcc
and edx, dword [ecx + 4]
sub esp, 4
mov dword [esp], 0x760b497b
xor dword [esp], 0x760b497b
add edi, dword [esp]
lea esp, [esp + 4]
test edx, esi
mov ecx, dword [ecx]
js 0x7721b41f
sub esi, 0
add esp, 8
pop ecx
pop esi
pop edi
mov esp, ebp
lea esp, [esp - 0x40]
xchg dword [esp + 0x40], ebp
mov dword [esp + 0x40], ebp
lea esp, [esp + 0x44]
push 0xffffffffffffffc8
call 0x7721b448
popal
xchg byte [edi + 0x74], al
popfd
adc ah, bl
loopne 0x7721b3e0
pop esi
add esp, 8
jmp 0x7721b454
push ebp
push 0x5b
clc
sal dword [esi], 1
aaa
ret 0xc

Function at 0x7721ce24
Capabilities:
Encode data using xor

Disassembly:
push 0
push ecx
mov ecx, esp
call 0x7721cd48
int 0x82
call 0x7721cd52
xchg ebx, eax
ror cl, 1
into
out dx, eax
add esp, 8
or dword [ecx + 4], ebp
pop ecx
mov ebp, esp
push edi
push esi
push ebx
push ecx
lea esp, [esp - 4]
mov dword [esp], edx
mov edi, dword [ebp + 8]
mov edi, dword [edi]
lea edi, [edi + 0xc00]
mov esi, 0x738e2f10
xor ecx, ecx
jne 0x776229f3
not ecx
and ecx, 0xfa
mov dword [edi], esi
js 0x7721cd90
add edi, 0
jns 0x7721cd95
sub edx, 0
add edi, 4
inc esi
push esi
call fcn.7720c618
or dword [esp - 0x6d], esi
jb 0x7721cdab
sub eax, 0
cmp al, 0xff
jne 0x7721cd98
inc esi
dec ecx
jne 0x7721cd86
mov edi, dword [ebp + 8]
mov edi, dword [edi]
lea edi, [edi]
mov esi, 0x738e343c
push 0x300
lea eax, [esi]
push 0x40
push 0xec7b
push ecx
mov ecx, esp
jne 0x7721cde1
sub edx, 0
jmp 0x7721cdfa
and dword [ecx + 4], eax
or dword [ecx + 4], eax
pop ecx
call fcn.7720cd1f
mov eax, eax
and eax, 0x3ff
xchg ecx, esi
and esi, 0
add esi, 9
xor dword [esp - 0x5e], ebx
push 0x45
call 0x7721ce24
lcall 0x9f1, 0x8708c483
pop esp
and al, 0xd3
cmp eax, 3
je 0x7721ce4d
mov ecx, 0x49
xor dword [esp - 0x3d], esi
cmp eax, 4
je 0x7721ce4d
mov ecx, 1
mov dword [edi], esi
add edi, 4
push esi
call fcn.7721d033
mov edx, 4
xor dword [esp - 0x12], edx
mul edx
add esi, eax
dec ecx
jne 0x7721ce52
mov dword [esp - 0x3f], esi
dec dword [esp]
jne 0x7721cdcc
add esp, 4
xor edx, edx
jne 0x77622af9
sub edx, edx
or edx, dword [esp]
add esp, 4
pop ecx
pop ebx
pop esi
xchg dword [esp], edi
mov dword [esp], edi
lea esp, [esp + 4]
leave
ret 4
Function at 0x7721e94f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp - 0x52]
xchg dword [esp + 0x4e], ebp
mov ebp, dword [esp + 0x4e]
lea esp, [esp + 0x4e]
mov ebp, esp
add dword [esp - 0x18], esi
sub esp, 8
push edi
push esi
push edx
push ecx
push ebx
push ebp
push 0xffffffffffffffff
push 0x738d9056
lea esp, [esp - 4]
mov dword [esp], 0x738c910f
push 0xffffffffffffffff
call fcn.7720f457
mov esi, dword [ebp + 8]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
Function at 0x7721ed63
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 8
and al, 3
push 0x30254a91
call 0x7721ed63
div bh
int 0x82
add esp, 8
and eax, 3
push eax
call fcn.7721e91a
ja 0x7721ed77
sub edi, 0
add dword [esp - 0x37], edi
test dword [edx + 0x68], eax
je 0x7721ee03
test dword [edx + 0x70], 0x100
jne 0x7721edb6
mov al, byte [esi + 1]
and dword [esp - 0x35], esi
jmp 0x7721ed9f
shr al, 3
and al, 7
and eax, 7
push eax
call fcn.7721e91a
test dword [edx + 0x70], eax
je 0x7721ee03
test dword [edx + 0x6c], 0x100
jne 0x7721ede2
add dword [esp - 0x18], edx
mov al, byte [esi + 1]
and al, 7
and eax, 7
push eax
call fcn.7721e91a
and dword [esp - 0x1b], ecx
test dword [edx + 0x6c], eax
je 0x7721ee03
Function at 0x7721ef0a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call 0x7721ef17
and eax, 0xa108abfa
mov byte [edi + 0x8c483b4], 0xc0
call 0xfc246223
fdiv dword [eax + 6]