joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4024a8
Capabilities:
Encode data using xor

Disassembly:
push 0x407274
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
inc eax
add byte [eax], al
add byte [eax], dh
add byte [eax], al
add byte [eax], bh
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dl, bl
push ebx
inc edi
std
lea ecx, [ebp - 0x675fbba1]
xor ebx, dword [edx]
cmc
jns 0x402538
add byte [eax], 0
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
les esp, [edi - 0xd385749]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
mov al, 0
add byte [eax], al
mov byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add al, byte [eax]
add byte [eax], al
add eax, 0x14000000
cmpsd dword [esi], dword es:[edi]
sub cl, bl
cli
sbb ebp, dword [ebp - 0x4faf45b8]
in al, dx
fsubr dword [ebx + 0x11cb8]
add byte [eax], al
nop
add byte [eax], al
add byte [eax + 0x1000000], ah
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ecx], al
and bh, bh
inc dword [eax]
add byte [eax], al
add byte [eax + 0x35f7f], al
add byte [eax], al
add byte [ecx + ebp*2 + 0x6d], dl
jb 0x402542
add byte [eax], al
add byte [eax], al
push esp
imul ebp, dword [ebp + 0x65], 0x72
add byte [eax], al
mov dh, 0xb3
jecxz 0x4025b3
cld
inc ebx
mov al, byte [0x128bb841]
xchg esi, eax
xor al, 0x78
sbb edx, 0x1d53c977
sub al, 0xd1
dec esp
xchg ebx, eax
salc
add dword [ebx - 0x5c], eax
xor ebp, dword [esp + ecx + 0x128]
clc
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edx], al
add byte [eax], al
add byte [edx], al
add byte [eax], al
add ah, dh
push eax
inc dword [0x9545d811]
je 0x402550
out dx, eax
lodsd eax, dword [esi]
cmp bl, byte [ecx]
les eax, [ecx]
add byte [eax], al
add byte [eax], cl
add dword [eax], eax
add byte [eax], bl
add dword [eax], eax
add byte [ecx], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ecx], al
and byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ecx], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ebp + 0x53], cl
inc edi
pop edi
dec esp
popal
bound esp, qword [ebp + 0x6c]
insb byte es:[edi], dx
add byte [edx + 1], ah
add byte [eax], al
add byte [eax], al
pop ebx
aad 0xd0
adc dh, byte [edi + 0x63]
inc esp
mov dword [eax], edx
jnp 0x402616
and eax, 0xd931a0eb
invalid
add byte [eax], al
add byte [eax], al
add byte [eax], al
invalid
Function at 0x10022ca0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Packed with generic packer

Disassembly:
xor edi, edi
je 0x10022caa
popal
jmp 0x405279f4
mov edx, 0x4c
cmp byte [esp + 8], 1
jne 0x10022e98
pushal
mov esi, section..rdata
xor edi, edi
je 0x10022cca
popal
jmp 0x40527a14
lea edi, [esi - 0xe000]
xor ecx, ecx
je 0x10022cda
popal
jmp 0x40527a24
mov eax, 0x7d
cmp edx, eax
mov eax, 0x4c
not eax
jne 0x10022d29
mov eax, dword fs:[0x30]
test eax, eax
js 0x10022d17
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x20], 0x1000
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
movzx eax, byte [eax + 2]
test eax, eax
jne 0x10022d28
jmp 0x10022d29
xor eax, eax
mov al, byte fs:[0x20]
test eax, eax
jne 0x10022d28
jmp 0x10022d29
popal
push edi
or ebp, 0xffffffff
jmp 0x10022d3a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10022d41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10022d30
mov eax, 1
add ebx, ebx
jne 0x10022d53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10022d48
jne 0x10022d64
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10022d48
xor ecx, ecx
sub eax, 3
jb 0x10022d78
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x10022dea
mov ebp, eax
add ebx, ebx
jne 0x10022d83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10022d90
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10022db4
inc ecx
add ebx, ebx
jne 0x10022da0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10022d95
jne 0x10022db1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10022d95
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10022dd4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10022dc5
jmp 0x10022d36
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10022dd4
add edi, ecx
jmp 0x10022d36
pop esi
mov edi, esi
mov ecx, 0x160
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10022df2
cmp byte [edi], 7
jne 0x10022df2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x10022df7
lea edi, [esi + 0x20000]
mov eax, dword [edi]
or eax, eax
je 0x10022e66
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x22000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x22028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10022e24
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2202c]
or eax, eax
je 0x10022e60
mov dword [ebx], eax
add ebx, 4
jmp 0x10022e41
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10022e97
cmp al, 0xef
ja 0x10022e8a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x10022e6c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10022e79
popal
jmp fcn.10003638
Function at 0x10003a18
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
je 0x10003a30
push dword [esp + 4]
push 0x100039b1
call dword [sym.imp.USER32.DLL_EnumWindows]
jmp 0x10003a6d
push esi
mov esi, dword [0x1000c320]
test esi, esi
je 0x10003a6c
push ebx
push edi
mov ebx, dword [esi]
lea edi, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi], eax
jne 0x10003a64
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_EnableWindow]
push edi
push 0x1000c320
call fcn.10007f86
pop ecx
pop ecx
test ebx, ebx
mov esi, ebx
jne 0x10003a3d
pop edi
pop ebx
pop esi
ret 4
Function at 0x100044eb
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push eax
push 0x101
call dword [sym.imp.WSOCK32.DLL_WSAStartup]
neg eax
push fcn.10004446
sbb eax, eax
push 0x10
inc eax
push 0x20
mov word [0x1000c604], ax
call fcn.10007bb9
mov dword [0x1000c324], eax
movsx eax, word [0x1000c604]
add esp, 0x190
ret
Function at 0x10006e84
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
push edi
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor edi, edi
cmp eax, edi
mov dword [0x1000c564], eax
je 0x10006eb7
push str.AlphaBlend
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1000c568], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [0x1000c560], 1
mov dword [ebp - 0x1c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x10006ef5
cmp dword [ebp - 0xc], 1
je 0x10006f06
cmp dword [ebp - 0xc], 2
jne 0x10006ef5
cmp dword [ebp - 0x18], 5
jb 0x10006f06
jne 0x10006ef5
cmp dword [ebp - 0x14], edi
jne 0x10006ef5
mov dword [0x1000c560], edi
cmp dword [0x1000c560], edi
je 0x10006f0c
call fcn.10006dcb
test eax, eax
jne 0x10006f0c
mov dword [0x1000c560], edi
pop edi
add ebp, 0x78
leave
ret

Function at 0x10007952
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push dword [0x1000c56c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
jne 0x100079b3
push esi
push dword [0x1000c574]
push 8
push dword [0x1000c2d0]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
push edi
push dword [0x1000c56c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esi, dword [0x1000c570]
jmp 0x100079a3
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100079a1
mov ecx, dword [esi + 8]
add ecx, edi
push ecx
call eax
pop ecx
mov esi, dword [esi]
test esi, esi
jne 0x10007991
push edi
push 0x10007917
call fcn.10008f79
pop esi
mov eax, dword [esp + 8]
add eax, edi
pop edi
ret 4

Function at 0x100079bd
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov eax, ebx
and eax, 3
push esi
push edi
je 0x100079d2
push 4
pop ecx
sub ecx, eax
add ebx, ecx
cmp dword [0x1000c574], 0
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
jne 0x10007a04
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push ebx
push 8
push dword [0x1000c2d0]
mov dword [0x1000c56c], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
push dword [0x1000c56c]
call esi
mov edi, dword [0x1000c574]
add dword [0x1000c574], ebx
push dword [0x1000c574]
push dword [0x1000c56c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
push 8
push dword [0x1000c2d0]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ebx, eax
push ebx
push dword [0x1000c56c]
call esi
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x10007a4a
cmp dword [esp + 0x18], esi
je 0x10007a6e
push 0x14
push 0x1000c570
call fcn.10007fc6
test esi, esi
pop ecx
pop ecx
mov ecx, dword [esp + 0x18]
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
je 0x10007a6e
add ebx, edi
push ebx
call esi
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x100082b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1000b198]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + 8], edx
mov esp, ebp
pop ebp
ret

Function at 0x100082e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edx
mov eax, dword [0x1000b198]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
add ecx, dword [edx + 8]
mov dword [ebp - 4], ecx
pop edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x100083e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1000b198]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
sub edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x10008426
mov ecx, dword [ebp - 4]
add ecx, 5
push ecx
push 0
mov edx, dword [0x1000c6d0]
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
jmp 0x10008447
mov edx, dword [ebp - 4]
add edx, 5
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push 0
mov edx, dword [0x1000c6d0]
push edx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.10008bf0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 8], edx
mov esp, ebp
pop ebp
ret 8

