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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46b6a8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4352b9
inc eax
mov dword [esi + 0x10], eax
jmp 0x4353cc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4352cd
mov eax, 0xffffffc7
jmp 0x4353ce
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4352de
cmp dword [esi + 8], eax
jne 0x4352cd
cmp dword [esi + 8], eax
jne 0x4352f7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4352f7
mov eax, 0xffffffc7
jmp 0x4353ce
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43530b
push eax
mov ecx, ebx
call fcn.00434ab0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00407030
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43533c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00407050
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00434220
test eax, eax
mov dword [esp + 0x38], eax
je 0x43536f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x473310
call fcn.00407230
mov eax, dword [esp + 0x38]
jmp 0x4353ce
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004350e0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4353b3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00435100
mov esi, eax
test esi, esi
jne 0x4353e3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004350e0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x435385
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x473310
call fcn.00407230
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x473310
call fcn.00407230
mov eax, esi
jmp 0x4353ce

Function at 0x438500
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x438560
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x438560
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x438560
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x438560
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4385a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43e6d0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46bcd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00464d25
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043e070
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00464c53
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00461517
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00461517
push 1
push 0
push 0
mov ecx, esi
call fcn.004614bf
push 1
push 0
push 1
mov ecx, esi
call fcn.004614bf
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00464d97
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43e850
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46bcf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00464d25
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043e070
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00464c53
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43e914
cmp dword [esp + 0x40], 1
jne 0x43e912
cmp ecx, eax
jge 0x43e914
mov eax, ecx
cmp eax, 0xc8
jge 0x43e920
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043e6d0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00464d97
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43f090
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46bd63
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045f935
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00464fcd
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004664e9
test eax, eax
je 0x43f1ac
mov ecx, dword [esp + 0x3c]
call fcn.00464ffa
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43f170
push edi
mov ecx, esi
call fcn.0046265e
mov ecx, esi
call fcn.0043f310
cmp dword [esp + 0x38], 1
jne 0x43f1a5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00462799
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x441bd0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x441c03
push esi
call fcn.00444cd0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x441bfc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x441c89
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x441c72
mov eax, dword [esi + 8]
test eax, eax
je 0x441c27
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x441c6e
cmp eax, 2
je 0x441c72
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x441c1a
cmp eax, 3
je 0x441c4d
cmp eax, 1
jne 0x441c1a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x441c1a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x441c1a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00441cb0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x441c98
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00441cb0
add esp, 4
pop esi
ret

Function at 0x46072a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x460762
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045e7e1
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045e7b9
jmp 0x46076e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x461e1b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x461e5d
call fcn.004678d9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x461e5d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x461e54
xor eax, eax
jmp 0x461e65
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00461e6b
pop edi
pop esi
pop ebx
ret 4

