joyce8/EMBER2024-capa huggingface dataset:
Function at 0x479928
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404bc0
mov eax, dword [ebp - 8]
call fcn.00404bc0
xor eax, eax
push ebp
push 0x479ae1
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x479961
cmp dword [ebp - 8], 0
jne 0x479968
xor edi, edi
jmp 0x479ac6
mov eax, dword [ebp - 8]
call fcn.004049d0
dec eax
mov dword [ebp - 0x3c], eax
mov eax, 9
call fcn.00408f08
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404bd0
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.004797cc
mov eax, dword [ebp - 8]
call fcn.00404bd0
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.004797cc
mov dword [ebp - 0x20], 0x3fffffff
mov dword [ebp - 0x1c], 0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x14]
cdq
call fcn.00405534
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x18]
cdq
call fcn.00405534
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov esi, dword [ebp - 0x3c]
test esi, esi
jl 0x479a61
inc esi
xor ebx, ebx
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 0
push 3
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.00405510
add eax, dword [ebp - 0x30]
adc edx, dword [ebp - 0x2c]
call fcn.00405534
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
add eax, dword [ebp - 0x30]
adc edx, dword [ebp - 0x2c]
add eax, 0x21
adc edx, 0
call fcn.00405534
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
fild qword [ebp - 0x28]
fild qword [ebp - 0x20]
fdivp st(1)
fstp qword [ebp - 0x38]
wait
fld qword [ebp - 0x38]
fmul dword [0x479af4]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00479794
add al, 0x40
mov byte [edi + ebx], al
inc ebx
dec esi
jne 0x4799ee
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 0
push 3
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.00405510
add eax, dword [ebp - 0x30]
adc edx, dword [ebp - 0x2c]
call fcn.00405534
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
fild qword [ebp - 0x28]
fild qword [ebp - 0x20]
fdivp st(1)
fstp qword [ebp - 0x38]
wait
fld qword [ebp - 0x38]
fmul dword [0x479af4]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00479794
mov esi, dword [ebp - 0x3c]
test esi, esi
jl 0x479abe
inc esi
xor ebx, ebx
mov dl, byte [edi + ebx]
xor dl, al
mov byte [edi + ebx], dl
inc ebx
dec esi
jne 0x479ab2
mov eax, dword [ebp - 0x3c]
mov byte [edi + eax + 1], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479ae8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404734
ret
Function at 0x47bc84
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff10
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0xf0]
mov edx, edi
call fcn.00408db4
push eax
lea eax, [ebp - 0xa0]
mov edx, esi
call fcn.00408db4
push eax
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00408db4
push eax
push 0
mov eax, dword [0x480c8c]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.00440b90
push eax
call sub.shell32.dll_ShellExecuteA
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x449529
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x40
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00449480
add esp, 0xc
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x5a4d
je 0x449558
mov eax, 0xea61
jmp 0x4495d6
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x3c], 0
jne 0x449568
mov eax, 0xea62
jmp 0x4495d6
push 0xf8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.00449480
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0x4550
je 0x449595
mov eax, 0xea62
jmp 0x4495d6
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 4]
cmp ecx, 0x14c
je 0x4495ad
mov eax, 0xea65
jmp 0x4495d6
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 0x16]
test ch, 0x10
je 0x4495c2
mov eax, 0xea66
jmp 0x4495d6
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x74], 0x10
jbe 0x4495d2
mov eax, 0xea67
jmp 0x4495d6
xor eax, eax
jmp 0x4495d6
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4010e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x48
push ebx
push ebp
push esi
mov esi, dword [esp + 0x58]
push edi
test esi, esi
je 0x401144
cmp dword [esp + 0x60], 0
je 0x401144
mov eax, dword [esi + 0x3c]
xor ebx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov edi, dword [eax + esi + 0x78]
add edi, esi
mov ebp, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
add ebp, esi
add eax, esi
mov dword [esp + 0x5c], eax
cmp dword [edi + 0x18], ebx
jbe 0x401144
mov eax, dword [ebp]
add eax, esi
push eax
call fcn.0040189a
pop ecx
cmp eax, dword [esp + 0x60]
je 0x40114e
mov eax, dword [esp + 0x10]
add ebp, 4
add dword [esp + 0x5c], 2
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [edi + 0x18]
jb 0x40111c
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
mov eax, dword [esp + 0x5c]
movzx ecx, word [eax]
mov eax, dword [edi + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + esi]
add ecx, esi
cmp ecx, edi
jbe 0x4011e2
mov eax, dword [esp + 0x14]
mov eax, dword [eax + esi + 0x7c]
add eax, edi
cmp ecx, eax
jae 0x4011e2
mov dl, byte [ecx]
mov eax, ebx
cmp dl, 0x2e
je 0x40118f
lea edi, [esp + 0x18]
mov esi, ecx
sub edi, ecx
mov byte [edi + esi], dl
inc eax
inc esi
mov dl, byte [esi]
cmp dl, 0x2e
jne 0x401183
lea esi, [ecx + 1]
mov dword [esp + eax + 0x18], 0x6c6c642e
add esi, eax
mov byte [esp + eax + 0x1c], bl
mov dword [esp + 0x5c], ebx
cmp byte [esi], 0x23
jne 0x4011ca
inc esi
mov al, byte [esi]
test al, al
je 0x4011c6
imul ecx, ebx, 0xa
movsx ebx, al
add ebx, 0xffffffd0
add ebx, ecx
inc esi
mov al, byte [esi]
test al, al
jne 0x4011b0
mov dword [esp + 0x5c], ebx
lea esi, [esp + 0x5c]
lea eax, [esp + 0x18]
push eax
call dword [0x41db88]
push esi
push eax
call dword [0x41db8c]
jmp 0x401146
mov eax, ecx
jmp 0x401146

Function at 0x4012b6
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push esi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov esi, eax
push 0xc03e4272
push esi
call fcn.004010e0
push 0x3683e000
push esi
mov dword [0x41db88], eax
call fcn.004010e0
add esp, 0x10
mov dword [0x41db8c], eax
pop esi
ret
Function at 0x401686
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x14
xor eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0x20]
xor ebx, ebx
push esi
push edi
mov edi, ebp
mov esi, ebx
mov ecx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esp + 0x3c]
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], 0xf
mov byte [ebp], bl
test eax, eax
je 0x401822
push 3
pop edi
jmp 0x4016c5
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
dec eax
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
mov al, byte [eax + ecx]
mov byte [esp + esi + 0x14], al
inc esi
mov ah, byte [esp + 0x16]
inc ecx
mov dl, byte [esp + 0x15]
mov dword [esp + 0x20], ecx
mov cl, byte [esp + 0x14]
mov byte [esp + 0x13], ah
mov byte [esp + 0x28], dl
mov byte [esp + 0x12], cl
cmp esi, edi
jne 0x40176f
mov al, cl
mov esi, ebx
shr al, 2
and cl, 3
mov byte [esp + 0x18], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [esp + 0x19], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
and ah, 0x3f
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], ah
cmp dword [0x41e3e4], 0x10
mov ecx, 0x41e3d0
movzx eax, byte [esp + esi + 0x18]
cmovae ecx, dword [0x41e3d0]
movzx eax, byte [eax + ecx]
mov ecx, ebp
push eax
call fcn.00401850
inc esi
cmp esi, 4
jl 0x401737
mov dl, byte [esp + 0x28]
mov esi, ebx
mov cl, byte [esp + 0x12]
mov ah, byte [esp + 0x13]
cmp dword [esp + 0x1c], ebx
jne 0x4016bd
test esi, esi
je 0x401822
cmp esi, edi
jge 0x4017a6
mov eax, edi
sub eax, esi
push eax
lea eax, [esp + 0x18]
add eax, esi
push ebx
push eax
call fcn.00407f10
mov ah, byte [esp + 0x22]
add esp, 0xc
mov dl, byte [esp + 0x15]
mov cl, byte [esp + 0x14]
mov al, cl
and cl, 3
shr al, 2
mov byte [esp + 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ah
mov byte [esp + 0x19], cl
shr al, 6
and ah, 0x3f
add dl, al
mov byte [esp + 0x1b], ah
lea eax, [esi + 1]
mov byte [esp + 0x1a], dl
test eax, eax
jle 0x40180e
lea edi, [esi + 1]
cmp dword [0x41e3e4], 0x10
mov ecx, 0x41e3d0
movzx eax, byte [esp + ebx + 0x18]
cmovae ecx, dword [0x41e3d0]
movzx eax, byte [eax + ecx]
mov ecx, ebp
push eax
call fcn.00401850
inc ebx
cmp ebx, edi
jl 0x4017e2
push 3
pop edi
cmp esi, edi
jge 0x401822
sub edi, esi
push 0x3d
mov ecx, ebp
call fcn.00401850
sub edi, 1
jne 0x401814
lea ecx, [esp + 0x2c]
call fcn.00401655
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x14
ret 0x1c
Function at 0x404df8
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18c
push ebx
push edi
push 0x104
xor ebx, ebx
lea eax, [ebp - 0x18c]
push ebx
push eax
call fcn.00407f10
movaps xmm0, xmmword [0x416890]
add esp, 0xc
movups xmmword [ebp - 0x31], xmm0
mov ecx, ebx
mov word [ebp - 0x11], 0x5830
movaps xmm0, xmmword [0x4168e0]
movups xmmword [ebp - 0x21], xmm0
mov byte [ebp - 0xf], bl
mov al, byte [ebp - 0x31]
xor byte [ebp + ecx - 0x30], al
inc ecx
cmp ecx, 0x21
jb 0x404e3b
lea eax, [ebp - 0x30]
mov byte [ebp - 0xf], bl
push eax
lea eax, [ebp - 0x18c]
push eax
push 0x51fc20a8
push ebx
call fcn.004011e9
pop ecx
pop ecx
call eax
mov al, 0x53
mov dword [ebp - 0xe], 0x7b686c53
mov dword [ebp - 0xa], 0x75726f73
mov ecx, ebx
mov dword [ebp - 6], 0x7b683168
mov word [ebp - 2], 0x68
movsx eax, al
and eax, 0x8000000f
jns 0x404e93
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0xd], al
inc ecx
cmp ecx, 0xc
jae 0x404ea2
mov al, byte [ebp - 0xe]
jmp 0x404e84
lea eax, [ebp - 0xd]
mov byte [ebp - 1], bl
push eax
lea eax, [ebp - 0x18c]
push eax
push 0xf9b697a2
push ebx
call fcn.004011e9
pop ecx
pop ecx
call eax
push 0x44
lea eax, [ebp - 0x88]
push ebx
push eax
call fcn.00407f10
xor eax, eax
mov dword [ebp - 0x88], 0x44
lea edi, [ebp - 0x44]
mov dword [ebp - 0x80], 0x41e550
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x88]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18c]
push eax
push ebx
push 0x57ae26e9
push ebx
call fcn.004011e9
pop ecx
pop ecx
call eax
pop edi
pop ebx
leave
ret
Function at 0x404f60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push ebx
push 0x104
lea eax, [ebp - 0x130]
xor ebx, ebx
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], ebx
push 0xc8d41
push ebx
movlpd qword [ebp - 0x1c], xmm0
call fcn.004011e9
pop ecx
pop ecx
call eax
test eax, eax
je 0x404fa0
mov al, 0x43
mov byte [ebp - 0x130], al
jmp 0x404fa6
mov al, byte [ebp - 0x130]
push ebx
push ebx
push ebx
push ebx
mov byte [ebp - 0x1c], al
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
lea eax, [ebp - 0x1c]
mov word [ebp - 0x1b], 0x5c3a
push eax
push 0xde060de4
push ebx
mov byte [ebp - 0x19], bl
call fcn.004011e9
pop ecx
pop ecx
call eax
imul eax, dword [ebp - 0x14], 0x14a30b
mov ecx, 0x95dbed34
add eax, 0x96bd8aaf
mov dword [ebp - 0x2c], eax
imul eax, eax, 0x1e70fd87
sub ecx, eax
mov eax, ebx
mov word [ebp - 0x26], cx
imul ecx, ecx, 0x14a30b
sub ecx, 0x69427551
mov byte [ebp + eax - 0x24], cl
inc eax
cmp eax, 8
jl 0x404ff1
mov dword [ebp - 0x14], ecx
mov eax, ebx
mov cl, 0x14
mov dword [ebp - 0xf], 0x2c243114
mov dword [ebp - 0xb], 0x24314c78
mov dword [ebp - 7], 0x314c7820
mov word [ebp - 3], 0x6178
mov byte [ebp - 1], bl
xor byte [ebp + eax - 0xe], cl
inc eax
cmp eax, 0xd
jae 0x40503b
mov cl, byte [ebp - 0xf]
jmp 0x40502c
push dword [ebp - 0x22]
movzx eax, word [ebp - 0x26]
push eax
push dword [ebp - 0x2c]
lea eax, [ebp - 0xe]
mov byte [ebp - 1], bl
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
pop ebx
leave
ret 4
Function at 0x405182
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
lea ebp, [esp - 0x5c]
sub esp, 0xb8
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 0x64]
push 0x416840
call fcn.004014df
xor ebx, ebx
mov dword [ebp + 0x51], 0x76546004
mov al, 4
mov dword [ebp + 0x55], 0x706d6a73
mov word [ebp + 0x59], 0x7769
mov ecx, ebx
mov byte [ebp + 0x5b], bl
movsx eax, al
and eax, 0x8000000f
jns 0x4051ca
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx + 0x52], al
inc ecx
cmp ecx, 9
jae 0x4051d9
mov al, byte [ebp + 0x51]
jmp 0x4051bb
lea eax, [ebp + 0x52]
mov byte [ebp + 0x5b], bl
push eax
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004029a6
sub esp, 0xc
mov dword [ebp + 0x34], ebx
lea eax, [ebp - 0x14]
mov dword [ebp + 0x38], ebx
mov ecx, esp
mov dword [ebp + 0x3c], ebx
push eax
call fcn.00401b8f
lea eax, [ebp + 0x34]
mov ecx, esi
push eax
call fcn.0040505e
mov esi, dword [ebp + 0x34]
jmp 0x40536a
push esi
push 0x416848
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.004029a6
add esp, 0xc
push eax
lea eax, [ebp + 4]
push eax
call fcn.004018bf
add esp, 0xc
lea ecx, [ebp + 0x1c]
call fcn.00401655
mov cl, 0x7c
mov dword [ebp + 0x43], 0x1310207c
mov dword [ebp + 0x47], 0xf12151b
mov eax, ebx
mov dword [ebp + 0x4b], 0x130f1652
mov word [ebp + 0x4f], 0x12
xor byte [ebp + eax + 0x44], cl
inc eax
cmp eax, 0xc
jae 0x405270
mov cl, byte [ebp + 0x43]
jmp 0x405261
lea eax, [ebp + 0x44]
mov byte [ebp + 0x50], bl
push eax
lea eax, [ebp + 4]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004029a6
add esp, 0xc
mov dword [ebp + 0x52], 0x6a706125
mov al, 0x25
mov dword [ebp + 0x56], 0x6933397e
mov word [ebp + 0x5a], 0x67
mov ecx, ebx
movsx eax, al
and eax, 0x8000000f
jns 0x4052ae
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx + 0x53], al
inc ecx
cmp ecx, 8
jae 0x4052bd
mov al, byte [ebp + 0x52]
jmp 0x40529f
lea eax, [ebp + 0x53]
mov byte [ebp + 0x5b], bl
push eax
lea eax, [ebp + 4]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004029a6
movaps xmm0, xmmword [str.Zfzvkmo8vso]
add esp, 0xc
movups xmmword [ebp + 0x24], xmm0
mov ecx, ebx
movsx eax, byte [ebp + 0x24]
and eax, 0x8000000f
jns 0x4052f1
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx + 0x25], al
inc ecx
cmp ecx, 0xe
jb 0x4052e1
lea eax, [ebp + 0x25]
mov byte [ebp + 0x33], bl
push eax
lea eax, [ebp + 4]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004029a6
lea eax, [ebp - 0x5c]
push eax
call fcn.00402757
add esp, 0x10
test al, al
jne 0x40533b
lea eax, [ebp - 0x44]
push eax
call fcn.00402757
pop ecx
test al, al
jne 0x40533b
lea eax, [ebp - 0x2c]
push eax
call fcn.00402757
pop ecx
test al, al
je 0x405347
mov ecx, dword [ebp + 0x64]
lea eax, [ebp + 4]
push eax
call fcn.00402ba7
lea ecx, [ebp - 0x2c]
call fcn.00401655
lea ecx, [ebp - 0x44]
call fcn.00401655
lea ecx, [ebp - 0x5c]
call fcn.00401655
lea ecx, [ebp + 4]
call fcn.00401655
add esi, 0x18
cmp esi, dword [ebp + 0x38]
jne 0x405217
lea ecx, [ebp + 0x34]
call fcn.004026e2
lea ecx, [ebp - 0x14]
call fcn.00401655
lea ecx, [ebp + 0x68]
call fcn.00401655
mov eax, dword [ebp + 0x64]
pop esi
pop ebx
add ebp, 0x5c
leave
ret 0x1c
Function at 0x407b57
Capabilities:
Parse pe header

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

Function at 0x40f059
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41864c
push 0x418644
push str.FlsAlloc
push 0x1f
call fcn.0040ef94
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40f08d
push dword [ebp + 8]
mov ecx, esi
call dword [0x416130]
call esi
jmp 0x40f093
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40f0d7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41865c
push 0x418654
push str.FlsGetValue
push 0x21
call fcn.0040ef94
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40f10e
push dword [ebp + 8]
mov ecx, esi
call dword [0x416130]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40f116
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x418664
push 0x41865c
push str.FlsSetValue
push 0x22
call fcn.0040ef94
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40f150
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x416130]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40ff25
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x41d064]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x40ff70
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004100c0
test al, al
jne 0x40ff6a
sub edx, 2
cmp edx, edi
jne 0x40ff50
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x40ff92
lea eax, [edi + 2]
cmp edx, eax
je 0x40ff92
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0040fe71
add esp, 0x10
jmp 0x41008c
push esi
lea ecx, [ebp - 0x255]
call fcn.004100c0
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40ffd5
push dword [ebp - 0x25c]
jmp 0x40ff82
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x410012
cmp word [ebp - 0x226], 0
je 0x410033
cmp word [ebp - 0x226], ax
jne 0x410012
cmp word [ebp - 0x224], 0
je 0x410033
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0040fe71
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41007f
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x40ffec
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x410067
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41008c
push 0x40fca1
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00412d50
add esp, 0x10
jmp 0x41005c
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004079df
leave
ret
Function at 0x10001230
Capabilities:
Get hostname
Query or enumerate registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov ecx, 0x1c
mov dword [ebp - 0xac], 0
mov esi, str.F8ABC4ABCDABDFABDCABCAABD9ABCEABF7ABE6ABC2ABC8ABD9ABC4ABD8ABC4ABCDABDFABF7ABFEABD8ABCEABD9ABEFABCAABDFABCAABF7AB
lea edi, [ebp - 0x94]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x94]
movsb byte es:[edi], byte [esi]
call fcn.10001090
mov edi, eax
test edi, edi
je 0x1000134b
push ebx
xor esi, esi
mov dword [ebp - 0xa8], 0
push 0xc8
mov dword [ebp - 0x98], 3
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xa4], 0x64
call fcn.10001b70
push dword [ebp - 0xa4]
mov ebx, eax
push esi
push ebx
call fcn.10002e30
add esp, 0x10
lea eax, [ebp - 0xa4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea eax, [ebp - 0xa0]
push eax
push 0x20019
push esi
push edi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100013a3
lea eax, [ebp - 0x9c]
push eax
push esi
lea eax, [ebp - 0x98]
push eax
push esi
push ebx
push dword [ebp - 0xa0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10001397
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x10001397
inc eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x1000135b
push dword [ebp - 0xa0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.10001b6b
push edi
call fcn.10001b6b
add esp, 8
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001b5d
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x9c]
push eax
push esi
lea eax, [ebp - 0x98]
push eax
push 0
push ebx
push dword [ebp - 0xa0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
mov edx, 1
test eax, eax
cmove ecx, edx
mov dword [ebp - 0xa8], ecx
push dword [ebp - 0xa0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.10001b6b
add esp, 4
cmp dword [ebp - 0xa8], 0
jne 0x100013e3
test esi, esi
je 0x100013c9
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
call fcn.10001b6b
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop ebx
pop edi
pop esi
call fcn.10001b5d
mov esp, ebp
pop ebp
ret
push edi
call fcn.10001b6b
add esp, 4
test esi, esi
je 0x1000134a
movups xmm0, xmmword [str.explorer.exe]
mov ax, word [0x1001996c]
lea ecx, [ebp - 0x20]
push dword [ebp - 0xac]
movups xmmword [ebp - 0x20], xmm0
mov edx, esi
mov word [ebp - 8], ax
movq xmm0, qword [0x10019964]
movq qword [ebp - 0x10], xmm0
call fcn.10001960
add esp, 4
push 0
test al, al
jne 0x10001436
push str.__R_:_Failed_to_inject_Explorer
jmp 0x1000143b
push str.__R_:_Injection_Explorer_Success..
push 0x10019990
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10001470
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov dword [ebp - 8], esp
and esp, 0xfffffff0
push 0x33
call fcn.10001494