joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412403
Capabilities:
Hide graphical window

Disassembly:
and dword [0x44da54], 0
push 1
push dword [esp + 8]
mov byte [0x44da49], 1
mov byte [0x44da4a], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 2
push dword [esp + 0xc]
call fcn.00401197
cmp dword [0x44da34], 0
jne 0x412443
cmp byte [0x44da63], 0
je 0x41244c
cmp dword [0x44da5c], 0
jne 0x41245f
push 0
push 1
push 0x111
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
ret 4

Function at 0x412532
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00413500
cmp byte [0x44fa70], 0
je 0x4125c1
cmp word [0x44fa72], 0
je 0x4125c1
push esi
push 0x800
lea eax, [ebp - 0x1008]
push eax
push 0x44fa72
call fcn.00411120
lea eax, [ebp - 8]
xor esi, esi
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4125c0
push dword [ebp + 8]
call fcn.004187c3
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x1008]
push 1
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4125c7
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.00413500
push esi
push dword [ebp + 8]
push str.sfxcmd
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x1000
lea eax, [ebp - 0x2000]
push eax
push dword [ebp + 8]
call fcn.004064fc
mov esi, eax
test esi, esi
je 0x41261f
movzx ecx, word [esi]
push ecx
jmp 0x41260a
add esi, 2
movzx eax, word [esi]
push eax
call fcn.00406615
test al, al
jne 0x412603
push esi
push str.sfxpar
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x438ca9
Capabilities:
Encode data using xor

Disassembly:
push 0x438a14
mov edi, dword [esp]
add esp, 4
add esi, 0x6c881621
call fcn.00438ce0
add edx, 1
xor dword [ecx], edi
add edx, esi
inc ecx
add esi, 1
sub esi, 0x9f6d54f4
cmp ecx, ebx
jne fcn.00438ca9
dec edx
ret
Function at 0x401750
Capabilities:
Terminate process

Disassembly:
nop
nop
push ebp
mov ebp, esp
mov esi, dword [edi - 0x37f274f8]
rol byte [eax], 0x6f
add ecx, 0x40
push 0xcf40d274
mov bh, 0xff
adc eax, 0x77c15e
mov eax, dword [0x9502ac]
add esp, 0x4b
test eax, eax
je 0x401787
push eax
push 0x401c54
call dword [0x8fc1ea]
push edx
les esp, [esi + 0x15ff016a]
jo 0x40174e
push 1
call dword [sym.imp.MSVCRT.dll_exit]
nop
inc eax
add byte [eax - 0x7ef274ed], dl
adc ecx, dword [ebx - 0x47137ef3]
add byte [eax], al
add byte [ecx + 0x4102b0], ah
test eax, eax
mov eax, dword [0x4144d3]
je 0x4017bb
push 0x413c40
push eax
call 0xf95850
invalid
invalid
invalid
je 0x4017b9
js 0x4017b9

Function at 0x40b400
Capabilities:
Encode data using base64

