joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404f2b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40ca80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403305
and dword [ebp - 0x14], 0
cmp dword [0x43dae0], 0
mov dword [ebp - 0x18], eax
jne 0x404fde
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405086
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405086
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43dae0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43dae4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x43dae8], eax
call edi
push eax
call esi
mov dword [0x43daf0], eax
test eax, eax
je 0x404fde
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43daec], eax
mov eax, dword [0x43daec]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405037
cmp dword [0x43daf0], ecx
je 0x405037
push eax
call esi
push dword [0x43daf0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405037
test ebx, ebx
je 0x405037
call edi
test eax, eax
je 0x40502e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40502e
test byte [ebp - 8], 1
jne 0x405037
or dword [ebp + 0x10], 0x200000
jmp 0x40506a
mov eax, dword [0x43dae4]
cmp eax, dword [ebp - 0x18]
je 0x40506a
push eax
call esi
test eax, eax
je 0x40506a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40506a
mov eax, dword [0x43dae8]
cmp eax, dword [ebp - 0x18]
je 0x40506a
push eax
call esi
test eax, eax
je 0x40506a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43dae0]
call esi
test eax, eax
je 0x405086
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405088
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405296
leave
ret

Function at 0x405296
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40ca80]
jne 0x4052a0
repz ret
jmp fcn.0040604f

Function at 0x42e000
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403a69
nop
nop
sub eax, 0x403a0f
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x10024e70
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x1005f818]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push dword [0x1006056c]
push dword [0x100610b0]
push 0x100610e0
push str.C:_vm3dum_log_vm3dum_s__d__d.log
push 0x80
push 0x10061100
call fcn.10025270
push 0x20
push 0x10051098
push 0x10061100
call fcn.10032f2c
mov ebx, eax
add esp, 0x24
test ebx, ebx
je 0x10024f55
push edi
lea eax, [ebp - 0x144]
push eax
push str.C:_vm3dum_log_vm3dum.log
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10024f41
push esi
lea eax, [ebp - 0x144]
mov esi, 1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x10024f1b
nop dword [eax]
inc esi
cmp esi, 0x200
ja 0x10024f1b
lea eax, [ebp - 0x144]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10024f00
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, 0x200
pop esi
ja 0x10024f41
pop edi
mov dword [0x10060568], ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029e4b
mov esp, ebp
pop ebp
ret
push ebx
call fcn.10032a7d
push 0x10061100
call fcn.100330bd
add esp, 8
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10029e4b
mov esp, ebp
pop ebp
ret

