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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4698d3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4698ba
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x470290
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a760e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00470bb0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x4b9404
call fcn.00496980
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x470323
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00496980
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x47031c
push 0
mov ecx, eax
call fcn.00467400
mov dword [esi + 0xc], eax
jmp 0x470325
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x470325
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4990f9
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x499131
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.004970e6
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004970be
jmp 0x49913d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x49a7eb
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 0x49a82d
call fcn.004a04d5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x49a82d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x49a824
xor eax, eax
jmp 0x49a835
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0049a83b
pop edi
pop esi
pop ebx
ret 4
Function at 0x4a0a05
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 0x4a0a33
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a0a51
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a096b
jmp 0x4a0a51
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a0a51
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a096b
test edi, edi
mov eax, edi
jne 0x4a0a3b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4aad00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x94000]
push edi
or ebp, 0xffffffff
jmp 0x4aad22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4aad29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4aad18
mov eax, 1
add ebx, ebx
jne 0x4aad3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4aad4c
jne 0x4aad6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4aad6b
dec eax
add ebx, ebx
jne 0x4aad58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4aad30
add ebx, ebx
jne 0x4aad67
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4aadbd
xor ecx, ecx
sub eax, 3
jb 0x4aad83
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4aadf2
sar eax, 1
mov ebp, eax
jmp 0x4aad8e
add ebx, ebx
jne 0x4aad8e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4aad5c
inc ecx
add ebx, ebx
jne 0x4aad9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4aad5c
add ebx, ebx
jne 0x4aada9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4aad9e
jne 0x4aadba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4aad9e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4aaddc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4aadce
jmp 0x4aad1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4aaddc
add edi, ecx
jmp 0x4aad1e
pop esi
mov edi, esi
mov ecx, 0x3ba
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4aadfa
cmp byte [edi], 2
jne 0x4aadfa
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 al, bl
loop 0x4aadff
lea edi, [esi + 0xa8000]
mov eax, dword [edi]
or eax, eax
je 0x4aae77
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd2cd0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd2d0c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4aae2c
mov ecx, edi
jns 0x4aae5b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd2d10]
or eax, eax
je 0x4aae71
mov dword [ebx], eax
add ebx, 4
jmp 0x4aae49
call dword [esi + 0xd2d20]
mov ebp, dword [esi + 0xd2d14]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4aaeab
sub esp, 0xffffff80
jmp 0x406098
Function at 0x6d1c49d0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
mov esi, edx
push ebx
mov ebx, ecx
sub esp, 0x2c
mov dword [ebp - 0x1c], eax
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
mov dword [esp], eax
call fcn.6d1e4e70
mov eax, dword [edi + 0x1c]
movzx edx, si
lea ecx, [edx + edx*2]
lea esi, [eax + ecx*8]
mov eax, dword [edi + 0x28]
test eax, eax
je 0x6d1c4b20
shl edx, 6
add eax, edx
mov edx, dword [eax]
mov dword [ebx], edx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
mov edx, dword [eax + 8]
mov dword [ebx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ebx + 0xc], edx
mov edx, dword [eax + 0x10]
mov dword [ebx + 0x10], edx
mov edx, dword [eax + 0x14]
mov dword [ebx + 0x14], edx
mov edx, dword [eax + 0x18]
mov dword [ebx + 0x18], edx
mov edx, dword [eax + 0x1c]
mov dword [ebx + 0x1c], edx
mov edx, dword [eax + 0x20]
mov dword [ebx + 0x20], edx
mov edx, dword [eax + 0x24]
mov dword [ebx + 0x24], edx
mov edx, dword [eax + 0x28]
mov dword [ebx + 0x28], edx
mov edx, dword [eax + 0x2c]
mov dword [ebx + 0x2c], edx
mov edx, dword [eax + 0x30]
mov dword [ebx + 0x30], edx
mov edx, dword [eax + 0x34]
mov dword [ebx + 0x34], edx
mov edx, dword [eax + 0x38]
mov dword [ebx + 0x38], edx
mov eax, dword [eax + 0x3c]
mov dword [ebx + 0x3c], eax
mov eax, dword [esi + 4]
mov dword [ebx + 0x40], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x44], eax
movzx edx, byte [esi + 4]
mov ecx, edx
and ecx, 3
jne 0x6d1c4ae0
movzx ecx, byte [esi + 7]
mov edx, 8
shr cl, 7
shl edx, cl
mov ecx, edx
xor edx, edx
sar ecx, 3
div ecx
xor edx, edx
mov dword [ebx + 0x44], eax
movzx ecx, byte [esi + 4]
shr cl, 2
and ecx, 7
div ecx
mov dword [ebx + 0x44], eax
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov esi, dword [ebp - 0x1c]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], edx
movzx eax, word [esi + 0x30]
mov dword [ebx + 0x50], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
mov dword [esp], eax
call fcn.6d1e4e90
add esp, 0x2c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
cmp cl, 2
jne 0x6d1c4aab
movzx ecx, byte [esi + 6]
shr dl, 2
and edx, 7
shr cl, 7
movzx edi, cl
movzx ecx, byte [esi + 7]
and ecx, 0x7f
add ecx, ecx
or ecx, edi
lea edi, [ecx + 0x16]
add ecx, 0x10
imul edi, edx
xor edx, edx
div edi
imul eax, ecx
add eax, eax
mov dword [ebx + 0x44], eax
jmp 0x6d1c4aab
mov ecx, 0x10
mov edi, ebx
rep stosd dword es:[edi], eax
jmp 0x6d1c4a69
Function at 0x6d1c7010
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
test eax, eax
je 0x6d1c7030
pop ebp
movzx edx, dx
jmp fcn.6d1c49d0
mov eax, 1
pop ebp
ret
Function at 0x6d1c8b10
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [0x6d1e9044]
push ebp
mov ebp, esp
push ebx
cmp eax, 0x9bf
ja 0x6d1c8b5b
mov ecx, dword [eax + section..bss]
lea edx, [eax + 4]
mov dword [0x6d1e9044], edx
mov edx, ecx
mov ebx, dword [ebp - 4]
leave
shr edx, 0xb
xor edx, ecx
mov eax, edx
shl eax, 7
and eax, 0x9d2c5680
xor eax, edx
mov edx, eax
shl edx, 0xf
and edx, 0xefc60000
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
ret
cmp eax, 0x9c0
jne 0x6d1c8c97
mov ebx, dword [section..bss]
xor edx, edx
nop
and ebx, 0x80000000
mov ecx, ebx
mov ebx, dword [edx*4 + 0x6d1fb004]
mov eax, ebx
and eax, 0x7fffffff
or eax, ecx
mov ecx, eax
and eax, 1
shr ecx, 1
xor ecx, dword [edx*4 + 0x6d1fb634]
neg eax
and eax, 0x9908b0df
xor ecx, eax
mov dword [edx*4 + section..bss], ecx
add edx, 1
cmp edx, 0xe3
jne 0x6d1c8b70
movdqa xmm5, xmmword [0x6d1ec400]
mov eax, 0x6d1fb38c
movdqa xmm4, xmmword [0x6d1ec410]
movdqa xmm3, xmmword [0x6d1ec420]
nop
movdqa xmm1, xmmword [eax + 4]
add eax, 0x10
movdqu xmm0, xmmword [eax - 0x10]
pand xmm1, xmm5
pand xmm0, xmm4
por xmm1, xmm0
movdqa xmm2, xmm1
pand xmm1, xmm3
movdqa xmm0, xmm1
psrld xmm2, 1
pxor xmm2, xmmword [eax - 0x39c]
pslld xmm0, 3
paddd xmm0, xmm1
pslld xmm0, 9
paddd xmm0, xmm1
pslld xmm0, 5
paddd xmm0, xmm1
pslld xmm0, 2
psubd xmm0, xmm1
pslld xmm0, 3
psubd xmm0, xmm1
movdqa xmm6, xmm0
pslld xmm6, 4
paddd xmm0, xmm6
pslld xmm0, 5
psubd xmm0, xmm1
pxor xmm2, xmm0
movups xmmword [eax - 0x10], xmm2
cmp eax, 0x6d1fb9bc
jne 0x6d1c8bd0
mov ecx, dword [section..bss]
mov eax, dword [0x6d1fb9bc]
mov edx, ecx
and edx, 0x7fffffff
and eax, 0x80000000
or eax, edx
mov edx, eax
and eax, 1
shr edx, 1
xor edx, dword [0x6d1fb630]
neg eax
and eax, 0x9908b0df
xor eax, edx
mov edx, 4
mov dword [0x6d1fb9bc], eax
jmp 0x6d1c8b29
xor eax, eax
xor edx, edx
lea esi, [esi]
nop
imul eax, eax, 0x7ff8a3ed
add eax, 0x2aa01d31
mov ecx, eax
rol ecx, 0x10
xor ecx, 0x31415926
mov dword [edx*4 + section..bss], ecx
add edx, 1
cmp edx, 0x270
jne 0x6d1c8ca0
jmp 0x6d1c8b66
Function at 0x6d1e4ee0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
movd xmm0, dword [ebp + 0x10]
mov dword [esp], 0xc
movd xmm1, dword [ebp + 0xc]
punpckldq xmm1, xmm0
movq qword [ebp - 0x10], xmm1
call dword [sym.imp.ucrtbase.dll_malloc]
test eax, eax
je 0x6d1e4f4d
mov edx, dword [ebp + 8]
movq xmm1, qword [ebp - 0x10]
movq qword [eax + 4], xmm1
mov dword [eax], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x6d1e3d70
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateThread]
sub esp, 0x18
leave
ret
Function at 0x6d1e8310
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x22c
mov eax, dword [0x6d1fbb00]
test eax, eax
je 0x6d1e83c8
mov dword [esp], ebx
call eax
sub esp, 4
test eax, eax
mov dword [ebx + 8], eax
jns 0x6d1e8350
mov eax, dword [ebx]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0x220]
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.MODULE
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], str.SystemRoot
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.SystemRoot
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
jmp 0x6d1e833c
mov dword [esp], str.atl100.dll
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
test eax, eax
je 0x6d1e83fd
mov dword [esp + 4], 0x6d1facf8
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
sub esp, 8
mov dword [0x6d1fbb00], eax
test eax, eax
jne 0x6d1e832d
mov dword [ebx + 8], 0x80004002
xor eax, eax
jmp 0x6d1e833e
Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40601c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x406028
push 0x406024
push 0x406020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x406028]
push dword [0x406024]
push dword [0x406020]
mov dword [0x406014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x40129c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push edi
xor edi, edi
mov dword [ebp - 0x84], 0
call fcn.00401938
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov eax, edi
or al, 0x40
push eax
lea eax, [0x404659]
lea edx, [fcn.0040199c]
sub eax, edx
push eax
push fcn.0040199c
call sub.KERNEL32.dll_VirtualProtect
cmp dword [ebp - 4], 0
je 0x401326
push edi
call fcn.00401830
lea eax, [ebp - 0x84]
push eax
push edi
call fcn.00401885
mov eax, edi
add eax, 0x1e200
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x88]
xor eax, edi
push eax
lea eax, [0x4060e4]
or eax, edi
push eax
call fcn.0040199c
add esp, 0x18
xor eax, eax
pop edi
leave
ret

Function at 0x401938
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push edi
and dword [ebp - 0x120], 0
xor edi, edi
mov dword [ebp - 0x11c], 0x14
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x118]
push eax
push 1
push 1
lea eax, [ebp - 0x104]
push eax
call sub.CRYPT32.DLL_CryptBinaryToStringW
movzx eax, word [ebp - 0x118]
mov edi, eax
sub edi, 0x41
mov eax, edi
pop edi
leave
ret

Function at 0x4082ec
Capabilities:
Encode data using xor

Disassembly:
pop esi
push esi
xor dword [esi], ebx
lodsd eax, dword [esi]
add ebx, eax
test eax, eax
jne 0x4082ee
ret

Function at 0x40b27f
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
and al, al
jmp 0x40b285
add eax, 0xfafc45
cmp eax, 0xb0064
dec ebp
pop es
cmp eax, 0xe30063
jne 0x40b2af
cmp edi, 0x5d69
jne 0x40b24f
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
cmp ebx, dword [edi - 0x48]
ja 0x40b259
add dword [eax], eax
mov dword [ecx], edx
pop esi
pop ebp
ret
cmp eax, 0xafc59
jne 0x40b268
mov ebp, dword [ecx + 0x14]
mov edx, dword [ebp + 0x10]
pop ebx
nop
mov eax, 0x11129
mov dword [esi + ebx*2], ecx
pop ebp
ret
loope 0x40b210
imul ecx, dword [edx], 0
jne 0x40b281
mov ecx, dword [ebp + 0x14]
xchg ebp, eax
push ebp
adc byte [ebx + 0x5f], bl
mov eax, 0x1117e
mov dword [ecx], edx
pop esi
jns 0x40b222
test eax, eax
adc al, 0x38
sub al, 0x4d
adc byte [ebp - 0x74fa8a94], al
and dword [esp + ebp*8], edx
push ebp
adc byte [ebx + 0x5f], bl
mov eax, 0x6701117e
stosb byte es:[edi], al
adc dword [ecx + 0x65], eax
ret
add edx, ecx
sub cl, byte [esi + 0x54]
rol esi, 1
invalid
Function at 0x408cb0
Capabilities:
Hash data with md5