Disassembly:
movsd dword es:[edi], dword [esi]
jge 0x40b393
add byte [eax], al
mov eax, dword [ebp + 8]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4
add dword [eax], eax
add byte [edi], cl
pop ebp
ret 4
fdiv qword [0x9090831f]
nop
nop
nop
aam 0x90
add ch, byte [ebp - 0x14]
pushal
inc ebp
adc cl, byte [ebx - 0x3474f3b3]
or byte [eax + 0x51], dl
push edx
call 0x1140cb00
pop ebp
pop esi
or al, 0
nop
nop
nop
nop
nop
nop
jge 0x40b390
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
pushfd
sub ecx, dword [eax]
push ebx
push esi
and byte [edx + 0x2c], cl
xor esi, esi
push edi
mov edi, dword [ebp + 0xc]
push 0xffffffffffffffc9
jle 0x40b39a
xor edx, edx
insb byte es:[edi], dx
fisttp dword [edx - 0x397cffec]
out 0xc1, eax
xchg edx, eax
pushal
inc eax
fcom dword [edx + 0x517dca69]
mov byte [ebx + 0xe548aff], ah
std
mov bl, byte [edi + esi - 2]
inc ecx
loop 0x40b3ca
pop esp
aaa
inc byte [ecx - 0x1e]
nop
mov eax, dword [0xebc112e2]
add al, 0x47
mov eax, 0x8a40db33
xchg edx, eax
sbb bl, dl
inc eax
add byte [eax + 0x548aff50], cl
aaa
dec byte [edx - 0x7c00c8a4]
loop 0x40b468
shl edx, 0x61
shr ebx, 6
je 0x40b434
inc eax
das
xchg edx, eax
sbb bh, al
pushfd
add byte [eax + 0x5405ff3b], cl
aaa
push ebp
and edx, 0x3f
mov byte [ebx], bh
inc dword [0x83553754]
loop 0x40b4b1
inc eax
jp 0x40b466
mov dl, byte [edx + 0x40c718]
mov byte [eax - 1], dl
jl 0x40b418
mov edx, dword [ebp + 0x10]
cmp esi, edx
jge 0x40b4e6
xor ecx, ecx
mov cl, byte [esi + ebp*2]
shr ecx, 0x90
inc eax
dec edx
mov cl, byte [ecx + 0x40ea3b]
cmp esi, edx
mov byte [eax - 7], cl
cmp ebp, edx
inc eax
add byte [ebx], bh
mov byte [eax - 7], cl
mov dl, byte [ebx + ebx*4]
jne 0x40b4bb
and edx, 3
shl edx, 4
inc eax
mov cl, byte [edx + 0x9cc718]
xchg dword [eax - 1], ecx
mov byte [eax], 0x3d
jmp 0x40b462
sbb eax, 0x8a03fa83
sbb ecx, eax
loop 0x40b4c8
shr ebx, 4
or edx, ebx
inc eax
mov dl, byte [edx + 0x7540c718]
mov byte [eax - 1], dl
insd dword es:[edi], dx
or dword [ebx + 0x148a43e1], eax
lea esi, [esi]
js 0x40b493
rol dword [eax - 0x76], cl
xchg edx, eax
sbb bh, al
inc eax
jne 0x40b459
push eax
jmp [ebp + 9]
add byte [eax + 0x1961f3], cl
cmp eax, 0x8f98b40
mov byte [eax], 0
mov edi, ecx
or dh, al
add byte [eax], al
xor eax, 0x405e1fc2
pop ebx
pop ebp
ret 0xc
Function at 0x405b8e
Capabilities:
Set file attributes

Disassembly:
test edx, 0xf0000000
je 0x405b9c
and edx, 0x3fff
jmp fcn.00405b00

Function at 0x405ba1
Capabilities:
Delete directory

Disassembly:
mov eax, 0x49cab8
call fcn.0049b470
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.0040886f
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, eax
cmp ebx, 1
je 0x405bd0
push edi
call esi
test eax, eax
je 0x405bd0
mov al, 1
jmp 0x405c14
test ebx, ebx
je 0x405c12
lea ecx, [ebp - 0x18]
call fcn.00402e23
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.00408978
test al, al
push dword [ebp - 0x18]
je 0x405c0c
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401dd1
test esi, esi
pop ecx
setne al
jmp 0x405c14
call fcn.00401dd1
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x405c23
Capabilities:
Move file

Disassembly:
mov eax, 0x49cad4
call fcn.0049b470
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], ecx
call fcn.0040886f
mov ecx, dword [ebp - 0x10]
mov esi, eax
call fcn.0040886f
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [ebp - 0x14], eax
push 1
pop ebx
cmp esi, ebx
je 0x405c6c
cmp eax, ebx
je 0x405c6c
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x405c6c
mov al, bl
jmp 0x405ce3
test esi, esi
jne 0x405c75
cmp dword [ebp - 0x14], esi
je 0x405ce1
lea ecx, [ebp - 0x30]
call fcn.00402e23
and dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402e23
cmp esi, ebx
mov byte [ebp - 4], bl
je 0x405c95
cmp dword [ebp - 0x14], ebx
jne 0x405c97
xor ebx, ebx
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00408eeb
test al, al
push dword [ebp - 0x24]
je 0x405cd2
push dword [ebp - 0x30]
call edi
mov esi, eax
push dword [ebp - 0x24]
call fcn.00401dd1
push dword [ebp - 0x30]
call fcn.00401dd1
pop ecx
test esi, esi
pop ecx
setne al
jmp 0x405ce3
call fcn.00401dd1
push dword [ebp - 0x30]
call fcn.00401dd1
pop ecx
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x405dee
Capabilities:
Create directory

