joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c550
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push ebx
push ebp
xor ebp, ebp
test dword [ecx + 0xc], 0x4000000
push esi
push edi
mov dword [esp + 0x14], ebp
je 0x45c699
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x24]
test edi, edi
je 0x45c5bc
jmp 0x45c580
mov eax, dword [edi + 0x14]
test eax, eax
jle 0x45c5ad
lea edx, [edi + 0x24]
mov esi, eax
lea esp, [esp]
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x45c59c
or eax, 0xffffffff
jmp 0x45c5a3
mov eax, 1
shl eax, cl
or ebp, eax
add edx, 8
sub esi, 1
jne 0x45c590
mov edi, dword [edi + 4]
test edi, edi
jne 0x45c580
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x14], ebp
mov esi, dword [ecx]
mov eax, esi
test esi, esi
jne 0x45c5c8
xor edi, edi
jmp 0x45c5df
cmp byte [esi], 0
je 0x45c5d6
lea ecx, [ecx]
inc eax
cmp byte [eax], 0
jne 0x45c5d0
sub eax, esi
and eax, 0x3fffffff
mov edi, eax
mov ebx, dword [ecx + 0x44]
add ebx, 0x34
cmp dword [ebx + 0xc], 0
mov dword [esp + 0x18], ebx
je 0x45c629
xor eax, eax
mov edx, edi
mov ecx, esi
test edi, edi
jle 0x45c623
lea esp, [esp]
movzx ebx, byte [ecx]
movzx ebx, byte [ebx + 0x4ba8f0]
lea ebp, [eax*8]
xor ebx, ebp
dec edx
xor eax, ebx
inc ecx
test edx, edx
jg 0x45c600
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
xor edx, edx
div dword [ebx]
jmp 0x45c62b
xor edx, edx
push edi
push esi
mov eax, ebx
call fcn.00426980
xor ebx, ebx
add esp, 8
cmp eax, ebx
je 0x45c699
mov edi, dword [eax + 8]
cmp edi, ebx
je 0x45c699
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push ebx
lea edx, [esp + 0x18]
push edx
push edi
push eax
push ecx
mov dword [esp + 0x28], ebx
call fcn.0045ac90
mov eax, dword [esp + 0x28]
add esp, 0x14
cmp eax, ebx
je 0x45c692
mov ecx, dword [eax + 4]
cmp ecx, ebx
jle 0x45c692
mov edx, dword [eax + 8]
mov esi, ecx
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x45c681
or eax, 0xffffffff
jmp 0x45c688
mov eax, 1
shl eax, cl
or ebp, eax
add edx, 4
sub esi, 1
jne 0x45c675
mov edi, dword [edi + 0xc]
cmp edi, ebx
jne 0x45c644
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x45c6b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x20]
push esi
test ebx, ebx
jne 0x45c6e2
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.0045be80
test eax, eax
jne 0x45c6d7
cmp dword [esi + 0x24], eax
jne 0x45c6d7
pop esi
pop ebx
add esp, 0x14
ret
pop esi
mov eax, 1
pop ebx
add esp, 0x14
ret
push ebp
mov ebp, dword [esp + 0x24]
push edi
mov edi, dword [ebp + 0x24]
test edi, edi
je 0x45c72b
nop
mov esi, dword [edi + 0x14]
xor edx, edx
test esi, esi
jle 0x45c724
lea ecx, [edi + 0x24]
lea esp, [esp]
mov eax, dword [ecx]
cmp dword [ebx + eax*4], 0
jge 0x45c8c7
cmp eax, dword [ebp + 4]
jne 0x45c71c
cmp dword [esp + 0x30], 0
jne 0x45c8c7
inc edx
add ecx, 8
cmp edx, esi
jl 0x45c700
mov edi, dword [edi + 4]
test edi, edi
jne 0x45c6f0
mov esi, dword [ebp]
mov eax, esi
test esi, esi
jne 0x45c738
xor edi, edi
jmp 0x45c74f
cmp byte [esi], 0
je 0x45c746
lea ecx, [ecx]
inc eax
cmp byte [eax], 0
jne 0x45c740
sub eax, esi
and eax, 0x3fffffff
mov edi, eax
mov ebx, dword [ebp + 0x44]
add ebx, 0x34
cmp dword [ebx + 0xc], 0
mov dword [esp + 0x18], ebx
je 0x45c799
xor eax, eax
mov edx, edi
mov ecx, esi
test edi, edi
jle 0x45c793
lea esp, [esp]
movzx ebx, byte [ecx]
movzx ebx, byte [ebx + 0x4ba8f0]
lea ebp, [eax*8]
xor ebx, ebp
dec edx
xor eax, ebx
inc ecx
test edx, edx
jg 0x45c770
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x28]
xor edx, edx
div dword [ebx]
jmp 0x45c79b
xor edx, edx
push edi
push esi
mov eax, ebx
call fcn.00426980
add esp, 8
test eax, eax
je 0x45c8bd
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
test eax, eax
je 0x45c8bd
mov edi, edi
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
test eax, eax
jle 0x45c8ae
mov ebx, dword [ebp + 8]
add ecx, 0x28
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], ecx
lea esp, [esp]
mov ecx, dword [esp + 0x10]
mov ebp, dword [ecx]
xor esi, esi
test ebx, ebx
jle 0x45c890
mov edx, dword [esp + 0x28]
mov edi, dword [edx + 0xc]
test ebp, ebp
je 0x45c85e
mov ecx, dword [edi]
mov al, byte [ecx]
mov edx, ebp
test al, al
je 0x45c841
jmp 0x45c820
movzx ebx, byte [edx]
movzx eax, al
mov al, byte [eax + 0x4ba8f0]
cmp al, byte [ebx + 0x4ba8f0]
jne 0x45c83d
mov al, byte [ecx + 1]
inc ecx
inc edx
test al, al
jne 0x45c820
mov ebx, dword [esp + 0x1c]
movzx ecx, byte [ecx]
movzx edx, byte [edx]
movzx eax, byte [ecx + 0x4ba8f0]
movzx ecx, byte [edx + 0x4ba8f0]
sub eax, ecx
neg eax
sbb eax, eax
inc eax
jmp 0x45c862
movzx eax, byte [edi + 0x15]
test eax, eax
je 0x45c880
mov edx, dword [esp + 0x2c]
cmp dword [edx + esi*4], 0
jge 0x45c8c7
mov eax, dword [esp + 0x28]
cmp esi, dword [eax + 4]
jne 0x45c880
cmp dword [esp + 0x30], 0
jne 0x45c8c7
inc esi
add edi, 0x18
cmp esi, ebx
jl 0x45c807
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
add dword [esp + 0x10], 8
inc ecx
cmp ecx, eax
mov dword [esp + 0x18], ecx
jl 0x45c7f0
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x45c7c0
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0x14
ret
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
add esp, 0x14
ret
Function at 0x47d380
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4afc06
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x4d25ac]
xor eax, esp
mov dword [esp + 0x294], eax
push ebx
push esi
mov eax, dword [0x4d25ac]
xor eax, esp
push eax
lea eax, [esp + 0x2a8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
xor ecx, ecx
mov ebx, 7
push 0x1b
mov eax, str.CFFConfig::GetNextFFProfile
lea esi, [esp + 0x18]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], cx
call fcn.00401f30
lea edx, [esp + 0x14]
xor esi, esi
push edx
mov dword [esp + 0x2b4], esi
call fcn.00403780
add esp, 4
mov dword [esp + 0x2b0], 0xffffffff
cmp dword [esp + 0x2c], 8
jb 0x47d423
mov eax, dword [esp + 0x18]
push eax
call fcn.00491101
add esp, 4
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x28], esi
xor ecx, ecx
push esi
mov eax, 0x4b49f8
mov esi, ebx
mov word [esp + 0x1c], cx
call fcn.00401f30
lea edx, [esp + 0x30]
push edx
call fcn.0047d190
add esp, 4
push 1
mov eax, 0x4b6f98
lea ecx, [esp + 0x34]
mov dword [esp + 0x2b4], 1
call fcn.00403430
mov eax, dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x47d4ff
cmp dword [esp + 0x48], 8
mov eax, dword [esp + 0x34]
jae 0x47d48a
lea eax, [esp + 0x34]
lea ecx, [esp + 0x4c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [edi], eax
cmp dword [edi], 0xffffffff
je 0x47d4bd
lea ecx, [ecx]
cmp word [esp + 0x78], 0x2e
je 0x47d4af
test byte [esp + 0x4c], 0x10
jne 0x47d522
mov eax, dword [edi]
lea edx, [esp + 0x4c]
push edx
push eax
call esi
test eax, eax
jne 0x47d4a0
mov edx, dword [edi]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x48], 8
jb 0x47d4da
mov eax, dword [esp + 0x34]
push eax
call fcn.00491101
add esp, 4
xor al, al
mov ecx, dword [esp + 0x2a8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x294]
xor ecx, esp
call fcn.0049110c
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x4c]
push edx
push eax
call esi
test eax, eax
jne 0x47d498
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x48], 8
jb 0x47d4da
mov ecx, dword [esp + 0x34]
push ecx
jmp 0x47d4d2
lea eax, [esp + 0x78]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47d530
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x7c]
mov esi, ebx
call fcn.00401f30
cmp dword [esp + 0x48], 8
jb 0x47d55f
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00491101
add esp, 4
mov al, 1
jmp 0x47d4dc
Function at 0x47e7e0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ace38
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d25ac]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
mov ebp, dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
call ebp
cmp dword [esi + 0x70], 8
jb 0x47e820
mov esi, dword [esi + 0x5c]
jmp 0x47e823
add esi, 0x5c
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x47e8a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
xor eax, eax
mov word [esp + 0x1c], ax
xor ebx, ebx
push 0x3c
mov eax, str.CFFConfig::ReWritePrefFile___CreateFile_failed._GetLastError
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
call fcn.00401f30
mov ecx, edi
mov dword [esp + 0x58], ebx
call fcn.00403270
cmp dword [esp + 0x30], 8
jb 0x47e88c
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00491101
add esp, 4
xor al, al
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
xor esi, esi
push esi
call ebp
cmp dword [edi + 0x18], 0x10
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x14], esi
jb 0x47e8b9
mov eax, dword [edi + 4]
jmp 0x47e8bc
lea eax, [edi + 4]
push esi
lea edx, [esp + 0x18]
push edx
push ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x47e93a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
xor eax, eax
mov dword [esp + 0x2c], esi
mov word [esp + 0x1c], ax
push 0x3b
mov eax, str.CFFConfig::ReWritePrefFile___WriteFile_failed._GetLastError
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], 7
call fcn.00401f30
mov ecx, edi
mov dword [esp + 0x58], 1
call fcn.00403270
cmp dword [esp + 0x30], 8
jb 0x47e91d
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00491101
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
mov edi, dword [edi + 0x14]
cmp dword [esp + 0x14], edi
jae 0x47e974
mov eax, str.CFFConfig::ReWritePrefFile_____WriteFile_failed._size_written_too_small
lea ecx, [esp + 0x34]
call fcn.00401fe0
mov dword [esp + 0x58], 2
mov ecx, dword [esp + 0x14]
lea esi, [esp + 0x34]
call fcn.00403270
cmp dword [esp + 0x4c], 8
jb 0x47e91d
mov edx, dword [esp + 0x38]
push edx
jmp 0x47e915
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
Function at 0x47ec70
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4ad7d2
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4d25ac]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [esp + 0x28]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [edi], 0x4c0d7c
mov dword [edi + 0x58], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 8]
push esi
mov dword [esp + 0x24], ebx
push edi
mov dword [esp + 0x1c], 1
call fcn.0041ed10
mov dword [esp + 0x20], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [edi + ecx], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov ecx, esi
call fcn.0041f660
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov edx, dword [0x4d59d4]
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, dword [esp + 0x2c]
push eax
mov ebx, esi
mov byte [esp + 0x24], 2
call fcn.0041ee80
test eax, eax
jne 0x47ed6c
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + edi + 8]
add ecx, edi
or eax, 2
cmp dword [ecx + 0x28], 0
jne 0x47ed64
or eax, 4
push 0
push eax
call fcn.0041c0e0
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8
Function at 0x486430
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ad778
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x4d25ac]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
xor eax, eax
mov word [esp + 0x20], ax
xor ebx, ebx
push 0x23
mov eax, str.CInternetExplorer::SetHomepage___HP
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
call fcn.00401f30
mov ecx, esi
mov esi, dword [ebp + 8]
push ecx
mov ecx, esi
mov dword [esp + 0x64], ebx
call fcn.004035d0
add esp, 4
cmp dword [esp + 0x34], 8
jb 0x4864a9
mov edx, dword [esp + 0x20]
push edx
call fcn.00491101
add esp, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x60], 1
mov eax, dword [esi + 0x14]
push 0x4b49f8
xor edi, edi
mov ecx, esi
call fcn.00403710
test eax, eax
jne 0x4864e6
lea eax, [edi + 0xd]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0x10]
push eax
push 0x2001f
xor edi, edi
push edi
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocString
mov dword [esp + 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x486519
mov ebx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov edi, eax
test eax, eax
jne 0x48657c
cmp dword [esi + 0x18], 8
jb 0x48652a
mov esi, dword [esi + 4]
jmp 0x48652d
add esi, 4
xor eax, eax
test esi, esi
setne al
test eax, eax
jne 0x48653d
lea edi, [eax + 0xd]
jmp 0x48655c
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push 0
push str.Start_Page
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
test ebx, ebx
je 0x486574
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0
xor edx, edx
push 0x28
mov eax, str.CInternetExplorer::SetHomepage___end_err
lea esi, [esp + 0x3c]
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], 0
mov word [esp + 0x40], dx
call fcn.00401f30
mov eax, esi
push eax
mov byte [esp + 0x64], 2
call fcn.00403780
add esp, 4
cmp dword [esp + 0x50], 8
jb 0x4865c7
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00491101
add esp, 4
test ebx, ebx
je 0x4865d2
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x488060
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4acc20
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4d25ac]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d25ac]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x14], ebx
jne 0x4880a3
lea eax, [ebx + 3]
jmp 0x48818f
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x48], ebx
xor eax, eax
mov word [esp + 0x24], ax
push 0x37
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionExtSettings_
lea esi, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
call fcn.00401f30
push ebx
push edi
or eax, 0xffffffff
mov byte [esp + 0x50], 1
call fcn.00403510
cmp dword [esp + 0x38], 8
mov edx, dword [esp + 0x24]
jae 0x4880f0
lea edx, [esp + 0x24]
push SysReAllocString
lea esi, [esp + 0x18]
call fcn.004090e0
mov esi, dword [esp + 0x14]
mov edi, eax
cmp edi, ebx
jne 0x48815b
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea ecx, [esp + 0x20]
push ecx
push 4
push ebx
push str.Flags
push esi
mov dword [esp + 0x34], 1
call ebp
mov edi, eax
cmp edi, ebx
jne 0x48814e
push 0x4b6f98
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
push 0x4b6f98
push 1
push ebx
push 0x4b681c
push esi
call ebp
cmp esi, ebx
je 0x48815b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
cmp dword [esp + 0x38], 8
jb 0x48816f
mov eax, dword [esp + 0x24]
push eax
call fcn.00491101
add esp, 4
xor ecx, ecx
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], cx
cmp esi, ebx
je 0x48818d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0049110c
add esp, 0x38
ret
Function at 0x48f180
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
cmp dword [eax + 0x18], 8
push esi
jb 0x48f18c
mov ecx, dword [eax + 4]
jmp 0x48f18f
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
lea edx, [ecx + edx*2]
mov eax, 0x811c9dc5
cmp ecx, edx
je 0x48f1b2
mov edi, edi
movzx esi, word [ecx]
imul eax, eax, 0x1000193
add ecx, 2
xor eax, esi
cmp ecx, edx
jne 0x48f1a0
and eax, 0x7fffffff
push 0x1f31d
push eax
call fcn.0049524f
imul eax, eax, 0xb14
imul edx, edx, 0x41a7
add esp, 8
sub edx, eax
mov eax, edx
jns 0x48f1dc
add eax, 0x7fffffff
pop esi
ret

