joyce8/EMBER2024-capa huggingface dataset:
Function at 0x663c00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x69cbb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [esp + 0x14]
push 0
mov esi, ecx
push eax
call fcn.0040ef30
mov ebx, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
push ebx
push ecx
mov dword [esp + 0x34], 0
call fcn.0040fcb0
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 2
call sub.MFC42u.DLL_CString::CString
lea edx, [esp + 0x10]
lea ecx, [esp + 0xc]
push edx
call sub.MFC42u.DLL_CString::CString_4
lea eax, [esp + 0xc]
push str..aff
push eax
mov byte [esp + 0x28], 3
call fcn.0040bc40
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x2a8]
push ecx
push edx
push eax
call fcn.00663d10
mov edi, eax
add esp, 0x14
test edi, edi
je 0x663ccc
push ebp
lea ebp, [esi + 0x600]
push ebp
call fcn.006639a0
add esp, 4
lea ecx, [esi + 0x564]
mov dword [ebp], edi
push ebx
call sub.MFC42u.DLL_CString::operator_2
push 0
mov ecx, esi
call sub.MFC42u.DLL_CWnd::UpdateData
mov ecx, esi
call fcn.00664a60
push 0
mov ecx, esi
call fcn.00664d70
pop ebp
mov ecx, dword [esi + 0x600]
xor eax, eax
test ecx, ecx
setne al
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x20], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4

Function at 0x6663a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x69d057
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 4], 0
call fcn.00449e30
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 8]
push eax
push ecx
mov dword [esp + 0x38], 1
call fcn.0044a310
add esp, 8
mov esi, dword [esp + 0x38]
push eax
mov ecx, esi
mov byte [esp + 0x34], 2
call sub.MFC42u.DLL_CString::CString_4
mov dword [esp + 4], 1
lea ecx, [esp + 8]
mov byte [esp + 0x30], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.00449e70
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x66b022
Capabilities:
Create process on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
mov eax, dword [esi + 0x44]
lea ebx, [esi + 0x44]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x66b058
mov eax, dword [esi + 0x44]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x66b058
push 1
push 0
push 0
push eax
push str.open
push 0
call ebp
cmp eax, 0x20
jg 0x66b0cb
mov ecx, esi
call sub.MFC42u.DLL_CWnd::GetDlgCtrlID
push eax
mov ecx, ebx
call sub.MFC42u.DLL_CString::LoadStringW
test eax, eax
je 0x66b08a
mov eax, dword [esi + 0x44]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x66b08a
push 1
push 0
push 0
push eax
push str.open
push 0
call ebp
cmp eax, 0x20
jg 0x66b0cb
lea edi, [esi + 0x40]
mov ecx, esi
mov eax, edi
neg eax
sbb eax, eax
and eax, ebx
push eax
call sub.MFC42u.DLL_CWnd::GetWindowTextW
mov edi, dword [edi + 4]
mov eax, dword [edi - 8]
test eax, eax
je 0x66b0bc
push 1
push 0
push 0
push edi
push str.open
push 0
call ebp
cmp eax, 0x20
jg 0x66b0cb
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov edx, dword [esi + 0x20]
mov ecx, dword [0x738138]
push 1
push 0
push edx
mov dword [esi + 0x48], ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x66b189
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x69d8b0
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC42u.DLL_CWnd::FromHandle
mov ecx, esi
mov ebp, eax
call sub.MFC42u.DLL_CWnd::GetStyle
test al, 0xf
je 0x66b1bd
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x66b26b
push edi
push esi
lea ecx, [esp + 0x24]
call fcn.0060880a
lea ecx, [esp + 0xc]
mov dword [esp + 0x50], 0
call sub.MFC42u.DLL_CString::CString_5
lea eax, [esp + 0xc]
mov ecx, esi
push eax
mov byte [esp + 0x54], 1
call sub.MFC42u.DLL_CWnd::GetWindowTextW
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0x31
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call sub.MFC42u.DLL_CGdiObject::FromHandle
push eax
lea ecx, [esp + 0x24]
call sub.MFC42u.DLL_CDC::SelectObject_2
lea edx, [esp + 0x10]
mov edi, eax
push edx
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push 0x400
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x30]
call dword [eax + 0x70]
push edi
lea ecx, [esp + 0x24]
call sub.MFC42u.DLL_CDC::SelectObject_2
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call sub.MFC42u.DLL_CWnd::ClientToScreen
lea ecx, [esp + 0xc]
mov byte [esp + 0x50], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x50], 0xffffffff
call sub.MFC42u.DLL_CClientDC::CClientDC
pop edi
push 1
lea edx, [esp + 0x10]
push 1
push edx
call dword [sym.imp.USER32.dll_InflateRect]
lea eax, [esp + 0xc]
mov ecx, ebp
push eax
call sub.MFC42u.DLL_CWnd::ScreenToClient
push ebp
lea ecx, [esp + 0x34]
call fcn.0060880a
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawFocusRect]
lea ecx, [esp + 0x30]
call sub.MFC42u.DLL_CClientDC::CClientDC
mov ecx, dword [esp + 0x44]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x48
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x423aa4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00419328
and dword [ebp - 4], 0
cmp dword [0x43879c], 0
mov ebx, eax
jne 0x423b55
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x423c06
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x423c06
push eax
call fcn.004192b6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43879c], eax
call esi
push eax
call fcn.004192b6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4387a0], eax
call esi
push eax
call fcn.004192b6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4387a4], eax
call esi
push eax
call fcn.004192b6
pop ecx
mov dword [0x4387ac], eax
test eax, eax
je 0x423b55
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004192b6
pop ecx
mov dword [0x4387a8], eax
mov eax, dword [0x4387a8]
cmp eax, ebx
je 0x423bad
cmp dword [0x4387ac], ebx
je 0x423bad
push eax
call fcn.00419331
push dword [0x4387ac]
mov esi, eax
call fcn.00419331
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x423bad
test edi, edi
je 0x423bad
call esi
test eax, eax
je 0x423ba4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x423ba4
test byte [ebp - 0xc], 1
jne 0x423bad
or dword [ebp + 0x10], 0x200000
jmp 0x423be6
mov eax, dword [0x4387a0]
cmp eax, ebx
je 0x423be6
push eax
call fcn.00419331
pop ecx
test eax, eax
je 0x423be6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x423be6
mov eax, dword [0x4387a4]
cmp eax, ebx
je 0x423be6
push eax
call fcn.00419331
pop ecx
test eax, eax
je 0x423be6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43879c]
call fcn.00419331
pop ecx
test eax, eax
je 0x423c06
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x423c08
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x6bc954f2
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x1880903
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x404350
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
xor eax, eax
cmp dword [esp + 0x20], 0
je 0x404440
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x404440
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x40439a
mov ecx, 0x1505
xor edi, edi
nop
movzx edx, byte [ebx + edi]
test edx, edx
je 0x4043a1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x404380
jmp 0x4043a3
mov esi, 0x1505
jmp 0x4043a3
mov esi, ecx
mov ecx, dword [esp + 0x20]
mov edi, dword [ecx + 0x20]
test edi, edi
je 0x404440
mov eax, edi
xor eax, 1
mov ebx, edi
and ebx, 0xfffffffe
add ebx, ebx
sub ebx, eax
and ebx, esi
lea eax, [edi - 1]
mov dword [esp + 8], eax
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x4043e4
inc ebx
dec edi
je 0x40443e
mov eax, ebx
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebp, dword [edx + eax*4]
cmp ebp, 0xffffffff
je 0x40443e
mov eax, dword [ecx + 8]
cmp dword [eax + ebp*4], esi
jne 0x4043e0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebp*4]
mov dword [esp], eax
push eax
call fcn.0040c5f0
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x4043e0
push dword [esp + 0x28]
push dword [esp + 4]
push dword [esp + 0x2c]
call fcn.0040c610
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jne 0x4043e0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebp*4]
jmp 0x404440
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404bc0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, 0xffffffff
cmp dword [esp + 0x24], 0
je 0x404d23
mov esi, dword [esp + 0x28]
test esi, esi
je 0x404d23
cmp dword [esp + 0x2c], 0
je 0x404d23
push esi
call fcn.0040c5f0
add esp, 4
test eax, eax
je 0x404c2a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x404c31
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x404c10
jmp 0x404c33
mov ebx, 0x1505
jmp 0x404c33
mov ebx, ecx
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x20]
test edi, edi
je 0x404cc5
mov dword [esp], eax
mov eax, edi
xor eax, 1
mov esi, edi
and esi, 0xfffffffe
add esi, esi
sub esi, eax
and esi, ebx
lea eax, [edi - 1]
mov dword [esp + 8], eax
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x404c74
inc esi
dec edi
je 0x404cc5
mov ebp, esi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x404cca
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x404c70
mov ecx, dword [ecx + 0xc]
mov ebp, dword [ecx + eax*4]
push ebp
call fcn.0040c5f0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404c70
push dword [esp]
push ebp
push dword [esp + 0x30]
call fcn.0040c610
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404c70
mov eax, 0xffffffff
jmp 0x404d23
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jae 0x404d0f
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x18]
mov esi, dword [esp + 0x28]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x18]
mov dword [eax + ebp*4], edx
mov eax, dword [ecx + 0x10]
mov esi, dword [esp + 0x2c]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebp
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebx
inc dword [ecx + 0x18]
mov eax, dword [ecx]
mov dword [esi], eax
xor eax, eax
jmp 0x404d23
call fcn.00405960
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x28]
je 0x404d2b
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
push ecx
call fcn.0040c5f0
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x20]
test edi, edi
je 0x404dce
mov eax, edi
xor eax, 1
mov esi, edi
and esi, 0xfffffffe
add esi, esi
sub esi, eax
and esi, ebx
lea eax, [edi - 1]
mov dword [esp + 8], eax
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x404d74
inc esi
dec edi
je 0x404dce
mov ebp, esi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x404cd2
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x404d70
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xc], eax
push eax
call fcn.0040c5f0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404d70
push dword [esp]
push dword [esp + 0x10]
push dword [esp + 0x30]
call fcn.0040c610
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404d70
jmp 0x404cd2
mov ebp, 0xffffffff
jmp 0x404cd2
Function at 0x4056b0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, 0xffffffff
cmp dword [esp + 0x28], 0
je 0x405891
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x405891
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x405891
cmp dword [ecx], 0
jne 0x405891
push esi
call fcn.0040c5f0
add esp, 4
test eax, eax
je 0x40571a
mov ecx, 0x1505
xor ebx, ebx
nop
nop
nop
nop
movzx edx, byte [esi + ebx]
test edx, edx
je 0x405721
mov edi, ecx
shl edi, 5
add edi, ecx
add edi, edx
inc ebx
mov ecx, edi
cmp eax, ebx
jne 0x405700
jmp 0x405723
mov edi, 0x1505
jmp 0x405723
mov edi, ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x4057db
mov dword [esp], eax
mov eax, edx
xor eax, 1
mov esi, edx
and esi, 0xfffffffe
add esi, esi
sub esi, eax
and esi, edi
lea eax, [edx - 1]
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x405764
inc esi
dec edx
je 0x4057db
mov ebp, esi
and ebp, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov ebx, dword [eax + ebp*4]
cmp ebx, 0xffffffff
je 0x4057e0
mov eax, dword [ecx + 8]
cmp dword [eax + ebx*4], edi
jne 0x405760
mov eax, dword [ecx + 0xc]
mov ebp, dword [eax + ebx*4]
push ebp
mov dword [esp + 8], edx
call fcn.0040c5f0
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp eax, dword [esp]
jne 0x405760
push dword [esp]
push ebp
push dword [esp + 0x34]
call fcn.0040c610
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
add esp, 0xc
test eax, eax
jne 0x405760
mov eax, dword [ecx + 0x10]
push dword [eax + ebx*4]
call fcn.00404770
mov edx, dword [esp + 0x2c]
add esp, 4
mov eax, dword [edx + 0x10]
mov esi, dword [esp + 0x30]
mov dword [eax + ebx*4], esi
jmp 0x405884
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x405820
call fcn.00405960
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov esi, dword [esp + 0x2c]
jne 0x405891
push esi
call fcn.0040c5f0
add esp, 4
mov edx, esi
lea esi, [esp + 0x10]
mov ecx, dword [esp + 0x28]
push esi
push edi
push eax
call fcn.004058a0
add esp, 0xc
mov ebp, eax
mov esi, dword [esp + 0x2c]
push esi
call fcn.0040c5f0
add esp, 4
mov ebx, eax
inc eax
push eax
call dword [0x448008]
add esp, 4
test eax, eax
je 0x40588c
mov byte [eax + ebx], 0
push ebx
push esi
push eax
mov esi, eax
call fcn.0040c510
add esp, 0xc
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x18]
mov dword [eax + ecx*4], esi
mov eax, dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov dword [eax + ebp*4], ecx
mov eax, dword [edx + 0x10]
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4], esi
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0x18]
mov dword [eax + ecx*4], ebp
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0x18]
mov dword [eax + ecx*4], edi
inc dword [edx + 0x18]
mov eax, dword [edx]
mov dword [esi], eax
xor eax, eax
jmp 0x405891
mov eax, 0xffffffff
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x406900
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x406aa6
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0x406a9f
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, esi
sub edx, eax
jmp 0x406995
mov eax, dword [esp]
sub eax, dword [esp + 4]
add ebp, eax
mov esi, dword [esp + 8]
mov eax, edi
mov edx, 0x80078071
mul edx
mov ebx, edx
shr ebx, 0xf
mov eax, ecx
mov edx, 0x80078071
mul edx
imul eax, ebx, 0xfff1
sub edi, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
sub esi, dword [esp]
mov edx, 0x15b0
je 0x406a9f
xor ebx, ebx
cmp edx, 8
mov dword [esp], edx
mov dword [esp + 8], esi
jb 0x406a0e
mov ebx, edx
and ebx, 0x1ff8
xor eax, eax
nop
nop
nop
mov edx, eax
movzx eax, byte [ebp + eax]
add eax, edi
add ecx, eax
movzx esi, byte [ebp + edx + 1]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 2]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + edx + 3]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 4]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + edx + 5]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 6]
add eax, esi
add ecx, eax
movzx edi, byte [ebp + edx + 7]
add edi, eax
add ecx, edi
lea eax, [edx + 8]
add edx, 0xf
cmp edx, dword [esp]
mov edx, dword [esp]
jb 0x4069b0
add ebp, eax
mov esi, dword [esp + 8]
mov eax, ebx
sub eax, edx
jae 0x40695d
mov dword [esp + 0xc], eax
mov eax, edx
and eax, 3
mov dword [esp + 4], ebx
je 0x406a50
neg eax
xor ebx, ebx
mov edx, ebp
nop
nop
nop
movzx esi, byte [edx]
inc edx
add edi, esi
add ecx, edi
dec ebx
cmp eax, ebx
jne 0x406a30
mov eax, dword [esp + 4]
sub eax, ebx
cmp dword [esp + 0xc], 0xfffffffc
ja 0x406950
jmp 0x406a5f
mov eax, ebx
mov edx, ebp
cmp dword [esp + 0xc], 0xfffffffc
ja 0x406950
mov ebx, dword [esp]
sub ebx, eax
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [edx + eax]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 1]
add edi, esi
add ecx, edi
movzx esi, byte [edx + eax + 2]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 3]
add edi, esi
add ecx, edi
add eax, 4
cmp ebx, eax
jne 0x406a70
jmp 0x406950
shl ecx, 0x10
or ecx, edi
jmp 0x406aab
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x406ac0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x406b1c
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test edx, edx
je 0x406b1e
not eax
xor esi, esi
nop
nop
nop
nop
nop
movzx edi, byte [ecx + esi]
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
xor ebx, dword [eax*4 + 0x445c50]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
mov edi, dword [edi*4 + 0x445c50]
mov ebx, eax
and ebx, edi
add eax, edi
add ebx, ebx
sub eax, ebx
inc esi
cmp edx, esi
jne 0x406ae0
not eax
jmp 0x406b1e
xor eax, eax
pop esi
pop edi
pop ebx
ret
Function at 0x40cc10
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebx
push edi
push esi
sub esp, 0xc
call fcn.0043ef50
test al, al
je 0x40cdb4
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
call fcn.004371f0
test al, al
je 0x40cdaf
call dword [sym.imp.USER32.dll_GetInputState]
mov esi, eax
mov dword [esp], 0x421b5457
mov dword [esp + 4], 0xbeb46ab2
mov word [esp + 8], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x54
xor cl, byte [esp + eax]
add cl, 0x5c
mov byte [esp + eax], cl
inc eax
cmp eax, 0xa
jne 0x40cc60
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp], 0xf65993d3
mov dword [esp + 4], 0xc51b2d9
mov byte [esp + 8], 0
mov eax, 0x81
mov ecx, 0x1e
nop
nop
mov edi, ecx
and edi, 0x15
mov edx, eax
and edx, 0x8a
or edx, edi
xor dl, byte [esp + eax - 0x81]
xor dl, 0x15
add dl, 0x7b
mov byte [esp + eax - 0x81], dl
inc eax
dec ecx
cmp eax, 0x8a
jne 0x40cca0
mov dword [esp], 0xe9eaebc3
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov al, 0x58
mov ecx, 0x58
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx - 0x58]
xor dl, al
mov ah, 0xbc
sub ah, dl
mov byte [esp + ecx - 0x58], ah
dec al
inc ecx
cmp ecx, 0x5f
jne 0x40ccf0
test esi, esi
je 0x40cd57
mov dword [esp], 0x31ab0d77
mov dword [esp + 4], 0xefe0dc16
mov byte [esp + 8], 0
mov eax, 0x4c03a806
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x4c03a806]
mov edx, ecx
and edx, eax
add dl, dl
sub cl, dl
movzx ecx, cl
add ecx, eax
add cl, 0xe2
mov byte [esp + eax - 0x4c03a806], cl
inc eax
cmp eax, 0x4c03a80f
jne 0x40cd30
mov dword [esp], 0x82858487
mov dword [esp + 4], 0x8e818083
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov eax, 0x61
mov ecx, 0x9e
nop
nop
nop
nop
movzx esi, byte [esp + eax - 0x61]
mov edx, eax
xor edx, ecx
and edx, esi
xor edx, ecx
mov bl, 0x1a
sub bl, dl
mov byte [esp + eax - 0x61], bl
inc eax
dec ecx
cmp eax, 0x6c
jne 0x40cd80
call fcn.0040dd10
test al, al
je 0x40cdaf
call fcn.00410b70
call fcn.0040f8c0
call fcn.00440630
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x41d480
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov edi, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebp + edi + 2], 0
lea edi, [edi + 2]
jne 0x41d4a0
mov esi, dword [eax + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x41d4c0
sar edi, 1
sar eax, 1
add eax, edi
add eax, 2
test eax, eax
jns 0x41d4df
mov eax, 0xffffffff
jmp 0x41d4e1
add eax, eax
push eax
call fcn.0040c4e0
add esp, 4
movzx ecx, word [esi]
mov dword [esp + 0x10], eax
test cx, cx
je 0x41d511
add esi, 2
mov eax, dword [esp + 0x10]
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [esi]
add esi, 2
test cx, cx
jne 0x41d500
mov word [eax], 0x5c
add eax, 2
movzx ecx, word [ebp]
test cx, cx
je 0x41d541
lea edx, [ebp + 2]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41d530
mov word [eax], 0
lea eax, [esp + 0xc]
push 0x60
push 3
push 0x120089
push eax
push dword [esp + 0x20]
call fcn.00443740
add esp, 0x14
not eax
shr eax, 0x1f
mov dword [esp + 8], 0
jmp dword [eax*4 + 0x44a4d4]