Disassembly:
mov eax, 0x49cb04
call fcn.0049b470
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.0040886f
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
cmp ebx, 1
je 0x405e2c
push 0
push edi
call esi
test eax, eax
je 0x405e1f
mov al, 1
jmp 0x405e75
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x405e73
test ebx, ebx
je 0x405e73
lea ecx, [ebp - 0x18]
call fcn.00402e23
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.00408978
test al, al
je 0x405e6a
push 0
push dword [ebp - 0x18]
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401dd1
test esi, esi
pop ecx
setne al
jmp 0x405e75
push dword [ebp - 0x18]
call fcn.00401dd1
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x405fc5
Capabilities:
Create directory

Disassembly:
mov eax, 0x49cb47
call fcn.0049b470
sub esp, 0x7c
push ebx
push esi
push edi
mov esi, ecx
call fcn.0040886f
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 1
je 0x40600a
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x405ffd
mov al, 1
jmp 0x4060f1
call ebx
cmp eax, 0xb7
je 0x4060a0
test edi, edi
je 0x4060a0
lea ecx, [ebp - 0x18]
call fcn.00402e23
and dword [ebp - 4], 0
cmp edi, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, esi
call fcn.00408978
test al, al
je 0x406093
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x406046
mov bl, 1
jmp 0x40608e
call ebx
cmp eax, 0xb7
je 0x406053
xor bl, bl
jmp 0x40608e
lea ecx, [ebp - 0x50]
call fcn.004066b0
lea ecx, [ebp - 0x28]
call fcn.00402e23
push 0
lea ecx, [ebp - 0x50]
push dword [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00406b32
test al, al
jne 0x40607c
xor bl, bl
jmp 0x406085
mov ebx, dword [ebp - 0x30]
shr ebx, 4
and bl, 1
push dword [ebp - 0x28]
call fcn.00401dd1
pop ecx
push dword [ebp - 0x18]
jmp 0x4060e9
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.00401dd1
pop ecx
call ebx
cmp eax, 0xb7
je 0x4060ad
xor al, al
jmp 0x4060f1
lea ecx, [ebp - 0x88]
call fcn.004066b0
lea ecx, [ebp - 0x60]
call fcn.00402e23
push 0
push esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 2
call fcn.00406b32
test al, al
jne 0x4060dd
xor bl, bl
jmp 0x4060e6
mov ebx, dword [ebp - 0x68]
shr ebx, 4
and bl, 1
push dword [ebp - 0x60]
call fcn.00401dd1
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x406100
Capabilities:
Delete file

Disassembly:
mov eax, 0x49cb5c
call fcn.0049b470
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00406ab5
cmp eax, 0xffffffff
je 0x406134
test al, 0x10
jne 0x406134
test al, 1
je 0x406134
mov edx, eax
mov ecx, edi
and edx, 0xfffffffe
call fcn.00405b00
test al, al
je 0x406195
mov ecx, edi
call fcn.0040886f
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
cmp ebx, 1
je 0x406153
push edi
call esi
test eax, eax
je 0x406153
mov al, 1
jmp 0x406197
test ebx, ebx
je 0x406195
lea ecx, [ebp - 0x18]
call fcn.00402e23
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.00408978
test al, al
push dword [ebp - 0x18]
je 0x40618f
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401dd1
test esi, esi
pop ecx
setne al
jmp 0x406197
call fcn.00401dd1
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x406ab5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x49cc14
call fcn.0049b470
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.0040886f
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 1
je 0x406ae1
push edi
call esi
cmp eax, 0xffffffff
jne 0x406b23
test ebx, ebx
je 0x406b20
lea ecx, [ebp - 0x18]
call fcn.00402e23
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.00408978
test al, al
push dword [ebp - 0x18]
je 0x406b1a
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401dd1
pop ecx
mov eax, esi
jmp 0x406b23
call fcn.00401dd1
pop ecx
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x407300
Capabilities:
Get disk information

Disassembly:
mov eax, 0x49cce0
call fcn.0049b470
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.0042ea66
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x14], ebx
je 0x4073ce
mov eax, SysReAllocString
cmp ebx, eax
ja 0x40733c
mov eax, ebx
add eax, eax
push eax
call fcn.00401daa
mov esi, eax
pop ecx
mov dword [ebp - 0x20], esi
and dword [ebp - 4], 0
push esi
push ebx
call edi
mov ebx, eax
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x10], ebx
je 0x4073c7
cmp ebx, dword [ebp - 0x14]
ja 0x4073c7
lea ecx, [ebp - 0x2c]
call fcn.00402e23
test ebx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], edi
jbe 0x4073af
push 2
xor eax, eax
pop ebx
cmp word [esi + ebx - 2], 0
jne 0x4073a4
add eax, esi
lea ecx, [ebp - 0x2c]
push eax
call fcn.00402fa7
mov ecx, dword [ebp - 0x18]
lea eax, [edi + 1]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x1c], ebx
call fcn.00401515
mov eax, ebx
inc edi
inc ebx
inc ebx
cmp edi, dword [ebp - 0x10]
jb 0x40737a
mov ebx, dword [ebp - 0x10]
push dword [ebp - 0x2c]
call fcn.00401dd1
push esi
call fcn.00401dd1
cmp dword [ebp - 0x14], ebx
pop ecx
pop ecx
sete al
jmp 0x4073d0
push esi
call fcn.00401dd1
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4074ce
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp byte [ecx + 5], bl
push esi
je 0x4074f0
cmp byte [ecx + 6], bl
je 0x4074f0
mov eax, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 4], ecx
jmp 0x407530
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x407514
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x407514
xor al, al
jmp 0x407532
push 1
push ebx
push ebx
push dword [ebp - 4]
call fcn.0049b7b0
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
pop ebx
leave
ret 4
Function at 0x41b355
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x49dfef
call fcn.0049b470
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00402e23
and dword [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.00402e23
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00402e23
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.00402e23
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.00402e23
and byte [esi + 0x3c], 0
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 4
call fcn.00402e23
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 5
call fcn.00402e23
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x41babe
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x49e117
call fcn.0049b470
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00402f3b
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.00402f3b
lea eax, [edi + 0x18]
lea ecx, [esi + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00402f3b
lea eax, [edi + 0x24]
lea ecx, [esi + 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.00402f3b
lea eax, [edi + 0x30]
lea ecx, [esi + 0x30]
push eax
mov byte [ebp - 4], 3
call fcn.00402f3b
mov al, byte [edi + 0x3c]
lea ecx, [esi + 0x40]
mov byte [esi + 0x3c], al
lea eax, [edi + 0x40]
push eax
mov byte [ebp - 4], 4
call fcn.00402f3b
add edi, 0x4c
lea ecx, [esi + 0x4c]
push edi
mov byte [ebp - 4], 5
call fcn.00402f3b
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x420b7a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx + 4]
push ebx
push esi
mov esi, dword [ecx]
xor edx, edx
push edi
test eax, eax
mov ebx, 0x159a55e5
mov edi, 0x1f123bb5
mov dword [ebp - 4], eax
jbe 0x420bca
mov eax, 0xffff
mov ecx, ebx
and ecx, eax
imul ecx, ecx, 0x9069
shr ebx, 0x10
add ebx, ecx
mov ecx, edi
and ecx, eax
imul ecx, ecx, 0x4650
shr edi, 0x10
add edi, ecx
mov ecx, edi
xor cl, byte [ebp + 8]
mov byte [edx + esi], cl
inc edx
cmp edx, dword [ebp - 4]
jb 0x420b9e
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x420bd1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ecx + 4]
and dword [ebp - 4], 0
mov ecx, dword [ecx]
push ebx
push edi
push 1
pop edx
mov edi, 0x159a55e5
test eax, eax
mov ebx, 0x1f123bb5
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], edx
jbe 0x420d95
push esi
mov esi, 0xffff
jmp 0x420c0e
push 1
pop edx
mov eax, edi
and eax, esi
imul eax, eax, 0x9069
shr edi, 0x10
add edi, eax
mov eax, ebx
and eax, esi
imul eax, eax, 0x4650
shr ebx, 0x10
add ebx, eax
mov eax, edi
shl eax, 0x10
add eax, ebx
xor eax, dword [ebp + 0xc]
mov ecx, eax
and ecx, edx
shr eax, 1
test ecx, ecx
mov dword [ebp - 8], eax
je 0x420d7c
cmp dword [ebp - 4], 0x400
jb 0x420d7c
lea ecx, [ebp - 8]
call fcn.00420d9b
mov ecx, eax
mov eax, dword [ebp - 8]
shr dword [ebp - 8], 3
and eax, 7
inc ecx
test eax, eax
mov dword [ebp - 0xc], ecx
je 0x420d45
lea ecx, [ebp - 8]
call fcn.00420d9b
add dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
push 1
pop eax
shl eax, cl
cmp eax, dword [ebp - 4]
jae 0x420c9a
push 1
inc ecx
pop eax
shl eax, cl
cmp eax, dword [ebp - 4]
jb 0x420c8c
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
cmp eax, ecx
mov dword [ebp - 0x10], eax
jbe 0x420ca7
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x15
mov dword [ebp - 0x18], 5
ja 0x420cbb
mov dword [ebp - 0x18], 4
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
push 1
pop eax
shl eax, cl
mov ecx, edi
and ecx, esi
imul ecx, ecx, 0x9069
shr edi, 0x10
add edi, ecx
mov ecx, ebx
and ecx, esi
dec eax
imul ecx, ecx, 0x4650
shr ebx, 0x10
add ebx, ecx
mov ecx, edi
shl ecx, 0x10
add ecx, ebx
and eax, edx
xor ecx, dword [ebp + 0xc]
add eax, 6
cmp eax, dword [ebp - 0x10]
mov edx, ecx
mov dword [ebp - 8], edx
ja 0x420cbe
mov dword [ebp - 0x24], 1
mov ecx, eax
mov eax, dword [ebp - 0x24]
shl eax, cl
dec eax
and eax, edx
cmp eax, dword [ebp - 4]
jb 0x420d3e
mov eax, edi
and eax, esi
imul eax, eax, 0x9069
shr edi, 0x10
add edi, eax
mov eax, ebx
and eax, esi
mov edx, edi
imul eax, eax, 0x4650
shr ebx, 0x10
add ebx, eax
shl edx, 0x10
add edx, ebx
xor edx, dword [ebp + 0xc]
jmp 0x420cbe
mov ecx, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 4]
cmp ecx, eax
jbe 0x420d54
mov dword [ebp - 0xc], eax
mov ecx, eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
add dword [ebp - 4], ecx
add eax, edx
mov dword [ebp - 0x24], eax
sub eax, dword [ebp - 0x18]
test ecx, ecx
jbe 0x420d88
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x24]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 0x10]
jne 0x420d6f
jmp 0x420d88
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
inc dword [ebp - 4]
mov byte [ecx + edx], al
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x20]
jb 0x420c0b
pop esi
pop edi
pop ebx
leave
ret 8
Function at 0x422ebf
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
mov eax, ecx
jbe 0x422fd6
mov ecx, edx
mov edx, dword [esp + 4]
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
dec ecx
jne 0x422ecf
ret 4

Function at 0x425e97
Capabilities:
Encode data using xor

Disassembly:
push esi
or eax, 0xffffffff
xor esi, esi
test edx, edx
jbe 0x425ec4
push ebx
push edi
movzx edi, byte [esi + ecx]
mov ebx, eax
and ebx, 0xff
xor edi, ebx
shr eax, 8
mov edi, dword [edi*4 + 0x4c0300]
xor eax, edi
inc esi
cmp esi, edx
jb 0x425ea3
pop edi
pop ebx
not eax
pop esi
ret
Function at 0x426f2c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x49eda6
call fcn.0049b470
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], bl
mov byte [esi + 0x31], bl
mov byte [esi + 0x32], bl
mov byte [esi + 0x33], bl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
call fcn.00426fd8
lea eax, [esi + 0x8c]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov byte [ebp - 4], 5
mov byte [esi + 0x95], bl
mov dword [esi + 0x98], ebx
call fcn.0041bbd3
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x94], al
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4298a7
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x49f19e
call fcn.0049b470
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
mov byte [esi + 0x21], al
call fcn.00402e23
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.00429901
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x429953
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x49f1e9
call fcn.0049b470
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 3
call fcn.00433d52
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.004299a9
push dword [esi + 0x24]
call fcn.00401dd1
and byte [ebp - 4], 0
pop ecx
lea ecx, [esi + 0xc]
call fcn.00439ce4
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00429f6d
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret