joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46fb78
Capabilities:
Authenticate hmac

Disassembly:
aam 0x39
inc eax
add byte [eax + edi + 0x40], al
add ah, al
and al, byte [eax]
movsb byte es:[edi], byte [esi]
aaa
inc eax
add byte [eax + edi], bl
inc eax
add ah, dh
aaa
inc eax
add byte [esp], ah
inc eax
add byte [esp], ch
inc eax
add byte [esp], cl
inc eax
add byte [esi + esi], dh
inc eax
add byte [esp], bh
inc eax
add ah, ch
and eax, dword [eax]
in al, 0x23
inc eax
add byte [esp + 0x40], al
add byte [edi + eax], ah
inc edi
add byte [esp], bl
inc eax
add byte [ecx + edi + 0x39dc0040], bh
inc eax
add ah, al
cmp dword [eax], eax
jl 0x46fbfd
inc eax
add ah, dh
inc eax
add ah, bh
inc eax
add byte [ebp + esi + 0x40], ah
add byte [ecx + edi + 0x40], bl
add byte [ecx + edi + 0x40], ah
add byte [ecx + edi], bl
inc eax
add byte [ebp + esi + 0x40], bl
add byte [edi + esi + 0x37bc0040], dh
inc eax
add ah, al
cmp byte [eax], al
sbb al, 0x36
inc eax
add byte [esi + esi], ch
inc eax
add byte [ebp + esi + 0x364c0040], al
inc eax
inc eax
add byte [edx + edi], bh
inc eax
add ah, cl
inc eax
add byte [esi + esi + 0x40], dh
add byte [eax + edi + 0x39cc0040], cl
inc eax
add byte [ebp + esi + 0x40], dl
add ah, cl
aaa
inc eax
add byte [ecx + edi], ah
inc eax
add byte [ecx + edi], dh
inc eax
add byte [ecx + edi], cl
inc eax
add byte [ecx + edi], ch
inc eax
add ah, bh
aaa
inc eax
add byte [eax + edi], al
inc eax
add byte [eax + edi + 0x40], bl
add byte [eax + 7], ch
inc edi
add byte [eax + edi], bh
inc eax
add al, dl
pop es
inc edi
add byte [eax + edi + 0x40], ah
add byte [eax + edi + 0x40], ch
add byte [eax + edi + 0x40], dh
add byte [eax + edi + 0x40], dl
add byte [eax + edi + 0x40], cl
add byte [edx + edi], ah
inc eax
add byte [ecx + edi + 0x40], dl
add byte [eax + edi + 0x3a140040], bl
inc eax
add byte [eax + edi + 0x39140040], al
inc eax
add byte [edx + edi], dh
inc eax
add byte [edx + edi], ch
inc eax
add byte [ecx + edi], bh
inc eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ecx], al
add byte [eax], al
test al, 0xfa
inc esi
add byte [eax + 0x8000002], dl
inc esi
dec edi
outsb dx, byte [esi]
inc ebx
insb byte es:[edi], dx
imul esp, dword [ebx + 0x6b], 2
add dword [eax], eax
sar ah, 0x46
add byte [eax + eax + 0xe], cl
add byte [ecx], al
add dword [eax], eax
adc eax, 0x47081cbd
add byte [ecx], dl
push esp
inc ebp
jbe sym.TCFLib210.bpl___xp_23Espin_TEvInternalUpDown
outsb dx, byte [esi]
je 0x46fd1b
jb 0x46fd26
popal
insb byte es:[edi], dx
push ebp
jo 0x46fd01
outsd dx, dword [esi]
ja 0x46fd2e
add byte ss:[edi + eax], ah
inc edi
add byte [esi], al
inc ebx
jb 0x46fd2f
popal
je 0x46fd32
add eax, dword [eax]
add byte [eax], al
add byte [eax], al
or byte [eax], al
add cl, byte [eax]
clc
cld
inc esi
add byte [eax], al
add byte [ebx + edx*2], al
insb byte es:[edi], dx
add al, byte [eax]
or byte [eax + 0x2004ac6], cl
add byte [esi], al
inc ecx
dec edi
ja 0x46fd5e
jb 0x46fcf5
add byte [edx], al
add byte [eax], al
add ah, bh
cld
inc esi
add byte [edi], al
pop es
push ebx
jo 0x46fd87
test al, 0xfa
cli
inc esi
add byte [eax - 0x6f00fffe], dl
add al, byte [eax]
inc dword [ecx]
nop
Function at 0x46fcfc
Capabilities:
Authenticate hmac

