joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406760
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426556
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4334c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x24c], esi
call fcn.0040fb70
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x218]
push 0x7e
push eax
call fcn.0040f870
lea ecx, [ebp - 0x218]
add esp, 8
mov edx, eax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4067e5
sub ecx, edi
mov dword [ebp - 0x220], 0
sar ecx, 1
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 0
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x230]
movups xmmword [ebp - 0x230], xmm0
push eax
test edx, edx
je 0x4068de
call fcn.00401f10
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0040b960
push eax
push esi
mov byte [ebp - 4], 1
call fcn.00406d70
mov ecx, dword [ebp - 0x234]
add esp, 0x10
cmp ecx, 0xf
jbe 0x40688f
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406885
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406923
push ecx
push edx
call fcn.0040e153
add esp, 8
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x406906
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4068fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406923
jmp 0x4068fc
call fcn.00401f10
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 2
push eax
push esi
call fcn.0040b960
add esp, 8
jmp 0x4068aa
push ecx
push edx
call fcn.0040e153
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040e161
mov esp, ebp
pop ebp
ret
call fcn.0041155f
int3
Function at 0x40ebab
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40ebea
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40ebea
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40ebea
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40ebea
cmp dword [ecx + 0x74], 0xe
jbe 0x40ebea
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x419ccb
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00419c4d

Function at 0x41c511
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 + 0x434a98]
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 0x41c551
cmp byte [ebx], 0xa
jne 0x41c551
or byte [eax + edi + 0x28], 4
jmp 0x41c556
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41c654
mov al, byte [edx]
cmp al, 0x1a
je 0x41c636
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41c585
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41c5aa
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41c5b4
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 0x41c567
jmp 0x41c654
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 0x41c631
cmp dword [ebp - 0xc], 0
je 0x41c631
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x434a98]
test byte [eax + edi + 0x28], 0x48
je 0x41c60b
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41c5f6
mov byte [esi], dl
jmp 0x41c607
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x434a98]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41c654
cmp byte [ebp - 1], 0xa
jne 0x41c61a
cmp esi, ebx
jne 0x41c61a
mov byte [esi], 0xa
jmp 0x41c653
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041cf45
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41c654
mov byte [esi], 0xd
jmp 0x41c653
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x434a98]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41c650
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41c654
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41c65d
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 + 0x434a98]
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 0x41c6a0
cmp word [esi], dx
jne 0x41c6a0
or byte [edi + eax + 0x28], 4
jmp 0x41c6a5
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 0x41c7de
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 0x41c7be
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41c6e7
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41c71d
cmp eax, edx
jae 0x41c729
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 0x41c6bf
jmp 0x41c7de
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 0x41c7ba
cmp dword [ebp - 0x14], 0
je 0x41c7ba
mov eax, dword [ebx*4 + 0x434a98]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41c792
mov cx, word [ebp - 4]
pop eax
cmp cx, ax
je 0x41c7d8
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x434a98]
push 0xa
mov byte [edi + eax + 0x2a], cl
mov eax, dword [ebx*4 + 0x434a98]
shr cx, 8
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x434a98]
pop ecx
mov byte [edi + eax + 0x2c], cl
jmp 0x41c7db
pop ebx
cmp word [ebp - 4], bx
jne 0x41c7a3
cmp esi, dword [ebp + 0xc]
jne 0x41c7a3
mov word [esi], bx
jmp 0x41c7db
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041cf45
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41c7de
push 0xd
jmp 0x41c7d7
mov ecx, dword [ebx*4 + 0x434a98]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41c7d5
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41c7de
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 0x41e2f6
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c2b8
push 0x42c2b0
push str.FlsAlloc
push 0x1e
call fcn.0041e194
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41e32a
push dword [ebp + 8]
mov ecx, esi
call dword [0x4281d0]
call esi
jmp 0x41e330
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41e374
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c2c8
push 0x42c2c0
push str.FlsGetValue
push 0x20
call fcn.0041e194
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41e3ab
push dword [ebp + 8]
mov ecx, esi
call dword [0x4281d0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x41f6aa
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41f747
push ebx
push esi
call fcn.0041f673
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0041df90
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41f6f4
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41f746
push edi
push eax
call fcn.0041a57d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41f714
call fcn.0041a543
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41f745
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041df90
add esp, 0x20
test eax, eax
jne 0x41f733
push edi
call fcn.0041a543
jmp 0x41f73b
push ebx
call fcn.0041a543
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x424555
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.004244d1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4246cd
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4246cd
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x42467c
jg 0x4245ae
test eax, eax
je 0x424672
push 1
push 0x1000
call fcn.0041e6ad
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4245d4
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x424669
push 0x8000
push ebx
call fcn.00417c44
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 0x424600
jg 0x4245fb
cmp ecx, 0x1000
jb 0x424600
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0041d890
add esp, 0x10
cmp eax, 0xffffffff
je 0x424645
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 0x4245fb
jl 0x42462c
test ecx, ecx
jne 0x4245ed
push dword [ebp - 0xc]
push ebx
call fcn.00417c44
push esi
call fcn.0041a543
add esp, 0xc
xor edi, edi
jmp 0x4246de
cmp byte [edi + 0x24], 0
je 0x42465c
cmp dword [edi + 0x20], 5
jne 0x42465c
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x424667
mov edi, dword [edi + 0x18]
jmp 0x424669
xor edi, edi
push esi
call fcn.0041a543
pop ecx
jmp 0x4246de
test ecx, ecx
jg 0x42463e
jl 0x42467c
test eax, eax
jae 0x42463e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041cf45
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x42469f
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x42463e
jmp 0x4246d6
push ebx
call fcn.0041fb14
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x42463e
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 0x4246de
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4246db
mov edi, dword [edi + 0x18]
jmp 0x4246de
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0041cf45
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x425aa0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x425acd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x425acd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4ff340
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x97000]
push edi
or ebp, 0xffffffff
jmp 0x4ff362
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4ff369
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ff358
mov eax, 1
add ebx, ebx
jne 0x4ff37b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4ff38c
jne 0x4ff3ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ff3ab
dec eax
add ebx, ebx
jne 0x4ff398
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4ff370
add ebx, ebx
jne 0x4ff3a7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4ff3fd
xor ecx, ecx
sub eax, 3
jb 0x4ff3c3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4ff432
sar eax, 1
mov ebp, eax
jmp 0x4ff3ce
add ebx, ebx
jne 0x4ff3ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ff39c
inc ecx
add ebx, ebx
jne 0x4ff3dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ff39c
add ebx, ebx
jne 0x4ff3e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4ff3de
jne 0x4ff3fa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4ff3de
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4ff41c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4ff40e
jmp 0x4ff35e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4ff41c
add edi, ecx
jmp 0x4ff35e
pop esi
mov edi, esi
mov ecx, 0x3910
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4ff43a
cmp byte [edi], 0x13
jne 0x4ff43a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4ff43f
lea edi, [esi + 0xfc000]
mov eax, dword [edi]
or eax, eax
je 0x4ff4b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x103660]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x103778]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4ff46c
mov ecx, edi
jns 0x4ff49b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x10377c]
or eax, eax
je 0x4ff4b1
mov dword [ebx], eax
add ebx, 4
jmp 0x4ff489
call dword [esi + 0x103784]
mov ebp, dword [esi + 0x103780]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4ff4eb
sub esp, 0xffffff80
jmp 0x46e4d0
Function at 0x778ebab0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x778ebaee
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x778ebae6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x778ebaf0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x778ebad6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x778ebbc0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x778ebbf1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x778ebbf1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x778ebbf1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x7791639a
Capabilities:
Encode data using xor

Disassembly:
call 0x77916313
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 0x77916343
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 0x7791635f
xor edx, 0
jmp 0x7791636a
xor edx, edx
jmp 0x77916381
jmp 0x7791638d
xor eax, eax
push 0x8427d7c0
call 0x7791639a
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x779163d6
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 0x779163af
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 0x779163ed
add eax, 0
jno 0x779163f2
add esi, 0
ret 0x10
Function at 0x7791715b
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 0x7791717d
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 0x7791731f
cmp edi, dword [ebp + 0x10]
jb 0x7791731f
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.77916c47
inc edi
jmp 0x77917206
jmp 0x77917213
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.77916c47
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.77916c47
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 0x77917267
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 0x7791724b
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.77917295
add dword [eax], 0x39
jle 0x77917271
sub al, 0xf5
mov ch, al
call fcn.779172aa
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x77918f82
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 0x77918f98
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 0x77918fa9
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.77918fea
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 0x7791b356
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 0x7791b29f
add ebx, 0
push ecx
call 0x7791b2b4
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, 0x737dd2c4
sub ebx, dword [0x737fcb03]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x737fcaf3
call fcn.77916d7e
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.7791628c
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x7791b412
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x7791b412
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 0x7791b3c9
mov eax, 1
lock xchg dword [0x737fcaff], eax
push 0x3dd1fc71
call 0x7791b356
push esi
add esp, 8
cmp eax, 0
jne 0x7791b33f
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x7791b365
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x7791b37a
cmp ecx, edx
cmp eax, 0
je 0x7791b39f
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 0x7791b389
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.7791b3b8
dec eax
loope 0x7791b3bb
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x737fcaff], 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 0x7791b3ef
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x7791b404
jmp 0x7791b40f
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x7791b2fd
Function at 0x77922477
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 0x7792274d
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x737e9777
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x737e073d
push 0xffffffffffffffff
call fcn.77919677
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 0x779224e1
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.779224f9
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 0x77922741
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x77922715