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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x518450]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, 0x4d78f0
lea edi, [ebp - 0x14]
push eax
lea eax, [ebp - 0x224]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00439f75
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
pop ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
pop ecx
mov dword [ebp - 0x18], eax
mov edi, dword [ebp + esi*4 - 0x20]
lea eax, [ebp - 0x14]
push edi
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004383f8
add esp, 0xc
xor ecx, ecx
mov eax, dword [ebp + ecx - 0x14]
xor dword [ecx + edi], eax
add ecx, 4
cmp ecx, 0x10
jl 0x42c7dc
inc byte [ebp - 5]
inc esi
cmp esi, 3
jl 0x42c7c2
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004b9a6c
mov esp, ebp
pop ebp
ret

Function at 0x42c99a
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push edi
push ebx
xor edi, edi
push edi
push edi
push 0x23
push edi
call esi
test eax, eax
jns 0x42c9c8
push ebx
push edi
push edi
push 0x1a
push edi
call esi
test eax, eax
jns 0x42c9c8
xor eax, eax
mov word [ebx], ax
je 0x42c9ce
jne 0x42c9ce
lcall 0x1dee, 0x68146ae8
and al, 0xff
push 0x14
push 0xff241dee
push 0x4f9f46
call fcn.00401e12
mov edx, eax
add esp, 0xc
mov esi, edx
mov cx, word [edx]
add edx, 2
cmp cx, di
jne 0x42c9e6
sub edx, esi
lea edi, [ebx - 2]
xor ecx, ecx
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x42c9f8
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x42ca21
sub ecx, edx
sar ecx, 1
pop edi
pop esi
lea eax, [ebx + ecx*2]
pop ebx
pop ebp
ret
Function at 0x42e768
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x4c
mov eax, dword [0x518450]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0xa
push ebp
mov ebp, dword [esp + 0x5c]
test eax, eax
jle 0x42e983
dec eax
push ebx
shr eax, 3
inc eax
push esi
mov dword [esp + 0x1c], eax
push edi
mov edi, dword [ecx]
xor edx, edx
mov esi, dword [ecx + 4]
mov eax, edi
mov ecx, esi
mov dword [esp + 0x2c], esi
shrd eax, ecx, 0x10
mov ebx, esi
or edx, eax
shr ecx, 0x10
and ebx, 0xff0000
mov eax, esi
or ebx, ecx
mov ecx, 0xff00
shrd edx, ebx, 0x10
and eax, ecx
shr ebx, 0x10
or ebx, eax
movzx eax, byte [esp + 0x2c]
shrd edx, ebx, 0x10
shr ebx, 0x10
or ebx, eax
mov eax, edi
shrd edx, ebx, 8
shld esi, eax, 0x10
mov dword [esp + 0x10], edx
mov edx, edi
and edx, ecx
shl eax, 0x10
or edx, eax
shr ebx, 8
xor ecx, ecx
mov eax, edi
or ecx, esi
and eax, 0xff0000
shld ecx, edx, 0x10
mov esi, dword [esp + 0x1c]
and edi, 0xff000000
shl edx, 0x10
or edx, eax
shld ecx, edx, 0x10
shl edx, 0x10
or edx, edi
xor edi, edi
shld ecx, edx, 8
shl edx, 8
or ebx, ecx
or dword [esp + 0x10], edx
mov edx, ebp
mov ecx, dword [esp + 0x14]
and edx, 0xffffff
mov dword [esp + 0x24], ebx
test ecx, ecx
jle 0x42e88f
mov ebx, ecx
and edx, 0xffffff
movzx eax, dl
mov ecx, edx
xor eax, edi
shr ecx, 7
shl edx, 0x11
movzx eax, byte [eax + 0x4fa3f0]
shl eax, 4
add eax, esi
mov dword [esp + edi*4 + 0x30], eax
mov eax, esi
shr eax, 0xf
shl esi, 0x11
or edx, eax
or esi, ecx
inc edi
cmp edi, ebx
jl 0x42e853
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
push 9
pop esi
mov eax, esi
cdq
idiv ecx
push dword [esp + edx*4 + 0x30]
push edi
call fcn.0042e124
sub ebx, eax
mov edx, ebx
mov ebx, edi
mov edi, edx
pop ecx
pop ecx
cmp esi, 5
jne 0x42e8cc
xor eax, eax
mov ebp, edx
or eax, ebx
and ebp, 0xffffff
xor eax, dword [esp + 0x64]
xor ebp, dword [esp + 0x68]
mov dword [esp + 0x1c], eax
dec esi
mov ecx, dword [esp + 0x14]
jns 0x42e896
mov ecx, edx
mov dword [esp + 0x10], edx
xor esi, esi
mov dword [esp + 0x2c], edx
or esi, ebx
mov dword [esp + 0x14], 2
mov ebx, edx
mov eax, esi
shrd eax, ecx, 0x10
and ebx, 0xff0000
xor edi, edi
or edi, eax
shr ecx, 0x10
or ebx, ecx
mov eax, edx
shrd edi, ebx, 0x10
mov ecx, 0xff00
and eax, ecx
shr ebx, 0x10
or ebx, eax
movzx eax, dl
shrd edi, ebx, 0x10
mov edx, esi
shr ebx, 0x10
and edx, ecx
or ebx, eax
xor ecx, ecx
mov eax, esi
shld dword [esp + 0x10], eax, 0x10
or ecx, dword [esp + 0x10]
shl eax, 0x10
or edx, eax
mov eax, esi
shld ecx, edx, 0x10
and eax, 0xff0000
and esi, 0xff000000
shl edx, 0x10
or edx, eax
shld ecx, edx, 0x10
shrd edi, ebx, 8
shl edx, 0x10
or edx, esi
shr ebx, 8
shld ecx, edx, 8
or ebx, ecx
shl edx, 8
mov ecx, dword [esp + 0x18]
or edi, edx
mov dword [ecx], edi
mov dword [ecx + 4], ebx
add ecx, 8
dec dword [esp + 0x20]
mov dword [esp + 0x18], ecx
jne 0x42e7ab
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
pop ebp
xor ecx, esp
call fcn.004b9a6c
add esp, 0x4c
ret
Function at 0x42e993
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov eax, dword [0x518450]
xor eax, esp
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x34]
and edx, 0xffffff
push ebp
push esi
mov esi, dword [esp + 0x40]
xor ebp, ebp
push edi
mov edi, dword [esp + 0x48]
and edx, 0xffffff
movzx eax, dl
mov ecx, edx
xor eax, ebp
shr ecx, 7
shl edx, 0x11
movzx eax, byte [eax + 0x4fa3f0]
shl eax, 4
add eax, edi
mov dword [esp + ebp*4 + 0x10], eax
mov eax, edi
shr eax, 0xf
shl edi, 0x11
or edx, eax
or edi, ecx
inc ebp
cmp ebp, 0xa
jl 0x42e9bd
push 9
pop edi
push dword [esp + edi*4 + 0x10]
push ebx
call fcn.0042e124
sub esi, eax
dec edi
mov edx, esi
mov esi, ebx
pop ecx
pop ecx
mov ebx, edx
jns 0x42e9f5
mov ecx, dword [esp + 0x38]
xor eax, eax
pop edi
or eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b9a6c
add esp, 0x2c
ret

