joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402658
Capabilities:
Terminate process

Disassembly:
xor edi, edi
xor esi, esi
mov edx, eax
mov eax, 5
add eax, 5
inc eax
test eax, 0xb
jne 0x40267a
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x401036], eax
ret

Function at 0x4177e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0x4177fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x417801
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4177f0
mov eax, 1
add ebx, ebx
jne 0x417813
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x417808
jne 0x417824
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417808
xor ecx, ecx
sub eax, 3
jb 0x417838
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4178aa
mov ebp, eax
add ebx, ebx
jne 0x417843
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x417850
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x417874
inc ecx
add ebx, ebx
jne 0x417860
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x417855
jne 0x417871
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417855
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x417894
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x417885
jmp 0x4177f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x417894
add edi, ecx
jmp 0x4177f6
pop esi
mov edi, esi
mov ecx, 0x495
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4178b2
cmp byte [edi], 2
jne 0x4178b2
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 0x4178b7
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x41792f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1927c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19344]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4178e4
mov ecx, edi
jns 0x417913
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19348]
or eax, eax
je 0x417929
mov dword [ebx], eax
add ebx, 4
jmp 0x417901
call dword [esi + 0x19358]
mov ebp, dword [esi + 0x1934c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x417963
sub esp, 0xffffff80
jmp 0x40b6b2
Function at 0x40dfc0
Capabilities:
Create process on windows
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b657b
mov eax, dword fs:[0]
push eax
mov eax, 0x2090
call fcn.00494c30
mov eax, dword [0x4d7068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x2054], eax
mov eax, dword [ebp + 0x1c]
push 0x44
mov dword [ebp - 0x2058], eax
lea eax, [ebp - 0x209c]
push 0
push eax
mov dword [ebp - 0x2050], 0
mov dword [ebp - 0x204c], 0
call fcn.00497c60
push 0x2000
lea eax, [ebp - 0x2010]
mov dword [ebp - 0x209c], 0x44
push 0
push eax
mov dword [ebp - 0x2070], 1
call fcn.00497c60
xor eax, eax
mov dword [ebp - 0x2014], 7
add esp, 0x18
mov dword [ebp - 0x2018], 0
mov word [ebp - 0x2028], ax
cmp word [esi], ax
jne 0x40e07d
xor ecx, ecx
jmp 0x40e091
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e082
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2028]
call fcn.00411b30
lea eax, [ebp - 0x2028]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x2040]
push eax
call fcn.0040d8e0
mov eax, dword [ebp - 0x2014]
add esp, 8
cmp eax, 8
jb 0x40e0d9
inc eax
lea ecx, [ebp - 0x2028]
push eax
push dword [ebp - 0x2028]
call fcn.00490de0
cmp dword [ebp - 0x202c], 8
lea ecx, [ebp - 0x2040]
lea edx, [ebp - 0x2010]
cmovae ecx, dword [ebp - 0x2040]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x40e0f3
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
neg eax
mov dword [ebp - 0x209c], 0x44
mov dword [ebp - 0x2094], 0x4b9898
sbb eax, eax
and eax, 5
mov word [ebp - 0x206c], ax
lea eax, [ebp - 0x2050]
push eax
lea eax, [ebp - 0x209c]
push eax
push dword [ebp - 0x2054]
lea eax, [ebp - 0x2010]
push 0
push 0x34
push 0
push 0
push 0
push eax
push 0
movups xmmword [ebp - 0x2050], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40e168
xor esi, esi
jmp 0x40e1c8
push dword [ebp - 0x204c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp - 0x204c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
cmp dword [ebp + 0x10], 0
je 0x40e1b7
push 0xffffffffffffffff
push dword [ebp - 0x2050]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x2058]
test eax, eax
je 0x40e1ad
push eax
push dword [ebp - 0x2050]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x2050]
call esi
jmp 0x40e1c3
test edi, edi
je 0x40e1c3
mov eax, dword [ebp - 0x2050]
mov dword [edi], eax
mov esi, 1
mov ecx, dword [ebp - 0x202c]
cmp ecx, 8
jb 0x40e1e6
inc ecx
push ecx
push dword [ebp - 0x2040]
lea ecx, [ebp - 0x2040]
call fcn.00490de0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004942e8
mov esp, ebp
pop ebp
ret
Function at 0x40f930
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40f945
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40f986
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40f982
nop word [eax + eax]
cmp esi, edx
jae 0x40f986
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x40f970
cmp esi, edx
jb 0x40f98b
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret

Function at 0x412000
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0x10
jb 0x412011
mov eax, dword [esi]
jmp 0x412013
mov eax, esi
push eax
call fcn.004a01bd
add esp, 4
test eax, eax
je 0x41203b
cmp dword [esi + 0x14], 0x10
jb 0x412028
mov esi, dword [esi]
push esi
push str.Failed_to_create_directory_s_n
call fcn.0040f030
add esp, 8
xor al, al
pop esi
pop ebp
ret
mov al, 1
pop esi
pop ebp
ret

Function at 0x412140
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4d7068]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004117e0
lea eax, [ebp - 0x1c]
push eax
call fcn.0040e2a0
add esp, 0x1c
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 8
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41219f
test al, 0x10
je 0x41219f
mov bl, 1
jmp 0x4121a1
xor bl, bl
mov ecx, dword [ebp - 8]
cmp ecx, 8
jb 0x4121b6
inc ecx
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
call fcn.00490de0
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004942e8
mov esp, ebp
pop ebp
ret
Function at 0x436ab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov ecx, dword [eax + 0xc]
push edi
test ecx, ecx
je 0x436b03
mov al, byte [ebx]
xor esi, esi
mov edi, ebx
test al, al
je 0x436aee
nop dword [eax]
movzx eax, al
lea ecx, [esi*8]
lea edi, [edi + 1]
movzx edx, byte [eax + 0x4bc7e0]
mov al, byte [edi]
xor edx, ecx
xor esi, edx
test al, al
jne 0x436ad0
mov ecx, dword [ebp + 8]
mov eax, esi
xor edx, edx
div dword [ecx]
mov edi, dword [ecx + 0xc]
mov esi, dword [edi + edx*8 + 4]
mov edi, dword [edi + edx*8]
jmp 0x436b0b
mov esi, dword [eax + 8]
xor edx, edx
mov edi, dword [eax + 4]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
test edi, edi
je 0x436b2b
push ebx
push dword [esi + 0xc]
dec edi
call fcn.00425580
add esp, 8
test eax, eax
je 0x436b32
mov esi, dword [esi]
test edi, edi
jne 0x436b14
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret

Function at 0x445120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ecx*8]
mov edi, 0x80
cmp eax, 0x400
cmovbe edi, ecx
cmp edi, dword [esi]
jne 0x44514c
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4d8798]
test eax, eax
je 0x445157
call eax
push ebx
lea eax, [edi*8]
push 0
push eax
call fcn.0045fed0
mov ecx, dword [0x4d879c]
add esp, 8
mov ebx, eax
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x44517b
call ecx
test ebx, ebx
jne 0x445188
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push dword [esi + 0xc]
call fcn.00422f30
push ebx
mov dword [esi + 0xc], ebx
call dword [0x4d6c48]
shr eax, 3
mov dword [ebp + 0xc], eax
mov dword [esi], eax
lea ecx, [eax*8]
push ecx
push 0
push ebx
call fcn.00497c60
mov ecx, dword [esi + 8]
add esp, 0x14
mov dword [esi + 8], 0
test ecx, ecx
je 0x445261
mov edi, dword [ecx + 0xc]
xor ebx, ebx
mov al, byte [edi]
test al, al
je 0x4451f0
movzx eax, al
lea edx, [ebx*8]
lea edi, [edi + 1]
movzx esi, byte [eax + 0x4bc7e0]
mov al, byte [edi]
xor esi, edx
xor ebx, esi
test al, al
jne 0x4451d2
xor edx, edx
mov edi, dword [ecx]
mov eax, ebx
div dword [ebp + 0xc]
mov eax, dword [ebp - 4]
lea esi, [eax + edx*8]
test esi, esi
je 0x44523b
mov eax, dword [esi]
test eax, eax
je 0x44520e
mov edx, dword [esi + 4]
jmp 0x445210
xor edx, edx
inc eax
mov dword [esi + 4], ecx
mov dword [esi], eax
test edx, edx
je 0x44523b
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x445230
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x445257
mov eax, dword [ebp + 8]
mov dword [eax + 8], ecx
mov dword [edx + 4], ecx
jmp 0x445257
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
mov dword [ecx], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x44524d
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [esi + 8], ecx
mov ecx, edi
test edi, edi
jne 0x4451c7
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x462be0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x10]
mov eax, dword [ecx + 0x94]
cmp eax, dword [ecx + 0x98]
jbe 0x462c00
mov dword [ebp + 8], edx
pop ebp
jmp fcn.00441500
mov dword [ebp + 8], edx
pop ebp
jmp fcn.004426c0
Function at 0x46c170
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [edi], 0
cmp dword [0x4d6c18], 0
je 0x46c1c2
mov eax, dword [0x4d8690]
test eax, eax
je 0x46c19a
push eax
call dword [0x4d6c6c]
add esp, 4
lea eax, [ebp + 8]
push eax
push 0x14
call fcn.0043cf20
mov eax, dword [0x4d8690]
add esp, 8
test eax, eax
je 0x46c1bd
push eax
call dword [0x4d6c74]
mov esi, dword [ebp + 8]
jmp 0x46c1cc
mov esi, dword [ebp + 8]
jmp 0x46c1cf
push 0x14
call dword [0x4d6c3c]
mov esi, eax
add esp, 4
test esi, esi
jne 0x46c1da
pop edi
lea eax, [esi + 7]
pop esi
pop ebp
ret
cmp dword [0x4d6c1c], 0
push ebx
mov ebx, dword [ebp + 0x10]
je 0x46c20e
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x46c2a0
push 0
push 0
mov dword [esi + 0xc], ebx
call fcn.004a0ca1
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x46c21b
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x46c234
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
mov dword [esi + 4], eax
call dword [ebp + 0xc]
add esp, 4
mov dword [esi + 0x10], eax
pop ebx
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x478290
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
movsx eax, word [ebx + 0x4c]
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + eax*4 + 0x78]
mov edx, dword [eax + 0x3c]
movzx eax, word [ebx + 0x28]
sub edx, esi
cmp eax, edx
cmovb edx, eax
mov eax, dword [ebp + 0xc]
lea ecx, [eax + edi]
cmp ecx, edx
ja 0x4782db
mov edx, dword [ebp + 0x18]
lea ecx, [esi + eax]
xor eax, eax
mov dword [edx + 0xc], edi
pop edi
mov dword [edx + 0x10], ecx
mov ecx, 0x1010
pop esi
mov word [edx + 8], cx
pop ebx
pop ebp
ret
mov esi, dword [ebp + 0x18]
lea eax, [edi + 2]
mov ecx, 1
mov word [esi + 8], cx
cmp dword [esi + 0x18], eax
jge 0x478304
push 0
push eax
push esi
call fcn.00478380
add esp, 0xc
test eax, eax
je 0x47830e
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [esi + 0x14]
mov dword [esi + 0x10], eax
mov word [esi + 8], cx
cmp dword [ebp + 0x14], 0
je 0x478328
push 0
push dword [esi + 0x10]
push edi
push dword [ebp + 0xc]
push ebx
call fcn.00427a40
add esp, 0x14
jmp 0x478338
push dword [esi + 0x10]
push edi
push dword [ebp + 0xc]
push ebx
call fcn.0044d9d0
add esp, 0x10
mov ebx, eax
test ebx, ebx
jne 0x47835e
mov eax, dword [esi + 0x10]
mov byte [edi + eax], bl
mov eax, dword [esi + 0x10]
mov byte [eax + edi + 1], bl
mov eax, 0x210
mov dword [esi + 0xc], edi
pop edi
mov word [esi + 8], ax
mov eax, ebx
pop esi
pop ebx
pop ebp
ret
mov eax, 0x2460
test word [esi + 8], ax
jne 0x47836f
cmp dword [esi + 0x18], 0
je 0x478378
push esi
call fcn.00481210
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret

Function at 0x47e870
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
xor eax, eax
mov cl, byte [esi]
test cl, cl
je 0x47e89e
nop
movzx ecx, cl
lea esi, [esi + 1]
movzx edx, byte [ecx + 0x4bc7e0]
lea ecx, [eax*8]
xor edx, ecx
mov cl, byte [esi]
xor eax, edx
test cl, cl
jne 0x47e880
pop esi
pop ebp
ret
Function at 0x48f1a0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe84
mov eax, dword [0x4d7068]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc34]
push 0x618
push 0
push eax
call fcn.00497c60
push edi
lea eax, [ebp - 0xc34]
push str._s.
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0xe84]
push eax
lea eax, [ebp - 0xc34]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x48f2f2
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
nop word [eax + eax]
mov ecx, 0x4b9928
lea eax, [ebp - 0xe58]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48f246
test dx, dx
je 0x48f242
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48f246
add eax, 4
add ecx, 4
test dx, dx
jne 0x48f220
xor eax, eax
jmp 0x48f24b
sbb eax, eax
or eax, 1
test eax, eax
je 0x48f2db
mov eax, 0x4b992c
lea ecx, [ebp - 0xe58]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x48f286
test dx, dx
je 0x48f282
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x48f286
add ecx, 4
add eax, 4
test dx, dx
jne 0x48f260
xor eax, eax
jmp 0x48f28b
sbb eax, eax
or eax, 1
test eax, eax
je 0x48f2db
push 0x618
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.00497c60
lea eax, [ebp - 0xe58]
push eax
push edi
lea eax, [ebp - 0x61c]
push 0x4b9934
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x61c]
test byte [ebp - 0xe84], 0x10
push eax
je 0x48f2d9
call fcn.0048f1a0
add esp, 4
jmp 0x48f2db
call ebx
lea eax, [ebp - 0xe84]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x48f210
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004942e8
mov esp, ebp
pop ebp
ret

Function at 0x491ab0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp dword [esi + 0x14], 0x10
jb 0x491ac2
mov eax, dword [esi]
jmp 0x491ac4
mov eax, esi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 0x10
jb 0x491ad1
mov ecx, dword [edi]
jmp 0x491ad3
mov ecx, edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x491b07
push str.File_moved_successfully.
push 0x4d8b98
call fcn.00401b90
push eax
call fcn.00405cd0
push str.File_moved_successfully.
call fcn.0048f600
add esp, 0x10
mov al, 1
pop edi
pop esi
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push ebx
push str.Failed_to_move_file._Error_code:
push 0x4d8c48
call fcn.00401b90
add esp, 8
mov ecx, eax
call fcn.0048eb30
push eax
call fcn.00405cd0
add esp, 4
cmp dword [esi + 0x14], 0x10
jb 0x491b3b
mov esi, dword [esi]
cmp dword [edi + 0x14], 0x10
jb 0x491b43
mov edi, dword [edi]
push ebx
push esi
push edi
push str.Failed_to_move_file._sourcePath___s_destinationPath__s_Error_code:_d_n
call fcn.0048f600
add esp, 0x10
xor al, al
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x4a7f75
Capabilities:
Read file on windows

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

Function at 0x4ad074
Capabilities:
Set environment variable

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x1df9341b
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x92d141c
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x5bb4b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x133000]
push edi
or ebp, 0xffffffff
jmp 0x5bb4d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5bb4d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5bb4c8
mov eax, 1
add ebx, ebx
jne 0x5bb4eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5bb4fc
jne 0x5bb51b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5bb51b
dec eax
add ebx, ebx
jne 0x5bb508
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5bb4e0
add ebx, ebx
jne 0x5bb517
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5bb56d
xor ecx, ecx
sub eax, 3
jb 0x5bb533
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5bb5a2
sar eax, 1
mov ebp, eax
jmp 0x5bb53e
add ebx, ebx
jne 0x5bb53e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5bb50c
inc ecx
add ebx, ebx
jne 0x5bb54c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5bb50c
add ebx, ebx
jne 0x5bb559
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5bb54e
jne 0x5bb56a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5bb54e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5bb58c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5bb57e
jmp 0x5bb4ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5bb58c
add edi, ecx
jmp 0x5bb4ce
pop esi
mov edi, esi
mov ecx, 0x469e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5bb5aa
cmp byte [edi], 0xd
jne 0x5bb5aa
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 0x5bb5af
lea edi, [esi + 0x1b8000]
mov eax, dword [edi]
or eax, eax
je 0x5bb627
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1bcbf4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1bccf0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5bb5dc
mov ecx, edi
jns 0x5bb60b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1bccf8]
or eax, eax
je 0x5bb621
mov dword [ebx], eax
add ebx, 4
jmp 0x5bb5f9
call dword [esi + 0x1bccf4]
mov ebp, dword [esi + 0x1bccfc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
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 0x5bb65b
sub esp, 0xffffff80
jmp 0x401380