joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404f00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444be8
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x452364]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], 0
push 0x105
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.0041f960
add esp, 0xc
lea ecx, [ebp - 0x224]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x10]
call fcn.0040f620
mov dword [ebp - 4], 0
lea eax, [ebp - 0x224]
push eax
push str.TEMPPATH
lea ecx, [ebp - 0x10]
call fcn.0040f6c0
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040f600
mov edx, dword [ebp - 0x228]
or edx, 1
mov dword [ebp - 0x228], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040f6a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e20d
mov esp, ebp
pop ebp
ret
Function at 0x406d00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445428
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x452364]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401c50
test eax, eax
jbe 0x406dcf
mov byte [ebp - 0x20], 0x25
mov byte [ebp - 0x1f], 0x2d
mov byte [ebp - 0x1e], 0x32
mov byte [ebp - 0x1d], 0x29
mov byte [ebp - 0x1c], 0x28
mov byte [ebp - 0x1b], 0x27
mov byte [ebp - 0x1a], 0x35
mov byte [ebp - 0x19], 0x22
mov byte [ebp - 0x18], 0x2e
mov byte [ebp - 0x17], 0x2c
mov byte [ebp - 0x16], 0x23
mov byte [ebp - 0x15], 0x28
mov byte [ebp - 0x14], 0x2f
mov byte [ebp - 0x13], 0x24
mov byte [ebp - 0x12], 0x25
push 0xf
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.00406960
mov dword [ebp - 0x4c], eax
push 0
mov ecx, dword [ebp - 0x4c]
call fcn.0040f520
push eax
lea ecx, [ebp + 8]
call fcn.0040f590
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x40]
call fcn.00401bb0
cmp dword [ebp - 0x24], 0
jle 0x406dcf
mov byte [ebp - 0x41], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401bb0
mov al, byte [ebp - 0x41]
jmp 0x406de5
mov byte [ebp - 0x42], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401bb0
mov al, byte [ebp - 0x42]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e20d
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x406e00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], 0
jmp 0x406e31
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 4
jge 0x406e48
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov dl, byte [eax]
mov byte [ebp + ecx - 8], dl
jmp 0x406e28
mov ecx, dword [ebp - 0x20]
call fcn.00406cd0
movzx eax, al
test eax, eax
je 0x406e7d
movzx ecx, byte [ebp - 5]
shl ecx, 0x18
movzx edx, byte [ebp - 6]
shl edx, 0x10
or ecx, edx
movzx eax, byte [ebp - 7]
shl eax, 8
or ecx, eax
movzx edx, byte [ebp - 8]
or ecx, edx
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
jmp 0x406ea1
movzx ecx, byte [ebp - 8]
shl ecx, 0x18
movzx edx, byte [ebp - 7]
shl edx, 0x10
or ecx, edx
movzx eax, byte [ebp - 6]
shl eax, 8
or ecx, eax
movzx edx, byte [ebp - 5]
or ecx, edx
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x18]
cmp dword [ecx], 0
jle 0x406f70
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
push eax
call fcn.0041d48c
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0xc]
add edx, 4
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call fcn.0041e8b0
add esp, 0xc
movzx edx, byte [ebp + 0x14]
test edx, edx
je 0x406f21
mov dword [ebp - 0x14], 0
jmp 0x406efb
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ecx]
jge 0x406f21
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
movzx eax, byte [ecx + edx]
xor eax, 0x41
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov byte [edx + ecx], al
jmp 0x406ef2
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
add eax, 4
mov ecx, dword [0x454868]
sub ecx, eax
push ecx
call fcn.0041d48c
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x1c]
mov dword [edx], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
add edx, 4
mov eax, dword [0x454868]
sub eax, edx
push eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
lea ecx, [eax + edx + 4]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call fcn.0041e8b0
add esp, 0xc
mov esp, ebp
pop ebp
ret 0x14
Function at 0x40abf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 0x60], ecx
lea ecx, [ebp + 8]
call fcn.00413050
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x8000000
push 0x44
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.0041f960
add esp, 0xc
mov dword [ebp - 0x58], 0x44
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 0x2c], 1
mov edx, 5
mov word [ebp - 0x28], dx
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x40ac5b
mov dword [ebp - 0x2c], 1
mov ecx, 0xb
mov word [ebp - 0x28], cx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x58]
push eax
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0xc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40ac99
mov byte [ebp - 0x59], 1
lea ecx, [ebp + 8]
call fcn.0040f6a0
mov al, byte [ebp - 0x59]
jmp 0x40acb2
mov byte [ebp - 0x5a], 0
lea ecx, [ebp + 8]
call fcn.0040f6a0
mov al, byte [ebp - 0x5a]
jmp 0x40acb2
mov esp, ebp
pop ebp
ret 0xc
Function at 0x413f90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4445a8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x452364]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x413fd0
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x413fdc
mov al, 1
jmp 0x41417f
mov dword [ebp - 0x10], 8
call fcn.00402b20
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.00402b20
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00402b00
add esp, 8
movzx eax, al
test eax, eax
je 0x41401f
xor al, al
jmp 0x41417f
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0040e440
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.0040e540
mov ecx, eax
call fcn.00413530
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00401c50
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040e540
mov ecx, eax
call fcn.00413530
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.00417df0
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x41409a
cmp dword [ebp - 0x6c], 1
je 0x4140a1
cmp dword [ebp - 0x6c], 3
je 0x41413b
jmp 0x414153
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040e540
mov ecx, eax
call fcn.00413530
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x414104
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040e540
mov ecx, eax
call fcn.00413530
push eax
call fcn.0041fd87
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x414104
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040e4c0
mov al, byte [ebp - 0x61]
jmp 0x41417f
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x414127
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040e4c0
mov al, byte [ebp - 0x62]
jmp 0x41417f
cmp dword [ebp - 0x38], 0
jne 0x414139
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00411cc0
jmp 0x41416b
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040e4c0
mov al, byte [ebp - 0x63]
jmp 0x41417f
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040e4c0
mov al, byte [ebp - 0x64]
jmp 0x41417f
jmp 0x414032
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0041e20d
mov esp, ebp
pop ebp
ret

Function at 0x41e20d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x452364]
jne 0x41e217
repz ret
jmp fcn.00424d77
Function at 0x43a0b1
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.004252e1
and dword [ebp - 4], 0
cmp dword [0x45474c], 0
mov ebx, eax
jne 0x43a162
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43a213
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x43a213
push eax
call fcn.0042526f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45474c], eax
call esi
push eax
call fcn.0042526f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x454750], eax
call esi
push eax
call fcn.0042526f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x454754], eax
call esi
push eax
call fcn.0042526f
pop ecx
mov dword [0x45475c], eax
test eax, eax
je 0x43a162
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042526f
pop ecx
mov dword [0x454758], eax
mov eax, dword [0x454758]
cmp eax, ebx
je 0x43a1ba
cmp dword [0x45475c], ebx
je 0x43a1ba
push eax
call fcn.004252ea
push dword [0x45475c]
mov esi, eax
call fcn.004252ea
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43a1ba
test edi, edi
je 0x43a1ba
call esi
test eax, eax
je 0x43a1b1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43a1b1
test byte [ebp - 0xc], 1
jne 0x43a1ba
or dword [ebp + 0x10], 0x200000
jmp 0x43a1f3
mov eax, dword [0x454750]
cmp eax, ebx
je 0x43a1f3
push eax
call fcn.004252ea
pop ecx
test eax, eax
je 0x43a1f3
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43a1f3
mov eax, dword [0x454754]
cmp eax, ebx
je 0x43a1f3
push eax
call fcn.004252ea
pop ecx
test eax, eax
je 0x43a1f3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45474c]
call fcn.004252ea
pop ecx
test eax, eax
je 0x43a213
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43a215
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001b32
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1000dfb6
call fcn.1000dd63
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x10001baf
push 2
push esi
push ebx
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x10001baf
call fcn.100012b3
mov esi, eax
jmp 0x10001cb5
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x10001bd2
call fcn.100012b3
jmp 0x10001ca8
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x10001bc8
push ebx
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x10001c05
mov esi, 0x8007000e
jmp 0x10001caa
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
cmp edx, esi
ja 0x10001cd8
jb 0x10001c20
cmp eax, 0xffffffff
ja 0x10001cd8
cmp eax, 0x400
jbe 0x10001c35
push eax
lea ecx, [ebp - 0x418]
call fcn.100077a3
jmp 0x10001c57
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x10001c57
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x10001bfb
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x41c]
push esi
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x10001bc8
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.100077a3
mov esi, eax
test edi, edi
je 0x10001cb5
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10001cce
lea ecx, [ebp - 0x418]
call fcn.1000413e
mov eax, esi
call fcn.1000dcb8
ret 0x10
push 0x80070216
call fcn.100077a3
int3
Function at 0x100046d5
Capabilities:
Parse url

Disassembly:
push 0x4c
mov eax, 0x1000e1f1
call fcn.1000dcc4
mov dword [ebp - 0x1c], ecx
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x58]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x58], esi
push ebx
call fcn.100077a3
and dword [ebp - 4], 0
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
push 5
push ebx
call esi
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1000485a
push 6
push ebx
mov byte [ebp - 4], 1
call esi
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x1000485a
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.100049e9
mov esi, dword [ebp - 0x14]
mov ebx, eax
test ebx, ebx
js 0x1000483f
lea ecx, [ebp - 0x18]
call fcn.100049e9
mov ebx, eax
test ebx, ebx
js 0x1000483f
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x40], 0
je 0x1000483a
mov ebx, dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push esi
call ebx
cmp eax, 0x8000
ja 0x1000483a
push esi
call ebx
cmp eax, 6
jb 0x1000483a
lea ecx, [ebp - 0x14]
call fcn.100049e9
mov ebx, eax
test ebx, ebx
js 0x1000483f
push str.http:
lea ecx, [ebp - 0x10]
call fcn.100077a3
test al, al
je 0x100047c1
push str.https:
lea ecx, [ebp - 0x18]
call fcn.100077a3
test al, al
jne 0x1000483a
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x18], eax
movzx eax, word [eax]
test ax, ax
je 0x1000483a
mov ecx, eax
cmp cx, 0xd
je 0x1000483a
cmp cx, 0xa
je 0x1000483a
mov dword [ebp - 0x1c], 0x2f
lea eax, [edx + 1]
cmp word [ebp - 0x1c], cx
cmovne eax, edx
mov edx, eax
mov eax, dword [ebp - 0x18]
add eax, 2
mov dword [ebp - 0x18], eax
movzx eax, word [eax]
mov ecx, eax
test ax, ax
jne 0x100047d3
cmp edx, 3
jb 0x1000483a
xor eax, eax
inc eax
push esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x50], eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
lea ecx, [ebp - 0x58]
push ecx
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x1000483f
mov ebx, 0x80070057
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
push dword [ebp - 0x10]
call edi
push esi
call edi
mov eax, ebx
call fcn.1000dc98
ret 4
push 0x8007000e
call fcn.100077a3
int3
Function at 0x100077a3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x100077b2
pop dword [ebp - 0x20]
mov eax, 0x8f64022d
add eax, 0x809c7585
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x35845
push 0
mov eax, 0xf1be9609
sub eax, 0xe1bda535
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0x94df2486
sub ecx, 0x94dee9a8
xor ebx, ebx
add ebx, eax
mov edx, 0xed56da41
add edx, 0x22aae9bf
add edx, dword [ebp - 0x20]
mov edi, 0x570b55c
sub edi, 0x3a18d0cc
mov esi, dword [edx]
sub dword [ebp - 4], 0xe14cb82c
add esi, edi
mov dword [ebx], esi
xor dword [ebp - 0xc], 0xaaa6b81e
add ebx, 4
add edx, 0x89219049
add edx, 0x76de6fbb
loop 0x10007813
add eax, 0xe2f20c63
sub eax, 0xe2f12e18
mov ebx, eax
add eax, 0xf7cfb367
add eax, 0x8304c9e
mov ecx, 0x46f3dbed
sub ecx, 0x36f3dbed
add ecx, dword [ebp - 0x20]
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 0x414b40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x414b62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414b69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414b58
mov eax, 1
add ebx, ebx
jne 0x414b7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414b70
jne 0x414b8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414b70
xor ecx, ecx
sub eax, 3
jb 0x414ba0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414c12
mov ebp, eax
add ebx, ebx
jne 0x414bab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414bb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x414bdc
inc ecx
add ebx, ebx
jne 0x414bc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414bbd
jne 0x414bd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414bbd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414bfc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x414bed
jmp 0x414b5e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414bfc
add edi, ecx
jmp 0x414b5e
pop esi
mov edi, esi
mov ecx, 0x43b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x414c1a
cmp byte [edi], 0
jne 0x414c1a
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 0x414c1f
lea edi, [esi + 0x12000]
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x401c66
pop dword [ebp - 0x28]
mov eax, 0x401c66
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xcc1435fe
add dword [ebp - 0x38], 0x823e0f4d
mov dword [ebp - 0x34], 0xbb2933b6
add dword [ebp - 0x34], 0x770a188f
mov dword [ebp - 0x30], 0x814451be
add dword [ebp - 0x30], 0xcb07f270
mov dword [ebp - 0x2c], 0x9910629f
add dword [ebp - 0x2c], 0x66ef9d61
lea eax, [ebp - 0x38]
push eax
mov eax, 0xc73ab787
add eax, 0x390578cd
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x38ebe08c
add dword [ebp - 0x38], 0x3b8688ca
mov dword [ebp - 0x34], 0xdeaf75ac
sub dword [ebp - 0x34], 0x9d431437
mov dword [ebp - 0x30], 0x174d7dc
add dword [ebp - 0x30], 0x61fa9490
mov dword [ebp - 0x2c], 0xa5ba27fc
add dword [ebp - 0x2c], 0x5a45d804
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0xdc2a451d
add eax, 0x2415eb0f
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x36ec2
push 0
call eax
mov ecx, 0x9bdde282
add ecx, 0x64226742
xor esi, esi
add esi, eax
mov edi, 0xf11c65d8
sub edi, 0xf0dbf5d8
add edi, dword [ebp - 0x28]
mov ebx, 0x7b1e657c
add ebx, 0x755eadd5
add dword [ebp - 8], 0xd4304d6e
mov edx, dword [edi]
xor dword [ebp - 0x1c], 0x5676cfab
xor edx, ebx
sub dword [ebp - 0x1c], edi
mov dword [esi], edx
add dword [ebp - 0x10], esi
add esi, 0x4010308b
sub esi, 0x40103087
add edi, 4
loop 0x401d85
add eax, 0xf7b33c8c
add eax, 0x84ddd57
xor ebx, ebx
add ebx, eax
add eax, 0x87313299
sub eax, 0x87313294
mov ecx, 0x6272e82f
add ecx, 0x9dcd17d1
add ecx, dword [ebp - 0x28]
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 0x10043150
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1004331d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2e000]
push edi
or ebp, 0xffffffff
jmp 0x1004317a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10043181
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10043170
mov eax, 1
add ebx, ebx
jne 0x10043193
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10043188
jne 0x100431a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10043188
xor ecx, ecx
sub eax, 3
jb 0x100431b8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1004322a
mov ebp, eax
add ebx, ebx
jne 0x100431c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x100431d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x100431f4
inc ecx
add ebx, ebx
jne 0x100431e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x100431d5
jne 0x100431f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100431d5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10043214
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10043205
jmp 0x10043176
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10043214
add edi, ecx
jmp 0x10043176
pop esi
mov edi, esi
mov ecx, 0x6b2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10043232
cmp byte [edi], 0x11
jne 0x10043232
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 0x10043237
lea edi, [esi + 0x3f000]
mov eax, dword [edi]
or eax, eax
je 0x100432af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x431dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4325c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10043264
mov ecx, edi
jns 0x10043293
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 + 0x43260]
or eax, eax
je 0x100432a9
mov dword [ebx], eax
add ebx, 4
jmp 0x10043281
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x100432e0
cmp al, 0xef
ja 0x100432d3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x100432b5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x100432c2
mov ebp, dword [esi + 0x43264]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x10043314
sub esp, 0xffffff80
jmp 0x1000ac07