joyce8/EMBER2024-capa huggingface dataset:
Function at 0x63c0f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [edi], 0
cmp dword [0x6d3468], 0
je 0x63c147
mov eax, dword [0x6e87d0]
test eax, eax
je 0x63c120
push eax
call dword [0x6d34bc]
add esp, 4
lea edx, [ebp - 4]
mov ecx, 0x14
call fcn.0063e9b0
mov eax, dword [0x6e87d0]
test eax, eax
je 0x63c142
push eax
call dword [0x6d34c4]
mov esi, dword [ebp - 4]
jmp 0x63c151
mov esi, dword [ebp - 4]
jmp 0x63c154
push 0x14
call dword [0x6d348c]
mov esi, eax
add esp, 4
test esi, esi
jne 0x63c162
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x6d346c], 0
mov ebx, dword [ebp + 8]
je 0x63c1ac
mov eax, dword [0x6d3570]
test eax, eax
je 0x63c185
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x63c1ac
mov eax, dword [ebp - 8]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x63c1e0
push 0
push 0
mov dword [esi + 0xc], ebx
call fcn.0058d649
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x63c1b9
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x63c1d2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
mov dword [esi + 4], eax
call dword [ebp - 8]
add esp, 4
mov dword [esi + 0x10], eax
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x643010
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [esi + 0x10], 0
je 0x64307b
cmp byte [esi + 0x76], 0
je 0x643039
lea eax, [esi + 0x68]
push eax
mov eax, dword [esi + 0x14]
push 0
push 0
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov edi, dword [esi + 0x14]
mov eax, dword [edi + 8]
test eax, eax
je 0x64307b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x643057
mov dword [edi + 8], 0
jmp 0x64307b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x64306d
pop edi
pop esi
mov eax, 0x80004005
pop ebx
pop ebp
ret 8
jle 0x643077
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x6430a7
lea ecx, [esi + 0x10]
call fcn.0040e3d0
cmp byte [esi + 0x1c], 0
je 0x6430a5
cmp byte [esi + 0x75], 0
je 0x6430a5
mov eax, dword [esi + 0x70]
add esi, 0x50
cmp dword [esi + 0x14], 8
jb 0x64309d
mov esi, dword [esi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x643c20
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 8
mov eax, dword [edx + 8]
test eax, eax
jne 0x643c83
lea eax, [ebp + 8]
push eax
push dword [edx + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x643c69
cmp dword [sym.imp.KERNEL32.dll_GetLastError], 0
je 0x643c69
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax], edx
mov dword [eax + 4], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
xor edx, edx
add edx, eax
mov eax, dword [ebp + 0xc]
adc ecx, 0
mov dword [eax], edx
mov dword [eax + 4], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
cmp eax, 1
jne 0x643c9e
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x1c]
mov dword [ecx], eax
mov eax, dword [edx + 0x20]
mov dword [ecx + 4], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 8
cmp eax, 2
je 0x643c88
mov eax, 0x80004005
mov esp, ebp
pop ebp
ret 8

