joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407c20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4758dc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x14], esi
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x4c]
push ebx
mov byte [ebp - 4], 3
mov byte [ecx], al
call fcn.00401c50
lea edi, [esi + 0x94]
push edi
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
call dword [0x47a3cc]
push edi
mov dword [esi], 0x47a6e0
mov dword [esi + 0x5c], 0xffffffff
mov byte [esi + 4], bl
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
call dword [0x47a3cc]
lea edi, [esi + 0xb4]
push edi
call dword [0x47a3cc]
lea ecx, [ebp - 0x24]
push ebx
push ecx
call dword [0x47a3d0]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [edi], edx
mov edx, dword [ebp - 0x18]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0xc], edx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xc4], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x408570
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x475a2a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
mov dword [ebp - 4], 6
call fcn.0040c640
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea edi, [esi + 0x10]
push eax
push ecx
mov ecx, edi
call fcn.0040c640
lea ecx, [esi + 0x30]
call fcn.0040c090
lea ecx, [esi + 0x40]
call fcn.0040c090
lea ecx, [esi + 0x20]
call fcn.0040bbe0
lea ecx, [esi + 0x50]
call fcn.0040c090
lea ecx, [esi + 0x60]
call fcn.0040b9d0
xor ebx, ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov eax, dword [esi + 0x64]
push eax
mov dword [ebp - 0x14], eax
call fcn.0046bb94
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov eax, dword [esi + 0x54]
push eax
mov dword [ebp - 0x14], eax
call fcn.0046bb94
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x44]
push eax
mov dword [ebp - 0x14], eax
call fcn.0046bb94
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov eax, dword [esi + 0x34]
push eax
mov dword [ebp - 0x14], eax
call fcn.0046bb94
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov eax, dword [esi + 0x24]
push eax
mov dword [ebp - 0x14], eax
call fcn.0046bb94
add esp, 0x14
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push eax
push ecx
mov byte [ebp - 4], bl
mov ecx, edi
call fcn.0041d6c0
mov eax, dword [edi + 4]
push eax
call fcn.0046bb94
add esp, 4
mov ecx, esi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [ebp - 4], 0xffffffff
call fcn.00435620
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x418860
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476407
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push 0xc8
call fcn.0046bb6b
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
xor ebx, ebx
cmp esi, ebx
mov dword [ebp - 4], ebx
je 0x418963
push edi
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 dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x4c]
push ebx
mov byte [ebp - 4], 4
mov byte [ecx], al
call fcn.00401c50
lea edi, [esi + 0x94]
push edi
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
call dword [0x47a3cc]
push edi
mov dword [esi], 0x47a6e0
mov dword [esi + 0x5c], 0xffffffff
mov byte [esi + 4], bl
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
call dword [0x47a3cc]
lea edi, [esi + 0xb4]
push edi
call dword [0x47a3cc]
lea ecx, [ebp - 0x24]
push ebx
push ecx
call dword [0x47a3d0]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [edi], edx
mov edx, dword [ebp - 0x18]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xc4], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x422470
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477120
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x1c], esi
mov ecx, dword [esi + 8]
lea ebx, [esi + 4]
xor edi, edi
mov dword [ebp - 4], 6
cmp ecx, edi
jne 0x4224ab
mov dword [ebp - 0x10], edi
jmp 0x4224b6
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 2
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
xor eax, eax
cmp ecx, edi
mov dword [ebp - 0x14], eax
jle 0x4224ee
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + eax*4]
cmp ecx, edi
mov dword [ebp - 0x18], ecx
je 0x4224e3
call fcn.00422610
mov eax, dword [ebp - 0x18]
push eax
call fcn.0046bb94
mov eax, dword [ebp - 0x14]
add esp, 4
mov ecx, dword [ebp - 0x10]
inc eax
cmp eax, ecx
mov dword [ebp - 0x14], eax
jl 0x4224c2
mov eax, dword [esi + 0xdc]
cmp eax, edi
mov dword [ebp - 0x10], eax
je 0x422543
push 1
lea ecx, [eax + 0x4c]
mov dword [eax], 0x47a6e0
call fcn.00401c50
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.0040b320
mov edx, dword [ebp - 0x10]
lea ecx, [edx + 0x34]
call fcn.0040b320
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x28]
call fcn.0040b320
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.0040b320
mov edx, dword [ebp - 0x10]
push edx
call fcn.0046bb94
add esp, 4
mov eax, dword [esi + 0xc8]
push eax
mov dword [ebp - 0x18], eax
call fcn.0046bb94
add esp, 4
lea ecx, [esi + 0x6c]
mov dword [esi + 0xc8], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd0], edi
mov byte [ebp - 4], 4
call fcn.0043d9a0
mov eax, dword [esi + 0x44]
cmp eax, edi
je 0x422583
push eax
call fcn.0045125d
add esp, 4
mov dword [esi + 0x48], pe_nt_image_headers32
mov dword [esi + 0x4c], edi
mov eax, dword [esi + 0x38]
push eax
mov dword [ebp - 0x1c], eax
call fcn.0046bb94
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov eax, dword [esi + 0x28]
push eax
mov dword [ebp - 0x1c], eax
call fcn.0046bb94
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov eax, dword [esi + 0x18]
push eax
mov dword [ebp - 0x1c], eax
call fcn.0046bb94
add esp, 0xc
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
push eax
push ecx
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
call fcn.0041d6c0
mov edx, dword [ebx + 4]
push edx
call fcn.0046bb94
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x43ddd0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x9c0]
cmp eax, 0x270
jl 0x43deb5
cmp eax, 0x271
jne 0x43de08
push 0
call fcn.00451a46
push eax
call fcn.00451a17
add esp, 8
call fcn.00451a24
push eax
mov ecx, esi
call fcn.0043dd60
push edi
mov ecx, esi
mov edi, 0xe3
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
xor eax, edx
add ecx, 4
and eax, 0x7fffffff
xor eax, edx
mov edx, eax
and edx, 1
shr eax, 1
mov edx, dword [edx*4 + 0x48573c]
xor edx, eax
mov eax, dword [ecx + 0x630]
xor edx, eax
dec edi
mov dword [ecx - 4], edx
jne 0x43de10
lea ecx, [esi + 0x38c]
mov edi, 0x18c
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
xor eax, edx
add ecx, 4
and eax, 0x7fffffff
xor eax, edx
mov edx, eax
and edx, 1
shr eax, 1
mov edx, dword [edx*4 + 0x48573c]
xor edx, eax
mov eax, dword [ecx - 0x390]
xor edx, eax
dec edi
mov dword [ecx - 4], edx
jne 0x43de4a
mov ecx, dword [esi + 0x9bc]
mov edi, dword [esi]
mov eax, ecx
xor eax, edi
pop edi
and eax, 0x7fffffff
xor eax, ecx
mov ecx, eax
and ecx, 1
shr eax, 1
mov edx, dword [ecx*4 + 0x48573c]
mov ecx, dword [esi + 0x630]
xor edx, ecx
mov dword [esi + 0x9c0], 0
xor edx, eax
mov dword [esi + 0x9bc], edx
mov eax, dword [esi + 0x9c0]
mov ecx, dword [esi + eax*4]
inc eax
mov dword [esi + 0x9c0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
pop esi
mov edx, ecx
and edx, 0xff3a58ad
shl edx, 7
xor ecx, edx
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
Function at 0x469e10
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
cmp ecx, edx
je 0x469eb0
push ebx
push ebp
push esi
mov esi, dword [ecx]
push edi
xor eax, eax
mov byte [esi + 0x16], dl
mov esi, dword [ecx]
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov byte [esi + 0x18], dl
mov esi, dword [ecx]
mov byte [esi + 0x19], dl
mov edi, dword [ecx + 4]
xor esi, esi
cmp edi, edx
jle 0x469e62
mov ebp, dword [ecx]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x48dbec]
xor eax, edx
inc esi
cmp esi, edi
jl 0x469e43
xor edx, edx
mov edi, dword [ecx + 0xc]
xor esi, esi
cmp edi, edx
jle 0x469e8b
mov ebp, dword [ecx + 8]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x48dbec]
xor eax, edx
inc esi
cmp esi, edi
jl 0x469e6e
mov edx, dword [ecx]
pop edi
mov byte [edx + 0x16], al
mov esi, dword [ecx]
mov edx, eax
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov edx, eax
shr edx, 0x10
mov byte [esi + 0x18], dl
mov ecx, dword [ecx]
shr eax, 0x18
pop esi
pop ebp
mov byte [ecx + 0x19], al
pop ebx
ret
Function at 0x41b1c7
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
pushal
push ebp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add dl, dl
jne 0x41b1e4
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41b1d5
add dl, dl
jne 0x41b1ef
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41b23b
xor eax, eax
add dl, dl
jne 0x41b1fc
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41b2d8
add dl, dl
jne 0x41b20b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41b216
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41b221
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41b22c
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41b236
push edi
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
jmp 0x41b1db
mov eax, 1
add dl, dl
jne 0x41b249
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41b254
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41b240
sub eax, 2
jne 0x41b283
mov ecx, 1
add dl, dl
jne 0x41b269
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41b274
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41b260
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41b1db
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41b29a
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41b2a5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41b291
cmp eax, 0x7d00
jae 0x41b2c8
cmp eax, 0x500
jb 0x41b2c3
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41b1db
cmp eax, 0x7f
ja 0x41b2cb
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41b1db
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41b2f4
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41b1db
pop ebp
sub edi, dword [ebp + 0xc]
mov dword [ebp - 4], edi
popal
pop ebp
ret
Function at 0x409ea0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x118
mov eax, dword [0x4c6480]
mov dword [esp + 4], ecx
push esi
push edi
test al, 1
je 0x40b3d6
mov edi, dword [ebp + 0x10]
xor eax, eax
push 8
mov word [esp + 0x5c], 1
add dword [eax], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x2c], eax
mov word [esp + 0x30], 1
call fcn.00420db6
mov edx, eax
mov dword [esp + 0x20], eax
add esp, 4
test edx, edx
je 0x40b52a
mov dword [edx], 0x14
mov esi, dword [ebp + 0xc]
mov dword [edx + 4], 0
mov dword [esp + 0x54], edx
mov edx, dword [ebp + 8]
mov ecx, dword [esi]
mov dword [esp + 0x50], 1
mov dword [esp + 0x10], 0x17
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
movsx eax, word [eax + 0xa]
mov dword [esp + 0x5c], eax
jmp 0x409faa
or eax, 1
mov dword [0x4c6488], 0
push 0x43b5ec
mov dword [0x4c6480], eax
mov dword [0x4c6490], 0
mov dword [0x4c6494], 1
call fcn.00422d40
add esp, 4
jmp 0x409ebf
xor edx, edx
mov dword [esp + 0x1c], edx
jmp 0x409f04
Function at 0x468812
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
dec dword [0x4c3190]
jne 0x468824
call 0x382f88b4
mov eax, dword [0x4c6ef0]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4c6ef0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
jns 0x468867
fadd qword [0x4b9e48]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x4b9e20]
mov esp, ebp
pop ebp
ret

Function at 0x468877
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
mov dword [0x4c6530], ecx
inc esi
mov ecx, 0x4c6530
mov edx, esi
mov eax, dword [ecx]
shr eax, 0x1e
xor eax, dword [ecx]
imul eax, eax, 0x6c078965
add eax, edx
inc edx
mov dword [ecx + 4], eax
add ecx, 4
cmp ecx, 0x4c6eec
jl 0x468888
mov dword [0x4c3190], esi
mov dword [0x4c6518], esi
pop esi
ret

Function at 0x469134
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc0000dc
lea ecx, [ebp - 0xdc]
push esi
push edi
call fcn.00468f8a
push dword [ebp + 0x10]
lea ecx, [ebp - 0xdc]
call fcn.00468fd0
xor esi, esi
cmp dword [ebp + 0xc], esi
jbe 0x469178
mov edi, dword [ebp + 8]
push ecx
push ecx
lea ecx, [ebp - 0xdc]
call fcn.00469108
xor byte [esi + edi], al
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x469162
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x48c8e9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
add dh, al
sub byte [eax + 0x1a6a9e8], 0x93
dec ebx
test ch, dh
xor dword [esi - 0x6c], edx
dec ebx
adc al, 0x8b
inc ebx
or byte [ecx - 0x5ef3b275], cl
adc byte [eax + 0x4c], bl
aam 0x56
mov eax, dword [eax + ecx*4]
mov esi, dword [eax]
cmp byte [esi + 0x48396684], 0
je 0x48c926
adc eax, 0x5648f45c
push 0xfffffffffffffff4
mov ecx, 0x4c57b0
call fcn.0048619e
test dword [ebp + 0x18], esi
mov byte [esi + 0x48396684], 0
test dword [ebp + 0x14], esi
push 0xff060232
xor al, byte [edx]
push es
inc edi
inc esp
adc byte [ebx + 0x31f5844b], dl
Function at 0xeb4a60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0xedb010]
push edi
push 0xee49f0
call esi
push 0xee49f0
call esi
push 0xee49f0
call esi
push 0xee49f0
call esi
push 0xee49f0
call esi
mov edi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
push 0
call 0x3d02f1
nop
push eax
nop
call 0x777be026
mov ebx, eax
push 0xee49f0
mov dword [ebp - 4], ebx
call esi
push 0xee49f0
call esi
push 0xee49f0
call esi
push 0xee49f0
call esi
push 0xee49f0
call esi
push 0xee49f0
mov byte [ebx + edi], 0
call esi
push 0xee49f0
call esi
push 0xee49f0
call esi
push 0xee49f0
call esi
push 0xee49f0
call esi
xor edi, edi
cmp dword [ebp + 0x10], edi
jbe 0xeb4b7a
mov eax, dword [ebp + 8]
sub eax, ebx
mov dword [ebp - 8], eax
push 0xee49f0
call esi
push 0xee49f0
call esi
push 0xee49f0
call esi
push 0xee49f0
call esi
push 0xee49f0
call esi
mov ecx, dword [ebp + 0xc]
push ecx
add ebx, edi
nop
call 0x766b43d3
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
mov eax, dword [ebp + 0xc]
add esp, 4
push 0xee49f0
mov cl, byte [edx + eax]
mov edx, dword [ebp - 8]
xor cl, byte [edx + ebx]
mov byte [ebx], cl
call esi
push 0xee49f0
call esi
push 0xee49f0
call esi
push 0xee49f0
call esi
push 0xee49f0
call esi
mov ebx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp + 0x10]
jb 0xeb4b06
push 0xee49f0
call esi
push 0xee49f0
call esi
push 0xee49f0
call esi
push 0xee49f0
call esi
push 0xee49f0
call esi
lea eax, [ebp - 0xc]
push eax
push 0x100
push 4
push ebx
mov dword [ebp - 0xc], 0
call 0x3d02f6
nop
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xeb6ef0
Capabilities:
Parse pe header

Disassembly:
cmp dword [ebx + 4], 0x40
jb 0xeb6f91
mov eax, dword [ebx]
push 0x40
push eax
push esi
call 0x766a9910
nop
mov ecx, 0x5a4d
add esp, 0xc
cmp word [esi], cx
jne 0xeb6fc0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0xeb6fc0
lea edx, [eax + 0xf8]
cmp edx, dword [ebx + 4]
ja 0xeb6f91
mov ecx, dword [ebx]
push edi
push 0xf8
add ecx, eax
push ecx
lea edi, [esi + 0x40]
push edi
nop
call 0x766a9910
add esp, 0xc
cmp dword [edi], 0x4550
pop edi
jne 0xeb6fc0
mov edx, 0x10b
cmp word [esi + 0x58], dx
jne 0xeb6fc0
movzx eax, word [esi + 0x46]
test ax, ax
je 0xeb6fc0
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
add eax, eax
push eax
push 8
mov dword [esi + 0x140], eax
call dword [fcn.010e90f4]
push eax
call dword [fcn.010e9088]
mov dword [esi + 0x138], eax
test eax, eax
jne 0xeb6f97
mov eax, 3
ret
mov eax, 1
ret
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
lea ecx, [ecx + edx + 0x18]
mov edx, dword [esi + 0x140]
push ebx
push edx
push ecx
push eax
mov dword [esi + 0x13c], ecx
call fcn.00eb7590
add esp, 0x10
neg eax
sbb eax, eax
inc eax
ret
mov eax, 2
ret
Function at 0x13afd00
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x10e90e0]
test esi, esi
jne 0x13afd18
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x13afd11
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x13afd11
mov eax, dword [eax + esi + 0x78]
mov ecx, dword [eax + esi + 0x1c]
add eax, esi
add ecx, esi
push ebx
mov ebx, dword [eax + 0x20]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
push edi
add ecx, esi
add ebx, esi
xor edi, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x13afd7a
jmp 0x13afd60
mov eax, dword [ebx + edi*4]
mov ecx, dword [0x10e8bf0]
add eax, esi
call fcn.013ad7e0
test eax, eax
je 0x13afd83
inc edi
cmp edi, dword [ebp - 4]
jb 0x13afd60
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + edi*2]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
pop edi
pop ebx
add eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42a4a6
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x42a4de
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x42a4cc
mov al, 1
jmp 0x42a53d
cmp dword [ebx + 0x54], ecx
jne 0x42a4d5
mov al, 2
jmp 0x42a53d
cmp dword [ebx + 0x7c], ecx
jne 0x42a53d
mov al, 3
jmp 0x42a53d
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x42a4f3
mov al, 4
jmp 0x42a53d
cmp ecx, 5
jne 0x42a513
cmp ebx, 0
jne 0x42a501
mov al, 5
jmp 0x42a53d
cmp ebx, 1
jne 0x42a50a
mov al, 6
jmp 0x42a53d
cmp ebx, 2
jne 0x42a513
mov al, 7
jmp 0x42a53d
cmp ecx, 6
jne 0x42a53b
cmp ebx, 0
jne 0x42a521
mov al, 8
jmp 0x42a53d
cmp ebx, 1
jne 0x42a528
mov al, 9
cmp ebx, 2
jne 0x42a52f
mov al, 0xa
cmp ebx, 3
jne 0x42a536
mov al, 0xb
cmp ebx, 4
jne 0x42a53d
mov al, 0xc
pop ebx
leave
ret
Function at 0x4665f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x50408b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004f860c
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x466672
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004f5e30
mov eax, dword [eax]
push 0x555244
push eax
call fcn.004e74b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004f8897
test bl, bl
je 0x466672
push 0x555244
lea ecx, [esp + 0xc]
call fcn.004f8c27
push 0x558de8
lea ecx, [esp + 0xc]
call fcn.004f8c27
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4666ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004f8897
jmp 0x466779
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x466732
lea edx, [esp + 0x7c]
push 0x558de4
push edx
call fcn.004e74b4
add esp, 8
test eax, eax
je 0x466732
lea eax, [esp + 0x7c]
push 0x558de0
push eax
call fcn.004e74b4
add esp, 8
test eax, eax
je 0x466732
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4666c2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004f8897
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x466f70
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x466fd2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc