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

Disassembly:
movsb byte es:[edi], byte [esi]
mov byte [0x9a32bf1b], al
xor edi, dword [edx - 0xf]
sahf
xor eax, dword [esi]
push es
mov eax, 0x743c947f
mov byte [0x5ab4b1be], al
inc ebx
xor eax, 0xb1339a3f
mov edx, 0x170137f2
push 0x242eb133
or al, 0x9b
pop ss
lcall 0xb5f6, 0x6390b133
das
lcall 0x71b9, 0x96743a33
push ds
dec ebp
mov cl, 0x2f
lcall 0x6a6c, 0x273b26be
aaa
lcall 0xebf, 0x3f22b133
aaa
and eax, 0xa2773a3f
ja 0x5de933
mov esp, 0x2fdfb8b4
adc edi, dword [edx - 0xe84d021]
mov edx, 0xf17b2fdf
mov byte [0x7fb80633], al
mov bh, 0x9d
xor edi, edx
mov esi, 0x342537f6
cmp dh, byte [esi + edx*4 - 0x47]
jno 0x5de9ee
push ds
dec edx
mov cl, 0x2f
lcall 0xc03f, 0xdf6ab1be
mov bl, 0xa5
xor esi, dword [ecx - 0x5286dad1]
mov cl, 0x6a
fistp qword [edi]
sal byte [ebx + 0x2fb133a5], 0x25
jns 0x5de970
mov edx, 0xe9a3bda
lcall 0xad79, 0x2590b133
clc
pop esp
cmp al, 0xb1
test byte [ebx], ah
sbb dword [0x2232a274], edi
xor ebx, dword [ecx - 0x4656669c]
xor esi, dword [ecx - 0x66c3efd2]
mov ebx, dword [ebx + esi + 0x385cf8b1]
mov cl, 0x84
and ebx, dword [ecx]
xor eax, 0x7893a31b
je 0x5de98f
xor al, 0xb1
das
lcall 0x3a34, 0x2537f6be
je 0x5de997
and eax, 0x92743a34
mov ecx, 0x761e3e71
mov cl, 0x2f
lcall 0xd9b8, 0xa93bf66e
das
lcall 0x9983, 0xa2873c33
jecxz 0x5de9b6
xor esi, dword [ecx - 0x4dcfe84e]
push ds
aas
mov cl, 0x2f
lcall 0xb98c, 0x242bf6be
sbb byte [esi + 0x252fb133], dh
jns 0x5de9f0
mov eax, 0x2fc31cb2
lcall 0xf6bd, 0x92743c33
sub esp, dword [esi]
je 0x5dea00
mov eax, 0xe59b2bdf
cdq
xor esi, dword [ecx - 0x46099c70]
das
lcall 0x71b9, 0x96743a33
push ds
dec ebp
mov cl, 0x2f
lcall 0x6a6c, 0x273b26be
aaa
lcall 0xebf, 0x3f22b133
aaa
and eax, 0xa2773a3f
ja 0x5dea23
mov esp, 0x2fdfb8b4
adc edi, dword [edx - 0xe84d021]
mov edx, 0xf17b2fdf
mov byte [0x7fb80633], al
mov bh, 0x9d
xor edi, edx
mov esi, 0x342537f6
cmp dh, byte [esi + edx*4 - 0x47]
jno 0x5deade
push ds
dec edx
mov cl, 0x2f
lcall 0xc03f, 0xdf6ab1be
mov bl, 0xa5
xor esi, dword [ecx - 0x5286dad1]
mov cl, 0x6a
fistp qword [edi]
sal byte [ebx + 0x2fb133a5], 0x25
jns 0x5dea60
mov edx, 0xe9a3bda
lcall 0xad79, 0x2590b133
clc
pop esp
cmp al, 0xb1
test byte [ebx], ah
sbb dword [0x2232a274], edi
xor ebx, dword [ecx - 0x472e669c]
xor esi, dword [ecx - 0x66c3efd2]
wait
wait
xor esi, dword [ecx - 0x4ec7a308]
mov cl, 0x84
test byte [ebx], ah
sbb dword [0x7893a31b], esi
and ebx, dword [ecx]
xor eax, 0x7893a31b
je 0x5dea7f
xor al, 0xb1
das
lcall 0x3a34, 0x2537f6be
je 0x5dea87
and eax, 0x92743a34
mov ecx, 0x761e3e71
mov cl, 0x2f
lcall 0xd9b8, 0xa93bf66e
das
lcall 0x9983, 0xa2873c33
jecxz 0x5deaa6
xor esi, dword [ecx - 0x4dcfe84e]
push ds
aas
mov cl, 0x2f
lcall 0xb98c, 0x242bf6be
sbb byte [esi + 0x252fb133], dh
jns 0x5deae0
mov eax, 0x2fc31cb2
lcall 0xf6bd, 0x92743c33
sub esp, dword [esi]
je 0x5deaf0
mov eax, 0xe59b2bdf
cdq
xor esi, dword [ecx - 0x46099c70]
das
Function at 0x5df3d5
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
je 0x5df473
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x5df473
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp word [eax], 0x5a4d
jne 0x5df473
mov ebx, dword [eax + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
jne 0x5df473
mov ebx, dword [eax + 0x34]
mov dword [ebp - 0xc], ebx
mov ebx, dword [eax + 0x50]
mov dword [ebp - 8], ebx
push edi
push 4
push 0x2000
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [edi + 0x122d2d86]
pop edi
test eax, eax
jne 0x5df466
push edi
push 4
push 0x2000
push dword [ebp - 8]
push 0
call dword [edi + 0x122d2d86]
pop edi
test eax, eax
je 0x5df473
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x14], eax
mov dword [ebp - 0x10], 1
popal
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x5df4f8
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x14]
mov dword [ebp - 8], ebx
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov ebx, dword [eax + 0x3c]
add eax, ebx
lea ebx, [eax + 0x18]
movzx ecx, word [eax + 0x14]
add ebx, ecx
movzx ecx, word [eax + 6]
test ecx, ecx
je 0x5df5a4
push ecx
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0x10]
cmp ecx, edx
jae 0x5df539
mov ecx, edx
mov dword [ebp - 4], ecx
mov eax, dword [ebx + 0xc]
add eax, dword [ebp - 8]
push ecx
push edi
push 4
push 0x1000
push dword [ebp - 4]
push eax
call dword [edi + 0x122d2d86]
pop edi
pop ecx
test eax, eax
je 0x5df597
push edi
mov edi, eax
xor eax, eax
push ecx
push edi
rep stosb byte es:[edi], al
pop edi
pop ecx
mov edx, dword [ebx + 0x10]
cmp ecx, edx
jl 0x5df577
mov ecx, edx
mov esi, dword [ebx + 0x14]
add esi, dword [ebp - 0xc]
lea eax, [ebx + 0x10]
cmp dword [eax + 4], 0
je 0x5df58c
rep movsb byte es:[edi], byte [esi]
pop edi
add ebx, 0x28
pop ecx
dec ecx
jmp 0x5df520
pop ecx
mov dword [ebp - 0x10], 0
jmp 0x5df5ab
mov dword [ebp - 0x10], 1
popal
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x5df7c5
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x14], eax
mov ebx, dword [eax + 0x3c]
add eax, ebx
lea ebx, [eax + 0x18]
movzx ecx, word [eax + 0x14]
add ebx, ecx
movzx ecx, word [eax + 6]
test ecx, ecx
je 0x5df83f
push ecx
mov ecx, dword [ebx + 0xc]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x24]
push edx
call fcn.005df76a
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
push edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [edi + 0x122d33eb]
pop edi
test eax, eax
jne 0x5df835
pop ecx
jmp 0x5df846
add ebx, 0x28
pop ecx
dec ecx
jmp 0x5df7ee
mov dword [ebp - 0x18], 1
popal
mov eax, dword [ebp - 0x18]
leave
ret 4
Function at 0x5df9ec
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 0x18], 0
jne 0x5dfb40
cmp dword [ebp + 0xc], 0
jne 0x5dfb40
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [eax + 8]
cmp eax, 0xffffffff
je 0x5dfa33
sub eax, dword [ebp + 0x10]
js 0x5dfb40
je 0x5dfb40
cmp eax, dword [ebp + 0x14]
jl 0x5dfb40
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
cmp word [eax], 0x5a4d
jne 0x5dfb40
mov ebx, dword [eax + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
jne 0x5dfb40
mov ebx, dword [eax + 0x50]
push edi
push 4
push 0x1000
push ebx
push 0
call dword [edi + 0x122d2d86]
pop edi
test eax, eax
je 0x5dfb40
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
pop ebx
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [edi + 0x124a3da3]
push eax
call fcn.005dea54
pop edi
test eax, eax
je 0x5dfb40
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [edi + 0x124a3da7]
push eax
call fcn.005dea54
pop edi
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x3c]
add eax, ebx
mov eax, dword [eax + 0x54]
mov dword [ebp - 0xc], eax
push edi
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
mov esi, dword [esi + 4]
rep movsb byte es:[edi], byte [esi]
pop edi
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov dword [ebp - 4], eax
mov ebx, dword [eax + 0x3c]
add eax, ebx
lea ebx, [eax + 0x18]
movzx ecx, word [eax + 0x14]
add ebx, ecx
movzx ecx, word [eax + 6]
test ecx, ecx
je 0x5dfb33
push ecx
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
add eax, dword [ebp - 8]
test eax, eax
je 0x5dfb40
push edi
mov edi, eax
xor eax, eax
push ecx
push edi
rep stosb byte es:[edi], al
pop edi
pop ecx
mov edx, dword [ebx + 0x10]
cmp ecx, edx
jl 0x5dfb20
mov ecx, edx
mov esi, dword [ebx + 0x14]
add esi, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
pop edi
add ebx, 0x28
pop ecx
dec ecx
jmp 0x5dfaee
push dword [ebp + 8]
call fcn.005e08e2
jmp 0x5dfb47
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
leave
ret 0x14
Function at 0x5dfed2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x5dffc1
mov ecx, eax
mov ebx, dword [ecx + 0x3c]
add ecx, ebx
mov ecx, dword [ecx + 0x7c]
test ecx, ecx
je 0x5dffc1
mov dword [ebp - 4], ecx
mov ebx, eax
mov ecx, dword [ebx + 0x3c]
add ebx, ecx
mov ebx, dword [ebx + 0x78]
add ebx, eax
mov dword [ebp - 8], ebx
mov eax, dword [ebp + 0xc]
test eax, 0xffff0000
je 0x5dff6d
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x5dffc1
dec ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
add eax, dword [ebp - 0xc]
push ecx
shl ecx, 2
add eax, ecx
mov eax, dword [eax]
add eax, dword [ebp - 0xc]
push edi
push dword [ebp + 0xc]
push eax
call dword [edi + 0x124a3f03]
pop edi
pop ecx
test eax, eax
jne 0x5dff26
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 0xc]
shl ecx, 1
add eax, ecx
movzx ecx, word [eax]
jmp 0x5dff73
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebx + 0x10]
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jge 0x5dffc1
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx + 0x1c]
add edx, eax
shl ecx, 2
add edx, ecx
cmp dword [edx], 0
je 0x5dffc1
mov ebx, dword [edx]
add eax, ebx
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 8]
jle 0x5dffc1
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jge 0x5dffc1
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.005dfe1b
mov dword [ebp - 0x10], eax
popal
mov eax, dword [ebp - 0x10]
leave
ret 8
Function at 0x4044a0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x40fd18]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
cmp eax, 1
push esi
jne 0x4044bf
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x40fd14], 1
mov byte [0x40fd10], bl
jne 0x404519
mov ecx, dword [0x410230]
test ecx, ecx
je 0x404507
mov esi, dword [0x41022c]
sub esi, 4
cmp esi, ecx
jb 0x404507
mov eax, dword [esi]
test eax, eax
je 0x404500
call eax
mov ecx, dword [0x410230]
sub esi, 4
cmp esi, ecx
jae 0x4044f2
push 0x40c020
push 0x40c014
call fcn.00404550
add esp, 8
push 0x40c028
push 0x40c024
call fcn.00404550
add esp, 8
test ebx, ebx
jne 0x404540
push ebp
mov dword [0x40fd18], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebp
pop ebx
ret

Function at 0x404c00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push section..rdata
push 0x407678
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
xor edx, edx
mov dl, ah
mov dword [0x40fce8], edx
mov ecx, eax
and ecx, 0xff
mov dword [0x40fce4], ecx
shl ecx, 8
add ecx, edx
mov dword [0x40fce0], ecx
shr eax, 0x10
mov dword [0x40fcdc], eax
call fcn.00404d50
test eax, eax
jne 0x404c6a
push 0x1c
call fcn.00404d20
add esp, 4
mov dword [ebp - 4], 0
call fcn.00406160
call fcn.00407660
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x410228], eax
call fcn.00407230
mov dword [0x40fd38], eax
test eax, eax
je 0x404c9d
mov eax, dword [0x410228]
test eax, eax
jne 0x404ca7
push 0xffffffffffffffff
call fcn.00404460
add esp, 4
call fcn.00406f80
call fcn.00406e90
call fcn.00404430
mov eax, dword [0x40fcf8]
mov dword [0x40fcfc], eax
push eax
mov eax, dword [0x40fcf0]
push eax
mov ecx, dword [0x40fcec]
push ecx
call fcn.00403500
add esp, 0xc
mov dword [ebp - 0x1c], eax
push eax
call fcn.00404460
jmp 0x404d02
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401050
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4010a7
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x401099
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x401095
cmp edi, eax
jae 0x401099
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x401087
cmp edi, eax
jb 0x40109d
xor eax, eax
jmp 0x4010a6
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x4010c2
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x914
mov eax, dword [0x41003c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [0x411c68], eax
lea eax, [ebp - 0x908]
push eax
push edi
mov dword [ebp - 0x914], edi
mov dword [0x411c64], edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x908], 2
mov esi, eax
jge 0x401113
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x4012a9
push ebx
call fcn.00401918
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x4011e2
push str.user
push dword [esi]
call ebx
test eax, eax
jne 0x4011d9
push 0x100
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.004025c0
add esp, 0xc
push str.invoker
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
and dword [ebp - 0x90c], 0
mov eax, dword [ebp - 0x908]
dec eax
test eax, eax
jle 0x4011c1
mov edi, dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esi + 4]
mov dword [ebp - 0x910], eax
push 0x40e1e4
lea eax, [ebp - 0x104]
push eax
call edi
mov eax, dword [ebp - 0x910]
push dword [eax]
lea eax, [ebp - 0x104]
push eax
call edi
inc dword [ebp - 0x90c]
add dword [ebp - 0x910], 4
mov eax, dword [ebp - 0x908]
dec eax
cmp dword [ebp - 0x90c], eax
jl 0x401180
mov edi, dword [ebp - 0x914]
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.00401306
pop ecx
pop ecx
test eax, eax
je 0x4011e2
jmp 0x4012a1
push str.invoker
push dword [esi]
call ebx
push 0x40e1e8
push dword [esi + 4]
call ebx
test eax, eax
jne 0x40120a
cmp dword [ebp - 0x908], 3
jl 0x4011fe
mov ecx, dword [esi + 8]
jmp 0x401200
xor ecx, ecx
call fcn.00401514
jmp 0x4012a1
push str.aliim
push dword [esi + 4]
call ebx
test eax, eax
jne 0x40128e
push 0x800
push eax
lea eax, [ebp - 0x904]
push eax
call fcn.004025c0
add esp, 0xc
push 2
pop ebx
cmp dword [ebp - 0x908], ebx
jle 0x40125c
mov edi, 0x40e200
push edi
call fcn.0040250e
pop ecx
push eax
push edi
push dword [esi + ebx*4]
call dword [sym.imp.SHLWAPI.dll_StrCmpNW]
test eax, eax
je 0x401265
inc ebx
cmp ebx, dword [ebp - 0x908]
jle 0x40123d
xor ebx, ebx
call fcn.004017e2
jmp 0x4012a1
push edi
call fcn.0040250e
mov ecx, dword [esi + ebx*4]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0x904]
push 0x400
push eax
call fcn.00402775
add esp, 0x10
lea ebx, [ebp - 0x904]
jmp 0x40125e
push str.ureg
push dword [esi + 4]
call ebx
test eax, eax
jne 0x4012a1
call fcn.004018cb
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00402204
leave
ret 0x10
Function at 0x4012bb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x3c
xor esi, esi
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.004025c0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop esi
leave
ret
Function at 0x401306
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x41003c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
push 0x208
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x414]
push ebx
push eax
mov dword [ebp - 0x424], ebx
call fcn.004025c0
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
add esp, 0xc
push 8
push ebx
mov edi, str.WWStartupCtrl32.dll
push edi
call esi
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x41c], ebx
cmp eax, ebx
jne 0x401372
push 8
push ebx
push edi
call esi
mov dword [ebp - 0x418], eax
cmp eax, ebx
je 0x4013a1
push str.IsElevated
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4013a1
push ebx
call eax
pop ecx
cmp eax, ebx
jl 0x4013a1
xor ecx, ecx
cmp eax, ebx
sete cl
mov dword [ebp - 0x41c], ecx
cmp dword [ebp - 0x420], ebx
jne 0x4013bd
cmp dword [ebp - 0x418], ebx
je 0x4013bd
push dword [ebp - 0x418]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x41c], ebx
je 0x4014eb
push 0x104
lea eax, [ebp - 0x414]
push eax
push dword [0x411c68]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4014eb
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x41c], ebx
cmp eax, ebx
je 0x4014b7
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x418]
cmp dword [ebp - 0x41c], ebx
je 0x4014b7
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004025c0
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatW]
push str.wwst64.exe
push 0x40e278
lea eax, [ebp - 0x20c]
push eax
call esi
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4014eb
push dword [ebp - 0x42c]
lea eax, [ebp - 0x20c]
push eax
call fcn.004012bb
pop ecx
pop ecx
mov dword [ebp - 0x424], 1
jmp 0x4014eb
push 8
push ebx
push edi
call esi
cmp eax, ebx
je 0x4014eb
push str.WWStart32
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4014eb
push ebx
push dword [ebp - 0x428]
lea ecx, [ebp - 0x414]
push ecx
push ebx
call eax
add esp, 0x10
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x420], ebx
pop edi
pop esi
pop ebx
je 0x401502
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x424]
xor ecx, ebp
call fcn.00402204
leave
ret
Function at 0x4018cb
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, 0x20006
call fcn.00401918
test eax, eax
je 0x4018e3
mov esi, 0x20206
lea eax, [ebp - 4]
push eax
push esi
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop esi
test eax, eax
jne 0x401916
push str.qintao
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret

Function at 0x401918
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x41003c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.004025c0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x401975
cmp dword [ebp - 0x114], 5
jb 0x401975
jne 0x401970
cmp dword [ebp - 0x110], 0
je 0x401975
xor eax, eax
inc eax
jmp 0x401977
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402204
leave
ret
Function at 0x4089dc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41003c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405d6a
and dword [ebp - 0x14], 0
cmp dword [0x411c38], 0
mov dword [ebp - 0x18], eax
jne 0x408a8f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x408b37
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x408b37
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x411c38], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x411c3c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x411c40], eax
call edi
push eax
call esi
mov dword [0x411c48], eax
test eax, eax
je 0x408a8f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x411c44], eax
mov eax, dword [0x411c44]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x408ae8
cmp dword [0x411c48], ecx
je 0x408ae8
push eax
call esi
push dword [0x411c48]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x408ae8
test ebx, ebx
je 0x408ae8
call edi
test eax, eax
je 0x408adf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x408adf
test byte [ebp - 8], 1
jne 0x408ae8
or dword [ebp + 0x10], 0x200000
jmp 0x408b1b
mov eax, dword [0x411c3c]
cmp eax, dword [ebp - 0x18]
je 0x408b1b
push eax
call esi
test eax, eax
je 0x408b1b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x408b1b
mov eax, dword [0x411c40]
cmp eax, dword [ebp - 0x18]
je 0x408b1b
push eax
call esi
test eax, eax
je 0x408b1b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x411c38]
call esi
test eax, eax
je 0x408b37
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x408b39
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402204
leave
ret