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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x100291d0]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10017213
cmp byte [ebx], 0xa
jne 0x10017213
or byte [eax + edi + 0x28], 4
jmp 0x10017218
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x10017316
mov al, byte [edx]
cmp al, 0x1a
je 0x100172f8
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x10017247
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x1001726c
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x10017276
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x10017229
jmp 0x10017316
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100172f3
cmp dword [ebp - 0xc], 0
je 0x100172f3
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x100291d0]
test byte [eax + edi + 0x28], 0x48
je 0x100172cd
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x100172b8
mov byte [esi], dl
jmp 0x100172c9
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x100291d0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x10017316
cmp byte [ebp - 1], 0xa
jne 0x100172dc
cmp esi, ebx
jne 0x100172dc
mov byte [esi], 0xa
jmp 0x10017315
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10016fcc
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x10017316
mov byte [esi], 0xd
jmp 0x10017315
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x100291d0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x10017312
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10017316
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1001731f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x100291d0]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10017362
cmp word [esi], dx
jne 0x10017362
or byte [edi + eax + 0x28], 4
jmp 0x10017367
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x100174ba
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x1001749a
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x100173a9
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100173df
cmp eax, edx
jae 0x100173eb
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x10017381
jmp 0x100174ba
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10017496
cmp dword [ebp - 0x14], 0
je 0x10017496
mov eax, dword [ebx*4 + 0x100291d0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x1001746e
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x10017437
mov word [esi], cx
jmp 0x1001746a
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x100291d0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x100291d0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x100291d0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x100174ba
pop ebx
cmp word [ebp - 4], bx
jne 0x1001747f
cmp esi, dword [ebp + 0xc]
jne 0x1001747f
mov word [esi], bx
jmp 0x100174b7
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10016fcc
add esp, 0x10
cmp word [ebp - 4], bx
je 0x100174ba
push 0xd
jmp 0x100174b3
mov ecx, dword [ebx*4 + 0x100291d0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100174b1
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100174ba
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1001a551
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1001a4cd
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1001a6c9
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1001a6c9
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1001a678
jg 0x1001a5aa
test eax, eax
je 0x1001a66e
push 1
push 0x1000
call fcn.10013630
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1001a5d0
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x1001a665
push 0x8000
push ebx
call fcn.1001a3fe
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1001a5fc
jg 0x1001a5f7
cmp ecx, 0x1000
jb 0x1001a5fc
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10011d0e
add esp, 0x10
cmp eax, 0xffffffff
je 0x1001a641
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1001a5f7
jl 0x1001a628
test ecx, ecx
jne 0x1001a5e9
push dword [ebp - 0xc]
push ebx
call fcn.1001a3fe
push esi
call fcn.1001059a
add esp, 0xc
xor edi, edi
jmp 0x1001a6da
cmp byte [edi + 0x24], 0
je 0x1001a658
cmp dword [edi + 0x20], 5
jne 0x1001a658
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1001a663
mov edi, dword [edi + 0x18]
jmp 0x1001a665
xor edi, edi
push esi
call fcn.1001059a
pop ecx
jmp 0x1001a6da
test ecx, ecx
jg 0x1001a63a
jl 0x1001a678
test eax, eax
jae 0x1001a63a
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10016fcc
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1001a69b
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x1001a63a
jmp 0x1001a6d2
push ebx
call fcn.10016337
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1001a63a
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x1001a6da
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x1001a6d7
mov edi, dword [edi + 0x18]
jmp 0x1001a6da
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10016fcc
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001cc90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001ccbd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001ccbd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10134c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
dec eax
mov eax, esp
push ebx
dec eax
sub esp, 0xc0
vmovaps xmmword [eax - 0x18], xmm6
vmovaps xmmword [eax - 0x28], xmm7
lds edi, [eax + 0x29]
inc eax
enter 0x78c5, 0x29
dec eax
mov eax, 0x4a058b48
add eax, dword [edx]
add byte [eax + 0x33], cl
les ecx, [eax - 0x77]
inc esp
and al, 0x70
lds edi, [edx + 0x10]
add al, ah
inc ecx
jp 0x1013506
or ah, al
inc ecx
js 0x1013529
ror dword [eax - 0x75], 0xd9
jp 0x1013507
jne 0x1013507
mov cl, 1
jmp 0x1013509
add dh, byte [edx]
leave
xor cl, cl
vmovss xmm4, dword [edx + 4]
vmovss xmm5, dword [eax + 4]
vucomiss xmm4, xmm5
jp 0x1013521
jne 0x1013521
inc ecx
mov cl, 1
jmp 0x1013524
inc ebp
xor cl, cl
vmovss xmm6, dword [edx + 8]
vmovss xmm7, dword [eax + 8]
vucomiss xmm6, xmm7
jp 0x101353b
jne 0x101353b
mov al, 1
jmp 0x1013540
xor al, al
nop dword [eax]
test cl, cl
je 0x1013551
inc ebp
test cl, cl
je 0x1013551
test al, al
je 0x1013551
mov al, 1
jmp 0x1013553
xor al, al
test al, al
je 0x1013591
dec eax
mov dword [ebx], 0x3f800000
xor eax, eax
dec eax
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], eax
dec eax
mov dword [ebx + 0x14], 0x3f800000
dec eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x24], eax
dec eax
mov dword [ebx + 0x28], 0x3f800000
dec eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], 0x3f800000
jmp 0x1013616
vmulss xmm1, xmm5, xmm6
vmulss xmm0, xmm7, xmm4
vsubss xmm1, xmm1, xmm0
vmovss dword [esp + 0x20], xmm1
lds esi, [edx - 0x453a39a7]
pop ecx
xlatb
vsubss xmm1, xmm2, xmm0
lds edi, [edx - 0x4d3a3aa7]
pop ecx
fadd st(5), st(0)
cli
adc dword [esp + 0x24], ecx
vsubss xmm1, xmm3, xmm0
vmulss xmm0, xmm4, xmm5
vmulss xmm2, xmm1, xmm0
vmovss dword [esp + 0x28], xmm1
vaddss xmm3, xmm2, xmm0
vmulss xmm1, xmm7, xmm6
vaddss xmm0, xmm3, xmm1
call 0x1024664
vmovaps ymm1, ymmword [0x15a47]
vmovups ymmword [esp + 0x30], ymm1
vmovaps ymm1, ymmword [0x15a59]
vmovaps xmm2, xmm0
vmovups ymmword [esp + 0x50], ymm1
dec esp
lea ecx, [esp + 0x20]
dec eax
mov ecx, ebx
dec eax
lea edx, [esp + 0x30]
vzeroupper
call fcn.01013650
dec eax
mov eax, ebx
dec eax
mov ecx, dword [esp + 0x70]
dec eax
xor ecx, esp
call 0x1023230
dec esp
lea ebx, [esp + 0xc0]
vmovaps xmm6, xmmword [ebx - 0x10]
vmovaps xmm7, xmmword [ebx - 0x20]
les eax, [ecx + 0x78]
sub byte [ebx - 0x30], al
les eax, [ecx + 0x78]
sub byte [ebx - 0x40], cl
dec ecx
mov esp, ebx
pop ebx
ret
Function at 0x2fc211d
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
je 0x2fc2174
dec eax
jne 0x2fc217b
call fcn.02fc2045
test eax, eax
jge 0x2fc2140
xor eax, eax
jmp 0x2fc2195
mov esi, 0x104
push esi
mov edi, 0x2fd3160
push edi
mov dword [0x2fd3370], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x2fc213c
add eax, 2
cmp eax, esi
ja 0x2fc213c
push 0x2fc1438
push esi
push edi
call sub.msvcrt.dll_wcscat_s
add esp, 0xc
jmp 0x2fc217b
and dword [0x2fd3370], 0
cmp dword [0x2fd336c], 0
je 0x2fc2192
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.02fcc3bb
jmp 0x2fc2195
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x2fc2bca
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x2fd3078]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, byte [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_CharLowerA]
push eax
call edi
mov bl, al
push 0x100
lea eax, [ebp - 0x104]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [ebp - 0x104], 0
lea esi, [ebp - 0x104]
je 0x2fc2c3d
cmp byte [esi], 0x26
jne 0x2fc2c2f
inc esi
movzx eax, byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
jne 0x2fc2c2f
cmp byte [esi], 0x26
jne 0x2fc2c50
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
cmp byte [esi], 0
jne 0x2fc2c16
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.02fc29c2
leave
ret 8
movzx eax, byte [esi]
push eax
call edi
xor ecx, ecx
cmp al, bl
sete cl
mov eax, ecx
jmp 0x2fc2c3f
Function at 0x2fc68e9
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
xor eax, eax
push esi
mov esi, dword [ebp + 0xc]
mov word [ebp - 0x18], ax
mov word [ebp - 0x14], ax
mov word [ebp - 0x16], ax
mov ax, word [esi + 0x2c]
mov word [ebp - 0x10], ax
mov ax, word [esi + 0x28]
mov word [ebp - 0x12], ax
mov eax, 0x5a0
mov word [ebp - 0xe], ax
mov dword [ebp + 0xc], 0x5711
mov ax, word [ebp + 0xc]
push edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], 0x9ac6cdd7
lea ecx, [ebp - 0x18]
xor ax, word [ecx]
inc ecx
inc ecx
lea edx, [ebp - 8]
cmp ecx, edx
jb 0x2fc6938
mov word [ebp - 8], ax
lea eax, [ebp + 0xc]
push eax
push dword [esi + 0x24]
call fcn.02fc681e
mov edi, eax
test edi, edi
je 0x2fc69b9
push 4
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.02fc453e
mov ebx, eax
test ebx, ebx
jl 0x2fc69ad
push 0x12
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.02fc453e
mov ebx, eax
test ebx, ebx
jl 0x2fc69ad
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.02fc453e
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x2fc69ad
mov ecx, dword [ebp + 0xc]
add ecx, 0x16
mov dword [eax], ecx
push dword [ebp + 0xc]
push edi
call fcn.02fc50a2
mov dword [esi + 0x24], eax
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc

Function at 0x2fcc375
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x2fcc380
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
test eax, eax
jle 0x2fcc3b2
and eax, 0xffff
or eax, 0x80070000
pop ebp
ret 0xc
Function at 0x2fd0209
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x2fd3078]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [ebp + 8], 2
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
je 0x2fd02c5
cmp dword [0x2fd38a8], 0
jne 0x2fd02c5
push 0x2fd3160
mov esi, 0x10f
lea eax, [ebp - 0x224]
push esi
push eax
call sub.msvcrt.dll_wcscpy_s
push 0x2fc1da4
lea eax, [ebp - 0x224]
push esi
push eax
call sub.msvcrt.dll_wcscat_s
add esp, 0x18
lea eax, [ebp - 0x224]
push eax
call ebx
mov dword [0x2fd38a8], eax
test eax, eax
je 0x2fd02c5
push 0x2fc1d90
push eax
call edi
push 0x2fc1d7c
push dword [0x2fd38a8]
mov dword [0x2fd3880], eax
call edi
push 0x2fc1d60
push dword [0x2fd38a8]
mov dword [0x2fd387c], eax
call edi
push 0x2fc1d44
push dword [0x2fd38a8]
mov dword [0x2fd3878], eax
call edi
mov dword [0x2fd3874], eax
test byte [ebp + 8], 1
je 0x2fd036c
cmp dword [0x2fd38a4], 0
jne 0x2fd036c
push 0x2fd3160
mov esi, 0x111
lea eax, [ebp - 0x228]
push esi
push eax
call sub.msvcrt.dll_wcscpy_s
push 0x2fc1d28
lea eax, [ebp - 0x228]
push esi
push eax
call sub.msvcrt.dll_wcscat_s
add esp, 0x18
lea eax, [ebp - 0x228]
push eax
call ebx
mov dword [0x2fd38a4], eax
test eax, eax
jne 0x2fd0321
mov eax, 0x80004005
jmp 0x2fd036e
push 0x2fc1d10
push eax
call edi
mov dword [0x2fd38a0], eax
test eax, eax
je 0x2fd031a
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
push 0x2fc1ce4
call esi
push 0x2fc1cb8
mov word [0x2fd38ac], ax
call esi
push 0x2fc1c88
mov word [0x2fd38b0], ax
call esi
push 0x2fc1c58
mov word [0x2fd38b4], ax
call esi
mov word [0x2fd38b8], ax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.02fc29c2
leave
ret 4

Function at 0x2fd93d8
Capabilities:
Encode data using xor

Disassembly:
call 0x2fd9351
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x2fd9381
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x2fd939d
xor edx, 0
jmp 0x2fd93a8
xor edx, edx
jmp 0x2fd93bf
jmp 0x2fd93cb
xor eax, eax
push 0x8427d7c0
call 0x2fd93d8
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x2fd9414
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x2fd93ed
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x2fd942b
add eax, 0
jno 0x2fd9430
add esi, 0
ret 0x10
Function at 0x2fda199
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x2fda1bb
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x2fda35d
cmp edi, dword [ebp + 0x10]
jb 0x2fda35d
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.02fd9c85
inc edi
jmp 0x2fda244
jmp 0x2fda251
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.02fd9c85
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.02fd9c85
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x2fda2a5
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x2fda289
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.02fda2d3
add dword [eax], 0x39
jle 0x2fda2af
sub al, 0xf5
mov ch, al
call fcn.02fda2e8
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x2fdbfc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x2fdbfd6
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x2fdbfe7
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.02fdc028
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x2fde394
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x2fde2dd
add ebx, 0
push ecx
call 0x2fde2f2
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x718562d2
sub ebx, dword [0x71875b11]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x71875b01
call fcn.02fd9dbc
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.02fd92ca
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x2fde450
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x2fde450
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x2fde407
mov eax, 1
lock xchg dword [0x71875b0d], eax
push 0x3dd1fc71
call 0x2fde394
push esi
add esp, 8
cmp eax, 0
jne 0x2fde37d
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x2fde3a3
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x2fde3b8
cmp ecx, edx
cmp eax, 0
je 0x2fde3dd
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x2fde3c7
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.02fde3f6
dec eax
loope 0x2fde3f9
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x71875b0d], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x2fde42d
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x2fde442
jmp 0x2fde44d
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x2fde33b

Function at 0x2fe54b5
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x2fe578b
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x71862785
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x7185974b
push 0xffffffffffffffff
call fcn.02fdc6b5
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x2fe551f
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.02fe5537
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x2fe577f
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x2fe5753