Function at 0x100252e0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
push 0
push 1
push dword [edi]
call fcn.100252a0
cmp byte [0x10061021], 0
je 0x10025359
mov ecx, dword [edi]
push ebx
rdtsc
push esi
mov ebx, eax
mov dword [ebp - 4], edx
mov esi, ebx
sub esi, dword [edi + 0x10]
sbb edx, dword [edi + 0x14]
add ecx, 8
push edx
push esi
push ecx
call fcn.100252a0
mov esi, dword [ebp - 4]
mov ecx, ebx
sub ecx, dword [edi + 8]
mov eax, esi
sbb eax, dword [edi + 0xc]
push eax
mov eax, dword [edi]
push ecx
add eax, 0x10
push eax
call fcn.100252a0
mov eax, dword [edi + 0x18]
test eax, eax
je 0x1002534a
sub ebx, dword [edi + 8]
sbb esi, dword [edi + 0xc]
add dword [eax + 0x10], ebx
adc dword [eax + 0x14], esi
mov eax, dword [edi + 0x18]
push eax
push dword [0x10061024]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x10025360
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x10061021], 0
je 0x100253a9
push esi
push 0
push 1
push 0x10064750
call fcn.100252a0
mov esi, dword [ebp + 8]
rdtsc
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
push dword [0x10061024]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
mov dword [esi + 0x18], eax
push dword [0x10061024]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret 4
Function at 0x10025540
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x10061020], 0
jne 0x100255b4
mov word [0x10061020], 0x101
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push dword [ebp + 8]
mov dword [0x10061024], eax
push 0x10051018
push 0xffffffffffffffff
push 0x40
push 0x10061028
call fcn.10025200
mov eax, dword [0x10061024]
add esp, 0x14
cmp eax, 0xffffffff
jne 0x10025599
push str.Unable_allocate_TLS_for_MKSGuestStats.__Timing_will_be_unavailable._n
call fcn.10024c00
add esp, 4
mov byte [0x10061021], 0
jmp 0x100255a2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push dword [ebp + 8]
push str.MKSGuestStats_enabled_for__s._n
push 8
call fcn.10025140
add esp, 0xc
pop ebp
ret 4
Function at 0x100261f0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x1005f818]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
push esi
xorps xmm0, xmm0
push 0
movlpd qword [ebp - 0x220], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x100263a5
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x10026397
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x10026397
push edi
push 0
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x10026372
push edi
call fcn.1002d6c6
mov esi, eax
add esp, 4
test esi, esi
je 0x10026396
push ebx
push esi
push edi
push 0
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10026335
lea eax, [ebp - 0x210]
mov dword [ebp - 0x214], 0
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x210], 0
push eax
push 0x1005151c
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10026359
mov eax, dword [ebp - 0x214]
push 3
mov edi, dword [eax + 8]
mov ecx, edi
mov ebx, dword [eax + 0xc]
xor eax, eax
or eax, ebx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x220], eax
call fcn.10019080
test al, al
je 0x10026359
movzx eax, bx
push eax
shr ebx, 0x10
push ebx
movzx eax, di
push eax
shr edi, 0x10
push edi
push str.Version:__hu___hu___hu___hu_n
call fcn.10024c00
add esp, 0x14
push esi
call fcn.1002d6a0
add esp, 4
pop ebx
pop edi
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x100263ca
push 3
call fcn.10019080
test al, al
je 0x10026359
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.UMFileUtil_GetModuleVersion
push str._s:_GetFileVersionInfo_failed_with_error_code:__u_n
call fcn.10024c00
add esp, 0xc
push esi
call fcn.1002d6a0
add esp, 4
pop ebx
pop edi
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x100263ca
push 3
call fcn.10019080
test al, al
je 0x10026396
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.UMFileUtil_GetModuleVersion
push str._s:_GetFileVersionInfoSize_failed_with_error_code:__u_n
call fcn.10024c00
add esp, 0xc
pop edi
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x100263ca
push 3
call fcn.10019080
test al, al
je 0x100263ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.UMFileUtil_GetModuleVersion
push str._s:_GetModuleHandleEx_error_for_module__ls:__u_n
call fcn.10024c00
add esp, 0x10
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x21c]
xor ecx, ebp
mov eax, dword [ebp - 0x220]
pop esi
call fcn.10029e4b
mov esp, ebp
pop ebp
ret 4
Function at 0x100296e0
Capabilities:
Create process memory minidump

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1005f818]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xorps xmm0, xmm0
mov dword [ebp - 8], 0
push edi
mov edi, dword [ebp + 8]
movq qword [ebp - 0x10], xmm0
call fcn.10029980
mov esi, eax
cmp esi, 0xffffffff
jne 0x10029724
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029e4b
mov esp, ebp
pop ebp
ret 4
push ebx
mov dword [ebp - 0x18], 0x100297f0
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], edi
push eax
push 0x1a05
push esi
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.dbghelp.dll_MiniDumpWriteDump
mov bl, al
test bl, bl
jne 0x1002977c
push str.WDDMCoreDump:_MiniDumpWriteDump___failed._n
call fcn.10025170
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.10029e4b
mov esp, ebp
pop ebp
ret 4
Function at 0x10035e94
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10035e16
Function at 0x100465d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
test edx, edx
je 0x100466c2
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x100466c2
mov dword [ecx], 0x74
mov dword [ecx + 4], 1
mov eax, dword [edx + 0x58]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 1
mov eax, dword [edx + 0x5c]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 1
mov dword [ecx + 0x18], 0x20
mov dword [ecx + 0x1c], 1
mov dword [ecx + 0x20], 0x20
mov eax, dword [edx + 0x64]
mov dword [ecx + 0x24], eax
mov eax, dword [edx + 0x68]
mov dword [ecx + 0x28], eax
mov eax, dword [edx + 0x6c]
mov dword [ecx + 0x2c], eax
mov eax, dword [edx + 0x74]
mov dword [ecx + 0x30], eax
mov eax, dword [edx + 0x78]
mov dword [ecx + 0x34], eax
mov eax, dword [edx + 0x7c]
mov dword [ecx + 0x38], eax
mov eax, dword [edx + 0x80]
mov dword [ecx + 0x3c], eax
mov eax, dword [edx + 0x84]
mov dword [ecx + 0x40], eax
mov eax, dword [edx + 0x88]
mov dword [ecx + 0x44], eax
mov eax, dword [edx + 0x8c]
and eax, 0xffefffff
mov dword [ecx + 0x48], eax
mov eax, dword [edx + 0x90]
mov dword [ecx + 0x4c], eax
movzx eax, word [edx + 0x94]
mov word [ecx + 0x50], ax
movzx eax, word [edx + 0x98]
mov word [ecx + 0x52], ax
mov eax, dword [edx + 0xa0]
mov dword [ecx + 0x54], eax
mov eax, dword [edx + 0x70]
mov dword [ecx + 0x58], eax
movzx eax, word [edx + 0xa4]
mov word [ecx + 0x5c], ax
movzx eax, word [edx + 0xa8]
mov word [ecx + 0x5e], ax
mov eax, dword [edx + 0x9c]
or eax, 4
mov dword [ecx + 0x60], eax
pop ebp
ret 8
Function at 0x417b76
Capabilities:
Packed with generic packer

