joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100017c2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000a050]
jne 0x100017cc
repz ret
jmp fcn.10001e0e

Function at 0x10005da4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1000a050]
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.10002931
and dword [ebp - 0x14], 0
cmp dword [0x1000b8d8], 0
mov dword [ebp - 0x18], eax
jne 0x10005e57
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10005eff
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10005eff
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1000b8d8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1000b8dc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1000b8e0], eax
call edi
push eax
call esi
mov dword [0x1000b8e8], eax
test eax, eax
je 0x10005e57
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1000b8e4], eax
mov eax, dword [0x1000b8e4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10005eb0
cmp dword [0x1000b8e8], ecx
je 0x10005eb0
push eax
call esi
push dword [0x1000b8e8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10005eb0
test ebx, ebx
je 0x10005eb0
call edi
test eax, eax
je 0x10005ea7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10005ea7
test byte [ebp - 8], 1
jne 0x10005eb0
or dword [ebp + 0x10], 0x200000
jmp 0x10005ee3
mov eax, dword [0x1000b8dc]
cmp eax, dword [ebp - 0x18]
je 0x10005ee3
push eax
call esi
test eax, eax
je 0x10005ee3
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10005ee3
mov eax, dword [0x1000b8e0]
cmp eax, dword [ebp - 0x18]
je 0x10005ee3
push eax
call esi
test eax, eax
je 0x10005ee3
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1000b8d8]
call esi
test eax, eax
je 0x10005eff
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10005f01
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100017c2
leave
ret
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x41866e2b
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x6e937003
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x401010
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 3
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 6
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 7
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 9
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0xa
mov dword [ebp - 4], edx
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x62f1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0062f140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0062f140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0062f140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0062f140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x62fbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x62fc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x64187c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x62fc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x62fc52
xor eax, eax
pop esi
leave
ret 4

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x60f0479e
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
mov ecx, 0x6d2e1a
nop
nop
nop
nop
test eax, eax
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x417cc0
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
push ebx
test eax, eax
je 0x4181e0
test edx, edx
je 0x4181e0
call fcn.00417cd7
mov eax, 0xffffffff
pop ebx
pop ebp
ret

Function at 0x418220
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
call fcn.00417cc0
mov edx, dword [esp + 0xc]
shl ecx, 4
test eax, eax
jne 0x418291
lea eax, [edx + ecx + 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
movups xmmword [eax], xmm0
movups xmmword [edx], xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
aesimc xmm0, xmm0
aesimc xmm1, xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmmword [edx - 0x10], xmm1
cmp eax, edx
ja 0x418256
movups xmm0, xmmword [edx]
aesimc xmm0, xmm0
movups xmmword [edx], xmm0
pxor xmm0, xmm0
pxor xmm1, xmm1
xor eax, eax
ret

Function at 0x418ba0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push esi
push edi
sub esp, 0x10
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
bswap eax
bswap ebx
bswap ecx
bswap edx
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp ebp, 0x80
je 0x418c24
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
cmp ebp, 0xc0
je 0x418bfc
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
jmp 0x418c04
mov ecx, eax
mov edx, ebx
not ecx
not edx
bswap eax
bswap ebx
bswap ecx
bswap edx
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], edx
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
nop
call fcn.00418c29
Function at 0x41fc90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x58dd4c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
xor ecx, ecx
mov dword [ebp - 0x1c], edi
nop
movzx eax, byte [edi + ecx]
mov byte [ebp + ecx*4 - 0x14], al
movzx eax, byte [edi + ecx + 4]
mov byte [ebp + ecx*4 - 0x13], al
movzx eax, byte [edi + ecx + 8]
mov byte [ebp + ecx*4 - 0x12], al
movzx eax, byte [edi + ecx + 0xc]
mov byte [ebp + ecx*4 - 0x11], al
inc ecx
cmp ecx, 4
jl 0x41fcb0
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
mov esi, 4
lea edx, [edi + 0x208]
nop word [eax + eax]
movzx eax, byte [edx - 4]
lea edx, [edx + 1]
xor byte [ecx - 4], al
lea ecx, [ecx + 1]
movzx eax, byte [edx - 1]
xor byte [ecx - 1], al
movzx eax, byte [edx + 3]
xor byte [ecx + 3], al
movzx eax, byte [edx + 7]
xor byte [ecx + 7], al
sub esi, 1
jne 0x41fcf0
lea ebx, [esi + 1]
lea esi, [edi + 0x218]
xor ecx, ecx
movzx eax, byte [ebp + ecx*4 - 0x14]
movzx eax, byte [eax + edi + 4]
mov byte [ebp + ecx*4 - 0x14], al
movzx eax, byte [ebp + ecx*4 - 0x13]
movzx eax, byte [eax + edi + 4]
mov byte [ebp + ecx*4 - 0x13], al
movzx eax, byte [ebp + ecx*4 - 0x12]
movzx eax, byte [eax + edi + 4]
mov byte [ebp + ecx*4 - 0x12], al
movzx eax, byte [ebp + ecx*4 - 0x11]
movzx eax, byte [eax + edi + 4]
mov byte [ebp + ecx*4 - 0x11], al
inc ecx
cmp ecx, 4
jl 0x41fd22
lea eax, [ebp - 0x14]
push eax
call fcn.004200b0
cmp ebx, 0xa
je 0x41fd77
lea eax, [ebp - 0x14]
push eax
call fcn.00420140
xor eax, eax
nop dword [eax]
movzx ecx, byte [esi + eax - 4]
xor byte [ebp + eax - 0x14], cl
movzx ecx, byte [esi + eax]
xor byte [ebp + eax - 0x10], cl
movzx ecx, byte [esi + eax + 4]
xor byte [ebp + eax - 0xc], cl
movzx ecx, byte [esi + eax + 8]
xor byte [ebp + eax - 8], cl
inc eax
cmp eax, 4
jl 0x41fd80
inc ebx
add esi, 0x10
cmp ebx, 0xa
jle 0x41fd20
mov esi, dword [ebp - 0x1c]
lea edi, [ebp - 0x14]
xor edx, edx
lea ebx, [ebp - 0x12]
movzx eax, byte [edi + edx*4]
movzx ecx, byte [ebx + edx*4]
mov byte [esi + edx], al
movzx eax, byte [ebp + edx*4 - 0x13]
mov byte [esi + edx + 4], al
lea eax, [ebp - 0x11]
mov byte [esi + edx + 8], cl
movzx ecx, byte [eax + edx*4]
mov byte [esi + edx + 0xc], cl
inc edx
cmp edx, 4
jl 0x41fdc1
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050e1f3
mov esp, ebp
pop ebp
ret 4
Function at 0x41fe00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x58dd4c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
xor ecx, ecx
mov dword [ebp - 0x1c], edi
nop
movzx eax, byte [edi + ecx]
mov byte [ebp + ecx*4 - 0x14], al
movzx eax, byte [edi + ecx + 4]
mov byte [ebp + ecx*4 - 0x13], al
movzx eax, byte [edi + ecx + 8]
mov byte [ebp + ecx*4 - 0x12], al
movzx eax, byte [edi + ecx + 0xc]
mov byte [ebp + ecx*4 - 0x11], al
inc ecx
cmp ecx, 4
jl 0x41fe20
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
mov esi, 4
lea edx, [edi + 0x2a8]
nop word [eax + eax]
movzx eax, byte [edx - 4]
lea edx, [edx + 1]
xor byte [ecx - 4], al
lea ecx, [ecx + 1]
movzx eax, byte [edx - 1]
xor byte [ecx - 1], al
movzx eax, byte [edx + 3]
xor byte [ecx + 3], al
movzx eax, byte [edx + 7]
xor byte [ecx + 7], al
sub esi, 1
jne 0x41fe60
lea ebx, [esi + 9]
lea esi, [edi + 0x298]
lea eax, [ebp - 0x14]
push eax
call fcn.00420220
xor ecx, ecx
nop dword [eax + eax]
movzx eax, byte [ebp + ecx*4 - 0x14]
movzx eax, byte [eax + edi + 0x104]
mov byte [ebp + ecx*4 - 0x14], al
movzx eax, byte [ebp + ecx*4 - 0x13]
movzx eax, byte [eax + edi + 0x104]
mov byte [ebp + ecx*4 - 0x13], al
movzx eax, byte [ebp + ecx*4 - 0x12]
movzx eax, byte [eax + edi + 0x104]
mov byte [ebp + ecx*4 - 0x12], al
movzx eax, byte [ebp + ecx*4 - 0x11]
movzx eax, byte [eax + edi + 0x104]
mov byte [ebp + ecx*4 - 0x11], al
inc ecx
cmp ecx, 4
jl 0x41fea0
xor eax, eax
nop dword [eax]
movzx ecx, byte [esi + eax - 4]
xor byte [ebp + eax - 0x14], cl
movzx ecx, byte [esi + eax]
xor byte [ebp + eax - 0x10], cl
movzx ecx, byte [esi + eax + 4]
xor byte [ebp + eax - 0xc], cl
movzx ecx, byte [esi + eax + 8]
xor byte [ebp + eax - 8], cl
inc eax
cmp eax, 4
jl 0x41fef0
test ebx, ebx
je 0x41ff26
lea eax, [ebp - 0x14]
push eax
call fcn.004202c0
sub esi, 0x10
sub ebx, 1
jns 0x41fe90
mov esi, dword [ebp - 0x1c]
lea edi, [ebp - 0x14]
xor edx, edx
lea ebx, [ebp - 0x12]
nop dword [eax]
movzx eax, byte [edi + edx*4]
movzx ecx, byte [ebx + edx*4]
mov byte [esi + edx], al
movzx eax, byte [ebp + edx*4 - 0x13]
mov byte [esi + edx + 4], al
lea eax, [ebp - 0x11]
mov byte [esi + edx + 8], cl
movzx ecx, byte [eax + edx*4]
mov byte [esi + edx + 0xc], cl
inc edx
cmp edx, 4
jl 0x41ff40
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050e1f3
mov esp, ebp
pop ebp
ret 4
Function at 0x420410
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
mov dword [ebp - 0x10], edx
test esi, esi
je 0x420555
test edx, edx
js 0x420555
mov eax, dword [ebp + 8]
test eax, eax
je 0x42053c
push ebx
mov ebx, edx
mov dword [ebp - 8], ebx
test edx, edx
jle 0x420536
push edi
cmp ebx, 3
jl 0x4204bb
mov dl, byte [esi + 1]
mov cl, byte [esi]
mov bl, byte [esi + 2]
add esi, 3
mov dword [ebp - 0xc], esi
movzx esi, cl
mov ecx, esi
movzx edi, dl
shr ecx, 2
shl esi, 4
movsx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [eax], cx
mov ecx, edi
shr ecx, 4
or ecx, esi
movzx esi, bl
mov ebx, dword [ebp - 8]
and ecx, 0x3f
mov edx, esi
shr edx, 6
movsx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [eax + 2], cx
lea ecx, [edi*4]
or edx, ecx
and edx, 0x3f
and esi, 0x3f
movsx ecx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [eax + 4], cx
lea ecx, [eax + 6]
movsx ax, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov esi, dword [ebp - 0xc]
jmp 0x42051e
mov dl, byte [esi]
inc esi
cmp ebx, 2
jne 0x4204cb
mov cl, byte [esi]
inc esi
mov byte [ebp - 1], cl
jmp 0x4204cf
mov byte [ebp - 1], 0
movzx edi, byte [ebp - 1]
movzx edx, dl
mov ecx, edx
shl edx, 4
shr ecx, 2
movsx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [eax], cx
mov ecx, edi
shr ecx, 4
or ecx, edx
and ecx, 0x3f
movsx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [eax + 2], cx
cmp ebx, 1
jne 0x420507
lea ecx, [ebx + 0x3c]
jmp 0x420512
and edi, 0xf
movsx ecx, byte [edi*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [eax + 4], cx
lea ecx, [eax + 6]
mov eax, 0x3d
sub ebx, 3
mov word [ecx], ax
mov dword [ebp - 8], ebx
lea eax, [ecx + 2]
test ebx, ebx
jg 0x420446
mov edx, dword [ebp - 0x10]
pop edi
xor ecx, ecx
mov word [eax], cx
pop ebx
lea ecx, [edx + 2]
mov eax, 0x55555556
imul ecx
pop esi
mov eax, edx
shr eax, 0x1f
add eax, edx
shl eax, 2
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x424510
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x424529
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x424566
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x424562
nop word [eax + eax]
cmp esi, edx
jae 0x424566
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x424550
cmp esi, edx
jb 0x42456d
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x425320
Capabilities:
Encrypt data using rc4 prga
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x58dd4c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor edx, edx
push edi
mov edi, dword [ebp + 8]
lea eax, [esi + 0x16]
nop dword [eax]
movzx ecx, byte [eax - 2]
lea eax, [eax + 4]
mov byte [ebp + edx - 0xc], cl
movzx ecx, byte [eax - 5]
mov byte [ebp + edx - 0xb], cl
movzx ecx, byte [eax - 4]
mov byte [ebp + edx - 0xa], cl
movzx ecx, byte [eax - 3]
mov byte [ebp + edx - 9], cl
add edx, 4
cmp edx, 8
jb 0x425340
mov edx, dword [esi + 0x14]
lea ebx, [esi + 0x5c]
shr edx, 3
mov ecx, 0x38
and edx, 0x3f
mov eax, 0x78
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovb eax, ecx
mov ecx, esi
push eax
push ebx
call fcn.00425250
push 8
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.00425250
lea ecx, [edi + 1]
mov edi, 4
lea edx, [esi + 6]
nop dword [eax]
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
mov byte [ecx - 1], al
lea ecx, [ecx + 4]
movzx eax, byte [edx - 5]
mov byte [ecx - 4], al
movzx eax, byte [edx - 4]
mov byte [ecx - 3], al
movzx eax, byte [edx - 3]
mov byte [ecx - 2], al
sub edi, 1
jne 0x4253b0
xor eax, eax
mov edi, esi
xorps xmm0, xmm0
mov ecx, 0x27
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 4]
mov dword [esi + 0x18], eax
xor ecx, ebp
mov dword [esi + 0x14], eax
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
movups xmmword [ebx], xmm0
pop edi
movups xmmword [ebx + 0x10], xmm0
pop esi
movups xmmword [ebx + 0x20], xmm0
movups xmmword [ebx + 0x30], xmm0
mov byte [ebx], 0x80
pop ebx
call fcn.0050e1f3
mov esp, ebp
pop ebp
ret 4
Function at 0x425be0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5342f3
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x58dd4c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xc4], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0xbc], vtable.MD5_CTX.0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xb8], 0x67452301
mov dword [ebp - 0xb4], 0xefcdab89
mov dword [ebp - 0xb0], 0x98badcfe
mov dword [ebp - 0xac], 0x10325476
movups xmmword [ebp - 0x50], xmm0
mov byte [ebp - 0x60], 0x80
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x30], xmm0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
mov esi, dword [eax - 0xc]
test esi, esi
jns 0x425c9b
push 0x80070057
call fcn.00425150
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x425cb8
push esi
lea ecx, [ebp + 8]
call fcn.00423700
mov eax, dword [ebp + 8]
push esi
push eax
lea ecx, [ebp - 0xbc]
call fcn.00425250
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00425320
push ecx
lea edx, [ebp - 0x20]
mov dword [edi], 0
mov ecx, edi
call fcn.00425b40
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov esi, dword [ebp + 8]
or eax, 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x425d0a
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050e1f3
mov esp, ebp
pop ebp
ret
Function at 0x425d30
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53433e
mov eax, dword fs:[0]
push eax
sub esp, 0x4bc
mov eax, dword [0x58dd4c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x428], edi
mov dword [ebp - 0x4c8], 0
push 0
push 0x80
push 3
push 0
push 1
push connect
mov dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x425dcb
push 0x583fec
mov ecx, edi
call fcn.00422fa0
mov dword [ebp - 4], esi
or eax, 0xffffffff
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x425f24
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x425f24
xorps xmm0, xmm0
mov dword [ebp - method.MD5_CTX.virtual_0], vtable.MD5_CTX.0
movups xmmword [ebp - 0x468], xmm0
mov dword [ebp - 0x4ac], 0
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x4c0], 0x67452301
mov dword [ebp - 0x4bc], 0xefcdab89
mov dword [ebp - 0x4b8], 0x98badcfe
mov dword [ebp - 0x4b4], 0x10325476
movups xmmword [ebp - 0x458], xmm0
mov byte [ebp - 0x468], 0x80
movups xmmword [ebp - 0x448], xmm0
movups xmmword [ebp - 0x438], xmm0
push 0
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 1
push eax
push 0x400
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x425e9d
nop dword [eax + eax]
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x425e9d
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x4c4]
call fcn.00425250
push 0
lea eax, [ebp - 0x428]
push eax
push 0x400
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x425e60
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x4c4]
call fcn.00425320
push ecx
lea edx, [ebp - 0x20]
mov dword [ebp - 0x424], 0
lea ecx, [ebp - 0x424]
call fcn.00425b40
add esp, 4
push esi
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x424]
mov ecx, edi
push eax
call fcn.00423350
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov edx, dword [ebp - 0x424]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x425f05
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x425f24
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050e1f3
mov esp, ebp
pop ebp
ret