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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
test byte [esi + 0x12], 4
jne 0x68ba72
call fcn.00679d2c
mov dword [ebp - 8], eax
test eax, eax
jne 0x68b917
mov edx, 0x43fd30
lea ecx, [edx + 1]
jmp 0x68b8dc
mov al, byte [edx]
inc edx
test al, al
jne 0x68b8dc
sub edx, ecx
js 0x68b903
mov ecx, 0x43fd30
call fcn.00678f0c
push eax
mov edx, 0x1f7
mov ecx, esi
call fcn.0068e33c
jmp 0x68ba27
xor eax, eax
mov edx, 0x1f7
push eax
mov ecx, esi
call fcn.0068e33c
jmp 0x68ba27
call fcn.0069a7ff
mov edi, eax
mov dword [ebp - 4], edi
test edi, edi
jne 0x68b967
call fcn.00698a21
mov ecx, dword [eax]
call fcn.00697a0c
mov edx, eax
lea ebx, [edx + 1]
lea ebx, [ebx]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x68b93c
sub edx, ebx
js 0x68b950
mov ecx, eax
call fcn.00678f0c
jmp 0x68b952
xor eax, eax
push eax
mov edx, 0x1f7
mov ecx, esi
call fcn.0068e33c
add esp, 4
jmp 0x68ba15
push 0
push edi
call ebx
push edi
call fcn.0069a24d
add esp, 0xc
push edi
call fcn.0069a81b
add esp, 4
xor ebx, ebx
push edi
push 0x1000
push 1
push dword [ebp - 8]
call fcn.0069aa9f
mov edi, eax
add esp, 0x10
test edi, edi
jle 0x68b9ea
mov edx, dword [ebp - 8]
mov ecx, esi
push edi
push ebx
call fcn.0068ddec
add esp, 8
test eax, eax
js 0x68b9b3
add ebx, edi
mov edi, dword [ebp - 4]
jmp 0x68b980
mov edx, 0x43fd48
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x68b9bc
sub edx, ecx
js 0x68b9d3
mov ecx, 0x43fd48
call fcn.00678f0c
jmp 0x68b9d5
xor eax, eax
push eax
mov edx, 0x1f7
mov ecx, esi
call fcn.0068e33c
mov edi, dword [ebp - 4]
add esp, 4
jmp 0x68ba15
mov edi, dword [ebp - 4]
push edi
call fcn.0069ab4b
add esp, 4
test eax, eax
je 0x68ba12
call fcn.00698a21
mov ecx, dword [eax]
call fcn.00697a0c
mov ecx, eax
call fcn.0067903c
jmp 0x68b952
mov dword [esi + 0x20], ebx
mov ecx, dword [ebp - 8]
call fcn.00679e5c
test edi, edi
je 0x68ba2a
push edi
call fcn.006999fd
add esp, 4
movsx eax, word [esi]
push eax
push esi
push 0x440470
push 0x2000
call fcn.00678ebc
inc word [esi]
lea ecx, [esi + 0x78]
call fcn.0068368c
movsx eax, word [esi]
push eax
push esi
push 0x440480
push 0x2000
call fcn.00678ebc
add esp, 0x20
dec word [esi]
jne 0x68ba72
test byte [esi + 0x12], 1
jne 0x68ba72
mov ecx, esi
call fcn.0068e13c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x68ba7c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, 0x43fd88
lea ecx, [edx + 1]
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x68ba8c
sub edx, ecx
js 0x68baa3
mov ecx, 0x43fd88
call fcn.00678f0c
jmp 0x68baa5
xor eax, eax
push 0x43fd6c
push 0x407410
push 0x43fedc
mov edx, 2
mov ecx, eax
call fcn.0067db3c
mov edx, 0x43fd94
add esp, 0xc
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x68bacc
sub edx, ecx
push ebx
push esi
push edi
js 0x68bae8
mov ecx, 0x43fd94
call fcn.00678f0c
mov edi, eax
jmp 0x68baea
xor edi, edi
mov esi, dword [0x443b40]
test esi, esi
je 0x68baff
cmp dword [esi], edi
je 0x68bb14
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x68baf4
push 0x18
call fcn.00698280
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x68bb36
jmp 0x68bcb4
test esi, esi
je 0x68baff
lea eax, [edi + 0xa]
push eax
push 0x43c434
push 1
call fcn.00678ebc
add esp, 0xc
cmp dword [esi + 4], 9
je 0x68baff
jmp 0x68bcca
test edi, edi
je 0x68bb51
push dword [edi]
push edi
push 0x43b344
push 0x1000
call fcn.00678ebc
add esp, 0x10
inc dword [edi]
mov eax, dword [0x443b40]
mov esi, eax
mov dword [ebx], edi
mov dword [ebx + 4], 9
mov dword [ebx + 8], 0x443bc4
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0x43fdb0
mov dword [ebp - 4], 0
test esi, esi
je 0x68bc12
add edi, 0xa
lea esp, [esp]
mov eax, dword [esi]
mov ecx, edi
add eax, 0xa
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x68bbb3
test dl, dl
je 0x68bbaf
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x68bbb3
add eax, 2
add ecx, 2
test dl, dl
jne 0x68bb93
xor eax, eax
jmp 0x68bbb8
sbb eax, eax
or eax, 1
test eax, eax
jns 0x68bbca
mov edx, esi
mov esi, dword [esi + 0x14]
mov dword [ebp - 4], edx
test esi, esi
jne 0x68bb8c
jmp 0x68bc01
mov edx, dword [esi]
add edx, 0xa
mov eax, edx
mov cl, byte [eax]
cmp cl, byte [edi]
jne 0x68bbf1
test cl, cl
je 0x68bbed
mov cl, byte [eax + 1]
cmp cl, byte [edi + 1]
jne 0x68bbf1
add eax, 2
add edi, 2
test cl, cl
jne 0x68bbd1
xor eax, eax
jmp 0x68bbf6
sbb eax, eax
or eax, 1
test eax, eax
je 0x68bcd1
mov edx, dword [ebp - 4]
test edx, edx
je 0x68bc0d
mov dword [ebx + 0x14], esi
mov dword [edx + 0x14], ebx
jmp 0x68bc1b
mov eax, dword [0x443b40]
mov dword [ebx + 0x14], eax
mov dword [0x443b40], ebx
mov edx, 0x43fd9c
pop edi
pop esi
pop ebx
lea ecx, [edx + 1]
lea ebx, [ebx]
mov al, byte [edx]
inc edx
test al, al
jne 0x68bc2c
sub edx, ecx
js 0x68bc43
mov ecx, 0x43fd9c
call fcn.00678f0c
jmp 0x68bc45
xor eax, eax
push 0x43fe14
push 0
push 0x43fed8
mov edx, 1
mov ecx, eax
call fcn.0067db3c
mov edx, 0x43fe5c
add esp, 0xc
lea ecx, [edx + 1]
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x68bc6c
sub edx, ecx
js 0x68bc83
mov ecx, 0x43fe5c
call fcn.00678f0c
jmp 0x68bc85
xor eax, eax
push 0x43fe34
push 0x407410
push 0x443bcc
mov edx, 4
mov ecx, eax
call fcn.0067db3c
add esp, 0xc
call fcn.00698911
add eax, 0x40
mov dword [0x443d10], eax
mov esp, ebp
pop ebp
ret
push 0x43c468
push 1
call fcn.00678ebc
add esp, 8
push 1
call fcn.00698820
push 1
call fcn.00698820
push edx
push 0x43c48c
push 1
call fcn.00678ebc
add esp, 0xc
call fcn.00698834
int3
Function at 0x68bd5c
Capabilities:
Terminate process