Function at 0x49110c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d25ac]
jne 0x491116
repz ret
jmp fcn.0049a60c

Function at 0x4a6b79
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.0049aadf
and dword [ebp - 4], 0
cmp dword [0x4d5510], 0
mov ebx, eax
jne 0x4a6c2a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4a6cdb
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4a6cdb
push eax
call fcn.0049aa6d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4d5510], eax
call esi
push eax
call fcn.0049aa6d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4d5514], eax
call esi
push eax
call fcn.0049aa6d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4d5518], eax
call esi
push eax
call fcn.0049aa6d
pop ecx
mov dword [0x4d5520], eax
test eax, eax
je 0x4a6c2a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0049aa6d
pop ecx
mov dword [0x4d551c], eax
mov eax, dword [0x4d551c]
cmp eax, ebx
je 0x4a6c82
cmp dword [0x4d5520], ebx
je 0x4a6c82
push eax
call fcn.0049aae8
push dword [0x4d5520]
mov esi, eax
call fcn.0049aae8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4a6c82
test edi, edi
je 0x4a6c82
call esi
test eax, eax
je 0x4a6c79
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4a6c79
test byte [ebp - 0xc], 1
jne 0x4a6c82
or dword [ebp + 0x10], 0x200000
jmp 0x4a6cbb
mov eax, dword [0x4d5514]
cmp eax, ebx
je 0x4a6cbb
push eax
call fcn.0049aae8
pop ecx
test eax, eax
je 0x4a6cbb
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4a6cbb
mov eax, dword [0x4d5518]
cmp eax, ebx
je 0x4a6cbb
push eax
call fcn.0049aae8
pop ecx
test eax, eax
je 0x4a6cbb
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4d5510]
call fcn.0049aae8
pop ecx
test eax, eax
je 0x4a6cdb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4a6cdd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4faa75
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf04ea1c0
jmp 0x4faaa2
mov dword [esp + 0x18], edi
jmp 0x4faa98
lea esp, [esp + 0x18]
pushfd
jmp 0x4fa7cf
lea ebp, reloc.kernel32.dll_DeleteCriticalSection
mov bp, word [esp]
jmp 0x4fab1b
bswap ecx
call fcn.004fab02
scasb al, byte es:[edi]
cmp al, 0x5b
mov dh, 0x75
xor al, 0xc3
push ebx
lds edi, ss:[esi + eax - 0x4f]
mov al, 0xf7
fsubp st(3)
out 0x83, al
in al, dx
adc dword [ebx + 0x4f], esi
neg esi
jmp 0x4faad2
lea esp, [esp + 1]
jmp 0x4fab2a
mov edi, dword [esp + 0x2c]
bsr edx, ecx
jbe 0x4faae8
neg esi
bswap ecx
jmp 0x4faad4
sub esp, 0xac
jmp 0x4fac6c