Function at 0x100084a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1000b198]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
mov edx, dword [ebp - 4]
add eax, dword [edx + 8]
mov esp, ebp
pop ebp
ret
Function at 0x10008600
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1000b198]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], 0xffffffff
jne 0x10008624
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
mov dword [ebp + 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
add ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
sub eax, 4
cmp dword [ebp - 8], eax
jl 0x10008671
mov ecx, dword [ebp - 8]
add ecx, 0x4000
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
add ecx, 5
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x1000c6d0]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
add ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x100086d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1000b198]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx]
jb 0x1000870e
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 8]
cmp dword [ebp + 8], ecx
ja 0x1000870e
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
sub ecx, dword [eax]
add ecx, 1
mov eax, ecx
jmp 0x10008710
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x10008f79
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1000c594], ebx
mov esi, eax
mov dword [ebp - 0xc], esi
jne 0x10008faf
push 0x1000c578
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x1000c594], 1
push 0x1000c578
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x1000c590]
cmp eax, ebx
mov edi, eax
je 0x10009013
cmp dword [ebp - 4], ebx
jne 0x10009153
xor eax, eax
inc eax
lea ecx, [edi + 0x114]
cmp esi, dword [ecx]
je 0x10008fe6
inc eax
add ecx, 4
cmp eax, 0x40
jl 0x10008fd7
jmp 0x10009004
push dword [ebp + 0xc]
lea esi, [edi + eax*4 + 0x210]
push dword [ebp + 8]
call fcn.10008dcb
mov esi, dword [ebp - 0xc]
pop ecx
pop ecx
mov dword [ebp - 4], 1
mov edi, dword [edi]
cmp edi, ebx
jne 0x10008fc5
cmp dword [ebp - 4], ebx
jne 0x10009153
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebx
push ebx
push 0x100000
lea eax, [ebp - 8]
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x10009153
mov edi, dword [0x1000c590]
jmp 0x10009053
cmp dword [edi + 0xc], 0x3f
jl 0x100090ed
mov edi, dword [edi]
cmp edi, ebx
jne 0x10009047
push 0x310
push 8
push dword [0x1000c2d0]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
cmp edi, ebx
je 0x1000914a
push ebx
push 1
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
cmp eax, ebx
mov dword [edi + 8], eax
je 0x1000913c
push ebx
push ebx
push edi
push 0x10008e1c
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x114], esi
push 0x1000
lea esi, [edi + 0x214]
push ebx
mov dword [edi + 0x14], eax
mov dword [esi], ebx
mov dword [edi + 0xc], 2
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x10009133
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10008dcb
mov eax, dword [0x1000c590]
cmp eax, ebx
pop ecx
pop ecx
mov dword [edi + 4], ebx
mov dword [edi], eax
je 0x100090e5
mov dword [eax + 4], edi
mov dword [0x1000c590], edi
jmp 0x10009153
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 8]
push dword [ebp + 0xc]
mov dword [edi + eax*4 + 0x10], ecx
mov eax, dword [edi + 0xc]
push dword [ebp + 8]
mov dword [edi + eax*4 + 0x110], esi
mov eax, dword [edi + 0xc]
mov dword [edi + eax*4 + 0x210], ebx
mov eax, dword [edi + 0xc]
lea esi, [edi + eax*4 + 0x210]
call fcn.10008dcb
inc dword [edi + 0xc]
pop ecx
pop ecx
push ebx
push 1
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
jmp 0x10009153
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebx
push dword [0x1000c2d0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1000c578
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
mov ecx, 0x8af1a24
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x6ae64fe7
nop
nop
nop
nop
test eax, eax
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x40895d
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
push edi
pop eax
dec eax
call fcn.00408984
add edi, 0xa81f01a7
xor dword [esi], edx
add esi, 1
add edi, 0xdbf42b99
cmp esi, ecx
jne fcn.0040895d
dec eax
ret
Function at 0x4a2d84
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, 0x71e33c
lea ecx, [esp + 8]
mov dword [ecx], eax
mov eax, dword [esp]
mov dword [esp + 0xc], eax
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
test eax, eax
jle 0x4a2e48
mov edx, dword [ecx]
movzx edx, byte [edx + ebx]
shr edx, 2
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 1]
shr ebp, 4
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 1], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 2]
shr ebp, 6
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 2], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 3], dl
add esi, 4
add ebx, 3
dec eax
jne 0x4a2dbc
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
dec edx
je 0x4a2e5f
dec edx
je 0x4a2ea0
jmp 0x4a2efd
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 2], 0x3d
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
jmp 0x4a2efd
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov edx, dword [ecx]
movzx edx, byte [edx + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [ecx]
mov al, byte [eax + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 2], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
mov eax, dword [esp + 4]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4a2f60
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], eax
mov dword [esp + 8], edx
xor esi, esi
xor edi, edi
xor eax, eax
mov ebp, ecx
test ebp, ebp
jns 0x4a2f7d
add ebp, 3
sar ebp, 2
test ebp, ebp
jle 0x4a308f
mov edx, 4
mov eax, esp
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + esi]
cmp ecx, 0x3d
jg 0x4a2fb0
je 0x4a2ffc
sub ecx, 0x2b
je 0x4a2ff2
sub ecx, 4
je 0x4a2ff7
dec ecx
sub ecx, 0xa
jb 0x4a2fe1
jmp 0x4a2fff
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x4a2fc2
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x4a2fd0
jmp 0x4a2fff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x4a2fff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x4a2fff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x4a2fff
mov byte [eax], 0x3e
jmp 0x4a2fff
mov byte [eax], 0x3f
jmp 0x4a2fff
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x4a2f8f
mov al, byte [esp]
shl eax, 2
xor edx, edx
mov dl, byte [esp + 1]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi], al
lea eax, [edi + 1]
mov dl, byte [esp + 2]
cmp dl, 0xff
je 0x4a304f
cmp byte [esp + 3], 0xff
jne 0x4a304f
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
lea eax, [edi + 2]
inc edi
jmp 0x4a3087
cmp dl, 0xff
je 0x4a3087
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
mov eax, dword [esp + 8]
mov dl, byte [esp + 2]
shl edx, 6
or dl, byte [esp + 3]
mov byte [eax + edi + 2], dl
lea eax, [edi + 3]
add edi, 2
inc edi
dec ebp
jne 0x4a2f88
add esp, 0xc
pop ebp
pop edi
pop esi
ret