Disassembly:
dec esi
fmul qword [ecx - 0x14]
ficomp dword [eax + 0x7c1c7209]
sbb al, 0x7c
cmp eax, 0xaee8d3c2
sar byte [ecx + 0x5e241dcb], 1
mov ecx, 0x5e241dcb
pushal
push ds
sub dl, byte [ebx + eax*2]
ja 0x417b8d
imul edi, esi, 0x98b22252
cmpsd dword [esi], dword es:[edi]
cli
xchg ebx, eax
push edx
fild word [ecx - 0x68719d55]
das
popal
jg 0x417bc3
insb byte es:[edi], dx
and al, 0x34

Function at 0x417b7e
Capabilities:
Packed with generic packer

Disassembly:
dec esi
fmul qword [ecx - 0x14]
ficomp dword [eax + 0x7c1c7209]
sbb al, 0x7c
cmp eax, 0xaee8d3c2
sar byte [ecx + 0x5e241dcb], 1
mov ecx, 0x5e241dcb
pushal
push ds
sub dl, byte [ebx + eax*2]
ja 0x417b8d
imul edi, esi, 0x98b22252
cmpsd dword [esi], dword es:[edi]
cli
xchg ebx, eax
push edx
fild word [ecx - 0x68719d55]
das
popal
jg 0x417bc3
insb byte es:[edi], dx
and al, 0x34

Function at 0x417c10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, dword [0x4c6b3c]
push ebx
push eax
call dword [sym.imp.USER32.dll_HideCaret]
dec ebx
add byte [ebx + 0x4c6b3c0d], cl
invalid

Function at 0x417c2e
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
call sub.WINSPOOL.DRV_StartPagePrinter
lea edx, [esp + 8]
mov ebx, 1
push edx
push ebx
push 0
push str.CLSID4be8a061_c73b_4f23_8114_317aae3e8698InProcServer32

Function at 0x417c3e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x80000000
mov dword [esp + 0x1c], 0
invalid
invalid
invalid

Function at 0x417c66
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x4c7f6c]
test eax, eax
jne 0x417cdc
insd dword es:[edi], dx
push 0x4c6c4c
mov dword [esp + 8], 0
and al, 8
add byte [eax], al
add byte [eax], al
mov dword [esp + 0x10], 0x208
and al, 0x10
or byte [edx], al
add byte [eax], al
call fcn.004b96c4
add esp, 4
test eax, eax

Function at 0x417c7e
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x4c7f6c]
test eax, eax
jne 0x417cdc
insd dword es:[edi], dx
push 0x4c6c4c
mov dword [esp + 8], 0
and al, 8
add byte [eax], al
add byte [eax], al
mov dword [esp + 0x10], 0x208
and al, 0x10
or byte [edx], al
add byte [eax], al
call fcn.004b96c4
add esp, 4
test eax, eax

Function at 0x417c86
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x4c7f6c]
test eax, eax
jne 0x417cdc
insd dword es:[edi], dx
push 0x4c6c4c
mov dword [esp + 8], 0
and al, 8
add byte [eax], al
add byte [eax], al
mov dword [esp + 0x10], 0x208
and al, 0x10
or byte [edx], al
add byte [eax], al
call fcn.004b96c4
add esp, 4
test eax, eax