Function at 0x4fab02
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub esp, 0x11
jae 0x4fab40
lea esi, [esp + 4]
bswap ecx
seto dh
jmp 0x4faaec
lea esp, [esp + 1]
jmp 0x4fab2a

Function at 0x508417
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
jmp 0x4ed16f
xor ecx, ecx
cmp dword [esp + 4], ecx
jbe 0x4ed189
push esi
movzx esi, byte [ecx + edx]
rol eax, 7
xor eax, esi
inc ecx
cmp ecx, dword [esp + 8]
jb 0x4ed178
pop esi
jmp 0x4ed194
ret 4
lea esp, [esp + 4]
jmp 0x4ed162
jmp 0x5083d8

Function at 0x51eea8
Capabilities:
Encrypt data using aes

Disassembly:
mov edi, edx
stc
clc
jmp 0x51ee85
bsf di, bx
btc edi, esp
shr ecx, 8
mov edi, dword [esp]
jmp 0x51ee60
and ecx, esi
push edi
mov byte [esp + 1], ah
mov ecx, dword [ecx*4 + reloc.kernel32.dll_DeleteCriticalSection]
jmp 0x51ef75
lea esp, [esp + 4]
popal
jmp 0x51ee76
lea esp, [esp + 4]
and ecx, 0xff0000
sub esp, 0x11
lea esp, [esp + 1]
jmp 0x51ef0c
and edi, esi
push dx
lea esp, [esp + 2]
mov edi, dword [edi*4 + reloc.kernel32.dll_DeleteCriticalSection]
jmp 0x51eeaf
pushal
xchg al, ah
lea ecx, [eax*4]
mov dword [esp], edx
popal
jmp 0x51ef3e
shr edi, 0x18
jmp 0x51ef1a
lea esp, [esp + 0x10]
and edi, 0xff000000
xor ecx, edi
jmp 0x51eee6
movzx edi, byte [edi*4 + 0x4f61c8]
xor ecx, edi
mov di, 0xf3ec
btc edi, edx
jmp 0x51ef4b
and edx, esi
pushfd
mov edx, dword [edx*4 + reloc.kernel32.dll_DeleteCriticalSection]
stc
jmp 0x51eef6
inc di
dec di
and edx, ebp
push bx
mov edi, 0x7597b26a
jmp 0x51ef5f
bsf di, bp
lea edi, [esp + ebx]
lea esp, [esp + 2]
jmp 0x51efa2
sub esp, 8
pop word [esp + 1]
add esp, 3
lea esp, [esp + 3]
shr edi, 0x10
jmp 0x51eed5
xor ecx, dword [ebx]
clc
jmp 0x51efc6
xor ecx, edx
mov dx, word [esp]
inc dx
lea esp, [esp + 4]
jmp 0x51ef8c
xor ecx, dword [eax]
lea edx, [esi*4]
mov dl, 6
jmp 0x51f1e7
lea edi, [eax + 0x10]
neg edx
mov dl, 0xf5
mov dl, byte [esp]
jmp 0x51efb0
mov dword [edi], ecx
mov dh, 0x71
mov edx, dword [eax + 4]
call 0x51f008
add ebx, 4
clc
mov edx, 0x2bce5646
mov dx, word [esp]
cmc
jmp 0x51f02c
Function at 0x5e7c4a
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop word [esp]
mov byte [esp], al
jmp 0x5e7bfe
adc ebx, ebx
xchg byte [esp], ah
xchg cx, bp
xchg bh, ch
mov byte [esp], bl
xchg ebp, edi
jmp 0x5e7c3d
xchg si, bp
mov byte [esp], ah
clc
call 0x5e7c4a
insd dword es:[edi], dx
xchg word [esp + 3], ax
mov ebx, edx
cmc
jmp 0x5e7cdb
xchg dx, ax
xchg edx, eax
mov cl, dl
mov ch, dh
rdtsc
xchg cx, bx
jmp 0x5e7cb9
mov ebx, dword [esp]
neg ebx
btr ebx, eax
not cl
mov bl, byte [esp]
lea ebx, [ebx + edi]
jmp 0x5e7c7b
mov si, word [esp + 0x17]
call fcn.005e7d08
dec esi
fdiv qword [edx + 0x15]
in al, 6
test eax, 0x3d826bc8
or al, 0xf
cwde
lds ecx, [edi]
xor dword [ebp - 0x7d], eax
in al, dx
sbb dh, bh
sar dword [edi - reloc.kernel32.dll_DeleteCriticalSection], 1
sets ch
rdtsc
inc ebp
sub esp, 0x1a
not ecx
mov edi, 0x90909d1a
jmp 0x5e7ca3
xchg edi, eax
xchg word [esp + 3], cx
btc edi, esp
add esp, 5
std
rdtsc
jmp 0x5e7c91

Function at 0x5e7edf
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov esi, eax
add esp, 1
cpuid
std
rdtsc
mov cx, di
jmp 0x5e7efe
pop word [esp]
xchg dword [esp], ecx
jmp 0x5e7ec9
xchg word [esp], dx
rcr bx, 2
or bx, ax
mov al, byte [esp]
push word [esp + 1]