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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
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 + 0x4d5860]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x49cba3
cmp byte [ebx], 0xa
jne 0x49cba3
or byte [edi + eax + 0x28], 4
jmp 0x49cba8
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x49cca7
mov dl, byte [eax]
cmp dl, 0x1a
je 0x49cc8a
inc eax
cmp dl, 0xd
je 0x49cbd4
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x49cbfa
cmp eax, ecx
jae 0x49cc08
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x49cbbc
jmp 0x49cca7
push 0
lea eax, [ebp - 0x10]
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 0x49cc85
cmp dword [ebp - 0x10], 0
je 0x49cc85
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x4d5860]
test byte [eax + edi + 0x28], 0x48
je 0x49cc5f
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x49cc4a
mov byte [esi], dl
jmp 0x49cc5b
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4d5860]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x49cca7
cmp byte [ebp - 1], 0xa
jne 0x49cc6e
cmp esi, ebx
jne 0x49cc6e
mov byte [esi], 0xa
jmp 0x49cca6
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00401910
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x49cca7
mov byte [esi], 0xd
jmp 0x49cca6
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x4d5860]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x49cca4
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x49cca7
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x49cd03
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 + 0x4d5860]
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 0x49cd49
cmp word [ebx], dx
jne 0x49cd49
or byte [eax + edi + 0x28], 4
jmp 0x49cd4e
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 0x49ceb1
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 0x49ce91
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x49cd8f
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x49cdc5
cmp eax, edx
jae 0x49cdd3
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 0x49cd6a
jmp 0x49ceb1
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 0x49ce8c
cmp dword [ebp - 0x18], 0
je 0x49ce8c
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x4d5860]
test byte [eax + edi + 0x28], 0x48
je 0x49ce62
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 0x49ce26
mov word [esi], cx
jmp 0x49ce5d
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x4d5860]
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 + 0x4d5860]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x4d5860]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x49ceb1
pop eax
cmp word [ebp - 4], ax
jne 0x49ce72
cmp esi, ebx
jne 0x49ce72
mov word [esi], ax
jmp 0x49ceae
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00401910
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x49ceb1
push 0xd
pop eax
jmp 0x49ce6d
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x4d5860]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x49ceab
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x49ceb1
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 0x4a0a97
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4d2040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4a0ae2
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004a0f4f
test al, al
jne 0x4a0adc
sub edx, 2
cmp edx, edi
jne 0x4a0ac2
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4a0b04
lea eax, [edi + 2]
cmp edx, eax
je 0x4a0b04
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004a0690
add esp, 0x10
jmp 0x4a0bfe
push esi
lea ecx, [ebp - 0x255]
call fcn.004a0f4f
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4a0b47
push dword [ebp - 0x25c]
jmp 0x4a0af4
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4a0b84
cmp word [ebp - 0x226], 0
je 0x4a0ba5
cmp word [ebp - 0x226], ax
jne 0x4a0b84
cmp word [ebp - 0x224], 0
je 0x4a0ba5
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004a0690
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4a0bf1
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4a0b5e
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4a0bd9
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4a0bfe
push 0x4a0078
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0040548e
add esp, 0x10
jmp 0x4a0bce
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040300d
leave
ret

Function at 0x4a6560
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00404278
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 0x4a65cf
cmp esi, dword [ebp - 4]
je 0x4a65ca
cmp dword [ebp + 0xc], 0
je 0x4a65ca
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4a65a7
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.004a5f88
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x4a65d1
xor eax, eax
inc eax
jmp 0x4a65d1
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x417e10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, dword [0x4c8b5c]
pop esp
mov ecx, dword [eax + eax + 0x53]
push eax
call dword [sym.imp.GDI32.dll_GetBkMode]
lea ecx, [esp + 8]

Function at 0x417e14
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, dword [0x4c8b5c]
pop esp
mov ecx, dword [eax + eax + 0x53]
push eax
call dword [sym.imp.GDI32.dll_GetBkMode]
lea ecx, [esp + 8]

Function at 0x417e24
Capabilities:
Query or enumerate registry value