Function at 0x467e09
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x467e37
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x467e55
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00467d6f
jmp 0x467e55
mov eax, dword [esi + 0x14]
test eax, eax
je 0x467e55
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00467d6f
test edi, edi
mov eax, edi
jne 0x467e3f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401580
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f430
push 0x40ea50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x4477cc]
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x12c], ecx
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [ebp + 8], edi
je 0x4016fd
cmp dword [ebp + 0xc], edi
je 0x4016fd
xor eax, eax
mov dword [ebp - 0x124], eax
cmp eax, 0x100
jge 0x4015ed
mov byte [ebp + eax - 0x11c], al
inc eax
jmp 0x4015d6
xor cl, cl
mov byte [ebp - 0x11e], cl
mov byte [ebp - 0x11d], cl
mov dword [ebp - 0x124], edi
cmp edx, 0x100
mov eax, edx
jg 0x401610
mov eax, 0x100
cmp edi, eax
jge 0x40166e
mov al, byte [ebp - 0x11d]
inc al
mov byte [ebp - 0x11d], al
movzx esi, al
lea esi, [ebp + esi - 0x11c]
xor ebx, ebx
mov bl, byte [esi]
mov eax, edi
cdq
idiv dword [ebp - 0x128]
mov eax, dword [ebp - 0x12c]
movzx edx, byte [edx + eax]
add edx, ebx
add edx, ecx
mov cl, dl
mov byte [ebp - 0x11e], cl
mov byte [ebp - 0x11f], bl
movzx eax, cl
lea eax, [ebp + eax - 0x11c]
mov dl, byte [eax]
mov byte [esi], dl
mov byte [eax], bl
inc edi
mov edx, dword [ebp - 0x128]
jmp 0x4015fb
xor dl, dl
mov byte [ebp - 0x11e], dl
mov byte [ebp - 0x11d], dl
mov esi, dword [ebp + 0x10]
neg esi
mov dword [ebp - 0x124], esi
cmp esi, dword [ebp + 0xc]
jge 0x4016fd
mov al, byte [ebp - 0x11d]
inc al
mov byte [ebp - 0x11d], al
movzx eax, al
lea eax, [ebp + eax - 0x11c]
mov cl, byte [eax]
xor ebx, ebx
mov bl, cl
add ebx, edx
mov dl, bl
mov byte [ebp - 0x11e], dl
mov byte [ebp - 0x11f], cl
movzx ecx, dl
lea ecx, [ebp + ecx - 0x11c]
mov bl, byte [ecx]
mov byte [eax], bl
mov bl, byte [ebp - 0x11f]
mov byte [ecx], bl
test esi, esi
jl 0x4016f1
mov al, byte [eax]
add al, bl
movzx ecx, al
xor eax, eax
mov al, byte [ebp + ecx - 0x11c]
mov edi, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [esi + edi]
xor eax, ecx
mov byte [esi + edi], al
inc esi
jmp 0x401681
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x1c]
call fcn.0040eb59
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x401c00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x68
mov eax, dword [0x7577cc]
push ebx
push esi
push edi
mov dword [esp + 0x70], eax
xor edi, edi
mov eax, ecx
mov edx, 0x40cae2
xor esi, esi
lea ebx, [ebx]
mov ecx, edx
shl ecx, 0x18
shr edx, 8
xor edx, ecx
mov cl, byte [esi + 0x71f258]
add cl, dl
inc edi
mov byte [esp + esi + 0xc], cl
movsx esi, di
cmp esi, 0x63
jl 0x401c20
movsx edx, di
mov byte [esp + edx + 0xc], 0
lea edx, [esp + 0xc]
mov esi, eax
mov ecx, edx
sub esi, ecx
mov bl, byte [edx]
mov byte [esi + edx], bl
inc edx
test bl, bl
jne 0x401c51
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebx
call 0x40f759
add esp, 0x68
ret
Function at 0x4020f0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [0x7577cc]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x20], eax
mov ebp, ecx
mov edx, 0x83841b9
lea edi, [esp + 0x10]
mov esi, 0x75686c
mov ebx, 0xe
mov al, byte [esi]
sub edx, 0x697347f3
xor al, dl
add esi, 4
mov byte [edi], al
inc edi
dec ebx
jne 0x402115
lea edx, [esp + 0x10]
mov esi, ebp
mov ecx, edx
mov byte [esp + 0x1e], 0
sub esi, ecx
mov bl, byte [edx]
mov byte [esi + edx], bl
inc edx
test bl, bl
jne 0x402137
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
call 0x40f759
add esp, 0x14
ret