Disassembly:
dec dword [0x441b34]
mov edx, ecx
mov eax, dword [0x441b34]
or eax, 0xc3a97eff
mov word [0x437d04], ax
mov dword [edx], 0
mov eax, dword [0x44c2bc]
lea eax, [eax*8 - 0x15af8e6d]
xor eax, 0x50140811
cmp eax, 0xfef3ffff
je 0x408cf0
or dword [0x444f90], 0xf41a43bb
mov dword [edx + 4], 0
dec word [0x43741e]
mov ax, word [0x43741e]
cwde
imul eax, eax, 0xd56ee42c
cmp eax, 0x81fe45a2
jge 0x408d1c
or dword [0x44b1c8], 0xebbe7b9e
mov dword [edx + 8], 0x67452301
mov eax, dword [0x44e6a0]
dec dword [0x44e6a0]
or eax, 0x2fee8369
cmp eax, 0x14fd608c
jl 0x408d4c
movzx eax, word [0x43c21c]
and eax, 0x7236ec4e
mov word [0x43c21c], ax
mov dword [edx + 0xc], 0xefcdab89
mov ecx, 0xb5016eb8
mov eax, dword [0x440e04]
sub ecx, eax
mov dword [0x44a630], ecx
mov dword [edx + 0x10], 0x98badcfe
mov eax, dword [0x44c06c]
mov ecx, dword [0x44f25c]
shl eax, 3
sub ecx, eax
or ecx, 0x34895a06
sub dword [0x445a14], ecx
mov dword [edx + 0x14], 0x10325476
inc dword [0x4471bc]
mov eax, dword [0x4471bc]
cmp eax, 0x988988
jle 0x408dab
add dword [0x44b258], 0x4a27bd78
ret

Function at 0x4111f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x44e444]
not eax
or dword [0x448bd0], eax
dec dword [0x44c034]
mov eax, dword [0x44c034]
mov ecx, dword [0x44f4e0]
shl ecx, 6
or ecx, eax
cmp ecx, 0xdb6cbdb5
jge 0x41122f
imul eax, dword [0x451374], 0x74fe455d
mov dword [0x451374], eax
jmp 0x411239
or dword [0x449760], 0xa74b0898
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dl, byte [ecx]
movzx eax, dl
movzx esi, byte [edi]
sub esi, eax
jne 0x411263
sub edi, ecx
nop
test dl, dl
je 0x411263
mov dl, byte [ecx + 1]
inc ecx
movzx eax, dl
movzx esi, byte [edi + ecx]
sub esi, eax
je 0x411250
movsx eax, word [0x436548]
add eax, 0x2cd00494
cmp dword [0x443168], eax
jge 0x411283
or dword [0x44c80c], 0x145c306b
jmp 0x4112a7
movsx eax, word [0x43aaa0]
dec word [0x43aaa0]
and eax, 0x9327b8f8
cmp eax, 0x7fea4c5b
jge 0x4112a7
mov dword [0x44866c], 0x629cc6a2
test esi, esi
jns 0x4112e6
movsx eax, word [0x43687e]
mov ecx, 0x9c9e5a87
sub ecx, eax
mov eax, dword [0x44db34]
shl eax, 8
cmp ecx, eax
jne 0x4112d7
mov eax, dword [0x44e460]
mov ecx, 0x23208cb
sub ecx, eax
xor dword [0x44fa1c], ecx
or esi, 0xffffffff
add dword [0x44f824], 0x4ec7ab5b
jmp 0x41132a
jle 0x41132a
and dword [0x43f50c], 0x64723876
mov esi, 1
mov eax, dword [0x446708]
mov edx, dword [0x444d78]
imul ecx, dword [0x44fc24], 0x80d4c3de
not edx
inc dword [0x44fc24]
imul eax, eax, 0x3497fe62
and edx, eax
cmp edx, ecx
jl 0x41132a
and dword [0x44fddc], 0x80d5f003
imul ecx, dword [0x444fa0], 0x9debf2f7
mov eax, esi
pop edi
pop esi
mov dword [0x444fa0], ecx
pop ebp
ret
Function at 0x42b000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
mov dword [0x449c6c], 0x74012d88
xor dword [0x446814], 0x11313d02
test edi, edi
je 0x42b104
lea ebx, [ebx]
inc dword [0x4506bc]
mov eax, dword [0x4506bc]
imul eax, eax, 0xc603986
add eax, dword [0x446824]
mov dword [0x446824], eax
test esi, esi
je 0x42b090
call fcn.0042b600
movzx eax, al
mov ecx, 0xa
cdq
idiv ecx
test edx, edx
jne 0x42b090
mov dword [0x446d84], 0xef91c199
call fcn.0042b600
movzx eax, al
mov ecx, 0xa
cdq
idiv ecx
add dl, 0x30
mov byte [esi + ebx], dl
xor dword [0x442760], 0xacc6cfd1
jmp 0x42b0e9
mov eax, dword [0x444b10]
sar eax, 4
cmp eax, 0xd2f723b2
jg 0x42b0b2
inc dword [0x441fc0]
mov eax, dword [0x441fc0]
sub dword [0x43e928], eax
jmp 0x42b0c1
imul eax, dword [0x44b3f0], 0xaabdf807
mov dword [0x44b3f0], eax
call fcn.0042b600
movzx eax, al
mov ecx, 0x1a
cdq
idiv ecx
add dl, 0x61
mov byte [esi + ebx], dl
movzx eax, word [0x43ae10]
or eax, 0x86957e49
mov word [0x43ae10], ax
movzx eax, word [0x437d2a]
inc esi
add eax, 0x7fc237a9
mov word [0x437d2a], ax
cmp esi, edi
jne 0x42b030
mov eax, dword [0x444490]
not eax
or eax, 0x107f688a
mov dword [0x4410e4], eax
mov byte [esi + ebx], 0
dec dword [0x4410f8]
mov eax, dword [0x4410f8]
movzx ecx, word [0x43b8c6]
imul ecx, eax
pop edi
pop esi
pop ebx
mov word [0x43b8c6], cx
pop ebp
ret
Function at 0x42e2f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4511e4]
xor eax, dword [0x44eb7c]
mov dword [0x4511e4], eax
mov eax, 0x2100
or dword [0x440fe8], 0xfb7e76f7
push esi
mov esi, dword [ebp + 8]
mov word [0x43cf3c], ax
push esi
call fcn.00401c50
mov dword [0x445d88], 0x85d2f050
dec eax
mov cx, word [0x4397b0]
add esp, 4
mov edx, dword [0x4455ac]
movsx ecx, cx
and edx, ecx
or edx, 0x7f5096c4
add dword [0x445554], edx
cmp byte [eax + esi], 0x22
jne 0x42e427
mov ecx, dword [0x44b124]
or ecx, 0x5877548b
cmp ecx, 0x14842045
jne 0x42e382
movzx ecx, word [0x43c930]
sub ecx, 0x1504047
mov word [0x43c930], cx
jmp 0x42e3aa
dec word [0x43bfa2]
mov cx, word [0x43bfa2]
movsx edx, cx
mov ecx, dword [0x447528]
or edx, ecx
mov ecx, dword [0x43f58c]
imul ecx, edx
mov dword [0x43f58c], ecx
mov byte [esi], 0x22
mov ecx, 0xffffac99
mov word [0x435abe], cx
mov byte [eax + esi], 0
or dword [0x4409ec], 0xefe9bf6b
jmp 0x42e3d0
mov ecx, dword [0x445048]
dec eax
xor ecx, 0xe1e12a22
mov dword [0x450680], ecx
mov ecx, dword [0x44bbb8]
sar ecx, 8
and ecx, 0x7ffd8864
sub dword [0x440840], ecx
cmp byte [eax + esi], 0x22
jne 0x42e3d0
mov edx, dword [0x44b8e0]
inc eax
mov ecx, dword [0x4477e0]
add eax, esi
or edx, ecx
and dword [0x44e30c], edx
dec dword [0x44b8e0]
add dword [0x447df4], 0x3d4a71ca
jmp 0x42e48a
xor dword [0x44ec08], 0x89410272
mov byte [esi], 0x20
mov cx, word [0x43cd10]
movsx ecx, cx
add dword [0x449a98], ecx
inc word [0x43cd10]
jmp 0x42e450
xor dword [0x44b858], 0x38de1afa
dec eax
mov ecx, dword [0x44e6b4]
or ecx, dword [0x444ed0]
mov dword [0x44e6b4], ecx
cmp byte [eax + esi], 0x20
jne 0x42e450
inc eax
mov dword [0x44d6a8], 0x21a04b00
add eax, esi
mov dword [0x45040c], 0xf98aef03
movzx ecx, word [0x437332]
xor ecx, 0x3a4d740e
mov word [0x437332], cx
pop esi
pop ebp
ret