Disassembly:
mov ebx, 1
push ecx
push ebx
push 0
add byte [eax + 0x64], ch
push eax
dec esp
add byte [eax], ch
add byte [eax], al
or byte [ecx - 0x38e7dbbc], 0x44
inc esp
and al, 0x1c
add byte [eax], al
add byte [eax], al
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov dword [0x4c9f8c], eax
jne 0x417ea3
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
mov dword [esp + 4], eax
and al, 4
push edx
lea eax, [esp + 8]
push 0x4c8c6c
insb byte es:[edi], dx
mov word [eax + eax + 0x50], cs
push 0
push 0
add byte [ecx - 0x39], dl
inc esp
and al, 0x24
or byte [edx], al
add byte [eax], al
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4c9f8c]
test ecx, ecx
jne 0x417ec6
invalid

Function at 0x417e34
Capabilities:
Query or enumerate registry value

Disassembly:
add byte [eax], al
or byte [ecx - 0x38e7dbbc], 0x44
inc esp
and al, 0x1c
add byte [eax], al
add byte [eax], al

Function at 0x45cf10
Capabilities:
Encode data using xor

Disassembly:
ja 0x45cf68
test al, 0x77
aaa
aad 0xa6
invalid
sbb dword [edi + edx*4], ebp
jge 0x45cf72
das
xlatb
xor al, al
shl byte [esi - 0xe], 0xff
cmp dword [edx + 0x3249e0c8], 0x3383a5f4
and edx, esi
add al, 0x56
mov edx, 0x3249e0c8
hlt
out 0x7a, eax
in al, 0xaa
pop eax
loopne 0x45cf15
cli
xor dword [edx], ebp
inc esp
movsb byte es:[edi], byte [esi]
and al, 0x9a
shl dword [edx], 0x62
or al, 0xd
xor al, 0x9a
adc ebp, dword [edi]
pop esi
cld
push ss
in al, dx
push edx
inc edx
and dword [edx + 0x72], edi
imul edx, ebp, 0x7f
movnti dword [ecx + 0x24], ebx
sbb al, 0x9a
push esp
xchg esp, eax
add esp, esp
add bl, bh
xchg ebp, eax
jno 0x45cf83
lahf
push esp
invalid
jae 0x45ceed
outsd dx, dword [esi]
mov cs, word [edx + 0x5ae7ebcc]
movsb byte es:[edi], byte [esi]
imul eax, dword [bx + si], 0x5c
pop esp
into
or al, byte gs:[esi - 0x2a]
popfd
fsubp st(0)
mov ecx, 0x3f8ebf96
mov dl, 0x87
xchg esi, eax
mov edi, 0x87b23f8e
adc eax, 0x7f8375fd
and byte [esi], 0xf1
invalid
mov bl, byte [esi]
fld dword [ebx]
pop edi
cmp al, 0x1b
aam 0xf7
inc ecx
rol al, 1
bound eax, qword [edx]
jl 0x45cf5b
dec esp
aad 0x16
jo 0x45cf53
mov word [eax], fs
call 0x7baf9397
out dx, al
lcall 0xe3cf, 0xa0bb95f
mov ah, 0x41
imul esp, dword [ecx - 0xb], 0x13
mov dword [edx + 0x123fe88], ecx
clc
ret
jb 0x45cf9b
retf 0xc097
Function at 0x47c880
Capabilities:
Encode data using xor

Disassembly:
in al, 4
in eax, dx
add eax, 0xbfade580
popal
adc eax, 0xb613ac9e
or al, 0x2d
rcr byte [edi - 0x18ccf94c], 0x58
adc esi, dword [esi - 0x603fd2f4]
mov ah, 6
xor esp, edi
pop eax
in eax, 0xbe
mov byte [ebp - 0x5a], bl
mov edx, 0x522066b5
cmp al, 0x65
mov dword [ebp - 0x26655681], esi
fistp word [ebx - 0x50]
mov edi, 0xcd8c9b6f
int 0x15
and eax, 0xfde36cec
adc eax, 0xe36cec25
std
in eax, dx
loop 0x47c8a3
mov ebx, 0xbed25f4d
mov ah, 0x7b
nop
dec ecx
mov bh, 0x42
jno 0x47c80b
adc eax, 0x14d7b018
cld
push ds
xchg edi, eax
xor eax, 0x89f2c7a9
xor bh, byte [esi]
and ebp, dword [esp + ecx*4 - 0x3e3f5a2b]
invalid
jl 0x47c858
jecxz 0x47c89a
salc
popal
cdq
salc
outsd dx, dword [esi]
dec ebp
cmp al, 0xcd
daa
mov esp, dword [ebp - 0x40]
ffreep st(6)
adc al, 0x45
popfd
mov esi, dword [0xcbffc14]
adc al, 0xfc
mov edi, 0x84dc2d0c
and eax, 0x962ca14d
push 0x87e04e90
adc al, 0xfc
mov edi, 0x84dc2d0c
and eax, 0x962ca14d
push 0x87e04e90
xlatb
mov ebp, 0xcb676286
push ebp
add dh, byte [ecx]
jge 0x47c8c8
and eax, 0x2d12ad69
ror byte [0x6cf99890], 1
nop
cwde
stc
insb byte es:[edi], dx
je 0x47c83c
push cs
invalid
xchg esp, eax
or dword [esi + ebx*2 - 0x3263e318], esi
invalid
jne 0x47c84e
test byte [esi - 0x73], dl
xchg ecx, eax
push eax
or al, byte [ebp - 0xc4b5106]
jo 0x47c8bf
dec ebx
stosd dword es:[edi], eax
adc dword [ecx], eax
sub al, 0xd5
aad 4
dec esi
shl ah, cl
int 0x9d
loopne 0x47c927
pop ecx
in eax, 0x64
clc
stosb byte es:[edi], al
sub dword [edi + 9], ebx
rcl byte [ecx + 0x75a473b9], 0x95
mov byte [ecx], ch
cli
lodsd eax, dword [esi]
pop ss
mov ecx, 0xc51b1828
add al, 0x35
mov al, byte [0xdc94e57c]
out 0x81, al
cmp eax, 0x72207d6e
adc bl, byte [edx]
hlt
ret 0xa94c
Function at 0x4abbb8
Capabilities:
Encode data using xor

Disassembly:
jo 0x4abb4c
clc
xchg esi, eax
push ds
cmp eax, 0x686eeb66
inc esi
invalid
pop eax
cmc
mov ecx, 0x2ce97345
mov eax, 0x550e856e
push ebp
push esi
outsd dx, dword [esi]
fsubr st(7), st(0)
pop es
jge 0x4abb5c
out 0xdf, al
retf
and al, 0xf9
mov esp, 0xe23c3d3f
dec eax
jecxz 0x4abb30
mov dh, 0xc9
fisub dword [edi - 0x7a]
aas
inc ebx
sub al, byte [0x73199e16]
mov dh, ch
sbb dl, byte [0xcc431f79]
dec esi
pushal
xor al, 0xd6
push edx
rol al, cl
mov byte [eax], dh
jo 0x4abb77
jns 0x4abb98
inc ebx
int3
call 0xdbf4e7d3
shl dword [edx + edi*4 + 0x63], 0x4d
sbb eax, 0x4c53d076
arpl word [ebp + 0x1d], cx
jbe 0x4abb64
push ebx
dec esp
or ebx, dword [0x5b6374aa]
stosb byte es:[edi], al
je 0x4abbfe
pop ebx
adc cl, ah
cmp edi, dword [0x1863a912]
sahf
ror byte [ebx + 0x51], 0x74
push esi
mov dword [0xe3fc5736], eax
jno 0x4abb41
nop dword [ebx]
aad 0x62
xor ebp, dword [ebx + esi*8 + 0x56a827e0]
loopne 0x4abbe2
test al, 0x56
loopne 0x4abbe2
test al, 0x56
mov edx, 0x9df72837
add eax, 0x42e699a3
xchg ebx, eax
sub dword [ecx + 0x6d6a747], 0x98720d4d
mov dh, 0x33
inc esi
xor al, 0x5e
js 0x4abb8f
pop eax
sub ch, bh
std
inc eax
cmpsb byte [esi], byte es:[edi]
sbb al, dh
outsd dx, dword [esi]
daa
dec ebx
push esi
into
int1
sub byte [esp + ebx*8], bh
in eax, 0x36
jmp [esi]
jmp ss:[esi]
aad 0xf5
popal
sbb al, 6
test al, 0xfc
and byte [esi - 0x29], dl
nop
push ss
jle 0x4abc59
mov bh, 0xa7
pop esi
fnstenv [esi]
pop ds
push edx
jge 0x4abc33
mov eax, dword [ecx - 0x65]
daa
nop
das
shl byte [edx - 0xd], 1
dec ebx
xchg esi, eax
push ecx
mov dword [0xb48b92c6], eax
jbe 0x4abca3
jne 0x4abbeb
xor ecx, eax
movsd dword es:[edi], dword [esi]
insb byte es:[edi], dx
dec esi
xor al, 0x5b
stc
mov ebx, 0xd846cbd6
inc esi
fsubr st(5)
xor byte [eax - 0x799649b8], dl
mov al, byte [0xb8bf3b69]
add eax, 0x7037743e
sub ebp, dword [ebp - 0x37]
jns 0x4abc89
adc bh, dl
Function at 0x4bbc2d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c5410
cmp edx, dword [eax]
je 0x4bbc4f
add eax, 8
inc ecx
cmp eax, 0x4c54a0
jl 0x4bbc40
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c5410]
jne 0x4bbd7d
mov eax, dword [0x4c9fa0]
cmp eax, 1
je 0x4bbd57
test eax, eax
jne 0x4bbc80
cmp dword [0x4c533c], 1
je 0x4bbd57
cmp edx, 0xfc
je 0x4bbd7d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bbcb7
lea eax, [ebp - 0x1a4]
push 0x4c0c90
push eax
call fcn.004bc610
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bcaa0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bbcfa
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bcaa0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c0c8c
push edi
call fcn.004be970
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c0c70
push eax
call fcn.004bc610
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bc620
lea eax, [ebp - 0xa0]
push 0x4c0c6c
push eax
call fcn.004bc620
push dword [esi + 0x4c5414]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bc620
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c0c44
push eax
call fcn.004be8e4
add esp, 0x2c
pop edi
jmp 0x4bbd7d
lea eax, [ebp + 8]
lea esi, [esi + 0x4c5414]
push 0
push eax
push dword [esi]
call fcn.004bcaa0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4054ec
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x405483
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4054a1
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
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 0x4054ff
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 0x4054e6
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4054ef
or byte [eax + ecx], 2
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
cmp dword [ebp + 0x10], ebx
je 0x4054f9
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4054db
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x405465
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 0x40554c
dec eax
je 0x405543
sub eax, 3
je 0x40553a
mov dword [ebp - 4], 0x40
jmp 0x405569
mov dword [ebp - 4], 4
jmp 0x40554f
mov dword [ebp - 4], 0x20
jmp 0x40554f
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 0x40559b
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x40551b
invalid

Function at 0x4055fc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [edi - 0x3a]
test dword [ebp + 0x4afffffc], esi
mov byte [ebp - 0x34a], 0x46

Function at 0x405684
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x334], 0
push 0x40
inc eax
pop ecx
xor eax, eax
invalid
invalid
int 0xfc

Function at 0x4056a4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
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

Function at 0x406730
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call [ecx + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00404d71
add esp, 0xc
mov dword [ebp - 0x730], eax
and dword [ebp - 0x6fc], 0
Function at 0x406950
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 1
pop eax
test eax, eax
je 0x406e52
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x406927
add byte [eax], al
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov eax, 0xf88985c6
invalid
inc ecx
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
test dword [edi - 0x76000008], ecx
mov byte [ebp - 0x770], 0x9a
mov byte [ebp - 0x76f], 0x96
mov byte [ebp - 0x76e], 0xdb
mov byte [ebp - 0x76d], 0xbd
mov byte [ebp - 0x76c], 0x92
mov byte [ebp - 0x76b], 0x97
clc
invalid
call dword [edi - 0x7697a3a]
invalid
call [esi - 0x7687a3a]
test dword [edi - 0x77000008], edx
mov byte [ebp - 0x768], 0xa7
mov byte [ebp - 0x767], 0xb8
mov byte [ebp - 0x766], 0x94
mov byte [ebp - 0x765], 0x96
mov byte [ebp - 0x764], 0x96
mov byte [ebp - 0x763], 0x94
mov byte [ebp - 0x762], 0x95
mov byte [ebp - 0x761], 0xdb
mov byte [ebp - 0x760], 0xbd
mov byte [ebp - 0x75f], 0x92
mov byte [ebp - 0x75e], 0x97
mov byte [ebp - 0x75d], 0x9e
call [esi - 0x75b7a3a]
invalid
dec dword [eax - 0x75a7a3a]
invalid
jmp dword [edi - 0x7597a3a]
invalid
jmp [eax - 0x7587a3a]
invalid
inc dword [edx - 0x7577a3a]
invalid
dec dword [eax - 0x7567a3a]
invalid
dec dword [edi - 0x7557a3a]
invalid
call [esi - 0x7547a3a]
invalid
call dword [esi - 0x7537a3a]
invalid
jmp dword [edi - 0x7527a3a]
invalid
dec dword [eax - 0x7517a3a]
invalid
inc dword [edx - 0x7507a3a]
invalid
call dword [esi - 0x74f7a3a]
invalid
dec dword [eax - 0x74e7a3a]
invalid
dec dword [ecx - 0x74d7a3a]
invalid
dec dword [ebp - 0x74c7a3a]
invalid
call ebp
mov byte [ebp - 0x74c], 0x9f
mov byte [ebp - 0x74b], 0x97
mov byte [ebp - 0x74a], 0x97
mov byte [ebp - 0x749], 0xfb
lea eax, [ebp - 0x77c]
push eax
call fcn.00404dbc
pop ecx
mov al, byte [ebp - 0x12c]
mov byte [ebp - 0x778], al
push 0x30
lea eax, [ebp - 0x77c]
clc
invalid
call dword [eax - 0x18]
mov bh, 0xe4
invalid
call [ecx + 0x50]
lea eax, [ebp - 0x504]
push eax
call fcn.00404d1d
add esp, 0xc
lea eax, [ebp - 0x504]
mov dword [ebp - 0x3a0], eax
jmp 0x406d24
cmp dword [ebp - 0x6fc], 1
jne 0x4069d8
and byte [ebp - 0x78c], 0
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
clc
invalid
push dword [ecx - 0x3a]
test dword [eax + 0x3bfffff8], eax
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.00404dbc
pop ecx
push eax
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.00404d1d
add esp, 0xc
invalid
test esp, edx
invalid
invalid
Function at 0x406234
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x406243
pop dword [ebp - 0x2c]
mov eax, 0x52a7c996
add eax, 0xad9898ad
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x7578e7bf
add dword [ebp - 0x3c], 0xd8d95d8c
mov dword [ebp - 0x38], 0x8fa7d8ec
add dword [ebp - 0x38], 0xa28b7359
mov dword [ebp - 0x34], 0xdc88f640
sub dword [ebp - 0x34], 0x903cb212
mov dword [ebp - 0x30], 0x7f6395da
add dword [ebp - 0x30], 0x809c6a26
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x4b4fa869
sub dword [ebp - 0x3c], 0xd6dd3f13
mov dword [ebp - 0x38], 0x82c7f201
add dword [ebp - 0x38], 0xbea46f74
mov dword [ebp - 0x34], 0xe0f6dd25
sub dword [ebp - 0x34], 0x7d8770b9
mov dword [ebp - 0x30], 0x33fe3a0f
sub dword [ebp - 0x30], 0x33fe3a0f
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x16199b10
sub eax, 0x15d91a10
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x345e7
push 0
call eax
mov ecx, 0x3d62
xor esi, esi
add esi, eax
mov edi, 0x25bffd47
add edi, 0xda86e6b9
add edi, dword [ebp - 0x2c]
mov ebx, 0xcf65d0e1
xor dword [ebp - 0x18], ebx
mov edx, dword [edi]
add dword [ebp - 0x14], esi
xor edx, ebx
add dword [ebp - 0x14], esi
mov dword [esi], edx
sub dword [ebp - 0x18], 0x8de759c5
add esi, 0x1fb75b54
add esi, 0xe048a4b0
add edi, 4
loop 0x406356
add eax, 0xe85b
mov ebx, eax
add eax, 0xfcd00940
add eax, 0x32ff6c5
mov ecx, 0x884f53e6
add ecx, 0x77f0ac1a
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x40669d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4066d4
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4066ae
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x4066a9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406705
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4066e7
pop edi
not eax
pop esi
ret 0xc