Function at 0x402180
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71f430
push 0x71ea50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x7577cc]
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x12c], ecx
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [ebp + 8], edi
je 0x4022fd
cmp dword [ebp + 0xc], edi
je 0x4022fd
xor eax, eax
mov dword [ebp - 0x124], eax
cmp eax, 0x100
jge 0x4021ed
mov byte [ebp + eax - 0x11c], al
inc eax
jmp 0x4021d6
xor cl, cl
mov byte [ebp - 0x11e], cl
mov byte [ebp - 0x11d], cl
mov dword [ebp - 0x124], edi
cmp edx, 0x100
mov eax, edx
jg 0x402210
mov eax, 0x100
cmp edi, eax
jge 0x40226e
mov al, byte [ebp - 0x11d]
inc al
mov byte [ebp - 0x11d], al
movzx esi, al
lea esi, [ebp + esi - 0x11c]
xor ebx, ebx
mov bl, byte [esi]
mov eax, edi
cdq
idiv dword [ebp - 0x128]
mov eax, dword [ebp - 0x12c]
movzx edx, byte [edx + eax]
add edx, ebx
add edx, ecx
mov cl, dl
mov byte [ebp - 0x11e], cl
mov byte [ebp - 0x11f], bl
movzx eax, cl
lea eax, [ebp + eax - 0x11c]
mov dl, byte [eax]
mov byte [esi], dl
mov byte [eax], bl
inc edi
mov edx, dword [ebp - 0x128]
jmp 0x4021fb
xor dl, dl
mov byte [ebp - 0x11e], dl
mov byte [ebp - 0x11d], dl
mov esi, dword [ebp + 0x10]
neg esi
mov dword [ebp - 0x124], esi
cmp esi, dword [ebp + 0xc]
jge 0x4022fd
mov al, byte [ebp - 0x11d]
inc al
mov byte [ebp - 0x11d], al
movzx eax, al
lea eax, [ebp + eax - 0x11c]
mov cl, byte [eax]
xor ebx, ebx
mov bl, cl
add ebx, edx
mov dl, bl
mov byte [ebp - 0x11e], dl
mov byte [ebp - 0x11f], cl
movzx ecx, dl
lea ecx, [ebp + ecx - 0x11c]
mov bl, byte [ecx]
mov byte [eax], bl
mov bl, byte [ebp - 0x11f]
mov byte [ecx], bl
test esi, esi
jl 0x4022f1
mov al, byte [eax]
add al, bl
movzx ecx, al
xor eax, eax
mov al, byte [ebp + ecx - 0x11c]
mov edi, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [esi + edi]
xor eax, ecx
mov byte [esi + edi], al
inc esi
jmp 0x402281
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x1c]
call 0x40f759
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x404c60
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71f860
push 0x71ea50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x20], edx
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx + 0x3c]
lea edi, [eax + ecx]
mov dword [ebp - 0x28], edi
movzx edx, word [edi + 0x14]
add edx, eax
lea edx, [edx + ecx + 0x18]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x24], esi
lea ecx, [ecx]
movzx eax, word [edi + 6]
cmp esi, eax
jge 0x404d36
lea ecx, [esi + esi*4]
lea ecx, [edx + ecx*8]
mov edi, dword [ecx + 0x10]
mov ebx, dword [ecx + 8]
mov eax, edi
sub eax, ebx
mov dword [ebp - 0x34], eax
cmp eax, 0x1000
jae 0x404d24
cmp eax, 0xc
jbe 0x404d24
cmp eax, 0x1c
jbe 0x404d1e
mov edx, dword [ecx + 0x14]
add edx, ebx
add edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov esi, dword [eax]
mov dword [edx], esi
mov esi, dword [eax + 4]
mov dword [edx + 4], esi
mov esi, dword [eax + 8]
mov dword [edx + 8], esi
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
add dword [ecx + 8], 0x10
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add edi, 0xfffffff4
mov dword [ecx + 8], edi
inc esi
mov dword [ebp - 0x24], esi
mov edi, dword [ebp - 0x28]
jmp 0x404cb0
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406b30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71fd78
push 0x71ea50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov eax, dword [0x7577cc]
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x50], eax
lea ebx, [ebx]
cmp eax, 2
jge 0x406c8b
xor cl, cl
test eax, eax
je 0x406bc3
mov eax, 0x4678
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x49], cl
mov edx, 6
mov dword [ebp - 0x6c], edx
cmp cl, dl
jae 0x406bbe
movzx eax, ax
mov esi, eax
shr esi, 4
shl eax, 0xc
or eax, esi
mov dword [ebp - 0x64], eax
movzx esi, cl
xor ebx, ebx
mov bl, byte [esi + 0x71fbfd]
xor ebx, eax
mov byte [ebp + esi - 0x24], bl
inc cl
mov byte [ebp - 0x49], cl
jmp 0x406b92
lea eax, [ebp - 0x24]
jmp 0x406c0b
mov eax, 0xe825918
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x4a], cl
mov dl, byte [0x75719c]
mov byte [ebp - 0x51], dl
cmp cl, dl
jae 0x406c00
mov esi, eax
shl esi, 0x14
shr eax, 0xc
or eax, esi
mov dword [ebp - 0x5c], eax
movzx esi, cl
xor ebx, ebx
mov bl, byte [esi + 0x75719d]
add ebx, eax
mov byte [ebp + esi - 0x30], bl
inc cl
mov byte [ebp - 0x4a], cl
jmp 0x406bd7
movzx eax, cl
mov byte [ebp + eax - 0x30], 0
lea eax, [ebp - 0x30]
push eax
call dword [0x71f0a8]
mov edi, eax
mov dword [ebp - 0x70], edi
test edi, edi
je 0x406c7f
mov ecx, 0x3a4f7d7c
mov dword [ebp - 0x58], ecx
xor eax, eax
mov dword [ebp - 0x60], eax
mov dl, 0x17
mov byte [ebp - 0x4b], dl
lea ecx, [ecx]
movsx si, dl
cmp ax, si
jge 0x406c5a
sub ecx, 0x689e6545
mov dword [ebp - 0x58], ecx
movsx esi, ax
xor ebx, ebx
mov bl, byte [esi*4 + 0x7571a8]
add ebx, ecx
mov byte [ebp + esi - 0x48], bl
inc eax
mov dword [ebp - 0x60], eax
jmp 0x406c30
movsx ecx, ax
mov byte [ebp + ecx - 0x48], 0
lea edx, [ebp - 0x48]
push edx
push edi
call dword [0x71f0ac]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x406c7f
sub eax, edi
mov dword [ebp - 4], 0xffffffff
jmp 0x406ca5
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
jmp 0x406b70
mov dword [ebp - 4], 0xffffffff
xor eax, eax
jmp 0x406ca5
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x1c]
call 0x40f759
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407db0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [0x7577cc]
push ebp
push esi
push edi
movsx edi, byte [0x7574ec]
mov dword [esp + 0x20], eax
xor eax, eax
test edi, edi
mov esi, edx
mov ebp, ecx
mov dl, 0xde
jle 0x407de7
mov cl, byte [eax*2 + 0x7574ee]
add dl, 0x4d
xor cl, dl
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, edi
jl 0x407dd2
mov ecx, dword [esp + 0x28]
mov byte [esp + eax + 0xc], 0
xor eax, eax
test ecx, ecx
jbe 0x407e23
jmp 0x407e00
movzx edx, byte [eax + ebp]
shr edx, 4
mov dl, byte [esp + edx + 0xc]
mov byte [esi + eax*2], dl
xor edx, edx
mov dl, byte [eax + ebp]
and edx, 0xf
mov dl, byte [esp + edx + 0xc]
mov byte [esi + eax*2 + 1], dl
inc eax
cmp eax, ecx
jb 0x407e00
pop edi
mov byte [esi + ecx*2], 0
mov ecx, dword [esp + 0x1c]
pop esi
pop ebp
call 0x40f759
add esp, 0x18
ret 4