Function at 0x417c8e
Capabilities:
Query or enumerate registry value

Disassembly:
je 0x417c97
xor eax, eax
pop ebx
add esp, 0xc
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 8]
push 0x4c6c4c
insb byte es:[edi], dx
dec esp
add byte [edx + 0x6a], dl
add byte [edx], ch

Function at 0x437532
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x2772ccb
lea esp, [ebp + eax*8 - 0x68]
inc esi
invalid
Function at 0x4baab1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c33f8
cmp edx, dword [eax]
je 0x4baad3
add eax, 8
inc ecx
cmp eax, 0x4c3488
jl 0x4baac4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c33f8]
jne 0x4bac01
mov eax, dword [0x4c7f80]
cmp eax, 1
je 0x4babdb
test eax, eax
jne 0x4bab04
cmp dword [0x4c3324], 1
je 0x4babdb
cmp edx, 0xfc
je 0x4bac01
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bab3b
lea eax, [ebp - 0x1a4]
push 0x4bfba0
push eax
call fcn.004bb490
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bb920
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bab7e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bb920
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bfb9c
push edi
call fcn.004bd7f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4bfb80
push eax
call fcn.004bb490
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bb4a0
lea eax, [ebp - 0xa0]
push 0x4bfb7c
push eax
call fcn.004bb4a0
push dword [esi + 0x4c33fc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bb4a0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4bfb54
push eax
call fcn.004bd764
add esp, 0x2c
pop edi
jmp 0x4bac01
lea eax, [ebp + 8]
lea esi, [esi + 0x4c33fc]
push 0
push eax
push dword [esi]
call fcn.004bb920
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4010cc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], edx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x500ec0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
and dword [eax + 8], 0
lea ecx, [ebp - 0x40]
mov edi, dword [edx + 4]
mov esi, dword [edx + 8]
mov dword [ebp - 0x24], edi
mov edx, edi
push esi
call fcn.004d1b70
pop eax
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
cmp esi, 0x80000000
je 0x40114c
lea edx, [ebp - 0x4c]
mov dword [edx], esi
mov dword [edx + 8], ecx
mov dword [edx + 4], eax
lea ecx, [ebp - 0x34]
push 1
call fcn.004d3ad0
pop eax
mov edi, dword [ebp - 0x34]
cmp edi, 0x80000000
jne 0x401172
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov ecx, dword [eax]
call fcn.00466c68
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [ebp - 0x30]
push esi
call dword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
je 0x401188
mov eax, dword [ebp - 0x20]
mov byte [eax], 4
jmp 0x401197
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [ebp - 0x20]
mov byte [ecx], 0
mov dword [ecx + 4], eax
test edi, edi
je 0x401154
push 2
pop edx
mov ecx, esi
call fcn.004332a0
jmp 0x401154
Function at 0x404054
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xcc
mov esi, dword [esp + 0xe0]
mov ebp, dword [esp + 0xe4]
mov eax, edx
mov edx, ecx
call fcn.00404075

Function at 0x407459
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
lea edi, [ebp - 0x18]
lea esi, [ebp - 0x48]
mov dword [ebp - 0x30], ecx
lea ebx, [edx + 0xc]
mov dword [edi - 4], esp
or dword [edi + 8], 0xffffffff
mov dword [edi + 4], 0x5011b0
mov ecx, esi
mov eax, dword fs:[0]
mov dword [edi], eax
mov dword fs:[0], edi
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x2c], eax
push eax
call fcn.00422ec0
pop eax
mov edx, dword [esi + 8]
lea ecx, [ebp - 0x3c]
lea eax, [ebp - 0x6c]
and dword [edi + 8], 0
mov edi, dword [esi]
and dword [ecx], 0
mov dword [ecx + 4], 1
and dword [eax + 0x1c], 0
mov dword [eax + 0x10], 0x20
mov byte [eax + 0x20], 3
and dword [eax], 0
and dword [eax + 8], 0
and dword [ecx + 8], 0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], 0x52a9d8
mov dword [ebp - 0x28], edx
mov edx, dword [esi + 4]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edx
push eax
push ebx
call fcn.00422b84
pop ecx
pop edx
movzx ecx, al
call fcn.00406c06
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x3c]
mov edx, dword [ebp - 0x28]
mov dword [ecx + 0x1c], eax
xor eax, eax
movsd qword [ecx + 0x14], xmm0
inc eax
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x24]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], str._H:_M:_S____
mov dword [ecx + 0x28], 8
mov dword [ecx + 0x2c], 4
and dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0x52c9d0
push 5
pop eax
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], 0x52ca0c
mov dword [ecx + 0x40], 0xd
mov dword [ecx + 0x44], 0x52caa8
mov dword [ecx + 0x48], eax
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40767f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
lea esi, [ebp - 0x18]
mov dword [ebp - 0x28], edx
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
lea edi, [ebp - 0x34]
mov dword [ebp - 0x20], ecx
mov dword [esi - 4], esp
or dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0x5011d0
mov ecx, edi
mov eax, dword fs:[0]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword fs:[0], esi
push eax
call fcn.0040758e
pop eax
movzx eax, byte [ebx + 0xc]
mov edx, dword [ebx + 8]
mov edi, dword [edi + 4]
mov ecx, dword [ebx + 4]
and dword [esi + 8], 0
push edx
push ecx
push eax
push 0
mov dword [ebp - 0x24], edi
push edi
push dword [ebp - 0x28]
call dword [sym.imp.advapi32.dll_RegSetValueExW]
test eax, eax
je 0x4076f5
mov ecx, dword [ebp - 0x20]
and dword [ecx], 0
mov dword [ecx + 4], eax
jmp 0x4076fb
mov eax, dword [ebp - 0x20]
mov byte [eax], 4
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x24]
call fcn.004fef82
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x408201
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
cmp dword [edx], 0
je 0x40822f
mov esi, dword [edx + 0x30]
cmp dword [edx + 0x24], 0xffffffff
mov edi, dword [edx + 0x34]
mov ebx, dword [edx + 0x38]
mov ebp, dword [edx + 0x3c]
lea eax, [edx + 8]
mov edx, eax
je 0x40830b
push 0
jmp 0x40830d
mov dword [esp + 4], ecx
mov al, byte [edx + 0xe]
mov esi, dword [edx + 0x34]
mov edi, dword [edx + 4]
mov ecx, dword [edx + 0x30]
mov bh, byte [edx + 0xc]
xor ebp, ebp
inc ebp
mov byte [esp + 3], al
mov dword [esp + 8], esi
cmp byte [esp + 3], 0
jne 0x408323
mov al, bh
xor al, 1
test edi, edi
mov byte [edx + 0xc], al
je 0x408278
cmp edi, esi
jae 0x408272
cmp byte [ecx + edi], 0xbf
jg 0x408278
jmp 0x408344
jne 0x408344
cmp edi, esi
je 0x40831b
mov bl, byte [ecx + edi]
movzx eax, bl
test bl, bl
jns 0x4082d6
movzx ebp, byte [ecx + edi + 1]
and eax, 0x1f
and ebp, 0x3f
cmp bl, 0xdf
jbe 0x4082c3
movzx esi, byte [ecx + edi + 2]
shl ebp, 6
and esi, 0x3f
or esi, ebp
cmp bl, 0xf0
jb 0x4082ca
movzx ebp, byte [ecx + edi + 3]
and eax, 7
shl esi, 6
shl eax, 0x12
and ebp, 0x3f
or ebp, esi
or eax, ebp
jmp 0x4082cf
shl eax, 6
or eax, ebp
jmp 0x4082d3
shl eax, 0xc
or eax, esi
mov esi, dword [esp + 8]
xor ebp, ebp
inc ebp
test bh, bh
jne 0x40832b
cmp eax, 0x110000
je 0x40831f
cmp eax, 0x80
mov ebx, ebp
jb 0x4082ff
cmp eax, 0x800
push 2
pop ebx
jb 0x4082ff
cmp eax, 0x10000
push 4
pop ebx
sbb ebx, 0
add edi, ebx
mov bh, 1
mov dword [edx + 4], edi
jmp 0x40824d
push 1
push ebp
push ebx
push edi
push esi
call fcn.0040692f
add esp, 0x20
jmp 0x40833f
test bh, bh
jne 0x40832d
mov byte [edx + 0xe], 1
mov eax, dword [esp + 4]
xor ecx, ecx
jmp 0x40833a
mov esi, edi
mov eax, dword [esp + 4]
xor ecx, ecx
inc ecx
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax], ecx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, esi
push 0x5a8a7c
push esi
push edi
call fcn.00526e00