Disassembly:
cmp dword [0x443bd4], 0
mov eax, dword [0x443bc4]
je 0x68bd9c
test eax, eax
jne 0x68bda0
cmp dword [0x443bc8], eax
jne 0x68bdd3
mov edx, 0x43fe6c
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x68bd7e
sub edx, ecx
js 0x68bd95
mov ecx, 0x43fe6c
call fcn.00678f0c
jmp 0x68bd97
xor eax, eax
mov dword [0x443bc4], eax
test eax, eax
je 0x68bdc6
cmp word [eax + 8], 0
jbe 0x68bdc6
mov ecx, eax
call fcn.00697bec
mov dword [0x443bc4], eax
call fcn.0068bcec
test eax, eax
je 0x68bdde
mov dword [0x443d10], eax
mov eax, dword [0x443bc4]
cmp dword [0x443bc8], 0
je 0x68bddd
test eax, eax
jne 0x68bddd
mov dword [0x443d10], 0
ret
call fcn.00698a21
mov ecx, dword [0x443bc4]
add ecx, 0xa
push ecx
push 0x43fe7c
push dword [eax]
push 1
call fcn.006798ac
add esp, 0x10
push 1
call fcn.00698820
int3

Function at 0x68be0c
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x443bc4]
test eax, eax
je 0x68be3d
cmp word [eax + 8], 0
jbe 0x68be3d
push esi
call fcn.0068bcec
mov esi, eax
test esi, esi
je 0x68be3e
push dword [0x443d10]
call fcn.006999fd
add esp, 4
mov dword [0x443d10], esi
pop esi
ret
call fcn.00698a21
mov ecx, dword [0x443bc4]
add ecx, 0xa
push ecx
push 0x43fe98
push dword [eax]
push 1
call fcn.006798ac
add esp, 0x10
push 1
call fcn.00698820
int3
Function at 0x68d33c
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [0x440694]
cmp ecx, 0x10
jge 0x68d368
push 0x10
push 0x440380
push 2
mov dword [0x440694], 0x10
call fcn.00678ebc
mov ecx, dword [0x440694]
add esp, 0xc
mov edx, dword [0x443be4]
push esi
xor esi, esi
test edx, edx
jne 0x68d37a
lea esi, [edx + 1]
jmp 0x68d386
cmp edx, 8
jl 0x68d386
lea eax, [ecx - 4]
cmp edx, eax
jl 0x68d3ac
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [0x443be4], eax
test esi, esi
jne 0x68d3ac
push eax
push 0x4403b4
push 2
call fcn.00678ebc
mov ecx, dword [0x440694]
add esp, 0xc
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [fcn.00443bf0]
sar eax, 1
push edi
mov edi, 1
cmp edx, eax
jle 0x68d3cc
mov eax, ecx
shl eax, 0xa
cmp edx, eax
jle 0x68d3d8
xor eax, eax
test edx, edx
mov edx, ecx
cmovne edi, eax
shl edx, 4
xor ecx, ecx
lea eax, [ecx + 1]
cmp edx, eax
jle 0x68d3e8
add eax, eax
inc ecx
cmp eax, edx
jl 0x68d3e1
mov esi, 1
mov dword [0x444e08], ecx
mov eax, esi
shl eax, cl
test edi, edi
mov dword [fcn.00443bf0], eax
pop edi
jne 0x68d417
push eax
push 0x4403ec
push 2
call fcn.00678ebc
mov ecx, dword [0x444e08]
add esp, 0xc
shl esi, cl
push 4
push esi
mov dword [0x443be0], 0
mov dword [0x443bec], 0
mov dword [0x444e10], 0
mov dword [0x444e0c], 0
call fcn.00698240
add esp, 8
mov dword [0x443d14], eax
pop esi
test eax, eax
je 0x68d457
ret
push 0x440424
push 1
call fcn.00678ebc
add esp, 8
push 1
call fcn.00698820
int3
Function at 0x68fb9c
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [0x443c08]
mov eax, dword [0x443c18]
mov dword [0x443c0c], 0
test ecx, ecx
jne 0x68fbbd
test eax, eax
je 0x68fbf4
mov ecx, eax
jmp 0x68fbc3
test eax, eax
jne 0x68fbc3
mov eax, ecx
add eax, 0xfff
cdq
and edx, 0xfff
add eax, edx
and eax, 0xfffff000
mov dword [0x443c18], eax
lea eax, [ecx + 0xfff]
cdq
and edx, 0xfff
add eax, edx
and eax, 0xfffff000
mov dword [0x443c08], eax
mov edx, dword [0x44203c]
mov eax, 1
mov ecx, dword [0x442030]
cmp edx, eax
push esi
cmovl edx, eax
cmp ecx, eax
push edi
cmovl ecx, eax
mov dword [0x44203c], edx
mov eax, dword [0x442050]
cmp ecx, edx
cmovg ecx, edx
cmp eax, ecx
mov dword [0x442030], ecx
cmovl eax, ecx
cmp eax, edx
cmovg eax, edx
mov dword [0x442050], eax
call fcn.0068fa8c
mov eax, 0x88888889
imul dword [0x44202c]
add edx, dword [0x44202c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, 0x3c
add eax, edx
js 0x68fc6b
mov esi, dword [0x444e38]
mov edi, dword [0x444e3c]
add esi, eax
jmp 0x68fc6f
xor esi, esi
xor edi, edi
push 0x17
call fcn.00698280
add esp, 4
test eax, eax
jne 0x68fc98
push 0x43dae8
push 1
call fcn.00678ebc
add esp, 8
mov dword [0x443b50], 2
jmp 0x68fcb2
mov ecx, eax
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 0x10], 0x417a50
call fcn.006829bc
test eax, eax
je 0x68fcb2
pop edi
pop esi
ret
push 0x440b94
push 1
call fcn.00678ebc
add esp, 8
push 1
call fcn.00698820
int3
Function at 0x69538c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, dword [0x443c1c]
push esi
push edi
xor esi, esi
or edi, 0xffffffff
mov dword [ebp - 4], esi
test ecx, ecx
je 0x6953e8
cmp word [ecx + 8], si
jne 0x6953b9
call fcn.006791cc
mov dword [0x443c1c], esi
jmp 0x6953e8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0067905c
add esp, 8
test eax, eax
jle 0x695441
mov esi, dword [ebp - 8]
lea eax, [esi + 0xa]
push eax
call fcn.006991d0
add esp, 4
mov ecx, esi
mov edi, eax
call fcn.006791cc
mov esi, dword [ebp - 4]
mov ecx, dword [0x443c2c]
test ecx, ecx
je 0x6953f7
call fcn.006791cc
mov ecx, dword [0x443c20]
mov dword [0x442184], edi
mov dword [0x443c2c], esi
pop edi
pop esi
test ecx, ecx
je 0x695414
call fcn.006791cc
mov eax, dword [0x443c24]
mov dword [0x443c20], 0
mov dword [0x442188], 0xffffffff
cmp eax, dword [0x444e04]
je 0x69543d
cmp eax, dword [0x444e00]
jne 0x695457
mov esp, ebp
pop ebp
ret
push 0x442110
push 1
call fcn.00678ebc
add esp, 8
push 1
call fcn.00698820
add eax, 0xa
push eax
push 0x442130
push 1
call fcn.00678ebc
add esp, 0xc
push 1
call fcn.00698820
int3
Function at 0x6961bc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [0x443c38]
test ecx, ecx
je 0x696281
add ecx, 0xa
je 0x696281
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6961dc
sub ecx, edx
je 0x696281
cmp dword [0x443c30], 0
je 0x696285
mov eax, dword [0x443c3c]
test eax, eax
je 0x696232
lea ecx, [eax + 0xa]
test ecx, ecx
je 0x696232
mov edx, ecx
push esi
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x69620e
sub edx, esi
pop esi
je 0x696232
mov edx, 0x444dfc
mov dword [0x444dfc], 0
call fcn.0068c72c
test eax, eax
je 0x69629b
push 0x1b
call fcn.00698280
add esp, 4
test eax, eax
jne 0x69625b
push 0x43dae8
push 1
call fcn.00678ebc
add esp, 8
mov dword [0x443b50], 2
jmp 0x6962b1
mov ecx, eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0x10], 0x41e410
mov dword [eax + 0x14], 0
call fcn.006829bc
test eax, eax
je 0x6962b1
mov esp, ebp
pop ebp
ret
push 0x442250
push 1
call fcn.00678ebc
add esp, 8
push 1
call fcn.00698820
push 0x44228c
push 1
call fcn.00678ebc
add esp, 8
push 1
call fcn.00698820
push 0x4422b0
push 1
call fcn.00678ebc
add esp, 8
push 1
call fcn.00698820
int3
Function at 0x6963bc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x43a400]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x443c38]
test eax, eax
je 0x6965f9
cmp word [eax + 8], 0
je 0x6965f9
push esi
lea esi, [eax + 0xa]
push 0x442328
push esi
call fcn.006996f2
add esp, 8
mov dword [ebp - 0x208], eax
test eax, eax
jne 0x69642c
call fcn.00698a21
push dword [eax]
push esi
push 0x44232c
push 1
call fcn.00678ebc
add esp, 0x10
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006981f9
mov esp, ebp
pop ebp
ret
push eax
lea eax, [ebp - 0x204]
push 0x200
push eax
call fcn.006994ef
add esp, 0xc
test eax, eax
je 0x69659d
push ebx
push edi
nop
lea eax, [ebp - 0x204]
push 0x442358
push eax
call fcn.0069b933
push 0x44235c
push 0
mov edi, eax
call fcn.0069b933
add esp, 0x10
mov esi, eax
test edi, edi
je 0x696579
test esi, esi
je 0x696579
lea edx, [ebp - 0x20c]
mov ecx, edi
call fcn.0068c72c
test eax, eax
je 0x696579
lea edx, [ebp - 0x210]
mov ecx, esi
call fcn.0068c72c
test eax, eax
je 0x696579
mov esi, dword [ebp - 0x210]
push esi
call dword [fcn.00434178]
mov edx, eax
mov ebx, 0x20
test dl, 1
jne 0x6964d9
xor ecx, ecx
lea esp, [esp]
inc ecx
mov eax, 1
shl eax, cl
dec ebx
test edx, eax
je 0x6964cc
xor edi, edi
test ebx, ebx
jle 0x6964f9
mov ecx, 0x1f
mov edx, ebx
lea ebx, [ebx]
mov eax, 1
shl eax, cl
dec ecx
or edi, eax
dec edx
jne 0x6964ec
push esi
call dword [fcn.00434178]
cmp edi, eax
jne 0x696579
cmp dword [0x443c40], 0
jne 0x696556
push 0xc
call fcn.00698280
mov edi, eax
add esp, 4
test edi, edi
je 0x696548
push 0x10
call fcn.00698280
add esp, 4
mov dword [edi + 8], eax
test eax, eax
jne 0x69653b
push edi
call fcn.00698208
add esp, 4
xor edi, edi
jmp 0x696548
mov dword [edi + 4], 0
mov dword [edi], 4
mov dword [0x443c40], edi
test edi, edi
je 0x696619
mov eax, dword [ebp - 0x20c]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], ebx
call fcn.0069667c
push dword [ebp - 0x208]
lea eax, [ebp - 0x204]
push 0x200
push eax
call fcn.006994ef
add esp, 0xc
test eax, eax
jne 0x69644c
pop edi
pop ebx
push dword [ebp - 0x208]
call fcn.006999fd
mov ecx, dword [0x443c40]
add esp, 4
test ecx, ecx
je 0x6965e5
push 0x41e780
push 4
push dword [ecx + 4]
push dword [ecx + 8]
call fcn.0069b52c
mov ecx, dword [0x443c40]
add esp, 0x10
cmp dword [ecx + 8], 0
je 0x6965db
call fcn.006966fc
mov dword [0x443c34], 1
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006981f9
mov esp, ebp
pop ebp
ret
push 0x442300
push 1
call fcn.00678ebc
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
or eax, 0xffffffff
call fcn.006981f9
mov esp, ebp
pop ebp
ret
push 0x442360
push 1
call fcn.00678ebc
add esp, 8
push 1
call fcn.00698820
int3
Function at 0x697cec
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x43a400]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x1b6
mov edi, ecx
push 0x501
push edi
call fcn.006a2d14
mov esi, eax
add esp, 0xc
test esi, esi
js 0x697d66
push ebx
call fcn.0069bdeb
push eax
push 0x442a30
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.0068c6fc
mov ebx, eax
add esp, 0x10
cmp ebx, 0xf
ja 0x697dac
push ebx
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.006a00e0
add esp, 0xc
cmp eax, ebx
pop ebx
push esi
jne 0x697d84
call fcn.006a12fa
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
call fcn.006981f9
mov esp, ebp
pop ebp
ret
call fcn.00698a21
push edi
push 0x442a14
push dword [eax]
push 1
call fcn.006798ac
add esp, 0x10
push 1
call fcn.00698820
call fcn.006a12fa
push edi
call fcn.006aaedb
call fcn.00698a21
push 0x442a50
push dword [eax]
push 1
call fcn.006798ac
add esp, 0x14
push 1
call fcn.00698820
push esi
call fcn.006a12fa
push edi
call fcn.006aaedb
push 0x442a38
push 1
call fcn.00678ebc
add esp, 0x10
push 1
call fcn.00698820
int3

