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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b91d
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x5a4eec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x118], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x120], esi
mov dword [esi + 0x10], 0
jb 0x45832a
mov eax, dword [esi]
jmp 0x45832c
mov eax, esi
mov byte [eax], 0
push 0x104
lea eax, [ebp - 0x114]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x118], 1
call fcn.00517500
add esp, 0xc
lea eax, [ebp - 0x114]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp byte [ebp - 0x114], 0
jne 0x458375
xor ecx, ecx
jmp 0x458389
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x458380
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
mov ecx, esi
push eax
call fcn.0044b730
cmp dword [esi + 0x10], 2
jb 0x4583e9
push 2
push 0
lea eax, [ebp - 0x150]
mov ecx, esi
push eax
call fcn.0044b5a0
push eax
mov edx, str.__
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x138]
call fcn.00450310
add esp, 4
mov ecx, esi
push eax
call fcn.0044b900
lea ecx, [ebp - 0x138]
call fcn.0044b890
lea ecx, [ebp - 0x150]
call fcn.0044b890
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00514739
mov esp, ebp
pop ebp
ret
Function at 0x458de0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53bb0b
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x5a4eec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x114]
push 0x104
push 0
push eax
call fcn.00517500
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x458f22
cmp byte [ebp - 0x114], 0
lea esi, [ebp - 0x114]
je 0x458f22
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x130], 0
cmp byte [esi], 0
jne 0x458e77
xor eax, eax
jmp 0x458e89
mov eax, esi
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x458e80
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x130]
call fcn.0044b730
mov dword [ebp - 4], 0
cmp dword [ebp - 0x120], 0
jbe 0x458f10
lea eax, [ebp - 0x130]
mov ecx, edi
push eax
call fcn.0045a8e0
mov eax, dword [ebp - 0x120]
inc eax
mov dword [ebp - 4], 0xffffffff
add esi, eax
mov eax, dword [ebp - 0x11c]
cmp eax, 0x10
jb 0x458f00
mov ecx, dword [ebp - 0x130]
inc eax
cmp eax, 0x1000
jb 0x458ef7
test cl, 0x1f
jne 0x458f0b
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x458f0b
sub ecx, eax
cmp ecx, 4
jb 0x458f0b
cmp ecx, 0x23
ja 0x458f0b
mov ecx, eax
push ecx
call fcn.0051421e
add esp, 4
cmp byte [esi], 0
jne 0x458e53
jmp 0x458f22
call fcn.0051a14c
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], 0xffffffff
call fcn.0044b890
mov esi, dword [edi + 4]
mov eax, 0x2aaaaaab
mov ecx, dword [edi]
mov edx, esi
sub edx, ecx
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x458f75
mov dl, byte [ebp - 0x118]
mov eax, 0x2aaaaaab
mov byte [ebp - 0x118], dl
lea edx, [ebp - 0x118]
push edx
mov edx, esi
sub edx, ecx
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, esi
push eax
call fcn.0045b270
add esp, 8
mov al, 1
jmp 0x458f77
xor al, al
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.00514739
mov esp, ebp
pop ebp
ret 4
Function at 0x458fa0
Capabilities:
Delete file
Delete registry value
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53bb48
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5a4eec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
push 0x59cf40
push str.Software84411976_A712_4e73_9E61_435EF38696BC
push SysReAllocStringLen
call esi
push 0x59cf40
push str.Software84411976_A712_4e73_9E61_435EF38696BC
push reloc.OLEAUT32.dll_SysReAllocString
call esi
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x10]
mov ebx, dword [ebp - 0x18]
xor ecx, ecx
mov esi, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
mov dword [ebp - 0x38], ecx
mov ecx, ebx
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4590f3
xor edi, edi
push str._gliid
lea eax, [edi + esi]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00453a00
add esp, 0xc
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0x10
cmovae eax, dword [ebp - 0x34]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x4590c7
mov eax, dword [ebp - 0x34]
inc ecx
cmp ecx, 0x1000
jb 0x4590be
test al, 0x1f
jne 0x459127
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x459127
sub eax, ecx
cmp eax, 4
jb 0x459127
cmp eax, 0x23
ja 0x459127
mov eax, ecx
push eax
call fcn.0051421e
add esp, 4
mov ebx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1c]
mov ecx, ebx
inc dword [ebp - 0x38]
sub ecx, esi
imul ecx
mov ecx, dword [ebp - 0x38]
add edi, 0x18
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jb 0x459053
test esi, esi
je 0x459171
push dword [ebp - 0x38]
mov edx, ebx
push ecx
mov ecx, esi
call fcn.00454950
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1c]
add esp, 8
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xaaaaaaa
jbe 0x45912c
call fcn.0051a14c
lea eax, [eax + eax*2]
shl eax, 3
cmp eax, 0x1000
jb 0x459168
test byte [ebp - 0x1c], 0x1f
je 0x459144
call fcn.0051a14c
mov eax, dword [esi - 4]
cmp eax, esi
jb 0x459150
call fcn.0051a14c
sub esi, eax
cmp esi, 4
jae 0x45915c
call fcn.0051a14c
cmp esi, 0x23
jbe 0x459166
call fcn.0051a14c
mov esi, eax
push esi
call fcn.0051421e
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00514739
mov esp, ebp
pop ebp
ret
Function at 0x459b30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53bcee
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x5a4eec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xe0]
push 0x98
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xe4], 0
call fcn.00517500
add esp, 4
lea ecx, [ebp - 0xe0]
call fcn.0044bbc0
mov dword [ebp - 4], 1
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x459bc7
mov eax, dword [esi]
jmp 0x459bc9
mov eax, esi
mov byte [eax], 0
mov dword [ebp - 0xe4], 1
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
push 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
push 0x1000
mov dword [ebp - 0x14], 0x1000
call fcn.0044deb0
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x14]
push ecx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
push 0x59cf40
push str.Software84411976_A712_4e73_9E61_435EF38696BC
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
je 0x459c60
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x14]
push ecx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
push 0x59cf40
push str.Software84411976_A712_4e73_9E61_435EF38696BC
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x459d31
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
ja 0x459c7e
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], ecx
cmovae eax, dword [ebp - 0x2c]
mov byte [eax + ecx], 0
jmp 0x459c8b
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0044deb0
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x2c]
xor ecx, ecx
call fcn.00456ae0
mov eax, dword [ebx]
lea ecx, [ebp - 0x48]
add esp, 4
push ecx
lea ecx, [ebp - 0x100]
push ecx
mov ecx, ebx
call dword [eax + 0x2c]
push eax
mov ecx, esi
call fcn.0044b900
lea ecx, [ebp - 0x100]
call fcn.0044b890
mov edx, str.get_xid_from_reg_:
lea ecx, [ebp - 0xe0]
call fcn.00450060
mov edx, esi
mov ecx, eax
call fcn.00453b50
push eax
call fcn.00453dc0
add esp, 4
lea eax, [ebp - 0x100]
lea ecx, [ebp - 0xe0]
push eax
call fcn.0044bae0
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x459d17
mov eax, dword [eax]
mov ecx, eax
call fcn.004541e0
lea ecx, [ebp - 0x100]
call fcn.0044b890
lea ecx, [ebp - 0x48]
call fcn.0044b890
lea ecx, [ebp - 0x2c]
call fcn.0044b890
lea ecx, [ebp - 0x90]
call fcn.0044bb00
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 5
push eax
mov dword [ebp - 0x90], vtable.std::ios_base.0
call fcn.00513411
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00514739
mov esp, ebp
pop ebp
ret 4
Function at 0x459d90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53bd54
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x5a4eec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xf0]
push 0x98
push 0
push eax
call fcn.00517500
add esp, 4
lea ecx, [ebp - 0xf0]
call fcn.0044bbc0
mov dword [ebp - 4], 0
xor bl, bl
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], bl
push esi
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push 0x5a9d60
push eax
call fcn.0045b120
add esp, 0xc
push 0xffffffffffffffff
mov byte [ebp - 4], 2
lea eax, [ebp - 0x58]
push 0
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], bl
call fcn.0044dd80
mov byte [ebp - 4], 3
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
mov edx, 0x5a5868
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
push ecx
mov ecx, 1
call fcn.00454c30
add esp, 0xc
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
push 0
push eax
call fcn.0044dd80
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0044b890
push dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
cmovae eax, dword [ebp - 0x28]
push eax
push 3
push 0x59cf40
push str.Software84411976_A712_4e73_9E61_435EF38696BC
push SysReAllocStringLen
call esi
push dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0x10
mov edi, eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 3
push 0x59cf40
push str.Software84411976_A712_4e73_9E61_435EF38696BC
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test edi, edi
jne 0x459ed7
mov ecx, str.save_xid_to_reg_ok
mov bl, 1
call fcn.004541e0
jmp 0x459f49
mov edx, str.save_xid_error:
lea ecx, [ebp - 0xf0]
call fcn.00450060
mov edx, eax
test edx, edx
jne 0x459ef1
xor ecx, ecx
jmp 0x459ef8
mov eax, dword [edx]
mov ecx, dword [eax + 4]
add ecx, edx
mov eax, dword [ecx + 0x14]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx + 0x14], eax
mov ecx, edx
push edi
call fcn.0044c5f0
push eax
call fcn.00453dc0
add esp, 4
lea eax, [ebp - 0x108]
lea ecx, [ebp - 0xf0]
push eax
call fcn.0044bae0
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x459f37
mov eax, dword [eax]
mov ecx, eax
call fcn.004541e0
lea ecx, [ebp - 0x108]
call fcn.0044b890
lea ecx, [ebp - 0x58]
call fcn.0044b890
lea ecx, [ebp - 0x28]
call fcn.0044b890
lea ecx, [ebp - 0xa0]
call fcn.0044bb00
lea eax, [ebp - 0xa0]
mov dword [ebp - 4], 5
push eax
mov dword [ebp - 0xa0], vtable.std::ios_base.0
call fcn.00513411
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00514739
mov esp, ebp
pop ebp
ret 4
Function at 0x45c6d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x5a4eec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
lea eax, [ebp - 0xc]
mov edi, ecx
push eax
push 1
push str.D:_D_OICI_GA___BG__D_OICI_GA___AN__A_OICI_GRGWGX___AU__A_OICI_GA___BA_
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
cmp dword [edi + 0x1c], 0x10
lea esi, [edi + 8]
jb 0x45c704
mov eax, dword [esi]
jmp 0x45c706
mov eax, esi
push eax
push 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [edi], eax
test eax, eax
jne 0x45c737
cmp dword [esi + 0x14], 0x10
jb 0x45c721
mov esi, dword [esi]
push esi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov dword [edi], eax
mov dword [edi + 4], 0
jmp 0x45c73e
mov dword [edi + 4], 1
mov eax, dword [edi]
pop edi
pop esi
test eax, eax
je 0x45c763
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x45c763
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00514739
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.00514739
mov esp, ebp
pop ebp
ret
Function at 0x45fbe0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret

Function at 0x461f09
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [ebp], eax
mov word [esp + 4], 0xbd26
push dword [esp + 8]
mov byte [esp], ch
pushfd
lea esp, [esp + 0x14]
jmp fcn.00461d96

Function at 0x4626a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53caab
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x5a4eec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x130], 0
mov byte [ebp - 0x114], 0
push 0x103
push 0
lea eax, [ebp - 0x113]
push eax
call fcn.00517500
add esp, 0xc
mov dword [ebp - 0x13c], 0x208
mov ecx, dword [ebp + 0x14]
push ecx
lea ecx, [ebp - 0x12c]
call fcn.0044bab0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x134]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0044b6b0
push eax
mov eax, dword [ebp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
jne 0x4627b2
lea ecx, [ebp - 0x13c]
push ecx
lea edx, [ebp - 0x114]
push edx
push 0
push 0
mov ecx, dword [ebp + 0x10]
call fcn.0044b6b0
push eax
mov eax, dword [ebp - 0x134]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
jne 0x462796
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x12c]
call fcn.0044b830
jmp 0x4627a5
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [ebp - 0x12c]
call fcn.0044b870
mov eax, dword [ebp - 0x134]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0044b9b0
mov edx, dword [ebp - 0x138]
or edx, 1
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.0044b890
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00514739
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4d9260
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 0x10]
mov edx, 0x400
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, 0x80
mov esi, edx
mov ecx, edi
mov byte [ebp], 0
cmp dword [esp + 0x18], ecx
cmovle ecx, dword [esp + 0x18]
test eax, eax
cmovg esi, eax
cmp esi, edx
cmovg esi, edx
mov dword [esp + 0x14], esi
test ecx, ecx
jle 0x4d92b5
mov ebx, dword [esp + 0x1c]
mov edx, ebp
sub ebx, ebp
mov esi, ecx
mov al, byte [ebx + edx]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub esi, 1
jne 0x4d92a3
mov esi, dword [esp + 0x14]
movzx ebx, byte [ecx + ebp - 1]
cmp ecx, edi
jge 0x4d92da
mov edx, ebp
movzx eax, byte [edx]
lea edx, [edx + 1]
add eax, ebx
movzx eax, al
movzx ebx, byte [eax + 0x582f40]
mov byte [ecx + ebp], bl
inc ecx
cmp ecx, edi
jl 0x4d92c0
mov ecx, dword [esp + 0x14]
lea ebx, [esi + 7]
sar ebx, 3
neg ecx
sub edi, ebx
and ecx, 7
movzx eax, byte [edi + ebp]
lea esi, [edi + ebp]
mov edx, 0xff
sar edx, cl
and edx, eax
movzx ecx, byte [edx + 0x582f40]
mov byte [esi], cl
test edi, edi
je 0x4d9328
nop dword [eax + eax]
movzx eax, byte [esi + ebx - 1]
lea esi, [esi - 1]
xor eax, ecx
movzx ecx, byte [eax + 0x582f40]
mov byte [esi], cl
sub edi, 1
jne 0x4d9310
lea esi, [ebp + 0xfc]
mov edi, 0x40
lea edx, [ebp + 0x7e]
movzx ecx, byte [edx + 1]
lea esi, [esi - 4]
movzx eax, byte [edx]
lea edx, [edx - 2]
shl ecx, 8
or ecx, eax
mov dword [esi + 4], ecx
sub edi, 1
jne 0x4d9336
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4e0410
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 0x18], 0
je 0x4e0424
mov dword [esp + 0x18], fcn.004debf0
jmp fcn.0046cc30
mov dword [esp + 0x18], fcn.004dde90
jmp fcn.0046c960
Function at 0x52cb62
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0052c9df

Function at 0x5339c0
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0053365a

Function at 0x438860
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x22000]
push edi
or ebp, 0xffffffff
jmp 0x438882
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x438889
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x438878
mov eax, 1
add ebx, ebx
jne 0x43889b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x438890
jne 0x4388ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x438890
xor ecx, ecx
sub eax, 3
jb 0x4388c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x438932
mov ebp, eax
add ebx, ebx
jne 0x4388cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4388d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4388fc
inc ecx
add ebx, ebx
jne 0x4388e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4388dd
jne 0x4388f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4388dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43891c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43890d
jmp 0x43887e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43891c
add edi, ecx
jmp 0x43887e
pop esi
mov edi, esi
mov ecx, 0xe0e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43893a
cmp byte [edi], 0xa
jne 0x43893a
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 eax, ebx
loop 0x43893f
lea edi, [esi + 0x36000]
mov eax, dword [edi]
or eax, eax
je 0x4389b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3820c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x382ac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43896c
mov ecx, edi
jns 0x43899b
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 + 0x382b0]
or eax, eax
je 0x4389b1
mov dword [ebx], eax
add ebx, 4
jmp 0x438989
call dword [esi + 0x382b4]
popal
jmp 0x41be59
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x4ec7511c
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..text_1
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x71d817f2
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401f80
Capabilities:
Access peb ldr_data
Download url
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x40ca29
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x413018]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [0x413018]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
push str.https:__microsoft.com
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
xor eax, eax
mov dword [esp + 0x40], 0
cmp dword [esp + 0x24], 0x10
mov word [esp + 0x28], ax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov eax, dword [esp + 0x10]
jae 0x401fe3
lea eax, [esp + 0x10]
push 0
push 0
lea ecx, [esp + 0xc]
push ecx
push eax
push 0
call sub.urlmon.dll_URLOpenBlockingStreamA
test eax, eax
jne 0x40201c
mov eax, dword [esp + 4]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [esp + 8]
push ecx
push 4
lea ecx, [esp + 0x30]
push ecx
push eax
call edx
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
mov dword [esp + 0x40], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0040b57a
add esp, 0x40
ret