joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004f6f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 0xfffffff8
inc esi
mov ecx, dword [esp + 0x874]
add byte [ebp + 0x63c2484], cl
add byte [eax], al
mov ebx, dword [eax + 0x420]
mov edx, 0x208
add ebx, dword [ecx + esi*4 - 4]
call fcn.100041b0
mov eax, ebx
push eax
call fcn.10003e88
mov ecx, eax
test eax, eax
je 0x10004f08
invalid
mov dword [ecx], eax
add byte [eax], al
cmp eax, 6
jbe 0x10004e52
mov dword [esp + 0x10], ecx
lea edx, [eax + ebx]
neg edx
lea ecx, [esp + eax*2 + 0x634]
add edx, ecx
mov edx, eax
shr edx, 1
mov dword [esp + 0x854], edx
je 0x10006519
movsx edx, byte [ecx + ebx]
mov word [esp + ecx*2 + 0x634], dx
xchg esp, eax
dec esp
xor al, 6
add byte [eax], al
push eax
lea eax, [esp + 0x638]
call fcn.10003ec0
mov ecx, eax
test ecx, ecx
jbe 0x10004f89
mov edx, dword [esp + 0xca0]
xor eax, eax
mov ebx, dword [edx + 0x11c]
mov edx, ecx
shr edx, 1
je 0x100062d1
invalid
mov ah, 0x24
dec eax
or byte [eax], al
lea edi, [edi + edi + 1]
lea edx, [edi - 1]
cmp edx, ecx
jae 0x10004f8b
imul ebx, eax
movzx eax, word [esp + edi*2 + 0x632]
add eax, ebx
jmp 0x10004f8b
mov edx, dword [esp + 0x864]
mov ecx, dword [esp + 0x868]
movzx ebx, word [edx + esi*2 - 2]
mov edx, dword [esp + 0xa54]
or al, byte [eax]
add byte [ebx], al
adc al, 0x99
cmp eax, dword [esp + 0x870]
jne 0x10004d47
mov eax, dword [esp + 0xc98]
mov esi, dword [esp + 0xa54]
mov ebx, dword [esp + 0xca0]
mov dword [eax + 0x58], edx
mov edx, dword [esi + 0x3c]
mov eax, dword [ebx + 0x12c]
mov dword [esp + 0xa64], eax
mov ecx, dword [edx + esi + 0x78]
mov edx, dword [ecx + esi + 0x20]
mov edi, dword [ecx + esi + 0x1c]
add edx, esi
mov ecx, dword [ecx + esi + 0x24]
add edi, esi
add ecx, esi
xor esi, esi
mov dword [esp + 0xa58], ecx
mov dword [esp + 0xa5c], edi

Function at 0x10005003
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [esp + 0xa60], edx
add esp, 0xfffffff8
inc esi
mov ecx, dword [esp + 0xa68]
lea eax, [esp + 0x844]
mov ebx, dword [eax + 0x218]
mov edx, 0x208
add ebx, dword [ecx + esi*4 - 4]
call fcn.100041b0
mov eax, ebx
push eax
call fcn.10003e88
mov ecx, eax
test eax, eax
invalid
invalid
mov dword [ecx], eax
invalid

Function at 0x10005041
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add byte [ebx - 0x79f0f908], al
retf 0
Function at 0x100051c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test byte [esp + ecx*2], ah
or al, byte [eax]
add byte [esi - 0x77], ah
inc esp
pop ss
add cl, byte [edi]
mov esi, 0x89661914
xchg esp, eax
dec esp
cmp al, 8
add byte [eax], al

Function at 0x1000bafe
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push edi
mov edi, eax
mov eax, dword [edi + 0x34]
test eax, eax
je 0x1000bb4c
cmp dword [esp + 8], 0
je 0x1000bb4c
push 0
push 0xffffffffffffffff
push eax
push 0x2a
mov eax, esi
call fcn.10009efe
push dword [edi + 0x34]
mov eax, esi
push 0x17
call fcn.10009f69
push 0
push dword [esp + 0x24]
mov edi, eax
push 0
push 0x60
mov eax, esi
call fcn.10009efe
mov edx, dword [esi + 0xc]
add esp, 0x28
mov eax, edi
mov ecx, esi
pop edi
jmp fcn.10004f2a
pop edi
ret