Function at 0x697ddc
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp + 8]
xor eax, eax
xor esi, esi
test ecx, ecx
jle 0x697eb0
push edi
lea edi, [ecx - 1]
mov dword [ebp - 8], edi
lea edi, [ecx - 2]
mov ch, byte [esi + edx]
cmp esi, dword [ebp - 8]
jge 0x697e13
mov cl, byte [esi + edx + 1]
mov byte [ebp - 2], cl
jmp 0x697e17
mov byte [ebp - 2], 0
cmp esi, edi
jge 0x697e24
mov cl, byte [esi + edx + 2]
mov byte [ebp - 1], cl
jmp 0x697e28
mov byte [ebp - 1], 0
movzx edi, byte [ebp - 2]
movzx edx, ch
mov ecx, edx
and edx, 3
shr ecx, 2
shl edx, 4
mov cl, byte [ecx + 0x438390]
mov byte [eax + ebx], cl
mov ecx, edi
shr ecx, 4
or ecx, edx
mov dl, byte [ebp - 1]
mov cl, byte [ecx + 0x438390]
mov byte [eax + ebx + 1], cl
cmp esi, dword [ebp - 8]
jge 0x697e76
and edi, 0xf
movzx ecx, dl
shr ecx, 6
shl edi, 2
or ecx, edi
mov cl, byte [ecx + 0x438390]
mov byte [eax + ebx + 2], cl
jmp 0x697e7b
mov byte [eax + ebx + 2], 0x3d
mov ecx, dword [ebp + 8]
add eax, 3
lea edi, [ecx - 2]
cmp esi, edi
jge 0x697e9c
movzx ecx, dl
and ecx, 0x3f
mov cl, byte [ecx + 0x438390]
mov byte [eax + ebx], cl
mov ecx, dword [ebp + 8]
jmp 0x697ea0
mov byte [eax + ebx], 0x3d
mov edx, dword [ebp - 0xc]
add esi, 3
inc eax
cmp esi, ecx
jl 0x697e02
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x7ffe057e
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..rsrc
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x589369f6
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0xbb3b79
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx + 0xc]
jb 0xbb3bb3
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x10]
cmp dword [ebp + 8], ecx
jb 0xbb3bd8
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 6]
cmp dword [ebp - 8], ecx
jle 0xbb3bc4
mov eax, dword [ebp + 8]
jmp 0xbb3bed
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
add eax, 0x28
mov dword [ebp - 4], eax
jmp 0xbb3b97
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
sub edx, dword [ecx + 0xc]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x14]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0xbc60b9
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100928f0]
xor eax, ebp
mov dword [ebp - 4], eax
xorpd xmm0, xmm0
movlpd qword [ebp - 0xc], xmm0
mov eax, dword [0x10095fa0]
or eax, dword [0x10095fa4]
jne 0xbc6120
push 0x33
call fcn.00bc60e6
mov eax, dword [0x10095fa0]
mov dword [ebp - 0xc], eax
mov ecx, dword [0x10095fa4]
mov dword [ebp - 8], ecx
push 0x33
call fcn.00bc6138

Function at 0xbd0539
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100928f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
cmp dword [ebp + 8], 0
je 0xbd0563
cmp dword [ebp + 0xc], 0
jne 0xbd055d
cmp dword [ebp + 0x10], 0
je 0xbd0563
cmp dword [ebp + 0x14], 0
jne 0xbd0567
xor al, al
jmp 0xbd05cb
mov byte [ebp - 5], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
push 0x33
call fcn.00bd057e
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00c12fcd
mov esp, ebp
pop ebp
ret

Function at 0xbd09c9
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100928f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
cmp dword [ebp + 8], 0
je 0xbd09f3
cmp dword [ebp + 0xc], 0
jne 0xbd09ed
cmp dword [ebp + 0x10], 0
je 0xbd09f3
cmp dword [ebp + 0x14], 0
jne 0xbd09f5
jmp 0xbd0a48
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
push 0x33
call 0xbd0a08
add dword [esp], 5
retf
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00c12fcd
mov esp, ebp
pop ebp
ret

Function at 0xbd0aa9
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100928f0]
xor eax, ebp
mov dword [ebp - 4], eax
xorpd xmm0, xmm0
movlpd qword [ebp - 0xc], xmm0
push 0x33
call 0xbd0ac9
add dword [esp], 5
retf
Function at 0xbd8529
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x1505
add eax, esi
mov ecx, eax
sub ecx, esi
push edi
xor edi, edi
cmp esi, eax
cmova ecx, edx
mov dword [ebp + 8], ecx
test ecx, ecx
je 0xbd8572
mov al, byte [esi]
push eax
call fcn.00be5919
movsx ecx, al
lea esi, [esi + 1]
mov eax, ebx
inc edi
shl eax, 5
add esp, 4
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp edi, dword [ebp + 8]
jb 0xbd8550
pop edi
pop esi
movzx eax, bl
pop ebx
pop ebp
ret

Function at 0xbe15b9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x71e], 0
je 0xbe163c
cmp dword [edi + 0x1b0], 0
je 0xbe1606
push esi
push 1
push edi
call fcn.00bd4499
push dword [edi + 0x14c]
mov eax, dword [edi + 0x1b0]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call eax
push 0
push edi
mov esi, eax
call fcn.00bd4499
add esp, 0x24
mov eax, esi
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp eax, 2
ja 0xbe163c
push dword [edi + 0x148]
lea eax, [eax + eax*2]
push 1
add eax, 0x10081650
push 2
push eax
call fcn.00c13c3e
push dword [edi + 0x148]
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00c13c3e
add esp, 0x20
xor eax, eax
pop edi
pop ebp
ret

Function at 0xbe3cb9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
call fcn.00bc6b59
add esp, 4
mov dword [ebp + 0x10], eax
pop ebp
jmp fcn.00c1fceb
Function at 0xbe9729
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0xbe9747
cmp dword [esi + 0x78], 0
je 0xbe9747
push 2
push 3
push esi
call fcn.00be5f39
add esp, 0xc
push dword [ebp + 0xc]
call fcn.00be9129
add esp, 4
test esi, esi
je 0xbe9767
cmp dword [esi + 0x78], 0
je 0xbe9767
push 3
push esi
call fcn.00be5f79
add esp, 8
pop esi
pop ebp
ret