Function at 0x42ea23
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov eax, dword [0x518450]
xor eax, esp
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x34]
and edx, 0xffffff
push ebp
push esi
mov esi, dword [esp + 0x44]
xor ebp, ebp
push edi
mov edi, dword [esp + 0x44]
and edx, 0xffffff
movzx eax, dl
mov ecx, edx
xor eax, ebp
shr ecx, 7
shl edx, 0x11
movzx eax, byte [eax + 0x4fa3f0]
shl eax, 4
add eax, esi
mov dword [esp + ebp*4 + 0x10], eax
mov eax, esi
shr eax, 0xf
shl esi, 0x11
or edx, eax
or esi, ecx
inc ebp
cmp ebp, 0xa
jl 0x42ea4d
xor esi, esi
push dword [esp + esi*4 + 0x10]
push ebx
call fcn.0042e124
inc esi
pop ecx
pop ecx
lea edx, [edi + eax]
mov edi, ebx
mov ebx, edx
cmp esi, 0xa
jl 0x42ea84
mov ecx, dword [esp + 0x38]
xor eax, eax
xor edx, dword [esp + 0x44]
or eax, edi
xor eax, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b9a6c
add esp, 0x2c
ret

Function at 0x42eabc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x525860], 0
jne 0x42eb20
xor ecx, ecx
mov dword [ebp - 4], ecx
push ebx
mov bl, byte [ecx + 0x4fa3f0]
mov al, bl
movzx ecx, cl
xor al, 0xc9
rol al, 2
movzx edx, al
mov al, bl
xor al, 0x2b
shl edx, 8
ror al, 3
movzx eax, al
add edx, eax
mov al, bl
xor al, 0x65
shl edx, 8
rol al, 1
movzx eax, al
add edx, eax
movzx eax, bl
xor ecx, eax
shl edx, 8
add edx, ecx
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x525860], edx
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, 0x100
jl 0x42eacf
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42f95b
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
push esi
push edi
mov ebx, dword [edx]
xor edi, edi
mov esi, dword [edx + 4]
cmp dword [esp + 0x18], edi
jbe 0x42f99a
push ebp
mov ebp, dword [esp + 0x18]
movzx ecx, byte [edi + ebp]
movzx eax, bl
shrd ebx, esi, 8
xor ecx, eax
shr esi, 8
xor ebx, dword [ecx*8 + 0x4d7958]
xor esi, dword [ecx*8 + 0x4d795c]
inc edi
cmp edi, dword [esp + 0x1c]
jb 0x42f974
pop ebp
pop edi
mov dword [edx + 4], esi
pop esi
mov dword [edx], ebx
pop ebx
ret
Function at 0x435427
Capabilities:
Get common file path

Disassembly:
sub esp, 0x2a0
mov eax, dword [0x518450]
xor eax, esp
mov dword [esp + 0x29c], eax
mov eax, dword [esp + 0x2ac]
push ebx
push ebp
mov ebp, dword [esp + 0x2ac]
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x24]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea esi, [esp + 0x24]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, bx
jne 0x43546a
mov eax, dword [esp + 0x2b8]
sub esi, ecx
movzx eax, ax
push eax
push 0xf5e0dda8
push 0x2dd28602
push 0xd9e3d2eb
sar esi, 1
mov dword [esp + 0x20], eax
call fcn.0040213e
add esp, 0xc
push eax
lea eax, [esp + 0x2c]
lea eax, [eax + esi*2]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push eax
call esi
add esp, 0xc
mov dword [esp + 0x18], 0xc
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 1
push ebx
push 0x4000080
push 2
push eax
push 3
push 0xc0000000
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4354f4
xor al, al
jmp 0x435576
push dword [esp + 0x10]
push 0xdb341fd
push 0xd5811a5e
push 0x21b04e25
call fcn.0040213e
add esp, 0xc
push eax
push ebp
push 0x7ae010f
push 0xdf9c5ab4
push 0x2bad0eff
call fcn.0040213e
add esp, 0xc
push eax
lea eax, [esp + 0x34]
push eax
call esi
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x40]
push ebp
push eax
call fcn.004357d1
add esp, 0x24
test eax, eax
je 0x43556d
lea eax, [esp + 0x10]
push eax
push edi
call fcn.00435ac2
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x43556d
push dword [esp + 0x14]
push esi
call fcn.0043585a
push esi
mov bl, al
call fcn.0040507c
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [esp + 0x2ac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b9a6c
add esp, 0x2a0
ret
Function at 0x43558f
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x260]
sub esp, 0x2e0
mov eax, dword [0x518450]
xor eax, ebp
mov dword [ebp + 0x25c], eax
push esi
mov esi, dword [ebp + 0x268]
push edi
push 0x270daa34
push 0xff3ff197
push 0xb0ea6e4
call fcn.0040213e
add esp, 0xc
push eax
push esi
push 0x404b0c06
push 0x9879579a
push 0x6c48000b
call fcn.0040213e
add esp, 0xc
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x40
xor edi, edi
lea eax, [ebp - 0x7c]
xorps xmm0, xmm0
push edi
push eax
movdqu xmmword [ebp - 0x3c], xmm0
call fcn.004bf040
add esp, 0x1c
mov dword [ebp - 0x80], 0x44
xor eax, eax
mov dword [ebp - 0x54], edi
inc eax
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push edi
push 0x8000000
push edi
push edi
push edi
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x435662
cmp dword [ebp + 0x26c], 0
je 0x435652
push dword [ebp + 0x26c]
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x38]
call esi
mov ecx, dword [ebp + 0x25c]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004b9a6c
lea esp, [ebp + 0x260]
pop ebp
ret
Function at 0x43567b
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x114
mov eax, dword [0x518450]
xor eax, esp
mov dword [esp + 0x110], eax
push ebp
push esi
mov esi, dword [esp + 0x120]
xor eax, eax
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersion_
mov word [esi], ax
lea eax, [esp + 0x1c]
push eax
call fcn.004bad3c
push 0x664f93d
push 0xde56a283
lea edi, [esp + 0x28]
push 0x2a67f74a
add edi, eax
call fcn.0040210b
add esp, 0x14
sub edi, eax
mov cl, byte [eax]
mov byte [edi + eax], cl
inc eax
test cl, cl
jne 0x4356cc
lea eax, [esp + 0xc]
xor ebp, ebp
push eax
push 1
push ebp
lea eax, [esp + 0x24]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4357b1
mov eax, dword [esp + 0x128]
lea edi, [eax + eax]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], edi
push eax
push esi
lea eax, [esp + 0x1c]
push eax
push ebp
push 0x3936eef6
push 0xe104b555
push 0x1535e088
call fcn.0040213e
add esp, 0xc
push eax
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x435758
push esi
push 0x3833de55
push 0xe00185ea
push 0x1430d017
call fcn.0040213e
add esp, 0xc
push eax
call fcn.004c0d9a
pop ecx
pop ecx
xor eax, eax
mov dword [esp + 0x10], edi
mov word [esi], ax
lea eax, [esp + 0x10]
push eax
push esi
lea eax, [esp + 0x1c]
push eax
push ebp
push 0xebaad617
push 0x33988dab
push 0xc7a9d83e
call fcn.0040213e
add esp, 0xc
push eax
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4357a7
push 0x5c
push esi
call fcn.004bb2a8
pop ecx
pop ecx
test eax, eax
je 0x4357a7
xor ecx, ecx
mov word [eax + 2], cx
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x11c]
xor eax, eax
cmp word [esi], bp
pop edi
pop esi
setne al
pop ebp
xor ecx, esp
call fcn.004b9a6c
add esp, 0x114
ret

