joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a7d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x40a802
jl 0x40a7f5
test ecx, ecx
jne 0x40a802
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x40a8c2
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.0040bbb0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x40a86e
jg 0x40a82d
test esi, esi
je 0x40a86e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x40a845
mov eax, dword [esp + 0x10]
jl 0x40a83f
cmp eax, esi
jae 0x40a845
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.0040f540
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x40a88f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x40a8ab
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x40a814
jl 0x40a8ab
test ecx, ecx
jne 0x40a814
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x40a901
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x40a901
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.0040f540
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
cmp dword [ebx + 0x4c], 0
mov ecx, edi
je 0x40a970
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [esi], eax
jne 0x40a927
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
mov ecx, edi
cmp edi, 0xfff
jbe 0x40a959
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.00413845
sub edi, eax
add esp, 0x10
add esi, eax
mov ecx, edi
cmp eax, 0xfff
jne 0x40a984
cmp edi, eax
ja 0x40a935
test ecx, ecx
je 0x40a970
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.00413845
mov ecx, edi
add esp, 0x10
sub ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, ecx
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40ad00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x435054]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x40ad30
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040dee0
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40ad6c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x40ad6c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040dee0
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x40ae56
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x40ad94
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x40adc7
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.004127ca
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040dee0
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 0x25], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x40ae29
sub eax, 1
je 0x40ae29
sub eax, 2
jne 0x40ae56
push dword [esi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.004127ca
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040dee0
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40ae46
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00413234
add esp, 0x10
cmp edi, eax
jne 0x40ae56
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x40ad57
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040dee0
mov esp, ebp
pop ebp
ret 4
Function at 0x40b8e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x435054]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x40b99c
cmp byte [esi + 0x3d], 0
je 0x40b99c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40b98a
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x40b952
sub eax, 1
je 0x40b956
sub eax, 2
jne 0x40b98a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040dee0
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40b973
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00413234
add esp, 0x10
cmp edi, eax
jne 0x40b98a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040dee0
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040dee0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0040dee0
mov esp, ebp
pop ebp
ret