Function at 0x40127b
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 0x84, 0
jmp 0x40131c
mov edx, edi
call fcn.004011e2
mov edx, 0x1c000
mov eax, 0x404054
mov ebx, esi
call fcn.0040267d
lea edx, [ebp - 2]
mov eax, esi
mov dword [ebp - 2], 0
jmp 0x40135a
or bl, 1
idiv ebx
mov edx, dword [0x404050]
mov ebx, esi
add edx, eax
mov eax, 0x404054
call fcn.004011e2
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, esi
or al, 0x40
mov edi, 0x40338d
push eax
sub edi, fcn.00402b27
push edi
push fcn.00402b27
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x4012be
mov eax, fcn.00402b27
mov ebx, esi
jmp 0x4012a6
sub ebp, 0x82
mov esi, eax
mov ebx, dword [0x404050]
cdq
jmp 0x4012cf
call fcn.00401fff
lea eax, [esi + 0x1c000]
lea ebx, [ebp - 2]
test esi, esi
je 0x40136e
add eax, eax
dec esi
and esi, 0x404054
mov edx, eax
mov eax, esi
call fcn.00402b27
lea esp, [ebp + 0x82]
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x8f4370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x8f438e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x91d074
push ecx
mov edi, eax
call fcn.00908198
mov esi, eax
add esp, 8
test esi, esi
jne 0x8f43cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0090802e
push esi
call fcn.00907fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret