joyce8/EMBER2024-capa huggingface dataset:
Function at 0x67160c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov edx, 0x43cef4
push esi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x67161e
sub edx, ecx
js 0x671635
mov ecx, 0x43cef4
call fcn.0066af0c
jmp 0x671637
xor eax, eax
mov edx, 0x43cf00
mov dword [0x443c58], eax
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x671644
sub edx, ecx
js 0x67165b
mov ecx, 0x43cf00
call fcn.0066af0c
jmp 0x67165d
xor eax, eax
mov dword [0x443c64], eax
lea eax, [esp + 8]
push eax
mov dword [0x443c68], 0
mov dword [0x443c5c], 0
call dword [0x43403c]
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
sub ecx, 0xd53e8000
push 0
push 0xa
sbb eax, 0x19db1de
push eax
push ecx
call fcn.006949fc
push 0
push 0xf4240
mov esi, eax
push edx
push esi
call fcn.006949fc
imul eax, eax, 0xf4240
push 0x35
sub esi, eax
movzx eax, si
mov dword [0x443c60], eax
mov eax, 2
mov word [0x444e40], ax
call dword [0x434180]
mov ecx, dword [0x443b4c]
mov edx, 0x444e44
mov word [0x444e42], ax
lea ecx, [ecx + 0xa]
call fcn.0067e72c
cmp eax, 1
jne 0x6716f5
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x443b4c]
add eax, 0xa
push eax
push 0x43cf0c
push 1
call fcn.0066aebc
add esp, 0xc
push 1
call fcn.0068a820
int3
Function at 0x6780cc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, 0x43e79c
lea ecx, [edx + 1]
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x6780dc
sub edx, ecx
js 0x6780f3
mov ecx, 0x43e79c
call fcn.0066af0c
jmp 0x6780f5
xor eax, eax
push 0x43e784
push 0x407410
push 0x443bac
mov edx, 5
mov ecx, eax
call fcn.0066fb3c
push 0xc
call fcn.0068a280
add esp, 0x10
test eax, eax
je 0x678132
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [0x443c8c], eax
test eax, eax
je 0x6782e7
mov edx, 0x43e7e4
lea ecx, [edx + 1]
jmp 0x67814c
mov al, byte [edx]
inc edx
test al, al
jne 0x67814c
sub edx, ecx
push ebx
push esi
push edi
js 0x678168
mov ecx, 0x43e7e4
call fcn.0066af0c
mov edi, eax
jmp 0x67816a
xor edi, edi
mov esi, dword [0x443b40]
test esi, esi
je 0x67817f
cmp dword [esi], edi
je 0x678194
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x678174
push 0x18
call fcn.0068a280
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x6781b6
jmp 0x6782fd
test esi, esi
je 0x67817f
lea eax, [edi + 0xa]
push eax
push 0x43c434
push 1
call fcn.0066aebc
add esp, 0xc
cmp dword [esi + 4], 0xe
je 0x67817f
jmp 0x678313
test edi, edi
je 0x6781d1
push dword [edi]
push edi
push 0x43b344
push 0x1000
call fcn.0066aebc
add esp, 0x10
inc dword [edi]
mov eax, dword [0x443b40]
mov esi, eax
mov dword [ebx], edi
mov dword [ebx + 4], 0xe
mov dword [ebx + 8], 0x443c8c
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0x43e7d0
mov dword [ebp - 4], 0
test esi, esi
je 0x678292
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 0x678233
test dl, dl
je 0x67822f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x678233
add eax, 2
add ecx, 2
test dl, dl
jne 0x678213
xor eax, eax
jmp 0x678238
sbb eax, eax
or eax, 1
test eax, eax
jns 0x67824a
mov edx, esi
mov esi, dword [esi + 0x14]
mov dword [ebp - 4], edx
test esi, esi
jne 0x67820c
jmp 0x678281
mov edx, dword [esi]
add edx, 0xa
mov eax, edx
mov cl, byte [eax]
cmp cl, byte [edi]
jne 0x678271
test cl, cl
je 0x67826d
mov cl, byte [eax + 1]
cmp cl, byte [edi + 1]
jne 0x678271
add eax, 2
add edi, 2
test cl, cl
jne 0x678251
xor eax, eax
jmp 0x678276
sbb eax, eax
or eax, 1
test eax, eax
je 0x67831a
mov edx, dword [ebp - 4]
test edx, edx
je 0x67828d
mov dword [ebx + 0x14], esi
mov dword [edx + 0x14], ebx
jmp 0x67829b
mov eax, dword [0x443b40]
mov dword [ebx + 0x14], eax
mov dword [0x443b40], ebx
mov edx, 0x43e814
pop edi
pop esi
pop ebx
lea ecx, [edx + 1]
lea ebx, [ebx]
mov al, byte [edx]
inc edx
test al, al
jne 0x6782ac
sub edx, ecx
js 0x6782c3
mov ecx, 0x43e814
call fcn.0066af0c
jmp 0x6782c5
xor eax, eax
push 0x43e7f4
push 0x407410
push 0x43f03c
mov edx, 4
mov ecx, eax
call fcn.0066fb3c
add esp, 0xc
mov esp, ebp
pop ebp
ret
push 0x43e7ac
push 1
call fcn.0066aebc
add esp, 8
push 1
call fcn.0068a820
push 0x43c468
push 1
call fcn.0066aebc
add esp, 8
push 1
call fcn.0068a820
push 1
call fcn.0068a820
push edx
push 0x43c48c
push 1
call fcn.0066aebc
add esp, 0xc
call fcn.0068a834
int3
Function at 0x67938c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, edx
push esi
push edi
mov edi, ecx
test eax, eax
jle 0x6793bb
lea esi, [edi + eax]
mov al, byte [esi]
sub al, 0x30
cmp al, 9
ja 0x6793bb
push esi
call fcn.0068b1d0
mov ecx, dword [ebp + 0x14]
add esp, 4
pop edi
pop esi
mov dword [ecx], eax
pop ebx
pop ebp
ret
push 0x43ead4
push 2
call fcn.0066aebc
add esp, 8
test byte [0x43fedc], 2
je 0x6793f9
mov eax, dword [0x443d10]
test eax, eax
je 0x6793f9
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
test eax, eax
push 1
cmovns ecx, eax
lea eax, [edi + ebx]
sub ecx, ebx
push ecx
push eax
call fcn.0068b860
add esp, 0x10
push 0x43eaf4
push 2
call fcn.0066aebc
add esp, 8
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x67d8ac
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 0x67da72
call fcn.0066bd2c
mov dword [ebp - 8], eax
test eax, eax
jne 0x67d917
mov edx, 0x43fd30
lea ecx, [edx + 1]
jmp 0x67d8dc
mov al, byte [edx]
inc edx
test al, al
jne 0x67d8dc
sub edx, ecx
js 0x67d903
mov ecx, 0x43fd30
call fcn.0066af0c
push eax
mov edx, 0x1f7
mov ecx, esi
call fcn.0068033c
jmp 0x67da27
xor eax, eax
mov edx, 0x1f7
push eax
mov ecx, esi
call fcn.0068033c
jmp 0x67da27
call fcn.0068c7ff
mov edi, eax
mov dword [ebp - 4], edi
test edi, edi
jne 0x67d967
call fcn.0068aa21
mov ecx, dword [eax]
call fcn.00689a0c
mov edx, eax
lea ebx, [edx + 1]
lea ebx, [ebx]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x67d93c
sub edx, ebx
js 0x67d950
mov ecx, eax
call fcn.0066af0c
jmp 0x67d952
xor eax, eax
push eax
mov edx, 0x1f7
mov ecx, esi
call fcn.0068033c
add esp, 4
jmp 0x67da15
push 0
push edi
call ebx
push edi
call fcn.0068c24d
add esp, 0xc
push edi
call fcn.0068c81b
add esp, 4
xor ebx, ebx
push edi
push 0x1000
push 1
push dword [ebp - 8]
call fcn.0068ca9f
mov edi, eax
add esp, 0x10
test edi, edi
jle 0x67d9ea
mov edx, dword [ebp - 8]
mov ecx, esi
push edi
push ebx
call fcn.0067fdec
add esp, 8
test eax, eax
js 0x67d9b3
add ebx, edi
mov edi, dword [ebp - 4]
jmp 0x67d980
mov edx, 0x43fd48
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x67d9bc
sub edx, ecx
js 0x67d9d3
mov ecx, 0x43fd48
call fcn.0066af0c
jmp 0x67d9d5
xor eax, eax
push eax
mov edx, 0x1f7
mov ecx, esi
call fcn.0068033c
mov edi, dword [ebp - 4]
add esp, 4
jmp 0x67da15
mov edi, dword [ebp - 4]
push edi
call fcn.0068cb4b
add esp, 4
test eax, eax
je 0x67da12
call fcn.0068aa21
mov ecx, dword [eax]
call fcn.00689a0c
mov ecx, eax
call fcn.0066b03c
jmp 0x67d952
mov dword [esi + 0x20], ebx
mov ecx, dword [ebp - 8]
call fcn.0066be5c
test edi, edi
je 0x67da2a
push edi
call fcn.0068b9fd
add esp, 4
movsx eax, word [esi]
push eax
push esi
push 0x440470
push 0x2000
call fcn.0066aebc
inc word [esi]
lea ecx, [esi + 0x78]
call fcn.0067568c
movsx eax, word [esi]
push eax
push esi
push 0x440480
push 0x2000
call fcn.0066aebc
add esp, 0x20
dec word [esi]
jne 0x67da72
test byte [esi + 0x12], 1
jne 0x67da72
mov ecx, esi
call fcn.0068013c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x67da7c
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 0x67da8c
sub edx, ecx
js 0x67daa3
mov ecx, 0x43fd88
call fcn.0066af0c
jmp 0x67daa5
xor eax, eax
push 0x43fd6c
push 0x407410
push 0x43fedc
mov edx, 2
mov ecx, eax
call fcn.0066fb3c
mov edx, 0x43fd94
add esp, 0xc
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x67dacc
sub edx, ecx
push ebx
push esi
push edi
js 0x67dae8
mov ecx, 0x43fd94
call fcn.0066af0c
mov edi, eax
jmp 0x67daea
xor edi, edi
mov esi, dword [0x443b40]
test esi, esi
je 0x67daff
cmp dword [esi], edi
je 0x67db14
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x67daf4
push 0x18
call fcn.0068a280
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x67db36
jmp 0x67dcb4
test esi, esi
je 0x67daff
lea eax, [edi + 0xa]
push eax
push 0x43c434
push 1
call fcn.0066aebc
add esp, 0xc
cmp dword [esi + 4], 9
je 0x67daff
jmp 0x67dcca
test edi, edi
je 0x67db51
push dword [edi]
push edi
push 0x43b344
push 0x1000
call fcn.0066aebc
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 0x67dc12
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 0x67dbb3
test dl, dl
je 0x67dbaf
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x67dbb3
add eax, 2
add ecx, 2
test dl, dl
jne 0x67db93
xor eax, eax
jmp 0x67dbb8
sbb eax, eax
or eax, 1
test eax, eax
jns 0x67dbca
mov edx, esi
mov esi, dword [esi + 0x14]
mov dword [ebp - 4], edx
test esi, esi
jne 0x67db8c
jmp 0x67dc01
mov edx, dword [esi]
add edx, 0xa
mov eax, edx
mov cl, byte [eax]
cmp cl, byte [edi]
jne 0x67dbf1
test cl, cl
je 0x67dbed
mov cl, byte [eax + 1]
cmp cl, byte [edi + 1]
jne 0x67dbf1
add eax, 2
add edi, 2
test cl, cl
jne 0x67dbd1
xor eax, eax
jmp 0x67dbf6
sbb eax, eax
or eax, 1
test eax, eax
je 0x67dcd1
mov edx, dword [ebp - 4]
test edx, edx
je 0x67dc0d
mov dword [ebx + 0x14], esi
mov dword [edx + 0x14], ebx
jmp 0x67dc1b
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 0x67dc2c
sub edx, ecx
js 0x67dc43
mov ecx, 0x43fd9c
call fcn.0066af0c
jmp 0x67dc45
xor eax, eax
push 0x43fe14
push 0
push 0x43fed8
mov edx, 1
mov ecx, eax
call fcn.0066fb3c
mov edx, 0x43fe5c
add esp, 0xc
lea ecx, [edx + 1]
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x67dc6c
sub edx, ecx
js 0x67dc83
mov ecx, 0x43fe5c
call fcn.0066af0c
jmp 0x67dc85
xor eax, eax
push 0x43fe34
push 0x407410
push 0x443bcc
mov edx, 4
mov ecx, eax
call fcn.0066fb3c
add esp, 0xc
call fcn.0068a911
add eax, 0x40
mov dword [0x443d10], eax
mov esp, ebp
pop ebp
ret
push 0x43c468
push 1
call fcn.0066aebc
add esp, 8
push 1
call fcn.0068a820
push 1
call fcn.0068a820
push edx
push 0x43c48c
push 1
call fcn.0066aebc
add esp, 0xc
call fcn.0068a834
int3
Function at 0x67f33c
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [0x440694]
cmp ecx, 0x10
jge 0x67f368
push 0x10
push 0x440380
push 2
mov dword [0x440694], 0x10
call fcn.0066aebc
mov ecx, dword [0x440694]
add esp, 0xc
mov edx, dword [0x443be4]
push esi
xor esi, esi
test edx, edx
jne 0x67f37a
lea esi, [edx + 1]
jmp 0x67f386
cmp edx, 8
jl 0x67f386
lea eax, [ecx - 4]
cmp edx, eax
jl 0x67f3ac
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [0x443be4], eax
test esi, esi
jne 0x67f3ac
push eax
push 0x4403b4
push 2
call fcn.0066aebc
mov ecx, dword [0x440694]
add esp, 0xc
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [0x443bf0]
sar eax, 1
push edi
mov edi, 1
cmp edx, eax
jle 0x67f3cc
mov eax, ecx
shl eax, 0xa
cmp edx, eax
jle 0x67f3d8
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 0x67f3e8
add eax, eax
inc ecx
cmp eax, edx
jl 0x67f3e1
mov esi, 1
mov dword [0x444e08], ecx
mov eax, esi
shl eax, cl
test edi, edi
mov dword [0x443bf0], eax
pop edi
jne 0x67f417
push eax
push 0x4403ec
push 2
call fcn.0066aebc
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.0068a240
add esp, 8
mov dword [0x443d14], eax
pop esi
test eax, eax
je 0x67f457
ret
push 0x440424
push 1
call fcn.0066aebc
add esp, 8
push 1
call fcn.0068a820
int3
Function at 0x681b9c
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [0x443c08]
mov eax, dword [0x443c18]
mov dword [0x443c0c], 0
test ecx, ecx
jne 0x681bbd
test eax, eax
je 0x681bf4
mov ecx, eax
jmp 0x681bc3
test eax, eax
jne 0x681bc3
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.00681a8c
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 0x681c6b
mov esi, dword [0x444e38]
mov edi, dword [0x444e3c]
add esi, eax
jmp 0x681c6f
xor esi, esi
xor edi, edi
push 0x17
call fcn.0068a280
add esp, 4
test eax, eax
jne 0x681c98
push 0x43dae8
push 1
call fcn.0066aebc
add esp, 8
mov dword [0x443b50], 2
jmp 0x681cb2
mov ecx, eax
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 0x10], 0x417a50
call fcn.006749bc
test eax, eax
je 0x681cb2
pop edi
pop esi
ret
push 0x440b94
push 1
call fcn.0066aebc
add esp, 8
push 1
call fcn.0068a820
int3
Function at 0x68738c
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 0x6873e8
cmp word [ecx + 8], si
jne 0x6873b9
call fcn.0066b1cc
mov dword [0x443c1c], esi
jmp 0x6873e8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0066b05c
add esp, 8
test eax, eax
jle 0x687441
mov esi, dword [ebp - 8]
lea eax, [esi + 0xa]
push eax
call fcn.0068b1d0
add esp, 4
mov ecx, esi
mov edi, eax
call fcn.0066b1cc
mov esi, dword [ebp - 4]
mov ecx, dword [0x443c2c]
test ecx, ecx
je 0x6873f7
call fcn.0066b1cc
mov ecx, dword [0x443c20]
mov dword [0x442184], edi
mov dword [0x443c2c], esi
pop edi
pop esi
test ecx, ecx
je 0x687414
call fcn.0066b1cc
mov eax, dword [0x443c24]
mov dword [0x443c20], 0
mov dword [0x442188], 0xffffffff
cmp eax, dword [0x444e04]
je 0x68743d
cmp eax, dword [0x444e00]
jne 0x687457
mov esp, ebp
pop ebp
ret
push 0x442110
push 1
call fcn.0066aebc
add esp, 8
push 1
call fcn.0068a820
add eax, 0xa
push eax
push 0x442130
push 1
call fcn.0066aebc
add esp, 0xc
push 1
call fcn.0068a820
int3
Function at 0x6881bc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [0x443c38]
test ecx, ecx
je 0x688281
add ecx, 0xa
je 0x688281
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6881dc
sub ecx, edx
je 0x688281
cmp dword [0x443c30], 0
je 0x688285
mov eax, dword [0x443c3c]
test eax, eax
je 0x688232
lea ecx, [eax + 0xa]
test ecx, ecx
je 0x688232
mov edx, ecx
push esi
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x68820e
sub edx, esi
pop esi
je 0x688232
mov edx, 0x444dfc
mov dword [0x444dfc], 0
call fcn.0067e72c
test eax, eax
je 0x68829b
push 0x1b
call fcn.0068a280
add esp, 4
test eax, eax
jne 0x68825b
push 0x43dae8
push 1
call fcn.0066aebc
add esp, 8
mov dword [0x443b50], 2
jmp 0x6882b1
mov ecx, eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0x10], 0x41e410
mov dword [eax + 0x14], 0
call fcn.006749bc
test eax, eax
je 0x6882b1
mov esp, ebp
pop ebp
ret
push 0x442250
push 1
call fcn.0066aebc
add esp, 8
push 1
call fcn.0068a820
push 0x44228c
push 1
call fcn.0066aebc
add esp, 8
push 1
call fcn.0068a820
push 0x4422b0
push 1
call fcn.0066aebc
add esp, 8
push 1
call fcn.0068a820
int3

Function at 0x689ddc
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 0x689eb0
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 0x689e13
mov cl, byte [esi + edx + 1]
mov byte [ebp - 2], cl
jmp 0x689e17
mov byte [ebp - 2], 0
cmp esi, edi
jge 0x689e24
mov cl, byte [esi + edx + 2]
mov byte [ebp - 1], cl
jmp 0x689e28
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 0x689e76
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 0x689e7b
mov byte [eax + ebx + 2], 0x3d
mov ecx, dword [ebp + 8]
add eax, 3
lea edi, [ecx - 2]
cmp esi, edi
jge 0x689e9c
movzx ecx, dl
and ecx, 0x3f
mov cl, byte [ecx + 0x438390]
mov byte [eax + ebx], cl
mov ecx, dword [ebp + 8]
jmp 0x689ea0
mov byte [eax + ebx], 0x3d
mov edx, dword [ebp - 0xc]
add esi, 3
inc eax
cmp esi, ecx
jl 0x689e02
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4035e0
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572f68
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5f4900]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
push 1
push 0x5886cc
call fcn.00419830
add esp, 8
mov dword [ebp - 0x20], SysReAllocStringLen
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 0xd0
call fcn.0041ce00
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0xd0
call fcn.0041ce70
push eax
lea edx, [ebp - 0x10]
push edx
call fcn.00403e70
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00403b70
lea eax, [ebp - 0x10]
push eax
push 0x588704
lea ecx, [ebp - 0x38]
push ecx
call fcn.00403e70
add esp, 0xc
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x10]
call fcn.00403d70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.00403b70
cmp dword [ebp - 0x1c], 0
jne 0x4036e8
lea ecx, [ebp - 0x10]
call fcn.00403e60
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403b70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x405340
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x405364
xor eax, eax
jmp 0x4053e4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40537b
xor eax, eax
jmp 0x4053e4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x4053c7
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x4053c7
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x40539e
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x4053d3
xor eax, eax
jmp 0x4053e4
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x4053e1
xor eax, eax
jmp 0x4053e4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x406810
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573252
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5f4900]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov byte [ebp - 0x21], 0
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x80], 0
je 0x40693a
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0x78], 0
je 0x40693a
push 1
push str.Resuming_Sub_Job
call fcn.00419830
add esp, 8
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp + 8]
call fcn.00420580
mov dword [ebp - 0x2c], 0
push 0x5c8478
lea eax, [ebp - 0x20]
push eax
call fcn.00406f10
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x40693a
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x80]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x80]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 0x78]
call fcn.0041ceb0
push eax
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
call fcn.00420380
mov dword [ebp - 4], 0
cmp dword [ebp - 0x34], 0
jl 0x4068ea
cmp dword [ebp - 0x2c], 0
jne 0x406903
lea ecx, [ebp - 0x30]
call fcn.00403e60
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x406901
mov byte [ebp - 0x21], 1
jmp 0x40692b
push 1
lea ecx, [ebp - 0x30]
call fcn.00403e60
push eax
call fcn.00419830
add esp, 8
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ecx + 0x1c]
call eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x21], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00403b70
mov al, byte [ebp - 0x21]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005502f8
mov esp, ebp
pop ebp
ret 4