Function at 0x4199cd
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00419843
Function at 0x42e004
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x60cf1139
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x515148b0
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x406ed0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov eax, dword [0x50b770]
xor eax, ebp
mov dword [esp + 0x48], eax
push 0x4f6f45
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x406f36
mov esi, eax
push str.GlobalMemoryStatusEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x406f2f
mov dword [esp], 0x40
mov ecx, esp
push ecx
call eax
test eax, eax
je 0x406f2f
mov edi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
or eax, ebx
jne 0x406f51
jmp 0x406f36
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
movaps xmmword [esp], xmm0
mov eax, esp
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edi, dword [esp + 8]
xor ebx, ebx
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.004a8882
mov eax, edi
mov edx, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4088c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x40c490
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov ecx, edi
push 0
call fcn.004a8db6
mov dword [edi + 4], 0
mov byte [edi + 8], 0
mov dword [edi + 0xc], 0
mov byte [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov word [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov word [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov byte [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov byte [edi + 0x30], 0
test esi, esi
mov dword [ebp - 0x20], edi
je 0x40896f
mov dword [ebp - 0x10], 0
push esi
push edi
call fcn.004a8fa0
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x20]
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x10], 0
push str.bad_locale_name
call fcn.004ac75e
add esp, 4
nop word cs:[eax + eax]
nop dword [eax]
push ebp
sub esp, 8
add ebp, 0xc
mov eax, dword [ebp - 0x20]
mov esi, eax
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x4089ac
push eax
call fcn.004ce45e
add esp, 4
mov eax, esi
mov dword [esi + 0x2c], 0
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4089c5
push eax
call fcn.004ce45e
add esp, 4
mov eax, esi
mov dword [esi + 0x24], 0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4089de
push eax
call fcn.004ce45e
add esp, 4
mov eax, esi
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4089f7
push eax
call fcn.004ce45e
add esp, 4
mov eax, esi
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x408a10
push eax
call fcn.004ce45e
add esp, 4
mov eax, esi
mov dword [esi + 0xc], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x408a29
push eax
call fcn.004ce45e
add esp, 4
mov ecx, esi
mov dword [esi + 4], 0
call fcn.004a8de7
add esp, 8
pop ebp
ret
Function at 0x40c560
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov eax, ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
movd xmm0, ecx
pshufd xmm0, xmm0, 0
movdqa xmm1, xmmword [0x4e78b0]
mov edx, 1
movdqa xmm2, xmmword [0x4e78c0]
nop dword [eax]
movdqa xmm4, xmm1
psrld xmm4, 1
movdqa xmm3, xmm1
pslld xmm3, 0x1f
psrad xmm3, 0x1f
pand xmm3, xmm0
pxor xmm3, xmm4
movdqa xmm4, xmm3
psrld xmm4, 1
pslld xmm3, 0x1f
psrad xmm3, 0x1f
pand xmm3, xmm0
pxor xmm3, xmm4
movdqa xmm4, xmm3
psrld xmm4, 1
pslld xmm3, 0x1f
psrad xmm3, 0x1f
pand xmm3, xmm0
pxor xmm3, xmm4
movdqa xmm4, xmm3
psrld xmm4, 1
pslld xmm3, 0x1f
psrad xmm3, 0x1f
pand xmm3, xmm0
pxor xmm3, xmm4
movdqa xmm4, xmm3
psrld xmm4, 1
pslld xmm3, 0x1f
psrad xmm3, 0x1f
pand xmm3, xmm0
pxor xmm3, xmm4
movdqa xmm4, xmm3
psrld xmm4, 1
pslld xmm3, 0x1f
psrad xmm3, 0x1f
pand xmm3, xmm0
pxor xmm3, xmm4
movdqa xmm4, xmm3
psrld xmm4, 1
pslld xmm3, 0x1f
psrad xmm3, 0x1f
pand xmm3, xmm0
pxor xmm3, xmm4
movdqa xmm4, xmm3
psrld xmm4, 1
pslld xmm3, 0x1f
psrad xmm3, 0x1f
pand xmm3, xmm0
pxor xmm3, xmm4
movdqu xmmword [eax + edx*4], xmm3
paddd xmm1, xmm2
add edx, 4
cmp edx, 0x101
jne 0x40c590
mov esi, 0x40000000
xor edx, edx
mov dword [esp], eax
jmp 0x40c6a5
and ebp, esi
xor ebx, ebp
mov edx, dword [esp + 4]
add edx, 1
mov esi, ebx
cmp edx, 0x20
mov eax, dword [esp]
je 0x40c6f9
mov dword [esp + 4], edx
add edx, 0x1d
and edx, 0x1f
mov dword [eax + edx*4 + 0x404], esi
mov edi, 0x1e
xor ebp, ebp
mov edx, esi
nop
mov ebx, edx
sar ebx, 0x1f
and ebx, esi
xor ebx, ebp
mov ebp, esi
shr ebp, 1
and esi, 1
neg esi
and esi, ecx
xor esi, ebp
lea ebp, [edx + edx]
sar ebp, 0x1f
test edi, edi
je 0x40c690
and ebp, esi
xor ebp, ebx
mov ebx, esi
shr ebx, 1
and esi, 1
neg esi
and esi, ecx
xor esi, ebx
shl edx, 2
add edi, 0xfffffffe
jmp 0x40c6c0
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x40ca60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x8c
mov esi, ecx
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x40ccf0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
sub esp, 0xc
mov al, byte [ebp - 0x98]
mov byte [esp + 4], al
mov dword [esp + 8], str.Created_by_par2cmdline_turbo_version_1.1.1.
mov dword [esp], 0x2b
lea ecx, [ebp - 0x38]
call fcn.00407150
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
add eax, 0x43
and eax, 0xfffffffc
mov dword [ebp - 0x20], esi
mov dword [esi + 4], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x3c], eax
push eax
call fcn.004a8874
add esp, 4
mov ebx, eax
mov eax, dword [ebp - 0x20]
mov dword [eax], ebx
mov esi, dword [ebp - 0x3c]
push esi
push 0
push ebx
call fcn.004c4c10
add esp, 0xc
movsd xmm0, qword [str.PAR2]
movsd qword [ebx], xmm0
mov edi, esi
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], 0
lea esi, [ebx + 0x20]
mov eax, dword [ebp + 8]
movups xmm0, xmmword [eax]
movups xmmword [ebx + 0x20], xmm0
movups xmm0, xmmword [0x5082dc]
movups xmmword [ebx + 0x30], xmm0
mov dword [ebp - 0x20], ebx
lea eax, [ebx + 0x40]
cmp dword [ebp - 0x24], 0xf
lea ecx, [ebp - 0x38]
jbe 0x40cb4c
mov ecx, dword [ebp - 0x38]
push dword [ebp - 0x40]
push ecx
push eax
call fcn.004c4690
add esp, 0xc
movaps xmm0, xmmword [0x4e78d0]
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
add edi, 0xffffffe0
lea ecx, [ebp - 0x98]
push edi
push esi
call fcn.0045e8b0
mov eax, dword [ebp - 0x20]
add eax, 0x10
lea ecx, [ebp - 0x98]
push eax
call fcn.0045e9c0
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x40cbc8
mov ecx, dword [ebp - 0x38]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x40cbbe
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40cbe0
add eax, 0x24
mov esi, eax
mov ecx, edx
push esi
push ecx
call fcn.004a8843
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov al, 1
add esp, 0x8c
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.004cc578
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0xc
add ebp, 0xc
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x40cc2b
mov ecx, dword [ebp - 0x38]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x40cc21
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40cc30
add eax, 0x24
mov esi, eax
mov ecx, edx
push esi
push ecx
call fcn.004a8843
add esp, 8
add esp, 0xc
pop ebp
ret
call fcn.004cc578
int3
Function at 0x40d060
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x40f4a0
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
mov eax, dword [ebp + 0x18]
add eax, 0x7b
and eax, 0xfffffffc
mov dword [ebp - 0x28], ecx
mov dword [ecx + 4], eax
mov dword [ebp - 0x24], eax
add eax, 4
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], eax
push eax
call fcn.004a8874
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x28]
mov dword [eax], esi
push dword [ebp - 0x20]
push 0
push esi
call fcn.004c4c10
add esp, 0xc
movsd xmm0, qword [str.PAR2]
movsd qword [esi], xmm0
mov eax, dword [ebp - 0x24]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
movups xmm0, xmmword [0x5082ac]
movups xmmword [esi + 0x30], xmm0
lea eax, [ebp + 8]
movsd xmm0, qword [eax + 0x18]
movsd qword [esi + 0x70], xmm0
add esi, 0x78
mov edi, dword [eax + 0x14]
cmp edi, 0xf
jbe 0x40d140
mov ebx, dword [eax]
push dword [eax + 0x10]
push ebx
push esi
call fcn.004c4690
add esp, 0xc
lea ecx, [edi + 1]
cmp ecx, 0x1000
jb 0x40d134
mov eax, dword [ebx - 4]
add ebx, 0xfffffffc
sub ebx, eax
cmp ebx, 0x20
jae 0x40d162
add edi, 0x24
mov ecx, edi
mov ebx, eax
push ecx
push ebx
call fcn.004a8843
add esp, 8
jmp 0x40d14d
push dword [eax + 0x10]
push eax
push esi
call fcn.004c4690
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov al, 1
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 0x20
call fcn.004cc578
nop word [eax + eax]
push ebp
sub esp, 0xc
add ebp, 0xc
lea eax, [ebp + 8]
mov eax, dword [eax + 0x14]
cmp eax, 0x10
jb 0x40d1b0
lea ecx, [ebp + 8]
mov ecx, dword [ecx]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x40d1a6
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40d1b5
add eax, 0x24
mov esi, eax
mov ecx, edx
push esi
push ecx
call fcn.004a8843
add esp, 8
add esp, 0xc
pop ebp
ret
call fcn.004cc578
int3
Function at 0x41ab30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x6a0
mov esi, esp
mov dword [esi + 0x688], ebp
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x68c], esp
mov dword [esi + 0x698], 0xffffffff
mov dword [esi + 0x694], 0x41b0c0
mov ecx, dword fs:[0]
mov dword [esi + 0x690], ecx
lea ecx, [esi + 0x690]
mov dword fs:[0], ecx
mov edi, dword [ebp + 0x10]
lea ecx, [esi + 0x18]
push edi
push edx
push eax
call fcn.004301b0
mov eax, esp
sub esp, 0x40
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
mov edi, dword [ebx + 0x10]
cmp dword [ebx + 0x14], 0xf
jbe 0x41abb9
mov ebx, dword [ebx]
lea ecx, [edx + 0x10]
cmp edi, 0xf
mov dword [esi + 0x14], eax
ja 0x41abd1
movups xmm0, xmmword [ebx]
movups xmmword [ecx], xmm0
mov eax, 0xf
jmp 0x41ac50
mov dword [esi + 8], ecx
mov dword [esi + 4], ebx
mov dword [esi + 0x10], edx
mov dword [esi], edi
mov eax, edi
or eax, 0xf
cmp eax, 0x7fffffff
mov ecx, 0x7fffffff
cmovb ecx, eax
cmp ecx, 0xfff
mov dword [esi + 0xc], ecx
jb 0x41ac1c
lea eax, [ecx + 0x24]
mov dword [esi + 0x698], 0
push eax
call fcn.004a880e
add esp, 4
mov ecx, eax
add eax, 0x23
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x41ac32
lea eax, [ecx + 1]
mov dword [esi + 0x698], 0
push eax
call fcn.004a880e
add esp, 4
mov edx, dword [esi + 4]
mov edi, dword [esi]
mov ecx, dword [esi + 8]
mov dword [ecx], eax
lea ecx, [edi + 1]
push ecx
push edx
push eax
call fcn.004c4690
add esp, 0xc
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
mov dword [edx + 0x20], edi
mov dword [edx + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [edx], eax
mov eax, dword [ebp + 0x18]
mov dword [edx + 4], eax
mov eax, dword [ebp + 0x1c]
mov dword [edx + 8], eax
mov eax, dword [ebp + 0x20]
mov dword [edx + 0xc], eax
mov eax, dword [ebp + 0x28]
mov dword [edx + 0x28], eax
mov al, byte [ebp + 0x34]
mov cl, byte [ebp + 0x2c]
mov byte [edx + 0x2c], cl
mov cl, byte [ebp + 0x30]
mov byte [edx + 0x30], cl
mov byte [edx + 0x34], al
mov eax, dword [ebp + 0x38]
mov dword [edx + 0x38], eax
mov eax, dword [ebp + 0x3c]
mov dword [edx + 0x3c], eax
mov dword [esi + 0x698], 0
lea ecx, [esi + 0x18]
call fcn.004310a0
mov edi, eax
mov esp, dword [esi + 0x14]
lea ecx, [esi + 0x18]
call fcn.004309e0
mov eax, dword [esi + 0x690]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x442500
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x408
mov eax, dword [esp + 0x428]
mov edx, dword [esp + 0x424]
mov ebx, dword [esp + 0x420]
mov esi, dword [esp + 0x41c]
mov edi, dword [0x50b770]
xor edi, esp
mov dword [esp + 0x404], edi
mov ecx, dword [ecx + 0x3c]
movzx esi, byte [esi]
shl esi, 8
add ecx, esi
add ecx, 0xc
xor esi, esi
pxor xmm0, xmm0
nop dword [eax]
movd xmm1, dword [ecx + esi - 0xc]
movd xmm2, dword [ecx + esi - 8]
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
movdqu xmmword [esp + esi*4 + 4], xmm1
movdqu xmmword [esp + esi*4 + 0x14], xmm2
movd xmm1, dword [ecx + esi - 4]
movd xmm2, dword [ecx + esi]
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
movdqu xmmword [esp + esi*4 + 0x24], xmm1
movdqu xmmword [esp + esi*4 + 0x34], xmm2
add esi, 0x10
cmp esi, 0x100
jne 0x442550
and ebx, 0xfffffffc
lea ecx, [edx + ebx]
mov dword [esp], ebx
test ebx, ebx
jle 0x4425ff
mov esi, eax
mov edi, dword [esp + 0x424]
mov ebx, dword [edi]
movzx ebp, bl
movzx edx, bh
mov edx, dword [esp + edx*4 + 4]
shl edx, 8
xor edx, dword [esp + ebp*4 + 4]
mov ebp, ebx
shr ebp, 0xe
and ebp, 0x3fc
mov ebp, dword [esp + ebp + 4]
shl ebp, 0x10
shr ebx, 0x18
mov ebx, dword [esp + ebx*4 + 4]
shl ebx, 0x18
xor ebx, ebp
xor ebx, edx
xor dword [esi], ebx
add edi, 4
add esi, 4
cmp edi, ecx
jb 0x4425c0
mov edx, dword [esp + 0x420]
test dl, 3
mov esi, dword [esp + 0x424]
mov edi, dword [esp]
je 0x442634
cmp edi, edx
jge 0x442634
add esi, edx
add eax, edi
nop dword [eax]
movzx edx, byte [ecx]
movzx edx, byte [esp + edx*4 + 4]
xor byte [eax], dl
add ecx, 1
add eax, 1
cmp ecx, esi
jb 0x442620
mov ecx, dword [esp + 0x404]
xor ecx, esp
call fcn.004a8882
xor eax, eax
add esp, 0x408
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x443b70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov dword [edx], eax
mov dword [ecx], ebx
mov ecx, dword [edx]
cmp ecx, dword [esp + 0x24]
je 0x443d58
mov esi, dword [esp + 0x30]
cmp ebx, esi
je 0x443d58
mov eax, dword [esp + 0x1c]
movzx edi, word [eax]
nop word [eax + eax]
movzx edx, word [ecx]
mov eax, edx
and eax, 0xfc00
cmp di, 2
jb 0x443be0
cmp eax, 0xdc00
jne 0x443d6b
movzx eax, di
shl eax, 0xa
add edx, 0xffff2400
or edx, eax
jmp 0x443c00
cmp eax, 0xd800
jne 0x443c00
shl edx, 0xa
add edx, 0xfca10000
mov al, 1
mov dword [esp], eax
jmp 0x443c07
mov dword [esp], 0
cmp edx, 0x7f
mov dword [esp + 4], ebx
ja 0x443c20
xor edi, edi
mov ebx, edx
jmp 0x443c60
mov ebx, edx
cmp edx, 0x7ff
ja 0x443c40
shr ebx, 6
or bl, 0xc0
mov edi, 1
jmp 0x443c60
cmp edx, 0xffff
ja 0x443d38
shr ebx, 0xc
or bl, 0xe0
mov edi, 2
nop word [eax + eax]
lea ebp, [edi + 1]
mov al, 1
sub esi, dword [esp + 4]
cmp esi, ebp
jl 0x443d58
add ecx, 2
mov esi, dword [esp + 0x28]
mov dword [esi], ecx
or al, byte [esp]
cmp al, 1
jne 0x443c96
mov esi, dword [esp + 0x34]
mov eax, dword [esi]
lea ecx, [eax + 1]
mov dword [esi], ecx
mov byte [eax], bl
cmp ebp, 2
jl 0x443d00
add ebp, 0xffffffff
add edi, edi
lea eax, [edi + edi*2]
mov ecx, eax
add cl, 0xfa
mov ebx, edx
shr ebx, cl
and bl, 0x3f
or bl, 0x80
mov edi, dword [esp + 0x34]
mov ecx, dword [edi]
lea esi, [ecx + 1]
mov dword [edi], esi
mov byte [ecx], bl
cmp ebp, 1
jle 0x443d00
mov ecx, eax
add cl, 0xf4
mov ebx, edx
shr ebx, cl
and bl, 0x3f
or bl, 0x80
mov edi, dword [esp + 0x34]
mov ecx, dword [edi]
lea esi, [ecx + 1]
mov dword [edi], esi
mov byte [ecx], bl
cmp ebp, 2
je 0x443d00
add al, 0xee
mov ebx, edx
mov ecx, eax
shr ebx, cl
and bl, 0x3f
or bl, 0x80
mov esi, dword [esp + 0x34]
mov eax, dword [esi]
lea ecx, [eax + 1]
mov dword [esi], ecx
mov byte [eax], bl
nop dword [eax + eax]
shr edx, 0xa
cmp byte [esp], 0
mov eax, 1
cmove edx, eax
mov eax, dword [esp + 0x1c]
mov word [eax], dx
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
cmp ecx, dword [esp + 0x24]
je 0x443d58
mov edi, edx
mov eax, dword [esp + 0x34]
mov ebx, dword [eax]
mov esi, dword [esp + 0x30]
cmp ebx, esi
jne 0x443bb0
jmp 0x443d58
shr ebx, 0x12
or bl, 0xf0
mov eax, dword [esp]
xor al, 1
movzx eax, al
lea ebp, [eax + eax]
add ebp, 1
mov edi, 3
xor eax, eax
jmp 0x443c65
xor eax, eax
cmp ecx, dword [esp + 0x20]
sete al
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c
mov eax, 2
jmp 0x443d61