Disassembly:
pop es
adc dword [ebp + eax*2 + 0x76], edx
dec ecx
outsb dx, byte [esi]
je 0x46fd6a
jb 0x46fd75
popal
insb byte es:[edi], dx
push ebp
jo 0x46fd50
outsd dx, dword [esi]
ja 0x46fd7d
js 0x46fd0c
inc esi
add byte [esp + edx*8], bl
dec edx
add byte [edi], cl
add byte [0x69705345], al
outsb dx, byte [esi]
add byte [eax], al
add dword [eax], eax
add ch, byte [esi]
std
inc esi
add byte [edx], al
add byte [edx], al
add byte [eax], al
add byte [eax - 0x6fffb906], ch
add al, byte [eax]
call dword [eax + 0x1ff0002]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], 0
add byte [eax + 0x4f07ffff], al
outsb dx, byte [esi]
inc ebx
insb byte es:[edi], dx
imul esp, dword [ebx + 0x6b], 0x46fda8
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
test al, 0xfd
inc esi
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edi], al
aam 0xfe
inc esi
add byte [ecx - 1], cl
add byte [eax], al
add byte [eax], al
inc edi
add ah, dl
inc byte [esi]
dec ecx
inc dword [esi]
pop edi
inc dword [esi]
xchg ecx, eax
inc dword [esi]
in al, 2
add byte [eax], al
add ah, cl
dec edx
add al, dh
inc esi
add byte [edi - 1], bl
inc esi
add byte [ecx - 0x1bffb901], dl
add al, byte [eax]
add byte [eax], al
int3
adc byte [eax], al
clc
adc byte [eax], al
and byte [ecx], dl
inc eax
add byte [esp], dh
inc eax
add byte [eax], dh
adc dword [eax], eax
mov ah, 0x23
inc eax
add byte [eax + 0x11], al
inc eax
add byte [ecx + ebp], dl
inc eax
add al, cl
adc byte [eax], al
rcl byte [eax]
inc eax
add byte [ebx + ecx + 0x39d40047], cl
aam 0x39
Function at 0x47579c
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
cmp word [ebx + 0x6a], 0
je 0x4757ae
mov edx, ebx
mov eax, dword [ebx + 0x6c]
call dword [ebx + 0x68]
mov byte [ebx + 0x8d], 1
mov eax, ebx
call sym.TCFLib210.bpl__Etrayic_TEvTrayIcon_CanShow_qqrv
test al, al
je 0x4757e7
push 0
mov eax, dword [sym.imp.vcl210.bpl__Vcl_Forms_Application]
mov eax, dword [eax]
call sub.vcl210.bpl__Vcl_Forms_TApplication_GetMainFormHandle_qqrv
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [sym.imp.vcl210.bpl__Vcl_Forms_Application]
mov eax, dword [eax]
call sub.vcl210.bpl__Vcl_Forms_TApplication_ProcessMessages_qqrv
mov eax, ebx
call sym.TCFLib210.bpl__Etrayic_TEvTrayIcon_Update_qqrv
pop ebx
ret

Function at 0x477200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov word [ebp - 6], cx
mov dword [ebp - 4], edx
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x477290
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call sub.rtl210.bpl__System__UStrClr_qqrpv
mov eax, dword [ebp - 4]
call sub.rtl210.bpl__System__UStrLen_qqrx20System_UnicodeString
mov ebx, eax
test ebx, ebx
jle 0x47727a
mov edi, 1
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + edi*2 - 2]
movzx edx, word [ebp - 6]
xor ax, dx
movzx eax, ax
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x4772ac
call sub.rtl210.bpl__System_Sysutils_Format_qqrx20System_UnicodeStringpx14System_TVarRecxi
mov edx, dword [ebp - 0xc]
mov eax, esi
call sub.rtl210.bpl__System__UStrCat_qqrr20System_UnicodeStringx20System_UnicodeString
inc edi
dec ebx
jne 0x477240
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477297
lea eax, [ebp - 0xc]
call sub.rtl210.bpl__System__UStrClr_qqrpv
ret
Function at 0x4772b8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov word [ebp - 6], cx
mov dword [ebp - 4], edx
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x477368
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call sub.rtl210.bpl__System__UStrClr_qqrpv
mov eax, dword [ebp - 4]
call sub.rtl210.bpl__System__UStrLen_qqrx20System_UnicodeString
mov ebx, eax
sar ebx, 1
jns 0x4772f8
adc ebx, 0
test ebx, ebx
jle 0x47734d
mov edi, 1
lea eax, [ebp - 0x14]
push eax
mov edx, edi
add edx, edx
dec edx
mov ecx, 2
mov eax, dword [ebp - 4]
call sub.rtl210.bpl__System__UStrCopy_qqrx20System_UnicodeStringii
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, 0x477384
call sub.rtl210.bpl__System__UStrCat3_qqrr20System_UnicodeStringx20System_UnicodeStringt2
mov eax, dword [ebp - 0x10]
call sub.rtl210.bpl__System_Sysutils_StrToInt_qqrx20System_UnicodeString
mov edx, eax
movzx eax, word [ebp - 6]
xor edx, eax
lea eax, [ebp - 0xc]
call sub.rtl210.bpl__System__UStrFromWChar_qqrr20System_UnicodeStringb
mov edx, dword [ebp - 0xc]
mov eax, esi
call sub.rtl210.bpl__System__UStrCat_qqrr20System_UnicodeStringx20System_UnicodeString
inc edi
dec ebx
jne 0x477301
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47736f
lea eax, [ebp - 0x14]
mov edx, 3
call sub.rtl210.bpl__System__UStrArrayClr_qqrpvi
ret
Function at 0x478dd8
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
cmp dword [edi + 4], 0
jne 0x478ed2
push 0
call sub.user32.dll_GetDC
mov esi, eax
lea edx, [ebp - 0x1c]
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
push esi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x478ecb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebx + 0x48]
push eax
call sub.user32.dll_BeginPaint
mov esi, eax
mov edx, dword [ebp - 4]
mov eax, ebx
call sym.TCFLib210.bpl__Ewall_TEvWallPaper_Paint_qqrp5HDC__
push 0
mov eax, dword [ebx + 4]
mov ecx, dword [ebp - 4]
mov edx, 0xf
call sub.vcl210.bpl__Vcl_Controls_TControl_Perform_qqruiuii
mov dword [edi + 0xc], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0
push esi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebx + 0x48]
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478ed2
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x5c990e3e
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x1fd24034
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x40ad5c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40ae72
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405c66
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40adb3
mov byte [ebp - 2], 0
jmp 0x40addd
call 0x40e9d8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40adfc
cmp al, 0x7f
ja 0x40adfc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40ae1b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call 0x40e9c0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call 0x40e9b4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call 0x40e9b4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40ad90
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x50a06b15
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
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
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x637a7ef7
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x402820
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x521014]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4028b8
push reloc.OLEAUT32.dll_SysReAllocString
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x402898
xor eax, eax
push ebp
push 0x402891
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4028d4
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402898
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_RegCloseKey
ret
mov ax, word [0x521014]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x521014], ax
mov esp, ebp
pop ebp
ret

Function at 0x4033ac
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x52303c], 0
je 0x40340d
cmp word [0x523210], 0xd7b2
jne 0x4033d5
cmp dword [0x523218], 0
jbe 0x4033d5
mov eax, 0x52320c
call dword [0x523228]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x52105c
push 0xfffffffffffffff5
call sub.KERNEL32.dll_GetStdHandle
push eax
call sub.KERNEL32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403434
push 0xfffffffffffffff5
call sub.KERNEL32.dll_GetStdHandle
push eax
call sub.KERNEL32.dll_WriteFile
pop edx
ret
cmp byte [0x521020], 0
jne 0x403429
push 0
push 0x521054
push 0x52105c
push 0
call sub.USER32.dll_MessageBoxA
pop edx
ret

Function at 0x4047f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x404856
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.KERNEL32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403750
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402714
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x404840
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40485d
lea eax, [ebp - 0x10]
call fcn.00403528
ret

Function at 0x4063f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, edx
mov ebx, eax
test ebx, ebx
je 0x40648e
test ebx, ebx
setl byte [esp]
mov eax, edi
mov edx, 0xb
call fcn.00403a68
mov esi, 0xb
mov eax, ebx
mov ecx, 0xa
cdq
idiv ecx
mov eax, edx
cdq
xor eax, edx
sub eax, edx
mov ebp, eax
mov eax, ebx
mov ecx, 0xa
cdq
idiv ecx
mov ebx, eax
mov eax, edi
call fcn.004039d4
mov edx, ebp
add dl, 0x30
mov byte [eax + esi - 1], dl
dec esi
test ebx, ebx
jne 0x406418
cmp byte [esp], 0
je 0x40645f
mov eax, edi
call fcn.004039d4
mov byte [eax + esi - 1], 0x2d
dec esi
test esi, esi
jle 0x40649a
mov eax, edi
call fcn.004039d4
push eax
mov eax, edi
call fcn.004039d4
add eax, esi
mov ebx, 0xb
sub ebx, esi
mov ecx, ebx
pop edx
call fcn.004025ec
mov edx, ebx
mov eax, edi
call fcn.00403a68
jmp 0x40649a
mov eax, edi
mov edx, 0x4064a8
call fcn.0040357c
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x406d08
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
mov edx, esi
call fcn.0040357c
mov eax, ebx
call fcn.004039cc
mov eax, dword [ebx]
call fcn.0040377c
test eax, eax
jle 0x406d39
mov edx, 1
mov ecx, dword [ebx]
xor byte [ecx + edx - 1], 0x55
inc edx
dec eax
jne 0x406d2e
pop esi
pop ebx
ret

Function at 0x407018
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, eax
xor ebx, ebx
xor eax, eax
push ebp
push 0x407064
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 2
mov edi, esi
mov eax, edi
call fcn.00407f74
test al, al
jne 0x40705a
cmp word [edi], 0x5a4d
jne 0x40705a
lea eax, [esi + 0x3c]
mov ebx, dword [eax]
add ebx, esi
cmp dword [ebx], 0x4550
je 0x40705a
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x407070
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407200
Capabilities:
Read file via mapping

Disassembly:
push ebx
push esi
push edi
mov esi, eax
xor edi, edi
cmp byte [0x521230], 0
jne 0x4072e1
call sub.KERNEL32.dll_GetVersion
test eax, 0x80000000
jne 0x407253
push 0x10000
push 0x40
call sub.KERNEL32.dll_LocalAlloc
mov ebx, eax
push 0x8000
push ebx
push esi
call sub.KERNEL32.dll_GetModuleFileNameW
push 0
push 0
push 3
push 0
push 1
push SysReAllocStringLen
push ebx
call sub.KERNEL32.dll_CreateFileW
mov esi, eax
jmp 0x407284
push 0x105
push 0x40
call sub.KERNEL32.dll_LocalAlloc
mov ebx, eax
push 0x104
push ebx
push esi
call sub.KERNEL32.dll_GetModuleFileNameA
push 0
push 0
push 3
push 0
push 1
push SysReAllocStringLen
push ebx
call sub.KERNEL32.dll_CreateFileA
mov esi, eax
push ebx
call sub.KERNEL32.dll_LocalFree
cmp esi, 0xffffffff
je 0x4072e1
call sub.KERNEL32.dll_GetVersion
test eax, 0x80000000
jne 0x4072af
push 0
push 0
push 0
push 2
push 0
push esi
call sub.KERNEL32.dll_CreateFileMappingW
mov ebx, eax
jmp 0x4072c1
push 0
push 0
push 0
push 2
push 0
push esi
call sub.KERNEL32.dll_CreateFileMappingA
mov ebx, eax
test ebx, ebx
je 0x4072db
push 0
push 0
push 0
push 4
push ebx
call sub.KERNEL32.dll_MapViewOfFile
mov edi, eax
push ebx
call sub.KERNEL32.dll_CloseHandle
push esi
call sub.KERNEL32.dll_CloseHandle
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x40dc80
Capabilities:
Hash data using sha1

Disassembly:
push 0xcc
push 0x40
call sub.KERNEL32.dll_LocalAlloc
mov edx, eax
mov eax, edx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov eax, edx
ret

Function at 0x4120a4
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x41215b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea edx, [ebp - 0xc]
mov eax, dword [0x521d6c]
call fcn.00406d08
push dword [ebp - 0xc]
push 0x412174
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov edx, dword [edx]
mov cl, byte [ebp - 1]
mov eax, dword [0x521d70]
call fcn.00411f94
push dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040383c
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
call fcn.0040397c
push eax
call fcn.00411da8
mov esi, eax
test esi, esi
je 0x412140
push 0
push 0
push 0
push 4
push esi
call sub.KERNEL32.dll_MapViewOfFile
test eax, eax
je 0x41213a
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov ecx, dword [eax]
mov dword [edx], ecx
push eax
call sub.KERNEL32.dll_UnmapViewOfFile
mov bl, 1
push esi
call sub.KERNEL32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412162
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040354c
ret

Function at 0x4123ac
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
mov ebx, eax
call sub.KERNEL32.dll_GetVersion
test eax, 0x80000000
je 0x4123cc
push 0x40
push 0x1000
push ebx
push 0
call sub.KERNEL32.dll_VirtualAlloc
pop ebx
ret
push 0
push ebx
call fcn.0040bff4
pop ebx
ret

Function at 0x41269c
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
pushfd
xor ebx, ebx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x20], 0
push 0x1c
lea eax, [ebp - 0x1c]
push eax
push ebx
call dword [0x521e40]
cmp eax, 0x1c
jne 0x412717
cmp dword [ebp - 0xc], 0x1000
jne 0x412712
cmp dword [ebp - 0x18], 0
je 0x412712
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x20], eax
je 0x412712
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
cmp eax, 0
jne 0x4126f1
mov eax, dword [ebp - 0x18]
cmp eax, 0x80000000
jae 0x412717
push 2
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [0x521e14]
cmp eax, 0
je 0x412712
push edi
push esi
mov eax, dword [ebp - 0x18]
push eax
call dword [0x521e94]
add ebx, dword [ebp - 0x10]
jmp 0x4126b3
popfd
popal
add esp, 0x20
pop ebp
ret 0xc