joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47bcf0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ebx
lea eax, [esp + 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push ecx
push edx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47bd5a
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x10]
push eax
push ebx
push ebx
push ebx
push esi
push ecx
call edi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
push eax
push ebx
push ebx
push esi
push ecx
call edi
pop edi
pop esi
test eax, eax
jne 0x47bd5a
lea ebx, [eax + 1]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
add esp, 8
ret

Function at 0x47bd70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ebx
lea eax, [esp + 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push ecx
push edx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47bde4
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x10]
push eax
push ebx
push ebx
push ebx
push esi
push ecx
call edi
mov edx, dword [esp + 0x10]
cmp edx, dword [esp + 0x28]
ja 0x47bde2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push ecx
push ebx
push ebx
push esi
push edx
call edi
test eax, eax
jne 0x47bde2
lea ebx, [eax + 1]
pop edi
pop esi
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
add esp, 8
ret

Function at 0x47be00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push esi
lea eax, [esp + 4]
push eax
push 0x20019
xor esi, esi
push esi
push ecx
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47be50
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push esi
push esi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47be50
lea esi, [eax + 1]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x47c570
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5d1489
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
xor ebx, ebx
push esi
mov dword [esp + 0x18], ebx
mov ebp, 1
mov dword [esp + 0x2c], ebp
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0xc]
push eax
push 0x20019
push ebx
push ecx
push edx
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x47c5f2
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x44]
push eax
mov ecx, esi
call fcn.00438190
mov dword [esp + 0x18], ebp
mov byte [esp + 0x2c], bl
lea ecx, [esp + 0x44]
call fcn.004381e0
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x14]
push ecx
push ebx
lea edx, [esp + 0x20]
push edx
push ebx
push esi
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
call edi
test eax, eax
jne 0x47c6c1
cmp dword [esp + 0x14], ebx
jbe 0x47c6c1
cmp dword [esp + 0x18], ebp
jne 0x47c6c1
lea ecx, [esp + 0x20]
call fcn.00438090
mov byte [esp + 0x30], 2
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.004030d0
mov ecx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
push ebx
push esi
push ecx
call edi
test eax, eax
jne 0x47c6af
cmp dword [esp + 0x14], ebx
jbe 0x47c6af
cmp dword [esp + 0x18], ebp
jne 0x47c6af
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
call fcn.0040c2f0
lea eax, [esp + 0x20]
push eax
mov esi, dword [esp + 0x3c]
mov ecx, esi
call fcn.00438190
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x30], 1
lea ecx, [esp + 0x20]
call fcn.004381e0
jmp 0x47c6e0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x48]
push edx
jmp 0x47c690
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call fcn.00438190
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x48]
call fcn.004381e0
mov ecx, dword [esp + 0x28]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x47fd40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d1bcc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], 0x5e5714
mov dword [esp + 8], esi
mov dword [esi + 4], edi
mov dword [esp + 0x14], edi
mov dword [esi + 8], edi
mov byte [esp + 0x14], 1
mov dword [esi + 0xc], edi
mov byte [esp + 0x14], 2
lea ecx, [esi + 0x10]
call fcn.0042b320
mov byte [esp + 0x14], 3
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x481690
Capabilities:
Create shortcut via ishelllink
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x5d21a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
cmp dword [esp + 0x14], 0
push esi
push edi
je 0x4816f4
mov esi, dword [esp + 0x28]
sub esp, 8
mov ecx, esp
mov dword [esp + 0x10], esp
push esi
call fcn.0043bf90
mov dword [esp + 0x1c], 0
mov dword [esp + 0x1c], 0xffffffff
call fcn.00481580
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x10
ret
lea eax, [esp + 0x1c]
push eax
push 0x5f9cb4
push 1
push 0
push 0x5fc464
mov dword [esp + 0x30], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x4817dc
mov eax, dword [esp + 0x1c]
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0
mov ecx, dword [eax]
push 0x5fb324
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
test esi, esi
jl 0x4817d0
mov eax, dword [esp + 8]
mov edi, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 0
push edi
push eax
call edx
test eax, eax
jne 0x4817c2
mov esi, dword [esp + 0x20]
test esi, esi
je 0x481772
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push esi
push eax
call edx
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x481787
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x2c]
call eax
mov ecx, dword [esp + 0x30]
cmp ecx, 0xffffffff
je 0x48179e
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push ecx
push esi
push eax
mov eax, dword [edx + 0x44]
call eax
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4817b3
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x1c]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 1
push edi
push eax
call edx
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor esi, esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret

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

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
lea edi, [ecx + 4]
push edi
push str._sOperaOperaprofileopera6.ini
push 0x104
push esi
call fcn.00520404
add esp, 0x10
test eax, eax
jge 0x4826c8
pop edi
xor eax, eax
pop esi
ret 4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
call ebx
cmp eax, 0xffffffff
je 0x4826e2
pop ebx
pop edi
mov eax, 1
pop esi
ret 4
push edi
push 0x5e583c
push 0x104
push esi
call fcn.00520404
add esp, 0x10
test eax, eax
jge 0x482702
pop ebx
pop edi
xor eax, eax
pop esi
ret 4
push esi
call ebx
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
pop ebx
pop edi
pop esi
mov eax, ecx
ret 4
Function at 0x482a40
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov eax, 0x400c
call fcn.0051f3e0
lea eax, [esp]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_SettingsUser_AgentPost_Platform
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x482a7e
lea ecx, [esp]
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_SettingsUser_AgentPost_Platform
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x482b41
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
xor esi, esi
mov dword [esp + 0xc], 0x1000
push 0
push 0
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2028]
push ecx
push esi
push edx
call edi
cmp eax, 0x103
je 0x482b34
test eax, eax
jne 0x482b28
cmp dword [esp + 0x10], 1
jne 0x482b28
jmp 0x482ad0
movzx ecx, word [esp + eax + 0x2014]
mov word [esp + eax + 0x14], cx
add eax, 2
test cx, cx
jne 0x482ad0
lea eax, [esp + 0x14]
push eax
call fcn.00523e4e
mov ecx, dword [esp + 0x401c]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0051d47a
lea ecx, [esp + 0x20]
add esp, 0xc
cmp eax, ecx
jne 0x482b1f
mov eax, dword [esp + 8]
lea edx, [esp + 0x2014]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [esp + 0xc], 0x1000
inc esi
cmp esi, 0x186a0
jle 0x482a90
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 0x400c
ret 4

Function at 0x482fe0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5d24e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea eax, [esi + 4]
push eax
push 0
push 0
push 0x1a
push 0
mov dword [esp + 0x18], esi
mov dword [esi], 0x5e5824
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [esp + 0x10], 0
mov dword [esi], 0x5e5830
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4830a0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x1a18
call fcn.0051f3e0
push ebp
lea eax, [esp + 4]
push eax
mov ebp, ecx
call fcn.004826a0
test eax, eax
jne 0x4830c5
pop ebp
add esp, 0x1a18
ret 8
push ebx
push esi
push edi
lea ecx, [esp + 0x10]
push ecx
push 0x400
lea edx, [esp + 0xa28]
push edx
push 0
push 0x5e5a38
push 0x5e5a30
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x4831c7
xor edi, edi
lea ebx, [edi + 0x20]
lea esp, [esp]
lea eax, [esp + 0x21c]
push eax
push edi
lea ecx, [esp + 0xa28]
push ecx
mov ecx, ebp
call fcn.00482460
mov esi, eax
lea eax, [esp + 0x21c]
cmp word [esp + 0x21c], bx
jne 0x483138
jmp 0x483130
add eax, 2
cmp word [eax], bx
je 0x483130
push 3
push 0x5dde70
push eax
call fcn.0052160a
add esp, 0xc
test eax, eax
je 0x48317e
mov edi, esi
test esi, esi
jg 0x483100
mov edx, dword [esp + 0x1a2c]
push edx
lea eax, [esp + 0xa24]
push eax
push str._s___s
lea ecx, [esp + 0x1230]
push 0x400
push ecx
call fcn.00520404
add esp, 0x14
jmp 0x4831e4
mov ebx, dword [esp + 0x1a2c]
push ebx
lea edx, [esp + 0x220]
push edx
mov ecx, ebp
call fcn.00482510
test eax, eax
jne 0x4831ab
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
add esp, 0x1a18
ret 8
lea eax, [esp + 0x1224]
push eax
push ebx
push esi
push edi
lea ecx, [esp + 0xa30]
push ecx
mov ecx, ebp
call fcn.00482560
jmp 0x4831e4
mov edx, dword [esp + 0x1a2c]
push edx
lea eax, [esp + 0x1228]
push 0x401
push eax
call fcn.0051dd92
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1228]
push edx
push 0x5e5a38
push 0x5e5a30
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x1a18
ret 8

Function at 0x483210
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x1a18
call fcn.0051f3e0
push ebx
lea eax, [esp + 4]
push eax
mov ebx, ecx
call fcn.004826a0
test eax, eax
je 0x4832f7
lea ecx, [esp + 4]
push ecx
push 0x400
lea edx, [esp + 0xa1c]
push edx
push 0
push 0x5e5a38
push 0x5e5a30
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x4832f7
push edi
xor edi, edi
push esi
nop
lea eax, [esp + 0x218]
push eax
push edi
lea ecx, [esp + 0xa24]
push ecx
mov ecx, ebx
call fcn.00482460
cmp word [esp + 0x218], 0x20
mov esi, eax
lea eax, [esp + 0x218]
jne 0x483299
lea esp, [esp]
add eax, 2
cmp word [eax], 0x20
je 0x483290
push 3
push 0x5dde70
push eax
call fcn.0052160a
add esp, 0xc
test eax, eax
je 0x4832bf
mov edi, esi
test esi, esi
jg 0x483260
pop esi
pop edi
pop ebx
add esp, 0x1a18
ret 4
lea edx, [esp + 0x1220]
push edx
push esi
push edi
lea eax, [esp + 0xa28]
push eax
mov ecx, ebx
call fcn.00482620
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x1224]
push edx
push 0x5e5a38
push 0x5e5a30
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop esi
pop edi
pop ebx
add esp, 0x1a18
ret 4
Function at 0x483310
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5d2528
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea eax, [esi + 4]
push eax
push 0
push 0
push 0x1a
push 0
mov dword [esp + 0x18], esi
mov dword [esi], 0x5e5824
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [esp + 0x10], 0
mov dword [esi], 0x5e58bc
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4833d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5d2568
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea eax, [esi + 4]
push eax
push 0
push 0
push 0x1a
push 0
mov dword [esp + 0x18], esi
mov dword [esi], 0x5e5824
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [esp + 0x10], 0
mov dword [esi], 0x5e58c8
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x484c70
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5d28db
push eax
mov dword fs:[0], esp
sub esp, 0x464
add ecx, 4
push ecx
push str._sMozillaFirefoxProfiles
lea eax, [esp + 0x260]
push 0x104
push eax
call fcn.00520404
add esp, 0x10
test eax, eax
jl 0x484e2f
push esi
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x260]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 8], esi
cmp esi, 0xffffffff
je 0x484e2e
lea eax, [esp + 0x25c]
push edi
lea edx, [eax + 2]
xor edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x484ce1
sub eax, edx
lea edx, [esp + 0x10]
push edx
sar eax, 1
xor ecx, ecx
push esi
mov word [esp + eax*2 + 0x266], cx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x484e26
push ebx
mov ebx, dword [esp + 0x480]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ecx]
cmp dword [esp + 0x18], edi
je 0x484e10
mov ecx, 0x5deb70
lea eax, [esp + 0x44]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x484d59
cmp dx, di
je 0x484d55
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x484d59
add eax, 4
add ecx, 4
cmp dx, di
jne 0x484d33
xor eax, eax
jmp 0x484d5e
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x484e10
mov ecx, 0x5e07f4
lea eax, [esp + 0x44]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x484d96
cmp dx, di
je 0x484d92
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x484d96
add eax, 4
add ecx, 4
cmp dx, di
jne 0x484d70
xor eax, eax
jmp 0x484d9b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x484e10
push 0x20a
call fcn.004d9305
mov esi, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x480], edi
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x270]
push ecx
push str._s_sprefs.js
push 0x104
push esi
call fcn.00520404
add esp, 0x18
test eax, eax
jl 0x484df4
push esi
call ebp
cmp eax, 0xffffffff
je 0x484df4
lea edx, [esp + 0x10]
push edx
mov ecx, ebx
call fcn.00484b30
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x47c], 0xffffffff
push esi
call fcn.004d9334
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], edi
add esp, 4
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x484d20
pop ebp
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
mov ecx, dword [esp + 0x464]
mov dword fs:[0], ecx
add esp, 0x470
ret 4
Function at 0x4859a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
xor ecx, ecx
test edx, edx
jbe 0x4859d1
push esi
mov esi, dword [esp + 8]
push edi
movzx edi, byte [ecx + esi]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x64a158]
inc ecx
cmp ecx, edx
jb 0x4859b4
pop edi
pop esi
ret

Function at 0x485ab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d2a93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.00489e80
xor ebx, ebx
mov dword [esp + 0x14], ebx
lea ecx, [esi + 0x3c]
mov dword [esi], 0x5e5b40
call fcn.00438090
mov al, 1
mov byte [esp + 0x14], al
or ecx, 0xffffffff
mov byte [esi + 0x59], bl
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x38], ebx
mov byte [esi + 0x48], al
mov dword [esi + 0x55], ebx
mov dword [esi + 0x51], ebx
mov dword [esi + 0x4d], ebx
mov dword [esi + 0x49], ebx
mov byte [esi + 0x5a], al
mov byte [esi + 0x5b], bl
mov byte [esi + 0x5c], bl
mov byte [esi + 0x63], bl
mov byte [esi + 0x62], bl
mov dword [esi + 0x64], ecx
mov dword [esi + 0x69], ebx
mov dword [esi + 0x76], 4
mov byte [esi + 0x71], bl
mov dword [esi + 0x6d], ebx
mov dword [esi + 0x72], ebx
mov byte [esi + 0x7a], al
mov byte [esi + 0x7b], al
mov dword [esi + 0x5d], ebx
mov byte [esi + 0x68], al
mov byte [esi + 0x61], bl
mov byte [esi + 0x7c], bl
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x485d49
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d2adb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00489e80
mov dword [esp + 0x1c], 0
lea ebp, [esi + 0x3c]
mov ecx, ebp
mov dword [esi], 0x5e5b40
call fcn.00438090
mov byte [esp + 0x1c], 1
mov edi, dword [esp + 0x24]
sub esp, 0x24
mov ecx, esp
mov dword [esp + 0x34], esp
push edi
call fcn.00464ae0
mov byte [esp + 0x40], 2
mov byte [esp + 0x40], 1
mov ecx, esi
call fcn.004661c0
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x30]
mov dword [esi + 0x30], edx
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x44]
lea edx, [edi + 0x3c]
mov dword [esi + 0x44], ecx
push edx
mov ecx, ebp
call fcn.00439f20
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
movzx ecx, byte [edi + 0x48]
mov byte [esi + 0x48], cl
mov edx, dword [edi + 0x49]
mov dword [esi + 0x49], edx
mov eax, dword [edi + 0x4d]
mov dword [esi + 0x4d], eax
mov ecx, dword [edi + 0x51]
mov dword [esi + 0x51], ecx
mov edx, dword [edi + 0x55]
mov dword [esi + 0x55], edx
mov eax, dword [edi + 0x5d]
mov dword [esi + 0x5d], eax
mov ecx, dword [edi + 0x6d]
mov dword [esi + 0x6d], ecx
movzx edx, byte [edi + 0x5a]
mov byte [esi + 0x5a], dl
movzx eax, byte [edi + 0x5b]
mov byte [esi + 0x5b], al
movzx ecx, byte [edi + 0x5c]
mov byte [esi + 0x5c], cl
movzx edx, byte [edi + 0x59]
mov byte [esi + 0x59], dl
movzx eax, byte [edi + 0x63]
mov byte [esi + 0x63], al
movzx ecx, byte [edi + 0x62]
mov byte [esi + 0x62], cl
mov edx, dword [edi + 0x64]
mov dword [esi + 0x64], edx
mov eax, dword [edi + 0x69]
mov dword [esi + 0x69], eax
mov ecx, dword [edi + 0x76]
mov dword [esi + 0x76], ecx
movzx edx, byte [edi + 0x71]
mov byte [esi + 0x71], dl
mov eax, dword [edi + 0x72]
mov dword [esi + 0x72], eax
movzx ecx, byte [edi + 0x7a]
mov byte [esi + 0x7a], cl
movzx edx, byte [edi + 0x7b]
mov byte [esi + 0x7b], dl
movzx eax, byte [edi + 0x68]
mov byte [esi + 0x68], al
movzx ecx, byte [edi + 0x61]
mov byte [esi + 0x61], cl
movzx edx, byte [edi + 0x7c]
mov byte [esi + 0x7c], dl
mov dword [esp + 0x1c], 0xffffffff
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x14
ret 4
Function at 0x48eba0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
mov edx, dword [esp + 0xc]
push 0x5d30b8
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
xor eax, eax
push edi
mov ebx, ecx
test edx, edx
jl 0x48edc0
cmp edx, 0x36
jb 0x48edc0
mov ebp, dword [esp + 0x38]
mov ecx, dword [ebp + 0xe]
mov esi, dword [ebp + 0x2e]
add ebp, 0xe
add ecx, 0xe
lea ecx, [ecx + esi*4]
mov dword [esp + 0x10], ecx
cmp edx, ecx
jb 0x48edc0
push 0x7c
push eax
lea edi, [ebx + 0x91]
push edi
call fcn.0051d400
mov esi, ebp
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 4]
mov dword [ebx + 0x115], eax
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x119], ecx
mov dx, word [ebp + 0xe]
shr dx, 3
mov byte [ebx + 0x11d], dl
movzx eax, word [ebp + 0xe]
imul eax, dword [ebp + 4]
add eax, 0x1f
and eax, 0xffffffe0
cdq
and edx, 7
add eax, edx
mov ebp, eax
mov eax, dword [esp + 0x44]
add eax, 0xe
sar ebp, 3
imul ebp, dword [eax + 8]
mov eax, dword [esp + 0x1c]
lea ecx, [eax + ebp]
add esp, 0xc
cmp dword [esp + 0x3c], ecx
jb 0x48edbe
push 0x7c
xor edi, edi
push edi
lea esi, [ebx + 0x91]
push esi
call fcn.0051d400
mov edx, dword [ebx + 0x115]
mov eax, dword [ebx + 0x119]
mov dword [ebx + 0x95], edx
movzx dx, byte [ebx + 0x11d]
neg eax
add dx, dx
mov dword [ebx + 0x99], eax
add dx, dx
lea eax, [ebp + 0x7c]
mov ecx, 1
add dx, dx
push eax
mov dword [esi], 0x7c
mov word [ebx + 0x9d], cx
mov word [ebx + 0x9f], dx
mov dword [ebx + 0xa1], edi
mov dword [ebx + 0xc9], edi
mov dword [ebx + 0x10d], eax
call fcn.0051f5e5
mov dword [ebx + 0x111], eax
mov ecx, 0x1f
mov edi, eax
rep movsd dword es:[edi], dword [esi]
movzx esi, byte [ebx + 0x11d]
imul esi, dword [ebx + 0x115]
mov edi, dword [ebx + 0x111]
add esi, 3
and esi, 0xfffffffc
sub ebp, esi
add ebp, dword [esp + 0x20]
add esp, 0x10
add ebp, dword [esp + 0x38]
add edi, 0x7c
cmp dword [ebx + 0x119], 0
mov dword [esp + 0x38], 0
jle 0x48ed40
mov edi, edi
push esi
push ebp
push edi
call fcn.0051ff80
mov eax, dword [esp + 0x44]
inc eax
add esp, 0xc
add edi, esi
sub ebp, esi
cmp eax, dword [ebx + 0x119]
mov dword [esp + 0x38], eax
jl 0x48ed20
mov eax, dword [ebx + 0x119]
mov ecx, dword [ebx + 0x115]
push eax
push ecx
push 0
push 0
lea ecx, [esp + 0x24]
call fcn.004a2d50
xor ecx, ecx
mov dword [esp + 0x30], ecx
cmp eax, ecx
je 0x48ed68
lea ecx, [eax + 4]
mov esi, dword [ecx]
mov edx, dword [ebx]
mov edx, dword [edx + 0x68]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ecx + 4]
mov dword [eax + 4], esi
mov esi, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov ecx, ebx
call edx
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.004a2ce0
mov byte [ebx + 0x12e], 1
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
xor eax, eax
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 8