Function at 0x1000d5a2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
mov eax, dword [0x1003b890]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1003bc94]
push ebx
push esi
test eax, eax
je 0x1000d5dc
push eax
push 0x10036624
lea eax, [ebp - 0x10c]
push eax
push 0xe6
call sym.sqlite.dll_sqlite3_snprintf
add esp, 0x10
jmp 0x1000d655
call fcn.1000213a
mov esi, 0xe6
test eax, eax
je 0x1000d61c
lea eax, [ebp - 0x314]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x314]
push eax
call fcn.100021e9
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x1000d638
push 7
pop eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10031c74
leave
ret
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x210]
push eax
call fcn.100022ae
jmp 0x1000d604
push ebx
push 0x10036624
lea eax, [ebp - 0x10c]
push eax
push esi
call sym.sqlite.dll_sqlite3_snprintf
push ebx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 0x14
lea ecx, [ebp - 0x10c]
call fcn.100016a4
test eax, eax
jbe 0x1000d66e
dec ecx
cmp byte [ecx + eax], 0x5c
jne 0x1000d66e
dec eax
jne 0x1000d665
mov byte [ebp + eax - 0x10c], 0
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp + 8]
push 0x10036618
add eax, 0xffffffe2
push edi
push eax
call sym.sqlite.dll_sqlite3_snprintf
mov ecx, edi
call fcn.100016a4
mov esi, eax
lea eax, [edi + esi]
push eax
push 0x14
call fcn.10008912
add esp, 0x18
push 0x14
pop ecx
movzx eax, byte [edi + esi]
xor edx, edx
push 0x3e
pop ebx
div ebx
mov al, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi], al
inc esi
dec ecx
jne 0x1000d6a9
mov byte [edi + esi], cl
xor eax, eax
jmp 0x1000d60e
Function at 0x10031c74
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1003b890]
jne 0x10031c7e
repz ret
jmp fcn.1003244e

Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4052af
Capabilities:
Set file attributes

Disassembly:
test edx, 0xf0000000
je 0x4052bd
and edx, 0x3fff
jmp fcn.00405221

Function at 0x4052c2
Capabilities:
Delete directory

Disassembly:
mov eax, 0x43c014
call fcn.0043b650
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00407f9a
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, eax
cmp ebx, 1
je 0x4052f1
push edi
call esi
test eax, eax
je 0x4052f1
mov al, 1
jmp 0x405335
test ebx, ebx
je 0x405333
lea ecx, [ebp - 0x18]
call fcn.00402b75
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.004080a3
test al, al
push dword [ebp - 0x18]
je 0x40532d
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401c54
test esi, esi
pop ecx
setne al
jmp 0x405335
call fcn.00401c54
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 0x405344
Capabilities:
Move file

Disassembly:
mov eax, 0x43c030
call fcn.0043b650
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], ecx
call fcn.00407f9a
mov ecx, dword [ebp - 0x10]
mov esi, eax
call fcn.00407f9a
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [ebp - 0x14], eax
push 1
pop ebx
cmp esi, ebx
je 0x40538d
cmp eax, ebx
je 0x40538d
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x40538d
mov al, bl
jmp 0x405404
test esi, esi
jne 0x405396
cmp dword [ebp - 0x14], esi
je 0x405402
lea ecx, [ebp - 0x30]
call fcn.00402b75
and dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402b75
cmp esi, ebx
mov byte [ebp - 4], bl
je 0x4053b6
cmp dword [ebp - 0x14], ebx
jne 0x4053b8
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.00408616
test al, al
push dword [ebp - 0x24]
je 0x4053f3
push dword [ebp - 0x30]
call edi
mov esi, eax
push dword [ebp - 0x24]
call fcn.00401c54
push dword [ebp - 0x30]
call fcn.00401c54
pop ecx
test esi, esi
pop ecx
setne al
jmp 0x405404
call fcn.00401c54
push dword [ebp - 0x30]
call fcn.00401c54
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 0x40550f
Capabilities:
Create directory

