joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e7150
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
mov cl, byte [ebp - 8]
mov byte [eax], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x100
jl 0x4e715d
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov word [eax + 0x100], 0
mov byte [ebp - 0xd], 0
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xc]
mov dl, byte [ecx]
mov byte [ebp - 1], dl
movzx ecx, byte [ebp - 1]
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
movzx edx, byte [eax + edx]
add ecx, edx
movzx eax, byte [ebp - 0xd]
add eax, ecx
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov cl, byte [eax + ecx]
mov byte [edx], cl
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
movzx eax, byte [ebp - 0xd]
mov ecx, dword [ebp + 8]
mov dl, byte [ebp - 1]
mov byte [ecx + eax], dl
cmp dword [ebp - 0xc], 0x100
jl 0x4e7191
mov esp, ebp
pop ebp
ret
Function at 0x4f3f60
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x531304]
xor eax, ebp
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x10], 0x40
jne 0x4f3f85
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0x40
jmp 0x4f3ffd
cmp dword [ebp + 0x10], 0x40
jbe 0x4f3fae
mov dword [ebp - 0xc], 0x14
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004dbc90
add esp, 0xc
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ecx
jmp 0x4f3fba
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov ecx, 0x40
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x36
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0x1a0]
push edx
call fcn.00415fc0
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
push 0x5c
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x1e0]
push eax
call fcn.00415fc0
add esp, 0xc
mov dword [ebp - 8], 0
jmp 0x4f400f
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
jge 0x4f4049
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
xor ecx, 0x36
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov byte [edx + 0x1a0], cl
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
xor ecx, 0x5c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov byte [edx + 0x1e0], cl
jmp 0x4f4006
mov eax, dword [ebp + 8]
push eax
call fcn.004dba10
add esp, 4
push 0x40
mov ecx, dword [ebp + 8]
add ecx, 0x1a0
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004db920
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, 0x68
push eax
call fcn.004dba10
add esp, 4
push 0x40
mov ecx, dword [ebp + 8]
add ecx, 0x1e0
push ecx
mov edx, dword [ebp + 8]
add edx, 0x68
push edx
call fcn.004db920
add esp, 0xc
push 0x68
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xd0
push ecx
call fcn.00415910
add esp, 0xc
push 0x68
mov edx, dword [ebp + 8]
add edx, 0x68
push edx
mov eax, dword [ebp + 8]
add eax, 0x138
push eax
call fcn.00415910
add esp, 0xc
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004158f4
mov esp, ebp
pop ebp
ret
Function at 0x4f41f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 0x14], 0
je 0x4f4214
mov edx, dword [ebp + 0xc]
add edx, 4
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
mov dword [ebp - 0x50], 0
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x4c], 0
je 0x4f435b
call fcn.00419120
mov esi, eax
shl esi, 0x10
call fcn.00419120
and eax, 0xffff
or esi, eax
mov dword [ebp - 0x1c], esi
xor eax, eax
je 0x4f425a
mov dword [ebp - 0x50], 0x80004005
jmp 0x4f4359
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x1c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x40]
add ecx, 4
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0xc]
shr edx, 2
mov dword [ebp - 0x14], edx
jmp 0x4f4285
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4f42ee
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x2c]
imul ecx, ecx, 0x343fd
add ecx, 0x269ec3
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x38]
mov cl, byte [ebp + eax - 8]
mov byte [ebp - 0xd], cl
mov edx, dword [ebp - 0x38]
add edx, 1
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x30]
movzx ecx, byte [eax]
movsx edx, byte [ebp - 0xd]
xor ecx, edx
mov byte [ebp - 0x1d], cl
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x44]
mov dl, byte [ebp - 0x1d]
mov byte [ecx], dl
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x38], 4
jb 0x4f42aa
jmp 0x4f427c
mov ecx, dword [ebp - 0x2c]
imul ecx, ecx, 0x343fd
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x28]
add edx, 0x269ec3
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
and eax, 3
mov dword [ebp - 0x24], eax
je 0x4f4359
mov ecx, dword [ebp - 0x44]
sub ecx, dword [ebp - 0x30]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x34]
mov al, byte [ebp + edx - 8]
mov byte [ebp - 0x39], al
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx]
movsx ecx, byte [ebp - 0x39]
xor eax, ecx
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x48]
mov byte [edx], al
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x24]
jb 0x4f4321
jmp 0x4f4362
mov dword [ebp - 0x50], 0x8007000e
mov eax, dword [ebp - 0x50]
xor edx, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4f47f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
mov eax, dword [0x531304]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x40c], 0
mov word [ebp - 0x618], 0
push 0x206
push 0
lea eax, [ebp - 0x616]
push eax
call fcn.00415fc0
add esp, 0xc
push 0
call fcn.004f4480
add esp, 4
push eax
call fcn.00419113
add esp, 4
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x408]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004f44a0
add esp, 0xc
test eax, eax
je 0x4f4898
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x408]
push edx
push 3
push 0x558c68
push 0x558c80
push 0x80000000
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x4f488c
mov dword [ebp - 0x40c], 1
jmp 0x4f4896
mov dword [ebp - 0x40c], 0
jmp 0x4f48a2
mov dword [ebp - 0x40c], 0
mov eax, dword [ebp - 0x40c]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004158f4
mov esp, ebp
pop ebp
ret

Function at 0x4f49c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x531304]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x138], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], 0x128
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
call sub.KERNEL32.dll_Process32First
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4f4a28
mov dword [ebp - 0x138], 1
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x134]
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4f4a09
mov eax, dword [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004158f4
mov esp, ebp
pop ebp
ret

Function at 0x4f4a60
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x531304]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x138], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], 0x128
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
call sub.KERNEL32.dll_Process32First
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4f4acd
mov ecx, dword [ebp - 0x138]
add ecx, 1
mov dword [ebp - 0x138], ecx
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x134]
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4f4aa9
mov ecx, dword [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004158f4
mov esp, ebp
pop ebp
ret
Function at 0x4f4b10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x531304]
xor eax, ebp
mov dword [ebp - 8], eax
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.00415fc0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x104
lea edx, [ebp - 0x110]
push edx
call fcn.004188fa
add esp, 0xc
push str.hihistory
push 0x104
lea eax, [ebp - 0x110]
push eax
call fcn.004189df
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4f4ba0
mov eax, 1
jmp 0x4f4bb9
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004158f4
mov esp, ebp
pop ebp
ret
Function at 0x4f6180
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x14], 0x3fffffff
jae 0x4f61bd
mov eax, dword [ebp + 0x14]
add eax, 2
cdq
mov ecx, 3
idiv ecx
lea edx, [eax*4 + 1]
cmp dword [ebp + 0xc], edx
jge 0x4f61c4
xor eax, eax
jmp 0x4f6304
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0xc], 3
jle 0x4f6271
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
add ecx, 3
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp - 0xc]
sub edx, 3
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
shr eax, 0x1a
mov ecx, dword [ebp - 4]
mov dl, byte [eax + 0x528c98]
mov byte [ecx], dl
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
shr ecx, 0x14
and ecx, 0x3f
mov edx, dword [ebp - 4]
mov al, byte [ecx + 0x528c98]
mov byte [edx], al
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
shr edx, 0xe
and edx, 0x3f
mov eax, dword [ebp - 4]
mov cl, byte [edx + 0x528c98]
mov byte [eax], cl
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
shr eax, 8
and eax, 0x3f
mov ecx, dword [ebp - 4]
mov dl, byte [eax + 0x528c98]
mov byte [ecx], dl
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x4f61d0
mov dword [ebp - 8], 0
cmp dword [ebp - 0xc], 0
je 0x4f62ac
mov ecx, dword [ebp - 8]
shl ecx, 8
mov edx, dword [ebp + 0x10]
movzx eax, byte [edx]
add ecx, eax
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 0x10]
add ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
add eax, 8
mov dword [ebp - 0x10], eax
jmp 0x4f6278
cmp dword [ebp - 0x10], 0
jle 0x4f62df
mov edx, dword [ebp - 8]
shl edx, 6
mov ecx, dword [ebp - 0x10]
shr edx, cl
and edx, 0x3f
mov eax, dword [ebp - 4]
mov cl, byte [edx + 0x528c98]
mov byte [eax], cl
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x10]
sub eax, 6
mov dword [ebp - 0x10], eax
jmp 0x4f62ac
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0x14]
and ecx, 3
je 0x4f62fb
mov edx, dword [ebp - 4]
mov byte [edx], 0x3d
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x4f62df
mov ecx, dword [ebp - 4]
mov byte [ecx], 0
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x4f6dd0
Capabilities:
Allocate or change rwx memory
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
push 0x526044
mov eax, dword [ebp + 8]
push eax
call fcn.0041625a
add esp, 8
mov dword [ebp - 8], eax
push 2
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.00416afd
add esp, 0xc
mov edx, dword [ebp - 8]
push edx
call fcn.004169d3
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
call fcn.00415d52
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
call fcn.00415fc0
add esp, 0xc
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.00416afd
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
push 1
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.0041651a
add esp, 0x10
mov ecx, dword [ebp - 8]
push ecx
call fcn.00416bf5
add esp, 4
push 0x40
push 0x1000
mov edx, dword [ebp - 0xc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.00415fc0
add esp, 0xc
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004f6310
add esp, 0xc
mov dword [ebp - 0xc], eax
push 0x10
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00415910
add esp, 0xc
mov ecx, dword [ebp - 0xc]
sub ecx, 0x30
mov edx, dword [ebp + 0x14]
mov dword [edx], ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
add ecx, 1
push ecx
call fcn.00415d52
add esp, 4
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
add ecx, 1
push ecx
push 0
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call fcn.00415fc0
add esp, 0xc
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 4]
add eax, 0x10
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call fcn.00415910
add esp, 0xc
push 0x8000
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00415c75
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x4f7650
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
push 0x526040
mov eax, dword [ebp + 8]
push eax
call fcn.0041625a
add esp, 8
mov dword [ebp - 4], eax
push 2
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.00416afd
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
call fcn.004169d3
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, 1
push eax
call fcn.00415d52
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
add ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
call fcn.00415fc0
add esp, 0xc
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.00416afd
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0041651a
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
call fcn.00416bf5
add esp, 4
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.004f7110
add esp, 8
push 0x10
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00415910
add esp, 0xc
mov eax, dword [ebp - 0xc]
push eax
call fcn.00415c75
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x4f7b30
Capabilities:
Check if file exists
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x72c
mov eax, dword [0x531304]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x324], 0
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.00415fc0
add esp, 0xc
mov byte [ebp - 0x218], 0
push 0x103
push 0
lea ecx, [ebp - 0x217]
push ecx
call fcn.00415fc0
add esp, 0xc
mov byte [ebp - 0x320], 0
push 0x103
push 0
lea edx, [ebp - 0x31f]
push edx
call fcn.00415fc0
add esp, 0xc
push 0x526170
call fcn.004f49c0
add esp, 4
test eax, eax
je 0x4f7bc2
push 0x526184
call fcn.004349e0
add esp, 4
push 0
push 0x1c
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [ebp - 0x110]
push ecx
push str._s2345ExplorerUser_DataDefaultpage_filev2.dat
lea edx, [ebp - 0x218]
push edx
call fcn.0041603a
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
push str._s2345ExplorerUser_DataDefaultSyncHardwareInfo.dat
lea ecx, [ebp - 0x320]
push ecx
call fcn.0041603a
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4f7d00
lea eax, [ebp - 0x320]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4f7d00
mov byte [ebp - 0x728], 0
push 0x3ff
push 0
lea ecx, [ebp - 0x727]
push ecx
call fcn.00415fc0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push str._homepage_:__s_
lea eax, [ebp - 0x728]
push eax
call fcn.0041603a
add esp, 0xc
lea ecx, [ebp - 0x728]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x320]
push eax
call fcn.004f77c0
add esp, 0xc
mov dword [ebp - 0x72c], eax
push 0x526218
lea ecx, [ebp - 0x218]
push ecx
call fcn.0041625a
add esp, 8
mov dword [ebp - 0x328], eax
mov edx, dword [ebp - 0x328]
push edx
push 1
mov eax, dword [ebp - 0x72c]
push eax
call fcn.00415e20
add esp, 4
push eax
mov ecx, dword [ebp - 0x72c]
push ecx
call fcn.004167ae
add esp, 0x10
mov edx, dword [ebp - 0x328]
push edx
call fcn.00416bf5
add esp, 4
cmp dword [ebp - 0x72c], 0
je 0x4f7cf6
mov eax, dword [ebp - 0x72c]
push eax
call fcn.00415c75
add esp, 4
mov dword [ebp - 0x324], 1
mov eax, dword [ebp - 0x324]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004158f4
mov esp, ebp
pop ebp
ret
Function at 0x4f88f0
Capabilities:
Get hostname
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x531304]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x1e8], 0x20
lea eax, [ebp - 0x310]
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x314], pe_nt_image_headers32
mov dword [ebp - 0xbc], pe_nt_image_headers32
lea ecx, [ebp - 0x1e8]
push ecx
lea edx, [ebp - 0xdc]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x4f8ac7
cmp dword [ebp + 0xc], 0x47000000
jae 0x4f897e
lea eax, [ebp - 0xdc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00415eb0
add esp, 8
mov dword [ebp - 0x1f0], 1
jmp 0x4f8ac7
lea edx, [ebp - 0x1ec]
push edx
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x1e0]
push ecx
lea edx, [ebp - 0x314]
push edx
mov eax, dword [ebp - 0x1e4]
push eax
lea ecx, [ebp - 0xdc]
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
je 0x4f8ac7
push str.ConvertSidToStringSidA
push 0x558bb4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x318], eax
lea edx, [ebp - 0xb8]
push edx
mov eax, dword [ebp - 0x1e4]
push eax
call dword [ebp - 0x318]
test eax, eax
je 0x4f8ac7
cmp dword [ebp + 0xc], 0x53000000
jae 0x4f8a9d
lea ecx, [ebp - 0xb0]
push ecx
call section..algo
add esp, 4
mov edx, dword [ebp - 0xb8]
push edx
call fcn.00415e20
add esp, 4
push eax
mov eax, dword [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xb0]
push ecx
call fcn.0050f5a0
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0xb0]
push eax
call fcn.0050f450
add esp, 8
mov dword [ebp - 0xb4], 0
jmp 0x4f8a64
mov ecx, dword [ebp - 0xb4]
add ecx, 1
mov dword [ebp - 0xb4], ecx
cmp dword [ebp - 0xb4], 0x20
jge 0x4f8a9b
mov edx, dword [ebp - 0xb4]
movzx eax, byte [ebp + edx - 0x210]
push eax
push str._02x
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xb4]
add ecx, dword [ebp - 0xb4]
push ecx
call fcn.0041603a
add esp, 0xc
jmp 0x4f8a55
jmp 0x4f8ab0
mov edx, dword [ebp - 0xb8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00415eb0
add esp, 8
mov ecx, dword [ebp - 0xb8]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x1f0], 1
mov eax, dword [ebp - 0x1f0]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004158f4
mov esp, ebp
pop ebp
ret
Function at 0x4f8b70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x531304]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov byte [ebp - 0x1c], 0x23
mov byte [ebp - 0x1b], 0xa1
mov byte [ebp - 0x1a], 0x87
mov byte [ebp - 0x19], 0
mov byte [ebp - 0x18], 0x4f
mov byte [ebp - 0x17], 0x9b
mov byte [ebp - 0x16], 0x45
mov byte [ebp - 0x15], 0xf1
mov byte [ebp - 0x14], 0x43
mov byte [ebp - 0x13], 0x64
mov byte [ebp - 0x12], 0x39
mov byte [ebp - 0x11], 0x20
mov byte [ebp - 0x10], 0xf3
mov byte [ebp - 0xf], 0x14
mov byte [ebp - 0xe], 0x42
mov byte [ebp - 0xd], 0xd4
mov byte [ebp - 0xbc], 0x43
mov byte [ebp - 0xbb], 0x64
mov byte [ebp - 0xba], 0x39
mov byte [ebp - 0xb9], 0x20
mov byte [ebp - 0xb8], 0xf3
mov byte [ebp - 0xb7], 0x14
mov byte [ebp - 0xb6], 0x42
mov byte [ebp - 0xb5], 0xd4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
and ecx, 0x80000007
jns 0x4f8c18
dec ecx
or ecx, 0xfffffff8
inc ecx
test ecx, ecx
je 0x4f8c37
mov eax, dword [ebp - 8]
cdq
and edx, 7
add eax, edx
sar eax, 3
lea edx, [eax*8 + 8]
mov dword [ebp - 0xb4], edx
jmp 0x4f8c40
mov eax, dword [ebp - 8]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
push ecx
call fcn.00415d52
add esp, 4
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0xb4]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.00415fc0
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00415910
add esp, 0xc
mov ecx, dword [ebp - 0xb4]
push ecx
call fcn.00415d52
add esp, 4
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0xb4]
push edx
push 0
mov eax, dword [ebp - 0xc0]
push eax
call fcn.00415fc0
add esp, 0xc
push 0x8c
push 0
lea ecx, [ebp - 0xb0]
push ecx
call fcn.00415fc0
add esp, 0xc
push 0xc
lea edx, [ebp - 0x1c]
push edx
push 0xc
lea eax, [ebp - 0xb0]
push eax
call fcn.004df580
add esp, 0x10
push 1
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0xb0]
push edx
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0xc0]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004e0640
add esp, 0x18
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0xc0]
push ecx
mov eax, dword [ebp - 0xb4]
add eax, 2
cdq
mov ecx, 3
idiv ecx
lea edx, [eax*4 + 1]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004f6180
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
call fcn.00415c75
add esp, 4
mov edx, dword [ebp - 0xc0]
push edx
call fcn.00415c75
add esp, 4
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004158f4
mov esp, ebp
pop ebp
ret
Function at 0x4fade0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
cmp dword [0x55b9f4], 0
jne 0x4fae0d
push 0x523a70
call fcn.004e4170
add esp, 4
mov eax, 0xfffffffc
jmp 0x4fae8f
mov eax, dword [ebp + 8]
push eax
call fcn.004f9c00
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00415e20
add esp, 4
test eax, eax
jne 0x4fae33
mov eax, 0xfffffffd
jmp 0x4fae8f
mov edx, dword [ebp - 8]
push edx
push str._DEBUGINFO__LOCK__SET_LockIE_url___s_n
call fcn.004e4170
add esp, 8
mov eax, dword [ebp - 8]
push eax
call fcn.00415e20
add esp, 4
push eax
mov ecx, dword [ebp - 8]
push ecx
push 1
push str.Start_Page
push str.SoftwareMicrosoftInternet_ExplorerMain
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x4fae79
mov dword [ebp - 4], 1
jmp 0x4fae80
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
push edx
call fcn.00415c75
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4