Function at 0x4a311c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
xor ebx, ebx
mov ecx, 0x72f7a0
mov eax, ebx
mov edx, 8
test al, 1
je 0x4a3138
shr eax, 1
xor eax, 0xedb88320
jmp 0x4a313a
shr eax, 1
dec edx
jne 0x4a312b
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jne 0x4a3124
pop ebx
ret
Function at 0x4a3150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x4a3159
mov eax, dword [ebp - 4]
add esp, 0xfffffebc
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0049aa38
xor eax, eax
push ebp
push 0x4a3239
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004a311c
mov eax, dword [0x72ee0c]
mov byte [eax], 0
mov dword [ebx], reloc.RASAPI32.dll_RasHangUpA
mov edx, dword [ebp - 4]
lea eax, reloc.RASAPI32.dll_RasHangUpA
call fcn.00498e7c
mov edx, 1
lea eax, reloc.RASAPI32.dll_RasHangUpA
call fcn.00499218
call fcn.00498ba8
test eax, eax
jne 0x4a3216
lea eax, [ebp - 8]
push eax
lea edx, reloc.RASAPI32.dll_RasHangUpA
mov ecx, 0xfff1
lea eax, reloc.RASAPI32.dll_RasHangUpA
call fcn.00498fcc
mov dx, word [ebp - 8]
test dx, dx
jbe 0x4a3210
lea eax, reloc.RASAPI32.dll_RasHangUpA
xor ecx, ecx
mov cl, byte [eax]
mov esi, dword [ebx]
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + reloc.RASAPI32.dll_RasHangUpA]
mov esi, dword [ebx]
shr esi, 8
xor ecx, esi
mov dword [ebx], ecx
inc eax
dec dx
jne 0x4a31ec
cmp dword [ebp - 8], 0
jne 0x4a31c3
lea eax, reloc.RASAPI32.dll_RasHangUpA
call fcn.00498fec
not dword [ebx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3240
lea eax, [ebp - 4]
call fcn.0049a588
ret

Function at 0x4ae718
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x4ae738
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x4ae726
pop edi
pop esi
pop ebx
ret