Function at 0x643e80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x643ee9
push eax
mov ecx, 0x2000000
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], ecx
lea eax, [ebp + 8]
push eax
cmovbe ecx, dword [ebp + 0x10]
push ecx
push dword [ebp + 0xc]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 0x14]
cmp eax, 1
sete dl
test ecx, ecx
je 0x643ec1
mov eax, dword [ebp + 8]
mov dword [ecx], eax
test dl, dl
je 0x643ecc
xor eax, eax
pop esi
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x643f95
jle 0x643f12
movzx eax, ax
or eax, 0x80070000
pop esi
pop ebp
ret 0x10
cmp eax, 1
jne 0x643f42
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
push ebx
xor ebx, ebx
sub ecx, dword [esi + 0x18]
push edi
sbb eax, dword [esi + 0x1c]
mov edi, dword [ebp + 0x10]
cmp ebx, eax
jb 0x643f17
ja 0x643f0b
cmp edi, ecx
jbe 0x643f17
pop edi
mov eax, 0x80004005
pop ebx
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x14]
add eax, dword [esi + 0x18]
push edi
push eax
push dword [ebp + 0xc]
call fcn.00587150
mov eax, dword [ebp + 0x14]
add esp, 0xc
add dword [esi + 0x18], edi
adc dword [esi + 0x1c], ebx
test eax, eax
je 0x643f39
mov dword [eax], edi
pop edi
pop ebx
xor eax, eax
pop esi
pop ebp
ret 0x10
cmp eax, 2
jne 0x643f95
push 0
mov ecx, 0x2000000
mov dword [ebp + 8], 0
cmp dword [ebp + 0x10], ecx
lea eax, [ebp + 8]
push eax
cmovbe ecx, dword [ebp + 0x10]
push ecx
push dword [ebp + 0xc]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 0x14]
cmp eax, 1
sete dl
test ecx, ecx
je 0x643f7f
mov eax, dword [ebp + 8]
mov dword [ecx], eax
test dl, dl
jne 0x643ec5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x643eda
mov eax, 0x80004005
pop esi
pop ebp
ret 0x10
Function at 0x647750
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x6c73c8
push 0x588030
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x6cd05c]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x28], ecx
mov byte [ebp - 0x19], 1
mov dword [ebp - 4], 0
push ebx
mov ebx, 0
mov eax, 1
invalid

Function at 0x647820
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x6c7408
push 0x588030
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6cd05c]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x19], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x19]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xfffffffe
mov al, byte [ebp - 0x19]
jmp 0x6478a9
cmp al, 1
jne 0x6478b0
add dword [esi], 8
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x647910
Capabilities:
Enumerate processes on remote desktop session host

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6585cb
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x6cd05c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor bl, bl
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 1
mov esi, dword [eax - 0xc]
jle 0x64795f
push esi
lea ecx, [ebp + 8]
call fcn.00403a50
mov eax, dword [ebp + 8]
push esi
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0058f6ed
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0058d06e
add esp, 0x18
mov dword [ebp - 0x428], 0
lea eax, [ebp - 0x424]
mov dword [ebp - 0x424], 0
push eax
lea eax, [ebp - 0x428]
push eax
push 1
push 0
push 0
call dword [sym.imp.WTSAPI32.dll_WTSEnumerateProcessesW]
test eax, eax
je 0x647a83
xor edi, edi
cmp dword [ebp - 0x424], edi
jbe 0x647a77
xor ecx, ecx
mov dword [ebp - 0x42c], ecx
mov eax, dword [ebp - 0x428]
mov edx, dword [ecx + eax + 8]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6479e1
sub ecx, esi
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push edx
push 0x104
push eax
call fcn.0058f6ed
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.0058d06e
add esp, 0x18
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x420]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x647a49
test dx, dx
je 0x647a45
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x647a49
add ecx, 4
add eax, 4
test dx, dx
jne 0x647a23
xor eax, eax
jmp 0x647a4e
sbb eax, eax
or eax, 1
mov ecx, dword [ebp - 0x42c]
test eax, eax
movzx ebx, bl
mov eax, 1
cmove ebx, eax
inc edi
add ecx, 0x10
mov dword [ebp - 0x42c], ecx
cmp edi, dword [ebp - 0x424]
jb 0x6479d2
push dword [ebp - 0x428]
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x647acd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x647acb
mov eax, dword [ecx + 4]
mov ecx, dword [eax]
mov esi, dword [ecx + 4]
cmp ecx, vtable.ATL::CWin32Heap.0
jne 0x647ac9
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x647acd
mov ecx, eax
call esi
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00583e60
mov esp, ebp
pop ebp
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x26dd3f88
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..text_1
nop
mov ebx, 0x42f314
nop
mov ecx, 0x1f443f60
nop
nop
nop
nop
test eax, eax
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0xaf477cb
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x130b1656
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x418f40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x420de0], ecx
add edx, 1
cmp edx, 0x100
jb 0x418f42
cmp edx, 0x800
jae 0x41902b
mov edi, edi
mov eax, dword [edx*4 + 0x4209e0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x420de0]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x420ddc], eax
jb 0x419000
mov dword [0x420dbc], 0x4196e0
call fcn.00419170
test eax, eax
jne 0x419048
mov dword [0x420dbc], 0x419600
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
mov ecx, 0xa004fec
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x431024
nop
nop
nop
nop
nop
mov eax, section..reloc
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0xc874a70
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43106c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
rcl edx, 0x4c
not eax
rcl eax, 0x43
rcr ebx, 0x7a
bswap edx
add ebx, 2
rcl edx, 0x68
neg edx
mov edx, 0xde
rcl edi, 0x97
inc ebx
neg edi
ror eax, 0x9d
inc eax
rcr edx, 0x6f
not edx
neg eax
rcl edx, 0x23
and ebx, 0xe9
rcr edi, 0x15
not eax
inc edx
rol edx, 0x56
mov edi, 0xf
rol ebx, 0x7f
or edi, 0x30
imul edx
add edi, 0x4b
sub edi, 0x72
inc ebx
rol esi, 0x53
inc eax
inc edx
not ebx
inc esi
and esi, 0xd2
not eax
add edx, 0x7c
neg ebx
imul edi
mov edx, 0x34
neg eax
dec edi
imul edi
bswap edx
rcr edx, 0xc6
or edi, 0xaa
inc edi
bswap ebx
sbb ebx, 0xf3
xor ecx, ecx
xor edi, edi
sbb edx, 0x3e
dec eax
sbb esi, 0x9b
sbb ebx, 7
and edx, 0xf7
neg ebx
imul eax
neg esi
bswap ebx
not edx
bswap edx
bswap eax
or edx, 0x5d
ror ebx, 0x31
neg esi
inc edx
bswap edx
bswap ebx
rcr esi, 0x8a
imul edi
bswap edx
and eax, 0x73
sbb edi, 0x60
sub edi, 0x48
mov esi, 0xa1
rcr edi, 2
dec ebx
bswap eax
imul edi
rol edx, 0x44
rcl esi, 0x17
sbb edi, 0x6c
not eax
mov ebx, 0xd
bswap ebx
dec edx
or eax, 0x73
sbb edi, 0xa5
or edi, 2
mov edi, 0x14
dec ebx
add ebx, 0x3d
rcr edi, 0x41
neg eax
inc esi
inc ebx
imul edi
dec eax
rol esi, 0x7a
mov eax, 0xe1
mov ecx, dword [ebp + 0xc]
inc eax
bswap edx
or edx, 0xf7
imul esi
bswap edx
add edx, 0xde
and edi, 0x5e
sbb eax, 0xf
add edx, 0xa9
or ebx, 0xe9
not eax
sbb edx, 0xee
neg edx
or esi, 0x8c
neg esi
bswap eax
imul esi
add edx, 0x12
sub edx, 0x41
dec edx
rol eax, 6
and edx, 0x7f
bswap esi
neg edi
rol edx, 0xc2
inc eax
bswap edi
add esi, 0x74
or edi, 0x16
imul edi
dec edx
or edi, 0x9c
inc edi
bswap esi
bswap ebx
dec edx
ror edi, 0x5c
dec eax
bswap edx
sub edi, 0x4d
or edi, 0x23
or edx, 0x52
rcl esi, 0x6f
dec edx
not ebx
rcr esi, 0xab
neg eax
sub edi, 0xc6
bswap esi
neg esi
mov edi, dword [ebp + 8]
xor eax, ebx
xor esi, esi
mov eax, esi
mov esi, eax
mov esi, ebx
mov eax, eax
xor ebx, eax
xor ebx, eax
xor eax, esi
mov esi, esi
mov eax, ebx
mov ebx, esi
not byte [edi]
xor ebx, ebx
mov esi, esi
mov esi, ebx
mov esi, eax
mov eax, ebx
xor esi, esi
xor ebx, ebx
xor esi, ebx
xor ebx, esi
sub byte [edi], 0x49
xor eax, eax
xor ebx, ebx
mov esi, ebx
xor eax, esi
xor eax, ebx
xor esi, eax
xor ebx, ebx
xor esi, eax
xor eax, ebx
add byte [edi], 0x89
xor eax, eax
mov ebx, eax
xor ebx, eax
mov ebx, ebx
mov eax, eax
xor eax, ebx
xor esi, eax
mov eax, ebx
mov esi, eax
imul byte [edi]
inc edi
loop 0x4011b2
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x422202
Capabilities:
Read file on windows

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

Function at 0x4225fc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00429cf0
mov eax, dword [0x4844d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041c761
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x42263e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x42279a
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00429b20
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x485c40]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004235f3
mov ecx, dword [esi*4 + 0x485c40]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x422793
cmp eax, dword [edi + ecx + 0x24]
jne 0x422793
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x422793
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004235f3
add esp, 0x14
test edx, edx
jl 0x422793
jg 0x422709
test eax, eax
jb 0x422793
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x422793
jl 0x422723
cmp dword [ebp - 0x1008], eax
ja 0x422793
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x422741
test ebx, ebx
je 0x42277a
cmp ecx, edi
jae 0x42277a
mov al, byte [ecx]
cmp al, 0xd
jne 0x42275b
lea eax, [edi - 1]
cmp ecx, eax
jae 0x422767
cmp byte [ecx + 1], 0xa
jne 0x422767
inc ecx
jmp 0x422767
movzx eax, al
movsx eax, byte [eax + 0x484c78]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x422741
cmp edx, ebx
jne 0x422741
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x422798
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040c338
leave
ret
Function at 0x422a91
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x485c40]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x422ad1
cmp byte [ebx], 0xa
jne 0x422ad1
or byte [eax + edi + 0x28], 4
jmp 0x422ad6
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x422bd4
mov al, byte [edx]
cmp al, 0x1a
je 0x422bb6
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x422b05
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x422b2a
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x422b34
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x422ae7
jmp 0x422bd4
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x422bb1
cmp dword [ebp - 0xc], 0
je 0x422bb1
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x485c40]
test byte [eax + edi + 0x28], 0x48
je 0x422b8b
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x422b76
mov byte [esi], dl
jmp 0x422b87
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x485c40]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x422bd4
cmp byte [ebp - 1], 0xa
jne 0x422b9a
cmp esi, ebx
jne 0x422b9a
mov byte [esi], 0xa
jmp 0x422bd3
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00423611
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x422bd4
mov byte [esi], 0xd
jmp 0x422bd3
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x485c40]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x422bd0
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x422bd4
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x422bdd
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x485c40]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x422c20
cmp word [esi], dx
jne 0x422c20
or byte [edi + eax + 0x28], 4
jmp 0x422c25
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x422d78
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x422d58
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x422c67
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x422c9d
cmp eax, edx
jae 0x422ca9
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
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 - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x422c3f
jmp 0x422d78
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x422d54
cmp dword [ebp - 0x14], 0
je 0x422d54
mov eax, dword [ebx*4 + 0x485c40]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x422d2c
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x422cf5
mov word [esi], cx
jmp 0x422d28
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x485c40]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x485c40]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x485c40]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x422d78
pop ebx
cmp word [ebp - 4], bx
jne 0x422d3d
cmp esi, dword [ebp + 0xc]
jne 0x422d3d
mov word [esi], bx
jmp 0x422d75
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00423611
add esp, 0x10
cmp word [ebp - 4], bx
je 0x422d78
push 0xd
jmp 0x422d71
mov ecx, dword [ebx*4 + 0x485c40]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x422d6f
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x422d78
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret