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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x5f8734], 0xffffff8f
mov dword [ebp - 0x10], eax
call fcn.005e0c00
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov esi, dword [eax + esi + 0x78]
mov dword [0x5f8738], 0x460
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov ebx, dword [eax + esi + 0x24]
mov dword [0x5f8734], 0x1e54
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ecx
je 0x5e12fd
jmp 0x5e1210
mov al, byte [ebp - 0x29]
test al, 1
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
jne 0x5e12c7
jmp 0x5e12a3
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add eax, ecx
mov dword [ebp - 0x38], eax
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
jmp 0x5e1228
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov bl, cl
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x52], cl
mov byte [ebp - 0x29], bl
je 0x5e11fa
mov eax, dword [ebp - 0x50]
add eax, 1
mov cl, byte [ebp - 0x51]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x52]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dl, byte [ebp - 0x52]
mov byte [ebp - 0x29], dl
mov dword [ebp - 0x4c], eax
jne 0x5e1242
jmp 0x5e11fa
mov eax, dword [ebp - 0x30]
add eax, 2
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov edx, dword [ebp - 0x18]
cmp ecx, edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
jb 0x5e1228
jmp 0x5e12f6
mov eax, dword [ebp - 0x34]
movzx eax, word [eax]
mov dword [0x5f8734], 0x1812
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x1c]
mov esi, dword [ebp - 0x1c]
add esi, dword [ecx + eax*4]
mov dword [0x5f8738], 0xaf2
mov dword [ebp - 0x28], esi
jmp 0x5e12fd
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x5e12fd
mov eax, dword [ebp - 0x28]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401434
Capabilities:
Copy file
Create shortcut via ishelllink
Delete file
Delete registry value
Enumerate files on windows
Get file attributes
Move file
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Read .ini file
Read file on windows
Set current directory
Set file attributes
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2dc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [0x42a268]
push 7
pop ecx
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
mov esi, section..ndata
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x30]
xor ebx, ebx
shl ecx, 0xb
add ecx, esi
mov edi, eax
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0x30]
shl edi, 0xb
mov dword [0x40ce54], ecx
lea ecx, [edx - 2]
add edi, esi
cmp ecx, 0x43
mov dword [ebp - 4], ebx
ja case.0x40148a.66
jmp dword [ecx*4 + 0x402c3c]
push ebx
push eax
call fcn.004056ca
jmp 0x40239d
inc dword [0x42922c]
cmp dword [ebp - 8], ebx
je 0x40239d
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x40239d
push eax
call fcn.0040136d
dec eax
push ebx
push eax
invalid

Function at 0x402ea9
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, esi
lea eax, [ebp - 4]
and esi, 0x300
push eax
mov eax, esi
and edi, 1
or al, 9
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004064d5
xor ebx, ebx
invalid

Function at 0x403371
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x40339c
mov ecx, dword [0x42a2b8]
push esi
add eax, ecx
push esi
push eax
mov dword [0x420ef4], eax
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
call fcn.00403479
cmp eax, esi
jl 0x403473
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.004061db
test eax, eax
je 0x403463
push dword [ebp + 8]
add dword [0x420ef4], 4
call fcn.00403479
mov ebx, eax
cmp ebx, esi
jl 0x403471
cmp dword [ebp + 0x10], esi
jne 0x40343f
cmp dword [ebp + 8], esi
jle 0x403471
mov esi, 0x414ef0
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x403401
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.004061db
test eax, eax
je 0x403463
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.0040620a
test eax, eax
je 0x40343b
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x420ef4], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4033f0
jmp 0x403471
push 0xfffffffffffffffe
jmp 0x403465
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x40344a
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x403468
push 0xfffffffffffffffd
pop eax
jmp 0x403473
mov ebx, dword [ebp - 4]
add dword [0x420ef4], ebx
invalid
Function at 0x4066a5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
test eax, eax
jge 0x4066c3
mov ecx, dword [0x42923c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ecx]
mov ecx, dword [0x42a298]
push ebx
push esi
push edi
lea edi, [ecx + eax*2]
mov eax, 0x428200
cmp dword [ebp + 8], eax
mov esi, eax
jb 0x4066f1
mov ecx, dword [ebp + 8]
sub ecx, eax
sar ecx, 1
cmp ecx, 0x800
jae 0x4066f1
mov esi, dword [ebp + 8]
and dword [ebp + 8], 0
mov cx, word [edi]
test cx, cx
mov dword [ebp + 0xc], ecx
je 0x4068d5
jmp 0x406705
mov ecx, dword [ebp + 0xc]
mov edx, esi
sub edx, eax
and edx, 0xfffffffe
cmp edx, 0x800
jge 0x4068d5
push 2
pop edx
add edi, edx
cmp cx, 4
jae 0x4068b3
mov cl, byte [edi + 1]
mov al, byte [edi]
mov dl, cl
mov bl, al
and edx, 0x7f
and ebx, 0x7f
shl edx, 7
movzx eax, al
or edx, ebx
mov ebx, eax
mov dword [ebp - 8], edx
mov edx, 0x8000
or ebx, edx
push 2
movzx ecx, cl
mov dword [ebp - 0x18], ebx
pop ebx
mov dword [ebp - 0xc], ecx
or ecx, edx
add edi, ebx
cmp word [ebp + 0xc], bx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
jne 0x406857
cmp dword [0x42a2e4], 0
je 0x406776
push 4
pop ebx
test al, al
jns 0x4067b5
mov ecx, eax
and eax, 0x3f
and ecx, 0x40
push ecx
mov ecx, dword [0x42a298]
push esi
lea eax, [ecx + eax*2]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
call fcn.00406536
cmp word [esi], 0
jne 0x40683e
push dword [ebp - 0xc]
push esi
call fcn.004066a5
jmp 0x406838
cmp eax, 0x25
jne 0x4067c8
push 0x400
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x406838
cmp eax, 0x24
jne 0x406834
push 0x400
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor ebx, ebx
jmp 0x406834
mov eax, dword [0x42a264]
dec ebx
test eax, eax
je 0x4067fc
push esi
push 0
push 0
push dword [ebp + ebx*4 - 0x18]
push dword [0x42a268]
call eax
test eax, eax
je 0x406838
lea eax, [ebp - 4]
push eax
push dword [ebp + ebx*4 - 0x18]
push dword [0x42a268]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x406830
push esi
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 4]
mov dword [ebp + 0xc], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp + 0xc], 0
jne 0x406838
and word [esi], 0
test ebx, ebx
jne 0x4067dd
cmp word [esi], 0
je 0x40684f
cmp dword [ebp - 0xc], 0x1a
jne 0x40684f
push str.MicrosoftInternet_ExplorerQuick_Launch
push esi
call sub.KERNEL32.dll_lstrcatW
push esi
call fcn.004068ef
jmp 0x4068a3
cmp word [ebp + 0xc], 3
jne 0x40688f
mov ebx, dword [ebp - 8]
cmp ebx, 0x1d
jne 0x406874
push dword [0x42a268]
push esi
call fcn.004065af
jmp 0x406885
invalid
Function at 0x104cbf7d
Capabilities:
Encode data using xor

Disassembly:
push ebp
out dx, eax
pop ebp
inc al
push 0x484f1d6d
stc
test bh, 2
call fcn.1031e40b
add ch, al
jle 0x104cbfaf
in eax, 0xff
popfd
xor ebp, dword [ebp + 0x18]
ja 0x104cbf89
mov al, byte [0x3cff6e8c]
aas
mov dl, 0x4f
dec ebx
mov eax, 0x9995bb76
xchg ebp, eax
cdq
cmp eax, 0x426c888c
jge 0x104cbffb
sti
je 0x104cbf7a
iretd
xor al, 0xf6
push ebp
or dword [edi], esi
aaa
cwde
std
cmp byte [edx - 0x18], dl
inc edx
jbe 0x104cbfaa
push esp
cmp eax, 0x9a8baecc
jns 0x104cbf9f
invalid
bound ebx, qword [edi + 0x43]
scasb al, byte es:[edi]
jb 0x104cbf87
cmc
push ecx
stosb byte es:[edi], al
or byte [eax*8 - 0x429fae0c], dl
mov ebx, 0x2eaf0368
dec ebx
outsd dx, dword [esi]
mov bl, byte [ebp - 0x6e]
and esi, dword [esi - 0x72]
in al, dx
or dword [0x8e445b31], edx
fbstp tbyte [edx + 0x6a]
in al, dx
imul ebx, dword [ecx], 0xffffffa7
jl 0x104cbfab
pop es
cmp al, 3
inc esp
mov al, byte [0x925b9b87]
add al, 0x4a
cmp esi, ebp
retf

Function at 0x104cc3ae
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp dh, dl
cmc
push ebp
rcr ah, 5
shld ax, si, 2
aaa
mov ebp, esp
shr al, 4
shr eax, 6
sub esp, 0x10
jmp 0x104aedc9

Function at 0x104e4162
Capabilities:
Encode data using xor

Disassembly:
pushfd
push edi
lea esp, [esp + 8]
pushfd
clc
std
push word [esp + 4]
popf
jmp 0x104e4253
lea ebx, [esp + 0x64aa202f]
mov ebx, eax
cmc
cmp byte [edi], 0x23
pushal
pushal
lea esp, [esp + 0x40]
jmp 0x104ed4a4
neg dl
clc
sub dl, 0x33
sub esp, 0xffffffd2
jb 0x104e2c9e
popf
call fcn.104e21e7
jle 0x104e414a
invalid
call fcn.104af48d
mov edx, 0x713e4b55
cmpsd dword [esi], dword es:[edi]
aam 0xef
lds ecx, [esi + 0x59589c4d]
xchg esp, eax
enter 0xffffffffffffa256, 0xffffffffffffffa1
scasd eax, dword es:[edi]
xchg ecx, eax
or eax, 0xfe313578
invalid
jmp 0x104ae8bd
Function at 0x562a467f
Capabilities:
Set environment variable

Disassembly:
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
test esi, esi
je 0x562a46f1
push 0x3d
push esi
call sym.MSVCRT20.dll__mbschr
add esp, 8
mov ebp, eax
test ebp, ebp
je 0x562a46f1
cmp ebp, esi
je 0x562a46f1
cmp byte [ebp + 1], 1
sbb eax, eax
mov ecx, dword [sym.MSVCRT20.dll__environ]
neg eax
mov dword [esp + 0x10], eax
cmp dword [sym.MSVCRT20.dll___initenv], ecx
jne 0x562a46cb
push ecx
call fcn.562a48c5
add esp, 4
mov dword [sym.MSVCRT20.dll__environ], eax
cmp dword [sym.MSVCRT20.dll__environ], 0
jne 0x562a4757
cmp dword [esp + 0x1c], 0
je 0x562a46f8
cmp dword [sym.MSVCRT20.dll__wenviron], 0
je 0x562a46f8
call fcn.562a74d9
test eax, eax
je 0x562a4757
mov eax, 0xffffffff
jmp 0x562a4701
cmp dword [esp + 0x10], 0
je 0x562a4709
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp dword [sym.MSVCRT20.dll__environ], 0
jne 0x562a4730
push 4
call sym.MSVCRT20.dll_malloc
add esp, 4
mov dword [sym.MSVCRT20.dll__environ], eax
test eax, eax
je 0x562a46f1
mov eax, dword [sym.MSVCRT20.dll__environ]
mov dword [eax], 0
cmp dword [sym.MSVCRT20.dll__wenviron], 0
jne 0x562a4757
push 4
call sym.MSVCRT20.dll_malloc
add esp, 4
mov dword [sym.MSVCRT20.dll__wenviron], eax
test eax, eax
je 0x562a46f1
mov eax, dword [sym.MSVCRT20.dll__wenviron]
mov dword [eax], 0
mov edi, dword [sym.MSVCRT20.dll__environ]
sub ebp, esi
push ebp
push esi
call fcn.562a4868
add esp, 8
mov ebx, eax
test ebx, ebx
jl 0x562a482a
cmp dword [edi], 0
je 0x562a482a
cmp dword [esp + 0x10], 0
je 0x562a47b5
lea eax, [edi + ebx*4]
cmp dword [eax], 0
je 0x562a4799
mov ecx, dword [eax + 4]
inc ebx
mov dword [eax], ecx
add eax, 4
cmp dword [eax], 0
jne 0x562a478b
lea eax, [ebx*4]
push eax
push edi
call fcn.562cae68
add esp, 8
test eax, eax
je 0x562a47b8
mov dword [sym.MSVCRT20.dll__environ], eax
jmp 0x562a47b8
mov dword [edi + ebx*4], esi
cmp dword [esp + 0x1c], 0
je 0x562a4823
mov edi, esi
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
inc ecx
push ecx
call sym.MSVCRT20.dll_malloc
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x562a4823
mov edi, esi
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [esp + 0x10], 1
sbb eax, eax
lea ecx, [ebp + ebx]
mov ebp, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov byte [ecx], 0
lea ecx, [ecx + 1]
and eax, ecx
push eax
push ebx
call ebp
push ebx
call sym.MSVCRT20.dll_free
add esp, 4
xor eax, eax
jmp 0x562a4701
cmp dword [esp + 0x10], 0
jne 0x562a4861
test ebx, ebx
jge 0x562a4837
neg ebx
lea eax, [ebx*4 + 8]
push eax
push edi
call sym.MSVCRT20.dll_realloc
add esp, 8
test eax, eax
je 0x562a46f1
lea ecx, [eax + ebx*4]
mov dword [ecx], esi
mov dword [ecx + 4], 0
jmp 0x562a47ae
xor eax, eax
jmp 0x562a4701
Function at 0x562c53a2
Capabilities:
Encode data using xor

Disassembly:
call 0x562c531b
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 0x562c534b
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 0x562c5367
xor edx, 0
jmp 0x562c5372
xor edx, edx
jmp 0x562c5389
jmp 0x562c5395
xor eax, eax
push 0x8427d7c0
call 0x562c53a2
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x562c53de
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 0x562c53b7
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 0x562c53f5
add eax, 0
jno 0x562c53fa
add esi, 0
ret 0x10

Function at 0x562c6163
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 0x562c6185
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 0x562c6327
cmp edi, dword [ebp + 0x10]
jb 0x562c6327
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.562c5c4f
inc edi
jmp 0x562c620e
jmp 0x562c621b
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.562c5c4f
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.562c5c4f
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 0x562c626f
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 0x562c6253
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.562c629d
add dword [eax], 0x39
jle 0x562c6279
sub al, 0xf5
mov ch, al
call fcn.562c62b2
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x562c7f8a
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 0x562c7fa0
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 0x562c7fb1
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.562c7ff2
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 0x562ca35e
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 0x562ca2a7
add ebx, 0
push ecx
call 0x562ca2bc
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, 0x6dc261ac
sub ebx, dword [0x6dc459eb]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6dc459db
call fcn.562c5d86
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.562c5294
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x562ca41a
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x562ca41a
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 0x562ca3d1
mov eax, 1
lock xchg dword [0x6dc459e7], eax
push 0x3dd1fc71
call 0x562ca35e
push esi
add esp, 8
cmp eax, 0
jne 0x562ca347
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x562ca36d
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x562ca382
cmp ecx, edx
cmp eax, 0
je 0x562ca3a7
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 0x562ca391
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.562ca3c0
dec eax
loope 0x562ca3c3
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6dc459e7], 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 0x562ca3f7
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x562ca40c
jmp 0x562ca417
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x562ca305
Function at 0x562d147f
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 0x562d1755
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6dc3265f
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6dc29625
push 0xffffffffffffffff
call fcn.562c867f
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 0x562d14e9
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.562d1501
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 0x562d1749
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x562d171d
Function at 0x562e0f4f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x562e0f71
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x562e0f71
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x562e0f71
ret
cmp word [ebx + 4], 0x14c
jne 0x562e0f71
test word [ebx + 0x16], 2
je 0x562e0f71
test word [ebx + 0x16], 0x100
je 0x562e0f71
cmp word [ebx + 0x18], 0x10b
jne 0x562e0f71
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x562e0f71
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x562e0ffd
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x562e0f91
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.562c7edc
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x562e0f71
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x562e0ffd
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x562e0f71
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x562e0f71
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x562e0f71
ret
cmp word [ebx + 4], 0x14c
jne 0x562e0f71
test word [ebx + 0x16], 2
je 0x562e0f71
test word [ebx + 0x16], 0x100
je 0x562e0f71
cmp word [ebx + 0x18], 0x10b
jne 0x562e0f71
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x562e0f71
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x562e0ffd
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x562e0f91
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.562c7edc
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x562e0f71
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x562e10b4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x562e110d
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x562e10b4
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x562e10c3
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x566e6d66
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x562e1114
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.562c7f8a
cmp eax, dword [ebp + 0xc]
pop eax
je 0x562e11b3
add edi, 4
add eax, 2
dec ecx
jne 0x562e10f9
call 0x562e1160
loope 0x562e1156
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x562e11b0
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x562e11c1
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x562e1174
cmp eax, ecx
ja 0x562e1174
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x562e11fe
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x562e11f4
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.562c8469
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]