joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ad6c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x446a0c]
xor eax, dword [ebp + 4]
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
jne 0x43ad95
xor eax, eax
jmp 0x43af03
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x4468e0]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x43adc8
push 2
push edi
push edi
push dword [ebp + 8]
call fcn.0043c96c
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x43ae9a
cmp dword [ebp + 0x10], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], edi
jbe 0x43aed5
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x420]
mov dword [ebp - 0xc], edi
cmp ecx, dword [ebp + 0x10]
jae 0x43ae23
mov edx, dword [ebp - 0x10]
inc dword [ebp - 0x10]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x43ae14
inc dword [ebp - 0x18]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0xc]
mov byte [eax], dl
inc eax
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x400
jl 0x43adf7
mov edi, eax
lea eax, [ebp - 0x420]
sub edi, eax
push 0
lea eax, [ebp - 0x1c]
push eax
push edi
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebx]
push dword [esi + eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43ae63
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x14], eax
cmp eax, edi
jl 0x43ae6c
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp + 0xc]
xor edi, edi
cmp eax, dword [ebp + 0x10]
jb 0x43ade8
jmp 0x43ae6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
xor edi, edi
mov eax, dword [ebp - 0x14]
cmp eax, edi
jne 0x43aefe
cmp dword [ebp - 8], edi
je 0x43aed5
push 5
pop esi
cmp dword [ebp - 8], esi
jne 0x43aec7
call fcn.00439fae
mov dword [eax], 9
call fcn.00439fb7
mov dword [eax], esi
jmp 0x43aed0
push edi
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43aebc
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], eax
jmp 0x43ae6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x43ae6e
push dword [ebp - 8]
call fcn.00439fc0
pop ecx
or eax, 0xffffffff
jmp 0x43af01
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x43aeea
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x1a
jne 0x43aeea
xor eax, eax
jmp 0x43af01
call fcn.00439fae
mov dword [eax], 0x1c
call fcn.00439fb7
mov dword [eax], edi
jmp 0x43aed0
sub eax, dword [ebp - 0x18]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop edi
call fcn.004037c0
leave
ret
Function at 0x43c5fe
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov dword [ebp - 8], ebx
je 0x43c669
push 0x3d
push dword [ebp + 8]
call fcn.0043ceb0
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], esi
je 0x43c669
cmp dword [ebp + 8], esi
je 0x43c669
xor eax, eax
cmp byte [esi + 1], al
sete al
mov dword [ebp - 4], eax
mov eax, dword [0x446e64]
cmp eax, dword [0x4488fc]
jne 0x43c64f
mov edi, eax
call fcn.0043c59d
mov dword [0x446e64], eax
cmp eax, ebx
jne 0x43c6a8
cmp dword [ebp + 0xc], ebx
je 0x43c671
cmp dword [0x448900], ebx
je 0x43c671
call fcn.0043a9ee
test eax, eax
je 0x43c6a8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
cmp dword [ebp - 4], ebx
jne 0x43c7ac
push 4
call fcn.004039a5
cmp eax, ebx
pop ecx
mov dword [0x446e64], eax
je 0x43c669
mov dword [eax], ebx
cmp dword [0x448900], ebx
jne 0x43c6a8
push 4
call fcn.004039a5
cmp eax, ebx
pop ecx
mov dword [0x448900], eax
je 0x43c669
mov dword [eax], ebx
mov ebx, dword [0x446e64]
mov edi, esi
mov esi, dword [ebp + 8]
sub edi, esi
push esi
call fcn.0043c550
mov edi, eax
test edi, edi
pop ecx
jl 0x43c701
cmp dword [ebx], 0
je 0x43c701
lea esi, [ebx + edi*4]
push dword [esi]
call fcn.004036f0
xor eax, eax
cmp dword [ebp - 4], eax
pop ecx
jne 0x43c6e9
mov eax, dword [ebp + 8]
mov dword [esi], eax
jmp 0x43c737
mov ecx, dword [esi + 4]
mov dword [esi], ecx
inc edi
add esi, 4
cmp dword [esi], eax
jne 0x43c6e0
mov eax, edi
shl eax, 2
push eax
push ebx
call fcn.00436ba9
test eax, eax
pop ecx
pop ecx
je 0x43c737
jmp 0x43c732
cmp dword [ebp - 4], 0
jne 0x43c7a5
test edi, edi
jge 0x43c711
neg edi
lea eax, [edi*4 + 8]
push eax
push ebx
call fcn.00436ba9
test eax, eax
pop ecx
pop ecx
je 0x43c669
lea ecx, [eax + edi*4]
and dword [ecx + 4], 0
mov dword [ecx], esi
mov dword [0x446e64], eax
cmp dword [ebp + 0xc], 0
je 0x43c78e
push dword [ebp + 8]
call fcn.00403938
inc eax
inc eax
push eax
call fcn.004039a5
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x43c78e
push dword [ebp + 8]
push esi
call fcn.004039b7
mov eax, esi
sub eax, dword [ebp + 8]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
and byte [eax], 0
mov ecx, dword [ebp - 4]
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x43c787
or dword [ebp - 8], 0xffffffff
push esi
call fcn.004036f0
pop ecx
cmp dword [ebp - 4], 0
je 0x43c79d
push dword [ebp + 8]
call fcn.004036f0
pop ecx
mov eax, dword [ebp - 8]
jmp 0x43c66c
push esi
call fcn.004036f0
pop ecx
xor eax, eax
jmp 0x43c66c
Function at 0x43cb20
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0040366c
mov eax, dword [0x446a0c]
xor eax, dword [ebp + 4]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.0043ac3a
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x43cc4a
push 2
push esi
push dword [ebp + 8]
call fcn.0043ac3a
add esp, 0xc
cmp eax, ebx
je 0x43cc4a
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x43cbed
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x100c]
push esi
push eax
call fcn.00402401
push 0x8000
push dword [ebp + 8]
call fcn.0043cf2b
add esp, 0x14
mov dword [ebp - 0xc], eax
cmp edi, ebx
mov eax, ebx
jge 0x43cba6
mov eax, edi
push eax
lea eax, [ebp - 0x100c]
push eax
push dword [ebp + 8]
call fcn.0043ad6c
add esp, 0xc
cmp eax, 0xffffffff
je 0x43cbc6
sub edi, eax
test edi, edi
jg 0x43cb9e
jmp 0x43cbde
call fcn.00439fb7
cmp dword [eax], 5
jne 0x43cbdb
call fcn.00439fae
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.0043cf2b
pop ecx
pop ecx
jmp 0x43cc35
jge 0x43cc35
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043ac3a
push dword [ebp + 8]
call fcn.0043b2fc
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x43cc35
call fcn.00439fae
mov dword [eax], 0xd
call fcn.00439fb7
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0043ac3a
add esp, 0xc
mov eax, esi
pop edi
jmp 0x43cc4c
mov eax, ebx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop esi
pop ebx
call fcn.004037c0
leave
ret
Function at 0x43cc5b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x43ce21
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x4468e0]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x43ce21
test cl, 0x48
je 0x43ccc1
mov al, byte [eax + 5]
cmp al, 0xa
je 0x43ccc1
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [esi + eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43cd13
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x43ccfb
call fcn.00439fae
mov dword [eax], 9
call fcn.00439fb7
mov dword [eax], esi
jmp 0x43cd0b
cmp eax, 0x6d
je 0x43ce21
push eax
call fcn.00439fc0
pop ecx
or eax, 0xffffffff
jmp 0x43ce23
mov eax, dword [edi]
mov edx, dword [ebp - 0xc]
add dword [ebp - 8], edx
lea ecx, [esi + eax + 4]
mov al, byte [ecx]
test al, al
jns 0x43ce1c
test edx, edx
je 0x43cd36
cmp byte [ebx], 0xa
jne 0x43cd36
or al, 4
jmp 0x43cd38
and al, 0xfb
mov byte [ecx], al
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x43ce16
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x43ce06
cmp al, 0xd
je 0x43cd6c
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x43cdf8
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x43cd86
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x43cd81
add dword [ebp + 0x10], 2
jmp 0x43cdda
mov dword [ebp + 0x10], eax
jmp 0x43cdf4
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [esi + eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43cdae
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x43cdf4
cmp dword [ebp - 0xc], 0
je 0x43cdf4
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x43cdcf
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x43cdda
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x43cdf7
cmp ebx, dword [ebp + 0xc]
jne 0x43cddf
cmp byte [ebp - 1], 0xa
jne 0x43cddf
mov byte [ebx], 0xa
jmp 0x43cdf7
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0043ac3a
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x43cdf8
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x43cd50
jmp 0x43ce16
mov eax, dword [edi]
lea esi, [esi + eax + 4]
mov al, byte [esi]
test al, 0x40
jne 0x43ce16
or al, 2
mov byte [esi], al
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x43ce23
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403000
Capabilities:
Access peb ldr_data
Get file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
mov esi, dword [sym.imp.WINMM.dll_PlaySoundA]
push edi
xor ebx, ebx
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
or dword [ebp - 4], 0xffffffff
xor eax, eax
add eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
and eax, dword [ebp - 4]
mov dword [0x426240], eax
mov dword [0x426244], 0x3e
call fcn.0040367d
mov ecx, eax
mov eax, 0x30e7a91b
sub eax, ecx
or eax, 0xdf
xor edx, edx
mov ecx, 0x3c7187ed
div ecx
mov eax, 0x154
sub eax, edx
and eax, 0x24606a0
mov dword [0x426244], eax
call fcn.00403697
call fcn.004036c1
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Rs_gJSfl__82C
mov dword [0x426244], eax
mov esi, eax
call edi
mov ecx, eax
and ecx, 8
xor edx, edx
or ecx, 0x36859bb6
mov eax, esi
div ecx
add edx, 0x94
mov dword [0x426244], edx
jmp loc.00440014

Function at 0x403651
Capabilities:
Get file attributes

Disassembly:
push esi
mov esi, dword [0x426244]
and esi, 0xdb
push str.g6P6.IyVj4Zxp1ULQz0LlQC4y
imul esi, esi, 0x5a
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or esi, 0x127afcb1
and eax, 0x4ad82f54
xor edx, edx
div esi
pop esi
ret

Function at 0x403697
Capabilities:
Get file attributes

Disassembly:
push esi
mov esi, dword [0x426244]
push str.A4G3zFl_pi__pg_U__vWT
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0x25e3
push 0x2b
pop ecx
xor edx, edx
div ecx
mov eax, edx
imul eax, esi
add eax, 0x90
pop esi
ret

Function at 0x4037ad
Capabilities:
Get disk information
Get file attributes

Disassembly:
push esi
push edi
push 0
mov esi, eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
and eax, 0x6b
xor edx, edx
or esi, 0x662cfa5b
div esi
push str.p_GH0UG5T_jSQJxM32
sub edi, edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0x49
or eax, edi
pop edi
pop esi
ret

Function at 0x403809
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push str._CM7HD0q5_3_OSK1C7gmPn
mov esi, eax
mov edi, ecx
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0x4679
xor edx, edx
or esi, 0xeafd7648
div esi
or ebx, 0xe37cc592
or edi, 0x38cfa469
mov ecx, dword [ebp + 8]
or ecx, 0x31c8d744
mov eax, edx
xor edx, edx
div ebx
mov eax, edx
xor edx, edx
div edi
mov eax, 0x2c6a339c
pop edi
pop esi
pop ebx
xor edx, dword [ebp + 0xc]
xor edx, dword [ebp + 0x10]
sub eax, edx
xor edx, edx
div ecx
mov eax, edx
imul eax, dword [ebp + 0x14]
pop ebp
ret

Function at 0x4038cd
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push str.sSBZuJjGZ_qoBZR_.5FMEg_DwOn
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esi, dword [ebp + 8]
and eax, 0x1b
sub esi, 0x480b
or esi, 0x23b0c56
xor edx, edx
div esi
pop esi
pop ebp
ret

Function at 0x403913
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
and eax, dword [ebp + 8]
xor edx, edx
and eax, 0xdc5
mov ecx, 0x2c044d7c
div ecx
mov eax, edx
add eax, dword [ebp + 0xc]
pop ebp
ret
Function at 0x4039ca
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x4039f8
mov ecx, dword [ebp - 4]
cmp ecx, 2
jl 0x4039f8
push dword [eax + ecx*4 - 4]
call dword [sym.imp.msvcrt.dll__wtoi]
pop ecx
leave
ret
xor eax, eax
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x409d20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x409d2f
pop dword [ebp - 0xc]
mov eax, 0x409d2f
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x38f62
push 0
mov eax, 0xed9bbbac
add eax, 0x12a5252c
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x4708
xor ebx, ebx
add ebx, eax
mov esi, 0x413bc4
add esi, dword [ebp - 0xc]
mov edi, 0x181e9f0b
sub edi, 0xfe807879
sub dword [ebp - 4], 0x5b397173
mov edx, dword [esi]
xor dword [ebp - 8], esi
add edx, edi
mov dword [ebx], edx
sub dword [ebp - 8], ecx
add ebx, 4
add esi, 0xde496ecd
sub esi, 0xde496ec9
loop 0x409d7f
add eax, 0x10ef3
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xbe80f65f
sub ecx, 0xbe40f65f
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x401c66
pop dword [ebp - 0x3c]
mov eax, 0x4e413fa0
add eax, 0xb1fedcc6
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x3034f071
add dword [ebp - 0x4c], 0x1e1d54da
mov dword [ebp - 0x48], 0x3a07e387
add dword [ebp - 0x48], 0xf82b68be
mov dword [ebp - 0x44], 0xf54c173e
sub dword [ebp - 0x44], 0xa8ffd310
mov dword [ebp - 0x40], 0x89203d88
add dword [ebp - 0x40], 0x76dfc278
lea eax, [ebp - 0x4c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x27988a24
add dword [ebp - 0x4c], 0x4cd9df32
mov dword [ebp - 0x48], 0xb4875382
sub dword [ebp - 0x48], 0x731af20d
mov dword [ebp - 0x44], 0xdfb57687
add dword [ebp - 0x44], 0x83b9f5e5
mov dword [ebp - 0x40], 0xc73462ce
add dword [ebp - 0x40], 0x38cb9d32
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0xd934e3f2
sub eax, 0xd8f4b3c6
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x359c6
push 0
call eax
mov ecx, 0x4485
xor edx, edx
add edx, eax
mov edi, 0x407000
add edi, dword [ebp - 0x3c]
mov esi, 0x2cc6e485
xor dword [ebp - 0x1c], 0x98b1c487
mov ebx, dword [edi]
add ebx, esi
mov dword [ebp - 0x10], 0x9197cccb
mov dword [edx], ebx
sub dword [ebp - 0x38], eax
add edx, 0xb0c3ed75
add edx, 0x4f3c128f
add edi, 0x907b2373
sub edi, 0x907b236f
loop 0x401d73
add eax, 0xc5f5fb33
add eax, 0x3a0b09b4
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x86f5730f
sub ecx, 0x86b5730f
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x404e80
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using rc4 via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x425004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 8]
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
xor esi, esi
push esi
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0x4239a4
push eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
call edi
test eax, eax
jne 0x404ed7
push 8
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0x4239a4
lea eax, [ebp - 8]
push eax
call edi
test eax, eax
je 0x404f8f
test ebx, ebx
je 0x404f8f
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x404f8f
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x404f6c
push 0
push edi
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x404f5e
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp - 0xc]
push 0x6801
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x404f5e
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
push 0
push 1
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
mov ecx, 1
mov eax, dword [ebp - 0x10]
cmovne esi, ecx
test eax, eax
je 0x404f5e
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x404f6c
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x404f7c
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004054b6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004054b6
mov esp, ebp
pop ebp
ret
Function at 0x41574f
Capabilities:
Set environment variable

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

Function at 0x16a59f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.FKP1
lea edi, [esi - 0x1272000]
push edi
or ebp, 0xffffffff
jmp 0x16a5a12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a5a19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a08
mov eax, 1
add ebx, ebx
jne 0x16a5a2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a5a3c
jne 0x16a5a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a5b
dec eax
add ebx, ebx
jne 0x16a5a48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a5a20
add ebx, ebx
jne 0x16a5a57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x16a5aad
xor ecx, ecx
sub eax, 3
jb 0x16a5a73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a5ae2
sar eax, 1
mov ebp, eax
jmp 0x16a5a7e
add ebx, ebx
jne 0x16a5a7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a4c
inc ecx
add ebx, ebx
jne 0x16a5a8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a4c
add ebx, ebx
jne 0x16a5a99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a5a8e
jne 0x16a5aaa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a5a8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x16a5acc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a5abe
jmp 0x16a5a0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a5acc
add edi, ecx
jmp 0x16a5a0e
pop esi
mov edi, esi
mov ecx, 0x34f3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a5aea
cmp byte [edi], 0x16
jne 0x16a5aea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x16a5aef
lea edi, [esi + 0x12a2000]
mov eax, dword [edi]
or eax, eax
je 0x16a5b5e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a67a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a6890]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a5b1c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a6894]
or eax, eax
je 0x16a5b58
mov dword [ebx], eax
add ebx, 4
jmp 0x16a5b39
call dword [esi + 0x12a68a4]
mov ebp, dword [esi + 0x12a6898]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x16a5b92
sub esp, 0xffffff80
jmp 0x46c1ac