joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ba918
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 + 0x5087d8]
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 0x4ba958
cmp byte [ebx], 0xa
jne 0x4ba958
or byte [eax + edi + 0x28], 4
jmp 0x4ba95d
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4baa5b
mov al, byte [edx]
cmp al, 0x1a
je 0x4baa3d
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4ba98c
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4ba9b1
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4ba9bb
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 0x4ba96e
jmp 0x4baa5b
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 0x4baa38
cmp dword [ebp - 0xc], 0
je 0x4baa38
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x5087d8]
test byte [eax + edi + 0x28], 0x48
je 0x4baa12
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4ba9fd
mov byte [esi], dl
jmp 0x4baa0e
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x5087d8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4baa5b
cmp byte [ebp - 1], 0xa
jne 0x4baa21
cmp esi, ebx
jne 0x4baa21
mov byte [esi], 0xa
jmp 0x4baa5a
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004c2629
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4baa5b
mov byte [esi], 0xd
jmp 0x4baa5a
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x5087d8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4baa57
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4baa5b
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4baa64
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 + 0x5087d8]
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 0x4baaa7
cmp word [esi], dx
jne 0x4baaa7
or byte [edi + eax + 0x28], 4
jmp 0x4baaac
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 0x4babff
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 0x4babdf
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4baaee
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4bab24
cmp eax, edx
jae 0x4bab30
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 0x4baac6
jmp 0x4babff
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 0x4babdb
cmp dword [ebp - 0x14], 0
je 0x4babdb
mov eax, dword [ebx*4 + 0x5087d8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4babb3
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4bab7c
mov word [esi], cx
jmp 0x4babaf
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x5087d8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x5087d8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x5087d8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4babff
pop ebx
cmp word [ebp - 4], bx
jne 0x4babc4
cmp esi, dword [ebp + 0xc]
jne 0x4babc4
mov word [esi], bx
jmp 0x4babfc
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004c2629
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4babff
push 0xd
jmp 0x4babf8
mov ecx, dword [ebx*4 + 0x5087d8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4babf6
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4babff
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
Function at 0x4c0796
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4ed584
push 0x4ed57c
push str.FlsAlloc
push 0x1e
call fcn.004c05c3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4c07ca
push dword [ebp + 8]
mov ecx, esi
call dword [0x4d91bc]
call esi
jmp 0x4c07d0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4c0814
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4ed594
push 0x4ed58c
push str.FlsGetValue
push 0x20
call fcn.004c05c3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4c084b
push dword [ebp + 8]
mov ecx, esi
call dword [0x4d91bc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4c1b93
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c1a04
Function at 0x4c1f8d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004ab800
mov eax, dword [0x5049c8]
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.004c1758
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4c1fcf
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4c212b
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004ab420
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 + 0x5087d8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004c260b
mov ecx, dword [esi*4 + 0x5087d8]
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 0x4c2124
cmp eax, dword [edi + ecx + 0x24]
jne 0x4c2124
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 0x4c2124
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004c260b
add esp, 0x14
test edx, edx
jl 0x4c2124
jg 0x4c209a
test eax, eax
jb 0x4c2124
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4c2124
jl 0x4c20b4
cmp dword [ebp - 0x1008], eax
ja 0x4c2124
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4c20d2
test ebx, ebx
je 0x4c210b
cmp ecx, edi
jae 0x4c210b
mov al, byte [ecx]
cmp al, 0xd
jne 0x4c20ec
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4c20f8
cmp byte [ecx + 1], 0xa
jne 0x4c20f8
inc ecx
jmp 0x4c20f8
movzx eax, al
movsx eax, byte [eax + 0x504b50]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4c20d2
cmp edx, ebx
jne 0x4c20d2
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4c2129
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004ab3ee
leave
ret
Function at 0x4c47b6
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004c4732
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4c492e
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4c492e
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4c48dd
jg 0x4c480f
test eax, eax
je 0x4c48d3
push 1
push 0x1000
call fcn.004c028b
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4c4835
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x4c48ca
push 0x8000
push ebx
call fcn.004bb2fb
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4c4861
jg 0x4c485c
cmp ecx, 0x1000
jb 0x4c4861
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004bbcb7
add esp, 0x10
cmp eax, 0xffffffff
je 0x4c48a6
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x4c485c
jl 0x4c488d
test ecx, ecx
jne 0x4c484e
push dword [ebp - 0xc]
push ebx
call fcn.004bb2fb
push esi
call fcn.004c02e8
add esp, 0xc
xor edi, edi
jmp 0x4c493f
cmp byte [edi + 0x24], 0
je 0x4c48bd
cmp dword [edi + 0x20], 5
jne 0x4c48bd
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4c48c8
mov edi, dword [edi + 0x18]
jmp 0x4c48ca
xor edi, edi
push esi
call fcn.004c02e8
pop ecx
jmp 0x4c493f
test ecx, ecx
jg 0x4c489f
jl 0x4c48dd
test eax, eax
jae 0x4c489f
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004c2629
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4c4900
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4c489f
jmp 0x4c4937
push ebx
call fcn.004c1221
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4c489f
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x4c493f
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4c493c
mov edi, dword [edi + 0x18]
jmp 0x4c493f
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004c2629
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4c7b9c
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 0x4c7c39
push ebx
push esi
call fcn.004c7b65
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.004c45ff
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4c7be6
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4c7c38
push edi
push eax
call fcn.004c2808
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4c7c06
call fcn.004c02e8
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4c7c37
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004c45ff
add esp, 0x20
test eax, eax
jne 0x4c7c25
push edi
call fcn.004c02e8
jmp 0x4c7c2d
push ebx
call fcn.004c02e8
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 0x4ce440
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4ce46d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4ce46d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
mov ecx, 0x35ba02ad
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x1864513d
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x407010
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 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
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 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x402c40
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
dec eax
or eax, 0xf3
and edx, 0xe6
neg esi
neg edx
inc ebx
not ebx
rcl edi, 0x86
ror edi, 0x8b
inc esi
neg edi
bswap edi
imul ebx
neg edx
bswap edi
bswap ebx
dec esi
not eax
dec eax
imul ebx
bswap eax
or eax, 0x9a
imul ebx
sub edx, 0x86
and edi, 0x4e
imul edi
mov esi, 0x70
dec edx
dec edx
dec ebx
and edx, 0x12
bswap esi
neg esi
dec ebx
mov edx, 0xeb
rcr eax, 0x95
or ebx, 0x67
or edx, 0x94
mov eax, 0x49
add edx, 0x72
dec eax
mov ebx, 0x95
neg ebx
rcl edx, 0xf2
inc ebx
rcr ebx, 0xc7
sub edi, 0x87
neg ebx
not eax
imul esi
xor ecx, ecx
xor edi, edi
imul esi
not esi
add ebx, 0x60
sub eax, 0xdb
imul eax
not esi
imul eax
imul ebx
not ebx
add ebx, 0xa0
add edi, 0xe6
dec edi
bswap ebx
inc edx
mov edi, 0x79
not ebx
or edi, 0x99
rcl edx, 0x5f
sub esi, 0x68
rcr eax, 0xd3
neg eax
rcl ebx, 0xaa
rcr edi, 0xd5
dec esi
neg ebx
sub edi, 0x99
dec eax
inc ebx
imul eax
imul edx
dec edx
or ebx, 0x91
add edx, 0x6e
bswap edx
not eax
not eax
imul edx
rcr ebx, 0x57
dec eax
mov edx, 0xe8
not edx
imul edi
mov edx, 0x80
ror edi, 0x40
ror edx, 0x67
sbb esi, 0x5f
imul eax
rol edi, 0x10
bswap esi
or ebx, 0x76
mov ecx, dword [ebp + 0xc]
inc edx
not ebx
bswap edi
rcl ebx, 0xfa
add edx, 0xfa
dec edi
ror edi, 0x7c
dec edi
rol ebx, 0x85
add edx, 0x19
ror eax, 0xd
dec edi
dec eax
or edx, 0xb5
not edx
ror edx, 0xa2
bswap edi
rol esi, 0xf9
inc edx
mov edx, 0x83
sub eax, 0x1b
rol esi, 0x15
dec ebx
rol ebx, 0x8b
dec eax
bswap edx
rcr edi, 0x90
imul ebx
bswap esi
neg edi
sbb esi, 0x86
and edi, 0x79
imul eax
bswap eax
inc ebx
rol edx, 0xe8
add edx, 0x51
not eax
add eax, 0xf7
imul ebx
inc edi
not eax
bswap ebx
bswap esi
mov ebx, 0xe6
ror esi, 0x9a
inc edi
not eax
dec esi
imul edx
mov edi, dword [ebp + 8]
mov ebx, ebx
mov esi, esi
xor esi, esi
not byte [edi]
mov esi, esi
mov eax, ebx
xor esi, eax
xor esi, ebx
mov esi, ebx
mov esi, eax
xor eax, eax
xor esi, eax
mov ebx, ebx
add byte [edi], 0x54
xor esi, ebx
mov eax, esi
mov ebx, esi
mov eax, esi
mov ebx, ebx
xor eax, ebx
mov esi, eax
mov eax, esi
mov eax, eax
sub byte [edi], 0x29
xor ebx, eax
mov esi, esi
xor ebx, esi
mov eax, eax
mov eax, eax
mov esi, esi
xor ebx, ebx
mov esi, eax
xor esi, ebx
imul byte [edi]
inc edi
loop 0x402de0
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x40b2ba
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x427490]
jne 0x40b2c4
repz ret
jmp fcn.0041284e
Function at 0x4171cc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00411156
and dword [ebp - 4], 0
cmp dword [0x428fd0], 0
mov ebx, eax
jne 0x41727d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41732e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41732e
push eax
call fcn.004110e4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x428fd0], eax
call esi
push eax
call fcn.004110e4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x428fd4], eax
call esi
push eax
call fcn.004110e4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x428fd8], eax
call esi
push eax
call fcn.004110e4
pop ecx
mov dword [0x428fe0], eax
test eax, eax
je 0x41727d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004110e4
pop ecx
mov dword [0x428fdc], eax
mov eax, dword [0x428fdc]
cmp eax, ebx
je 0x4172d5
cmp dword [0x428fe0], ebx
je 0x4172d5
push eax
call fcn.0041115f
push dword [0x428fe0]
mov esi, eax
call fcn.0041115f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4172d5
test edi, edi
je 0x4172d5
call esi
test eax, eax
je 0x4172cc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4172cc
test byte [ebp - 0xc], 1
jne 0x4172d5
or dword [ebp + 0x10], 0x200000
jmp 0x41730e
mov eax, dword [0x428fd4]
cmp eax, ebx
je 0x41730e
push eax
call fcn.0041115f
pop ecx
test eax, eax
je 0x41730e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41730e
mov eax, dword [0x428fd8]
cmp eax, ebx
je 0x41730e
push eax
call fcn.0041115f
pop ecx
test eax, eax
je 0x41730e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x428fd0]
call fcn.0041115f
pop ecx
test eax, eax
je 0x41732e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x417330
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42c0b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x495d1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0048a490
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42c132
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00487bb0
mov eax, dword [eax]
push 0x56c1f0
push eax
call fcn.0047a724
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048a71b
test bl, bl
je 0x42c132
push 0x56c1f0
lea ecx, [esp + 0xc]
call fcn.0048aaab
push 0x56fd9c
lea ecx, [esp + 0xc]
call fcn.0048aaab
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x42c16e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048a71b
jmp 0x42c239
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x42c1f2
lea edx, [esp + 0x7c]
push 0x56fd98
push edx
call fcn.0047a724
add esp, 8
test eax, eax
je 0x42c1f2
lea eax, [esp + 0x7c]
push 0x56fd94
push eax
call fcn.0047a724
add esp, 8
test eax, eax
je 0x42c1f2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42c182
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0048a71b
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x42cec0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x42cf22
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x42cf30
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x495ddb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x576564]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x42d068
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42cf96
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048a71b
xor eax, eax
jmp 0x42d0df
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048a858
push esi
lea ecx, [esp + 0xc]
call fcn.0048aae7
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42d0bd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0042cec0
test eax, eax
jne 0x42d0bd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0042cec0
test eax, eax
jne 0x42d0bd
lea eax, [esp + 0x14]
push 0x56fdb0
push eax
call fcn.0047b760
mov esi, eax
add esp, 8
test esi, esi
jne 0x42d09c
lea ecx, [esp + 0x14]
push 0x56fdac
push ecx
call fcn.0047b6e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42d09c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42d09f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048a808
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42cfae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048a71b
xor eax, eax
jmp 0x42d0df
mov byte [esi], 0
push 0x56fda8
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0048a71b
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4