joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4031d0
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0xc
lea eax, [esp]
push esi
push eax
push 0x2001f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_Ordinal_1652]
test eax, eax
je 0x40320d
lea eax, [esp + 4]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_Ordinal_1611]
test eax, eax
jne 0x40325b
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
mov edx, dword [esp + 4]
push eax
push 0
push ecx
push 0
push str.SysExplr
push edx
call dword [sym.imp.ADVAPI32.dll_Ordinal_1665]
test eax, eax
je 0x403250
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_Ordinal_1601]
push eax
push esi
mov eax, dword [esp + 0xc]
push 1
push 0
push str.SysExplr
push eax
call dword [sym.imp.ADVAPI32.dll_Ordinal_1681]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_Ordinal_1604]
pop esi
add esp, 0xc
ret

Function at 0x403260
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 4
lea eax, [esp]
push eax
push 0x2001f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_Ordinal_1652]
test eax, eax
jne 0x40329e
mov eax, dword [esp]
push str.SysExplr
push eax
call dword [sym.imp.ADVAPI32.dll_Ordinal_1627_1]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_Ordinal_1604]
add esp, 4
ret
Function at 0x4062ca
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4062ee
xor eax, eax
test eax, eax
je 0x406300
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406300
xor ecx, ecx
jmp 0x406303
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x4063ef
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42ce04], 0
push esi
jne 0x406426
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406400
mov dword [ecx*4 + 0x42ce00], eax
inc ecx
cmp ecx, 0x100
jl 0x4063fb
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406457
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42ce00]
xor eax, esi
inc ecx
dec edx
jne 0x406439
pop edi
not eax
pop esi
ret 0xc

Function at 0x10047a6f
Capabilities:
Encode data using xor

Disassembly:
mov word [esp], 0x5636
xor al, 0xe2
stc
cmc
pushfd
shr eax, 1
mov byte [esp], 0x38
pushfd
lea esp, [esp + 0x3c]
je 0x10076ba0
jmp 0x100762af

Function at 0x401d10
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_narrow_argv
call sub.ucrtbase.dll__initialize_narrow_environment
call 0x401d80
mov esi, dword [eax]
call sub.ucrtbase.dll___p___argv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_narrow_environment
mov edx, 2
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x3c]
cmp word [eax + ecx + 0x5c], 2
je 0x401d60
mov edx, 1
mov dword [esp], edx
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00401dc0
mov dword [esp], eax
call sub.ucrtbase.dll_exit
jmp dword [sym.imp.ucrtbase.dll___p___argc]
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0xbde008], 0x8088405
inc edx
mov dword [ebx + 0xbde008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cf00
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cf31
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf19
add dl, dl
jne 0x41cf3c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf8d
xor eax, eax
add dl, dl
jne 0x41cf49
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d02a
add dl, dl
jne 0x41cf58
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf63
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf6e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf79
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cf83
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cf28
mov eax, 1
add dl, dl
jne 0x41cf9b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfa6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf92
sub eax, ebx
mov ebx, 1
jne 0x41cfd9
mov ecx, 1
add dl, dl
jne 0x41cfbf
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cfca
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfb6
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cff0
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cffb
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfe7
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d04b
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cf28
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f05c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0xbc254a
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f0ab
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f0ca
mov ecx, edx
add ecx, ebx
jmp 0x41f0ca
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f0ca
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f13c
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f125
test esi, esi
jbe 0x41f13c
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41f117
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f13c
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f0f4
jmp 0x41f13c
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f13c
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xbc2551
ret
Function at 0x420294
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0xbc38af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4202cf
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4202e8
lea eax, [ebp - 0x10]
mov edx, dword [0xbe0348]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x4202fb
lea eax, [ebp - 0x10]
mov edx, dword [0xbe0348]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x420307
adc edx, 0
mov edx, dword [edx*4 + 0xbdf178]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x420481
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420474
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420474
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420412
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420412
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420412
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420412
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420474
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420474
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420474
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420474
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420499
inc ebx
cmp ebx, 0x19
jne 0x4202c1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xbc38b6
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x43f060
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43f08d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43f08d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401a80
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x409008], 0x8088405
inc edx
mov dword [ebx + 0x409008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x406480
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, dword [0x409214]
mov dword [eax], ecx
mov ebx, edx
test ebx, ebx
jle 0x4064a1
mov eax, 0xff
call fcn.00401a80
xor byte [esi], al
inc esi
dec ebx
jne 0x406491
pop esi
pop ebx
ret
Function at 0x5a98e0
Capabilities:
Read file on windows
Terminate process

Disassembly:
sub esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x75b240]
mov ecx, dword [eax + 8]
mov eax, dword [0x762374]
cmp eax, 0x1388
mov dword [0x762488], ecx
jbe 0x5a991c
call fcn.005a98e0
push 0
mov dword [0x762368], 0x94
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [0x75b224]
push 0
push 0x75b224
push 0x400
push 0x75b270
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
call fcn.005a98e0
call fcn.005a98e0
call fcn.006e7ff0
mov eax, dword [esp]
cmp eax, 0xffee66a2
je 0x5a9976
test eax, 0xffff2317
je 0x5a9976
call fcn.005a98e0
mov eax, dword [0x75b224]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov dword [0x7628a8], eax
call fcn.004010b0
call fcn.004011f0
mov ecx, dword [esp]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov eax, dword [esp + 4]
add esp, 8
ret
Function at 0x6e7f40
Capabilities:
Accept command line arguments
Create thread
Get hostname
Terminate process

Disassembly:
push ecx
mov eax, dword [0x7624a0]
push 0x75b270
push eax
call fcn.00752031
add esp, 8
lea ecx, [esp]
push ecx
push 0x75b270
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
call fcn.006e7f40
mov edx, dword [0x75b224]
push edx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, dword [0x7622f8]
push 0
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov eax, dword [esp]
cmp eax, 0x17
mov dword [0x75b248], eax
je 0x6e7fb0
test eax, 0xffff0000
je 0x6e7fb0
mov ecx, dword [esp]
push ecx
push 0
call fcn.006e7a20
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
push 0
push 0
push main
push 0
push 0
mov dword [0x7624a0], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [esp]
mov eax, dword [0x7624a0]
push edx
push eax
call dword [sym.imp.USER32.dll_LoadKeyboardLayoutA]
mov eax, dword [esp]
pop ecx
ret
Function at 0x417c10
Capabilities:
Get common file path

Disassembly:
sub esp, 0x58
mov eax, dword [0x5fc038]
mov dword [esp + 4], 0
push esi
lea ecx, [eax + eax]
mov eax, dword [0x5fc03c]
or ecx, eax
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
fild qword [esp + 4]
test ecx, ecx
fadd qword [0x5fc050]
fstp qword [0x5fc050]
je 0x417c63
mov eax, dword [0x5ff7f0]
test eax, eax
je 0x417c57
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
pop esi
add esp, 0x58
ret 4
mov dl, byte [0x5fc042]
mov cl, byte [0x5fc049]
xor cl, dl
mov edx, dword [0x5fc030]
mov byte [0x5fc049], cl
mov ecx, dword [0x5fc034]
and ecx, 4
and eax, 0xc
add edx, ecx
mov esi, dword [0x5fc038]
mov dword [0x5fc030], edx
mov edx, dword [0x5fc048]
and edx, 0xff
push ebp
imul eax, edx
xor esi, eax
push edi
lea eax, [esp + 0x14]
push 0x50
push eax
mov dword [0x5fc038], esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.dsound.dll
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x15]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov al, byte [0x5fc04e]
mov ecx, ebp
and ecx, 3
lea edx, [esp + 0x14]
rep movsb byte es:[edi], byte [esi]
mov cl, byte [0x5fc040]
push edx
and cl, al
mov byte [0x5fc040], cl
mov cl, byte [0x5fc047]
or cl, 2
shr cl, 1
and ecx, 0xff
mov dword [esp + 0x6c], ecx
fild dword [esp + 0x6c]
fdivr qword [0x5fc050]
fadd qword [0x5f9430]
fstp qword [0x5ff9c0]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop edi
mov dword [0x5ff7f0], eax
test eax, eax
pop ebp
je 0x417d88
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DirectSoundCreate
push eax
call esi
mov dword [0x5ff7ec], eax
mov eax, dword [0x5ff7f0]
push str.DirectSoundEnumerateA
push eax
call esi
mov ecx, dword [0x5ff7ec]
mov dword [0x5ff7f4], eax
test ecx, ecx
je 0x417d7e
test eax, eax
je 0x417d7e
mov eax, 1
pop esi
add esp, 0x58
ret 4
mov dword [0x5ff7f0], 0
xor eax, eax
pop esi
add esp, 0x58
ret 4
Function at 0x4b1916
Capabilities:
Authenticate hmac

Disassembly:
adc cl, bh
push ss
adc esp, ebp
into
invalid
add dword [edi + ecx*8 + 0x55dbd2f5], edi
invalid
push cs
mov byte [0x4285a04f], dh
inc ebp
xor eax, 0xe4f2dcb5
dec edi
mov ch, 0xdc
in al, 0x4f
jno 0x4b199f
std
mov dword [0xaf150dd1], esp
sbb dl, byte [edi - 0x71217193]
add al, 0xa4
outsd dx, dword [esi]
push eax
mov fs, word [ebx + 0x40]
dec ecx
jnp 0x4b18f8
sbb byte [edi - 0x35], dl
popal
mov eax, dword [0x7435f1e0]
inc ebp
shl eax, cl
jae 0x4b1982
test ch, bh
push edi
loop 0x4b18df
or ch, dl
cwde
lahf
daa
mov edi, 0x32c053a2
inc edx
push ecx
mov dh, 0x3c
aaa
popfd
pop es
sbb cl, ah
and dword [eax + ecx*2 + 0x37], esi
mov esp, 0xdbaccf63
fucomi st(7)
jno 0x4b191f
mov bl, byte [0x75198f67]
lds eax, [0x4ac92aef]
jecxz 0x4b199a
mov al, byte [0x7db06106]
imul edi, dword [edi - 0x4b], 0xdb3f0fde
inc esi
and al, 0xd8
sbb ah, bh
jge 0x4b19ed
jg 0x4b193b
fimul word [edi]
aas
fild dword [esi + 0x24]
fcomp dword [eax]
cld
push esi
add byte cs:[ebx + edx*8], al
scasd eax, dword es:[edi]
insb byte es:[edi], dx
push ebx
jl 0x4b1a01
mov bl, 0x1d
mov ebx, 0x5e3b3693
sbb eax, 0x3b3693bb
pop esi
xchg ebx, eax
mov ah, 0x8a
pop ecx
push ss
push ss
fdivrp st(7)
lodsb al, byte [esi]
cmp byte [edx + 0x61], 0x51
inc esi
mov al, byte [0x761d813a]
fistp qword [edi + edi]
invalid
mov word [edx], ds
xchg byte [edi - 0x18], dl
in eax, 0x90
mov al, 0xc8
inc eax
push es
jmp 0x4b199f
leave
mov dl, 0xde
pop ss
xchg esp, eax
insd dword es:[edi], dx
jp 0x4b1a88
out dx, al
repe scasb al, byte es:[edi]
outsb dx, byte [esi]
mov byte [edx - 0x6d], bh
fild qword [edi]
pop ebp
insb byte es:[edi], dx
xor dword [ebx + ecx - 0x46], 0xffffffc9
dec edx
mov word [edi + 0x75746d0e], ds
jae 0x4b19f3
out dx, eax
sbb ah, byte [0x4edddddc]
call 0x96d50e5b
invalid
dec eax
dec edi
inc esi
jmp 0x7480b36c
and bh, ch
cmp al, 0x1f
pop es
inc eax
push ecx
sbb al, 0x13
sub dword [ebp - 0x50], edx
cmp byte [ecx + 0x7a], ch
pop ds
ja 0x4b1af5
jl 0x4b1a4d
cmp eax, 0x310e0d2a
pop esp
sbb esp, dword [eax]
mov al, byte [0x85987ad9]
cmc
cli
sbb esi, dword [esi - 0x2c5de8de]
out dx, eax
adc byte [ecx], bh
wait
push edx
dec esp
ja 0x4b1b24
push ds
lodsd eax, dword [esi]
xchg esi, eax
call [edx + ebp]
and dh, cl
pop edx
stosd dword es:[edi], eax
mov dl, 0xab
cmp eax, 0x51b0446b
clc
mov ecx, 0xa9f70ce6
test dword [eax + 0x21975797], eax
pop ebx
inc ecx
out 0xc, al
imul dword [ecx + 0x57978085]
xchg edi, eax
and dword [ebx + 0x41], ebx
invalid
les esp, [bx]
or dword [ebp + 0x3167a661], esp
sal byte [ecx - 0x7a131485], 1
adc dword [ecx - 0x52c160de], esi
in eax, dx
push ss
sub dword [ebp - 0xd], esi
ret
jno 0x4b1acd
xchg dword [ebp + 0x71], ebx
pop ss
xchg byte [esi], bh
mov esp, 0x341bb1cb
push 0x50
scasd eax, dword es:[edi]
fild qword [ebx]
mov eax, 0xd6878d35
add dword [eax + 0x17], esp
sub eax, 0x67a8d380
mov dword [0x593dd5a3], eax
invalid
Function at 0x5f43fd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x5fc3c8
cmp edx, dword [eax]
je 0x5f441f
add eax, 8
inc ecx
cmp eax, 0x5fc458
jl 0x5f4410
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x5fc3c8]
jne 0x5f454d
mov eax, dword [0x603d60]
cmp eax, 1
je 0x5f4527
test eax, eax
jne 0x5f4450
cmp dword [0x5fc2f4], 1
je 0x5f4527
cmp edx, 0xfc
je 0x5f454d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x5f4487
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.005f4de0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.005f5270
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x5f44ca
lea eax, [ebp - 0x1a4]
push eax
call fcn.005f5270
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x5f97b4
push edi
call fcn.005f7140
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.005f4de0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.005f4df0
lea eax, [ebp - 0xa0]
push 0x5f9794
push eax
call fcn.005f4df0
push dword [esi + 0x5fc3cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.005f4df0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.005f70b4
add esp, 0x2c
pop edi
jmp 0x5f454d
lea eax, [ebp + 8]
lea esi, [esi + 0x5fc3cc]
push 0
push eax
push dword [esi]
call fcn.005f5270
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 0x431006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..3ean
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x1944533c
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..7LWLf
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x240e5016
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x402ac5
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42ecb0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x402b59
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
jmp 0x402b16
cmp dword [ebp + 0x10], ebx
jne 0x402b4d
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402ac5
test eax, eax
jne 0x402b28
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402afd
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.00405c4f
cmp eax, ebx
je 0x402b60
push ebx
push dword [0x42ecb0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402b59
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42ecb0], ebx
jne 0x402b56
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402b56
jmp 0x402b59