Function at 0x4083d0
Capabilities:
Hash data with crc32

Disassembly:
or eax, 0xffffffff
test edx, edx
push esi
mov esi, ecx
je 0x4084a1
push edi
mov edi, edx
movzx edx, byte [esi]
mov ecx, edx
xor ecx, eax
and cl, 1
inc esi
neg cl
sbb ecx, ecx
and ecx, 0xedb88320
shr eax, 1
xor eax, ecx
shr edx, 1
mov ecx, edx
xor ecx, eax
and cl, 1
neg cl
sbb ecx, ecx
and ecx, 0xedb88320
shr eax, 1
xor eax, ecx
shr edx, 1
mov ecx, edx
xor ecx, eax
and cl, 1
neg cl
sbb ecx, ecx
and ecx, 0xedb88320
shr eax, 1
xor eax, ecx
shr edx, 1
mov ecx, edx
xor ecx, eax
and cl, 1
neg cl
sbb ecx, ecx
and ecx, 0xedb88320
shr eax, 1
xor eax, ecx
shr edx, 1
mov ecx, edx
xor ecx, eax
and cl, 1
neg cl
sbb ecx, ecx
and ecx, 0xedb88320
shr eax, 1
xor eax, ecx
shr edx, 1
mov ecx, edx
xor ecx, eax
and cl, 1
neg cl
sbb ecx, ecx
and ecx, 0xedb88320
shr eax, 1
xor eax, ecx
shr edx, 1
mov ecx, edx
xor ecx, eax
and cl, 1
neg cl
sbb ecx, ecx
shr eax, 1
shr edx, 1
and ecx, 0xedb88320
xor eax, ecx
xor edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x4083e1
pop edi
not eax
pop esi
ret

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

Disassembly:
or eax, 0xffffffff
test edx, edx
push esi
mov esi, ecx
je 0x4084a1
push edi
mov edi, edx
movzx edx, byte [esi]
mov ecx, edx
xor ecx, eax
and cl, 1
inc esi
neg cl
sbb ecx, ecx
and ecx, 0xedb88320
shr eax, 1
xor eax, ecx
shr edx, 1
mov ecx, edx
xor ecx, eax
and cl, 1
neg cl
sbb ecx, ecx
and ecx, 0xedb88320
shr eax, 1
xor eax, ecx
shr edx, 1
mov ecx, edx
xor ecx, eax
and cl, 1
neg cl
sbb ecx, ecx
and ecx, 0xedb88320
shr eax, 1
xor eax, ecx
shr edx, 1
mov ecx, edx
xor ecx, eax
and cl, 1
neg cl
sbb ecx, ecx
and ecx, 0xedb88320
shr eax, 1
xor eax, ecx
shr edx, 1
mov ecx, edx
xor ecx, eax
and cl, 1
neg cl
sbb ecx, ecx
and ecx, 0xedb88320
shr eax, 1
xor eax, ecx
shr edx, 1
mov ecx, edx
xor ecx, eax
and cl, 1
neg cl
sbb ecx, ecx
and ecx, 0xedb88320
shr eax, 1
xor eax, ecx
shr edx, 1
mov ecx, edx
xor ecx, eax
and cl, 1
neg cl
sbb ecx, ecx
shr eax, 1
shr edx, 1
and ecx, 0xedb88320
xor eax, ecx
xor edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x4083e1
pop edi
not eax
pop esi
ret