Disassembly:
mov eax, 0x43c060
call fcn.0043b650
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00407f9a
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
cmp ebx, 1
je 0x40554d
push 0
push edi
call esi
test eax, eax
je 0x405540
mov al, 1
jmp 0x405596
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x405594
test ebx, ebx
je 0x405594
lea ecx, [ebp - 0x18]
call fcn.00402b75
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.004080a3
test al, al
je 0x40558b
push 0
push dword [ebp - 0x18]
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401c54
test esi, esi
pop ecx
setne al
jmp 0x405596
push dword [ebp - 0x18]
call fcn.00401c54
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 0x4056e6
Capabilities:
Create directory

Disassembly:
mov eax, 0x43c0a3
call fcn.0043b650
sub esp, 0x7c
push ebx
push esi
push edi
mov esi, ecx
call fcn.00407f9a
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 1
je 0x40572b
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x40571e
mov al, 1
jmp 0x405812
call ebx
cmp eax, 0xb7
je 0x4057c1
test edi, edi
je 0x4057c1
lea ecx, [ebp - 0x18]
call fcn.00402b75
and dword [ebp - 4], 0
cmp edi, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, esi
call fcn.004080a3
test al, al
je 0x4057b4
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x405767
mov bl, 1
jmp 0x4057af
call ebx
cmp eax, 0xb7
je 0x405774
xor bl, bl
jmp 0x4057af
lea ecx, [ebp - 0x50]
call fcn.00405ddb
lea ecx, [ebp - 0x28]
call fcn.00402b75
push 0
lea ecx, [ebp - 0x50]
push dword [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0040625d
test al, al
jne 0x40579d
xor bl, bl
jmp 0x4057a6
mov ebx, dword [ebp - 0x30]
shr ebx, 4
and bl, 1
push dword [ebp - 0x28]
call fcn.00401c54
pop ecx
push dword [ebp - 0x18]
jmp 0x40580a
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.00401c54
pop ecx
call ebx
cmp eax, 0xb7
je 0x4057ce
xor al, al
jmp 0x405812
lea ecx, [ebp - 0x88]
call fcn.00405ddb
lea ecx, [ebp - 0x60]
call fcn.00402b75
push 0
push esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 2
call fcn.0040625d
test al, al
jne 0x4057fe
xor bl, bl
jmp 0x405807
mov ebx, dword [ebp - 0x68]
shr ebx, 4
and bl, 1
push dword [ebp - 0x60]
call fcn.00401c54
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 0x40582b
Capabilities:
Delete file

Disassembly:
mov eax, 0x43c0b8
call fcn.0043b650
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.004061e0
cmp eax, 0xffffffff
je 0x40585f
test al, 0x10
jne 0x40585f
test al, 1
je 0x40585f
mov edx, eax
mov ecx, edi
and edx, 0xfffffffe
call fcn.00405221
test al, al
je 0x4058c0
mov ecx, edi
call fcn.00407f9a
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
cmp ebx, 1
je 0x40587e
push edi
call esi
test eax, eax
je 0x40587e
mov al, 1
jmp 0x4058c2
test ebx, ebx
je 0x4058c0
lea ecx, [ebp - 0x18]
call fcn.00402b75
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.004080a3
test al, al
push dword [ebp - 0x18]
je 0x4058ba
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401c54
test esi, esi
pop ecx
setne al
jmp 0x4058c2
call fcn.00401c54
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 0x4061e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x43c170
call fcn.0043b650
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00407f9a
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 1
je 0x40620c
push edi
call esi
cmp eax, 0xffffffff
jne 0x40624e
test ebx, ebx
je 0x40624b
lea ecx, [ebp - 0x18]
call fcn.00402b75
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.004080a3
test al, al
push dword [ebp - 0x18]
je 0x406245
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401c54
pop ecx
mov eax, esi
jmp 0x40624e
call fcn.00401c54
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 0x406a2b
Capabilities:
Get disk information

Disassembly:
mov eax, 0x43c23c
call fcn.0043b650
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.00401553
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 0x406af9
mov eax, SysReAllocString
cmp ebx, eax
ja 0x406a67
mov eax, ebx
add eax, eax
push eax
call fcn.00401c2d
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 0x406af2
cmp ebx, dword [ebp - 0x14]
ja 0x406af2
lea ecx, [ebp - 0x2c]
call fcn.00402b75
test ebx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], edi
jbe 0x406ada
push 2
xor eax, eax
pop ebx
cmp word [esi + ebx - 2], 0
jne 0x406acf
add eax, esi
lea ecx, [ebp - 0x2c]
push eax
call fcn.00402cf9
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.0040150c
mov eax, ebx
inc edi
inc ebx
inc ebx
cmp edi, dword [ebp - 0x10]
jb 0x406aa5
mov ebx, dword [ebp - 0x10]
push dword [ebp - 0x2c]
call fcn.00401c54
push esi
call fcn.00401c54
cmp dword [ebp - 0x14], ebx
pop ecx
pop ecx
sete al
jmp 0x406afb
push esi
call fcn.00401c54
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 0x406bf9
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 0x406c1b
cmp byte [ecx + 6], bl
je 0x406c1b
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 0x406c5b
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 0x406c3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x406c3f
xor al, al
jmp 0x406c5d
push 1
push ebx
push ebx
push dword [ebp - 4]
call fcn.0043b980
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 0x40e9c2
Capabilities:
Access peb ldr_data
Get process heap flags

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

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

Disassembly:
mov eax, 0x43c907
call fcn.0043b650
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00402c8d
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.00402c8d
lea eax, [edi + 0x18]
lea ecx, [esi + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00402c8d
lea eax, [edi + 0x24]
lea ecx, [esi + 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.00402c8d
lea eax, [edi + 0x30]
lea ecx, [esi + 0x30]
push eax
mov byte [ebp - 4], 3
call fcn.00402c8d
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.00402c8d
add edi, 0x4c
lea ecx, [esi + 0x4c]
push edi
mov byte [ebp - 4], 5
call fcn.00402c8d
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x41431c
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 0x41436c
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 0x414340
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x414373
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 0x414537
push esi
mov esi, 0xffff
jmp 0x4143b0
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 0x41451e
cmp dword [ebp - 4], 0x400
jb 0x41451e
lea ecx, [ebp - 8]
call fcn.0041453d
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 0x4144e7
lea ecx, [ebp - 8]
call fcn.0041453d
add dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
push 1
pop eax
shl eax, cl
cmp eax, dword [ebp - 4]
jae 0x41443c
push 1
inc ecx
pop eax
shl eax, cl
cmp eax, dword [ebp - 4]
jb 0x41442e
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
cmp eax, ecx
mov dword [ebp - 0x10], eax
jbe 0x414449
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x15
mov dword [ebp - 0x18], 5
ja 0x41445d
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 0x414460
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 0x4144e0
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 0x414460
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 0x4144f6
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 0x41452a
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 0x414511
jmp 0x41452a
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 0x4143ad
pop esi
pop edi
pop ebx
leave
ret 8
Function at 0x4166b1
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
mov eax, ecx
jbe 0x4167c8
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 0x4166c1
ret 4

Function at 0x419771
Capabilities:
Encode data using xor

Disassembly:
push esi
or eax, 0xffffffff
xor esi, esi
test edx, edx
jbe 0x41979e
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 + 0x44e780]
xor eax, edi
inc esi
cmp esi, edx
jb 0x41977d
pop edi
pop ebx
not eax
pop esi
ret
Function at 0x41a9c8
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x43d5f2
call fcn.0043b650
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.0041aa74
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.0040f256
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 0x41d3a3
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x43d9ea
call fcn.0043b650
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.00402b75
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0041d3fd
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x41d44f
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x43da35
call fcn.0043b650
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 3
call fcn.00429282
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0041d4a5
push dword [esi + 0x24]
call fcn.00401c54
and byte [ebp - 4], 0
pop ecx
lea ecx, [esi + 0xc]
call fcn.0042f305
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0041da69
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret