joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6f8b47
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x7ae77c
push 0x7ae774
push str.FlsAlloc
push 0x1f
call fcn.006f8972
mov esi, eax
add esp, 0x10
test esi, esi
je 0x6f8b7b
push dword [ebp + 8]
mov ecx, esi
call dword [0x70c50c]
call esi
jmp 0x6f8b81
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x6f8bc5
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x7ae78c
push 0x7ae784
push str.FlsGetValue
push 0x21
call fcn.006f8972
mov esi, eax
add esp, 0x10
test esi, esi
je 0x6f8bfc
push dword [ebp + 8]
mov ecx, esi
call dword [0x70c50c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x6f8c04
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x7ae794
push 0x7ae78c
push str.FlsSetValue
push 0x22
call fcn.006f8972
mov esi, eax
add esp, 0x10
test esi, esi
je 0x6f8c3e
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x70c50c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x6fa793
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]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.006fa70f
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x6fa902
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x6fa902
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x6fa8b7
jg 0x6fa7ef
test eax, eax
je 0x6fa8ad
push 1
push 0x1000
call fcn.006f81cd
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x6fa812
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x6fa8a4
push 0x8000
push ebx
call fcn.006e51a1
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x6fa83b
jg 0x6fa836
cmp ecx, 0x1000
jb 0x6fa83b
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.006f72ac
add esp, 0x10
cmp eax, 0xffffffff
je 0x6fa880
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 0x6fa836
jl 0x6fa867
test ecx, ecx
jne 0x6fa828
push dword [ebp - 0xc]
push ebx
call fcn.006e51a1
push esi
call fcn.006f8349
add esp, 0xc
xor ebx, ebx
jmp 0x6fa910
cmp byte [edi + 0x24], 0
je 0x6fa897
cmp dword [edi + 0x20], 5
jne 0x6fa897
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x6fa8a2
mov ebx, dword [edi + 0x18]
jmp 0x6fa8a4
xor ebx, ebx
push esi
call fcn.006f8349
pop ecx
jmp 0x6fa910
test ecx, ecx
jg 0x6fa879
jl 0x6fa8b7
test eax, eax
jae 0x6fa879
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.006e5476
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x6fa8d7
cmp byte [edi + 0x1c], 0
je 0x6fa879
jmp 0x6fa908
push ebx
call fcn.006e3d8e
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x6fa879
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x6fa910
cmp byte [edi + 0x1c], 0
je 0x6fa90d
mov ebx, dword [edi + 0x18]
jmp 0x6fa910
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.006e5476
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6fdf1b
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 0x6fdfb8
push ebx
push esi
call fcn.006fdee4
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.006fba3c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x6fdf65
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x6fdfb7
push edi
push eax
call fcn.006f8ffe
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x6fdf85
call fcn.006f8349
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x6fdfb6
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.006fba3c
add esp, 0x20
test eax, eax
jne 0x6fdfa4
push edi
call fcn.006f8349
jmp 0x6fdfac
push ebx
call fcn.006f8349
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 0x6fdfbc
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x6fdfcd
pop esi
ret
push ebx
push edi
push esi
call fcn.006fdee4
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.006f8ffe
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x6fdff5
push ebx
push esi
push edi
call fcn.006d8770
add esp, 0xc
push 0
call fcn.006f8349
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x6fe74f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.006fe26a

Function at 0x700924
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.006f7cf0
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x700993
cmp esi, dword [ebp - 4]
je 0x70098e
cmp dword [ebp + 0xc], 0
je 0x70098e
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x70096b
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00700476
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x700995
xor eax, eax
inc eax
jmp 0x700995
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x7009fa
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x7c2580]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.006f7cf0
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.006f7cf0
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x700a71
cmp word [ecx], dx
je 0x700a71
mov eax, dword [0x7af57c]
push edi
dec eax
push eax
push 0x7af468
call fcn.00700999
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x700ae4
cmp word [eax], dx
je 0x700ae4
mov eax, dword [edi]
test eax, eax
je 0x700a95
cmp word [eax], dx
je 0x700a95
lea eax, [ebp - 0x10]
push eax
call fcn.0070037c
jmp 0x700a9e
lea eax, [ebp - 0x10]
push eax
call fcn.00700417
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x700b0e
mov eax, dword [0x7af464]
push dword [ebp - 0x14]
dec eax
push eax
push 0x7af158
call fcn.00700999
add esp, 0xc
test al, al
je 0x700b0e
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x700ad9
cmp word [eax], di
je 0x700ad9
lea eax, [ebp - 0x10]
push eax
call fcn.0070037c
pop ecx
jmp 0x700b10
lea eax, [ebp - 0x10]
push eax
call fcn.00700417
jmp 0x700ad6
mov eax, dword [edi]
test eax, eax
je 0x700afb
cmp word [eax], dx
je 0x700afb
lea eax, [ebp - 0x10]
push eax
call fcn.00700331
pop ecx
jmp 0x700b0e
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x700bd9
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0070081e
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x700bd9
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x700bd9
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x700bd9
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x700b66
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.006f8de0
test ebx, ebx
je 0x700bd4
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.006f8de0
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x700bd9
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x700bd9
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.007047de
add esp, 0x10
xor eax, eax
inc eax
jmp 0x700bdb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006d66cb
leave
ret
Function at 0x703dbf
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x7c2580]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x703e02
call fcn.006e399e
mov dword [eax], 0xf
call fcn.006e39b1
mov dword [eax], 0xd
call fcn.006e389d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006d66cb
leave
ret
test eax, eax
jne 0x703e09
inc eax
jmp 0x703df6
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x703df4
xor eax, eax
cmp ecx, 1
setne al
jmp 0x703df6

Function at 0x705b80
Capabilities:
Check for time delay via queryperformancecounter
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70b361
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x7c2580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x7ca52c]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x7cad08]
cmp eax, dword [esi + 8]
jg 0x705c54
mov eax, dword [0x7cad10]
cmp eax, dword [esi + 8]
jg 0x705ca9
cmp byte [0x7cad0c], 0
je 0x705c12
mov eax, dword [0x7cad18]
cmp eax, dword [esi + 8]
jg 0x705ce4
push 0x7cad14
lea ecx, [ebp - 0x10]
call fcn.00705b20
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [ebp - 0x10]
call fcn.00705b40
jmp 0x705c1c
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
call fcn.006d77e0
mulsd xmm0, qword [0x7cad00]
call fcn.006d76e0
mov esi, dword [ebp + 8]
push edx
push eax
push esi
call fcn.007055a0
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x7cad08
call fcn.006d67ea
add esp, 4
cmp dword [0x7cad08], 0xffffffff
jne 0x705bc6
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.006d77e0
movsd xmm1, qword [0x794d08]
divsd xmm1, xmm0
push 0x7cad08
movsd qword [0x7cad00], xmm1
call fcn.006d6799
add esp, 4
jmp 0x705bc6
push 0x7cad10
call fcn.006d67ea
add esp, 4
cmp dword [0x7cad10], 0xffffffff
jne 0x705bd7
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
push 0x7cad10
setb byte [0x7cad0c]
call fcn.006d6799
add esp, 4
jmp 0x705bd7
push 0x7cad18
call fcn.006d67ea
add esp, 4
cmp dword [0x7cad18], 0xffffffff
jne 0x705bf1
mov ecx, 0x7cad14
mov dword [ebp - 4], 0
call fcn.00705a60
push 0x70b8e0
call fcn.006d6aba
push 0x7cad18
mov dword [ebp - 4], 0xffffffff
call fcn.006d6799
add esp, 8
jmp 0x705bf1
Function at 0x705f00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x705f2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x705f2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x18891bba
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x51103ae9
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x6cc87b8d
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x7e620456
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4056c1
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, 0x408374
and byte [ebp - 0x1f], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push esi
push eax
mov byte [ebp - 0x20], 1
push dword [ebp + 8]
mov word [ebp - 0x1e], 4
mov dword [ebp - 0x10], 0x408364
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x405712
xor eax, eax
jmp 0x405739
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x405739
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
test eax, eax
jne 0x40570e
call esi
pop esi
leave
ret 4

Function at 0x405773
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x422538], 0x44
push eax
xor eax, eax
push 0x422538
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4057b2
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x4057b6
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
ret 4

Function at 0x405854
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00405c48
mov edi, eax
cmp edi, 0xffffffff
je 0x405895
test byte [esp + 0x10], 1
push esi
je 0x405877
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x40587d
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x405886
xor eax, eax
inc eax
jmp 0x405897
test byte [esp + 0x10], 4
jne 0x405895
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
pop edi
pop esi
ret 8
Function at 0x4063fe
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x406422
xor eax, eax
test eax, eax
je 0x406434
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406434
xor ecx, ecx
jmp 0x406437
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x406523
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4232c4], 0
push esi
jne 0x40655a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406534
mov dword [ecx*4 + 0x4232c0], eax
inc ecx
cmp ecx, 0x100
jl 0x40652f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40658b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4232c0]
xor eax, esi
inc ecx
dec edx
jne 0x40656d
pop edi
not eax
pop esi
ret 0xc
Function at 0x10001386
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
push ebx
xor ebx, ebx
inc ebx
call fcn.1000190d
test al, al
je 0x1000142c
push esi
push 0x7c
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.10026030
add esp, 0xc
lea eax, [ebp - 0x78]
push str.secret_desktop
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x7c]
call fcn.10001d29
push 0xdc
mov esi, eax
lea eax, [ebp - 0x158]
push 0
push eax
call fcn.10026030
add esp, 0xc
mov byte [ebp - 0x158], bl
mov eax, 0x170c
lea edx, [ebp - 0x158]
mov ecx, esi
mov word [ebp - 0x156], ax
call fcn.10002682
push 0x1003bd20
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x10001413
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.100027ee
cmp eax, ebx
je 0x1000140c
push 0x1003bd24
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor ebx, ebx
pop esi
mov eax, ebx
pop ebx
leave
ret 4
Function at 0x10001ba2
Capabilities:
Create thread

Disassembly:
cmp byte [0x10046cf2], 0
je 0x10001d28
mov eax, dword [0x10046d00]
test eax, eax
je 0x10001bbf
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push ebx
push esi
push edi
mov edi, 0x100467f4
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x100467f0]
xor ebx, ebx
jmp 0x10001bf6
push ebx
push ebx
push dword [esi]
push 0x10001b96
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, eax
call fcn.1001cef9
mov esi, dword [esi + 0xec]
test esi, esi
jne 0x10001bd8
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x10001c0b
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x100467f0], ebx
jne 0x10001c03
mov eax, dword [0x100468d0]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x10001c2b
push eax
call esi
mov dword [0x100468d0], ebx
mov eax, dword [0x100468d4]
test eax, eax
je 0x10001c3d
push eax
call esi
mov dword [0x100468d4], ebx
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [0x100468cc]
test eax, eax
je 0x10001c5a
push eax
call dword [sym.imp.USER32.dll_DestroyCursor]
mov dword [0x100468cc], ebx
mov cl, 1
call fcn.10003cfc
mov ecx, dword [0x10046d18]
test ecx, ecx
je 0x10001c76
call fcn.1001cef9
mov dword [0x10046d18], ebx
mov eax, dword [0x10046d14]
mov esi, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
je 0x10001c8e
push eax
call esi
mov dword [0x10046d14], ebx
mov ecx, dword [0x10046cfc]
test ecx, ecx
je 0x10001ca3
call fcn.1001cef9
mov dword [0x10046cfc], ebx
mov eax, dword [0x10046d04]
test eax, eax
je 0x10001cb5
push eax
call esi
mov dword [0x10046d04], ebx
mov ecx, dword [0x10046d0c]
test ecx, ecx
je 0x10001cca
call fcn.1001cef9
mov dword [0x10046d0c], ebx
mov ecx, dword [0x10046cf4]
test ecx, ecx
je 0x10001cdf
call fcn.1001cef9
mov dword [0x10046cf4], ebx
mov ecx, dword [0x10046d00]
test ecx, ecx
je 0x10001cf4
call fcn.1001cef9
mov dword [0x10046d00], ebx
mov ecx, dword [0x10046d08]
test ecx, ecx
je 0x10001d09
call fcn.1001cef9
mov dword [0x10046d08], ebx
mov eax, dword [0x10046cf8]
test eax, eax
je 0x10001d1f
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x10046cf8], ebx
pop edi
pop esi
mov byte [0x10046cf2], bl
pop ebx
ret
Function at 0x10002682
Capabilities:
Read file via mapping

Disassembly:
push ecx
push ecx
xor al, al
mov dword [esp + 4], ecx
push ebx
push esi
mov esi, edx
mov byte [esp + 0xb], al
cmp byte [0x10046cf2], al
je 0x100027e9
push ebp
call fcn.10001740
mov ebp, eax
test ebp, ebp
je 0x100027e4
mov ebx, dword [ebp + 4]
cmp byte [ebx + 0xc], 0
jne 0x100027e4
push edi
push 0x37
pop ecx
lea edi, [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x2c]
mov byte [ebx + 0xd], 0
pop edi
test al, 4
jne 0x100026da
mov ecx, ebx
call fcn.10005d5d
mov eax, dword [ebx + 0x2c]
test al, 2
jne 0x10002710
lea eax, [ebx + 0x5f0]
push eax
push dword [ebx + 0x4d8]
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
xor ecx, ecx
mov dword [ebx + 0x24], eax
push ecx
push ecx
push ecx
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebx + 0x28], eax
lea edx, [ebx + 0x4c0]
mov ecx, ebx
call fcn.10005e43
push dword [ebx + 0x510]
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
call esi
push dword [ebx + 0x51c]
call esi
push dword [ebx + 0x508]
mov esi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call esi
push dword [ebx + 0x50c]
call esi
push dword [ebx + 0x514]
call esi
push dword [ebx + 0x518]
call esi
xor eax, eax
mov byte [ebx + 0xc], 1
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
sub esp, 0xc
mov dword [ebp + 8], eax
mov edx, 0x1000233a
mov ecx, ebx
push dword [esp + 0x1c]
call fcn.10003806
add esp, 0x10
push 0xffffffffffffffff
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp + 8]
call fcn.1001cef9
cmp byte [ebx + 0xc], 0
je 0x100027da
sub esp, 0xc
mov edx, 0x10001fa3
mov ecx, ebx
push ebx
call fcn.10003806
add esp, 0x10
mov al, 1
cmp byte [ebx + 0xa3], 0
mov byte [esp + 0xf], al
jne 0x100027de
cmp byte [ebx + 0xa2], 0
jne 0x100027de
sub esp, 0xc
mov edx, 0x10003edf
mov ecx, ebx
push ebx
call fcn.10003806
add esp, 0x10
mov al, byte [esp + 0xf]
and dword [ebp + 8], 0
jmp 0x100027e8
mov al, byte [esp + 0xf]
pop ebp
pop esi
pop ebx
pop ecx
pop ecx
ret