Function at 0x4357d1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
push 0x40
xor esi, esi
lea eax, [ebp - 0x50]
xorps xmm0, xmm0
push esi
push eax
movdqu xmmword [ebp - 0x10], xmm0
call fcn.004bf040
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x54], 0x44
push eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x28], 0x100
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x1c], esi
push esi
push 0x8000000
push 1
push esi
push esi
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x435852
cmp dword [ebp + 0x14], esi
je 0x435842
push dword [ebp + 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x435ac2
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push ecx
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
xor edi, edi
push edi
push edi
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x435b00
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x435b00
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x435b58
cmp dword [esp + 0xc], edi
jne 0x435af5
push ebp
lea eax, [ebx + 1]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
test ebp, ebp
jne 0x435b2b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x435b57
push edi
lea eax, [esp + 0x18]
push eax
push ebx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x435b4e
cmp dword [esp + 0x14], ebx
jne 0x435b4e
mov eax, dword [esp + 0x20]
mov edi, ebp
mov dword [eax], ebx
jmp 0x435b55
push ebp
call fcn.0040507c
pop ecx
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
pop ecx
pop ecx
ret
Function at 0x437ba3
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 0xc], 0x80
push esi
jne 0x437c4a
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push ebx
push ebp
mov ebx, dword [eax]
mov ecx, dword [eax + 8]
mov esi, dword [eax + 4]
mov ebp, dword [eax + 0xc]
mov eax, ebp
mov edx, dword [edx]
or eax, 1
mov dword [esp + 0x18], ecx
mov ecx, ebx
shr ecx, 8
xor ecx, edx
shr edx, 0x18
sub ecx, esi
xor ecx, dword [esp + 0x18]
imul ecx, eax
movzx eax, bl
xor edx, eax
mov eax, dword [esp + 0x10]
push edi
mov edi, ebx
mov ebx, dword [esp + 0x1c]
shl ecx, 8
and edi, 0xffffff00
or ecx, edx
mov edx, esi
mov dword [eax], ecx
or edx, 1
mov ecx, eax
mov eax, dword [ecx + 4]
imul eax, edx
sub eax, ebp
add eax, ebx
or ebx, 1
xor eax, edi
mov dword [ecx + 4], eax
mov eax, dword [ecx + 8]
mov ecx, ebp
imul eax, ebx
sub ecx, eax
mov eax, edi
not eax
imul ecx, eax
add ecx, esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0xc]
xor eax, ebp
mov dword [esi + 8], ecx
sub eax, edi
imul eax, ebx
pop edi
pop ebp
pop ebx
imul eax, edx
mov dword [esi + 0xc], eax
pop esi
ret
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
sub edx, ecx
push 4
pop esi
mov eax, dword [edx + ecx]
xor dword [ecx], eax
lea ecx, [ecx + 4]
dec esi
jne 0x437c57
pop esi
ret

Function at 0x43830a
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebp
mov ebp, dword [esp + 0x28]
test ebp, ebp
jle 0x43837c
mov eax, dword [esp + 0x1c]
push ebx
mov ebx, dword [esp + 0x28]
sub eax, ebx
dec ebp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
push esi
shr ebp, 4
push edi
inc ebp
mov esi, eax
lea edi, [esp + 0x10]
push ebx
push eax
push dword [esp + 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004383f8
mov ecx, dword [esp + 0x40]
add esp, 0xc
push 0x10
pop edx
mov al, byte [ecx + ebx]
xor byte [ebx], al
inc ebx
dec edx
jne 0x43834f
mov edi, dword [esp + 0x28]
lea esi, [esp + 0x10]
mov eax, dword [esp + 0x2c]
sub ecx, 0x10
add eax, 0x10
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
dec ebp
jne 0x438330
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x10
ret
Function at 0x438381
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x4383f7
mov edx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x14]
lea ebx, [eax - 1]
push esi
sub edx, ebp
shr ebx, 4
push edi
mov edi, dword [esp + 0x20]
inc ebx
mov dword [esp + 0x24], edx
mov esi, edi
mov ecx, ebp
push 0x10
sub esi, ebp
pop edi
mov al, byte [edx + ecx]
xor al, byte [ecx]
mov byte [esi + ecx], al
inc ecx
dec edi
jne 0x4383af
mov edi, dword [esp + 0x20]
push edi
push edi
push dword [esp + 0x1c]
call fcn.00438fb3
mov edx, dword [esp + 0x30]
mov esi, edi
mov edi, dword [esp + 0x24]
sub edx, 0x10
add esp, 0xc
mov dword [esp + 0x24], edx
add ebp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x20]
add edi, 0x10
mov dword [esp + 0x20], edi
dec ebx
jne 0x4383a6
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x43a1c6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x518450]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, ebx
push edi
mov edi, dword [ebp + 0x10]
cmp eax, 0x10
jae 0x43a286
mov byte [ebp + eax - 0x14], bl
inc eax
cmp eax, 0x10
jl 0x43a1e9
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
push ecx
call fcn.0042c704
add esp, 0xc
test byte [ebp - 0x24], 0x80
jne 0x43a21e
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.0043a28c
pop ecx
pop ecx
jmp 0x43a244
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0043a28c
pop ecx
pop ecx
mov ecx, ebx
mov eax, dword [ecx + 0x4da9a8]
xor eax, dword [ebp + ecx - 0x14]
mov dword [ecx + esi], eax
add ecx, 4
cmp ecx, 0x10
jl 0x43a22f
test byte [esi], 0x80
jne 0x43a263
push edi
push esi
call fcn.0043a28c
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b9a6c
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.0043a28c
pop ecx
pop ecx
mov eax, dword [ebx + 0x4da9a8]
xor eax, dword [ebp + ebx - 0x14]
mov dword [ebx + edi], eax
add ebx, 4
cmp ebx, 0x10
jl 0x43a26f
jmp 0x43a252
call fcn.004ba3a5
int3
Function at 0x43a2b5
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x5c
mov eax, dword [0x518450]
xor eax, esp
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x60]
push ebx
push ebp
push esi
push edi
push dword [esp + 0x80]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], eax
push ecx
push eax
call fcn.0043a1c6
mov edi, dword [esp + 0x88]
add esp, 0x10
lea eax, [edi + 0xf]
cdq
and edx, 0xf
add edx, eax
sar edx, 4
test edx, edx
jne 0x43a332
inc edx
and edi, 0x8000000f
jns 0x43a316
dec edi
or edi, 0xfffffff0
inc edi
mov ebp, dword [esp + 0x74]
xor ebx, ebx
push 0x10
mov ecx, ebx
pop esi
cmp ecx, edi
jge 0x43a36d
mov eax, edx
shl eax, 4
add eax, ecx
mov al, byte [eax + ebp - 0x10]
jmp 0x43a374
mov eax, edi
and eax, 0x8000000f
jns 0x43a340
dec eax
or eax, 0xfffffff0
inc eax
jne 0x43a309
mov ebp, dword [esp + 0x74]
mov eax, edx
shl eax, 4
push 0x10
pop esi
lea edi, [ebp - 0x10]
add edi, eax
xor ebx, ebx
mov ecx, ebx
mov eax, dword [esp + ecx + 0x28]
xor eax, dword [edi]
lea edi, [edi + 4]
mov dword [esp + ecx + 0x48], eax
add ecx, 4
cmp ecx, esi
jl 0x43a357
jmp 0x43a392
setne al
dec al
and al, 0x80
mov byte [esp + ecx + 0x28], al
inc ecx
cmp ecx, esi
jl 0x43a321
mov ecx, ebx
mov eax, dword [esp + ecx + 0x28]
xor eax, dword [esp + ecx + 0x58]
mov dword [esp + ecx + 0x48], eax
add ecx, 4
cmp ecx, esi
jl 0x43a37f
mov eax, ebx
cmp eax, esi
jae 0x43a424
mov byte [esp + eax + 0x18], bl
inc eax
cmp eax, esi
jl 0x43a396
lea edi, [edx - 1]
test edi, edi
jle 0x43a3dc
mov ecx, ebx
mov eax, dword [esp + ecx + 0x18]
xor eax, dword [ebp]
add ebp, 4
mov dword [esp + ecx + 0x38], eax
add ecx, 4
cmp ecx, esi
jl 0x43a3ae
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x18]
call fcn.0042c704
add esp, 0xc
dec edi
jne 0x43a3ac
mov eax, dword [esp + ebx + 0x18]
xor eax, dword [esp + ebx + 0x48]
mov dword [esp + ebx + 0x38], eax
add ebx, 4
cmp ebx, esi
jl 0x43a3dc
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x18]
call fcn.0042c704
mov edi, dword [esp + 0x20]
lea esi, [esp + 0x24]
mov ecx, dword [esp + 0x74]
add esp, 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b9a6c
add esp, 0x5c
ret
call fcn.004ba3a5
int3

Function at 0x43b0d6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push dword [ebp + 8]
push 0x43b0fc
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret