joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006080
Capabilities:
Delete directory

Disassembly:
sub esp, 0x674
mov eax, dword [0x100900d4]
xor eax, esp
mov dword [esp + 0x670], eax
push ebx
mov ebx, dword [esp + 0x67c]
lea eax, [esp + 0x274]
push ebp
push esi
push 0x400
push 0
push eax
call fcn.100393e0
mov eax, 0x25
mov dword [esp + 0x282], 0x2a
mov word [esp + 0x278], ax
lea eax, [esp + 0x278]
push ebx
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x294]
mov dword [esp + 0x28a], 0x2e002a
push 0x200
push eax
mov dword [esp + 0x28e], 0x5c0073
call fcn.1000f5a0
add esp, 0x20
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x280]
push eax
call dword [0x100b0a3c]
mov esi, eax
cmp esi, 0xffffffff
je 0x100061c1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test byte [esp + 0x10], 0x10
je 0x100061a5
cmp word [esp + 0x3c], 0x2e
je 0x100061a5
cmp word [esp + 0x3e], 0x2e
je 0x100061a5
xor eax, eax
mov dword [esp + 0x260], 0x730025
mov word [esp + 0x26a], ax
mov eax, 0x5c
mov word [esp + 0x264], ax
lea eax, [esp + 0x3c]
push eax
push ebx
lea eax, [esp + 0x268]
mov dword [esp + 0x26e], 0x730025
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x290]
push 0x200
push eax
call fcn.1000f5a0
lea eax, [esp + 0x298]
push eax
call fcn.100061e0
add esp, 0x1c
lea eax, [esp + 0x280]
push eax
call edi
lea eax, [esp + 0x10]
push eax
push esi
call dword [0x100b0a38]
test eax, eax
jne 0x10006125
push esi
call dword [0x100b0aac]
pop edi
mov ecx, dword [esp + 0x67c]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100153dc
add esp, 0x674
ret
Function at 0x10007be0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100776b2
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x100900d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x25c], 0
push 0x1007a768
mov dword [ebp - 4], 0
mov dword [ebp - 0x260], esi
mov dword [esi], 0
call fcn.10002300
push 0x208
lea eax, [ebp - 0x258]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x25c], 1
call fcn.100393e0
add esp, 0xc
lea eax, [ebp - 0x258]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, 0x64
mov dword [ebp - 0x50], 0x680053
mov word [ebp - 0x40], ax
xor eax, eax
mov word [ebp - 0x3a], ax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x44], 0x2e0069
mov dword [ebp - 0x48], 0x700061
mov dword [ebp - 0x4c], 0x77006c
mov dword [ebp - 0x3e], 0x6c006c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x10007d2b
lea eax, [ebp - 0x28]
mov dword [ebp - 0x1f], 0x4e656c69
push eax
push edi
mov dword [ebp - 0x28], 0x68746150
mov dword [ebp - 0x24], 0x646e6946
mov word [ebp - 0x18], 0x57
mov word [ebp - 0x1b], 0x6d61
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x20], 0x46
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10007d24
lea ecx, [ebp - 0x258]
push ecx
call eax
push eax
mov ecx, esi
call fcn.10004690
xor eax, eax
mov dword [ebp - 0x30], 0x650078
mov word [ebp - 0x2c], ax
mov ecx, esi
push 0x1007a768
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0x65002e
push eax
call fcn.100097f0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100153dc
mov esp, ebp
pop ebp
ret

Function at 0x10008440
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_EnumWindows]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
mov edi, dword [esp + 0x14]
xor esi, esi
mov byte [0x10092473], 0
nop dword [eax]
inc esi
cmp esi, 0x1e
jg 0x10008484
push edi
push 0x10006b50
call ebx
cmp byte [0x10092473], 0
jne 0x10008484
push 0x64
call ebp
cmp byte [0x10092473], 0
je 0x10008460
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10008500
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1ac
mov eax, dword [0x100900d4]
xor eax, esp
mov dword [esp + 0x1a8], eax
push edi
lea eax, [esp + 4]
mov edi, ecx
push eax
push 0x101
call dword [0x100b0ac4]
push 6
push 1
push 2
call dword [0x100b0ab4]
mov dword [edi + 0x78], eax
cmp eax, 0xffffffff
je 0x100085dc
push esi
mov eax, 2
mov dword [esp + 0x1a9], 0x474e49
lea esi, [edi + 0x40c0]
mov byte [esp + 0x1a8], 0x50
mov word [esi], ax
lea eax, [esp + 0x198]
push eax
mov word [esp + 0x1a1], 0x302e
mov dword [esp + 0x19c], 0x2e373231
mov word [esp + 0x1a4], 0x31
mov byte [esp + 0x1a0], 0x30
mov byte [esp + 0x1a3], 0x2e
call dword [0x100b0abc]
mov dword [edi + 0x40c4], eax
mov eax, 0xcee
add ax, word [edi + 0x4170]
movzx eax, ax
push eax
call dword [0x100b0ac0]
push 0x10
push esi
push dword [edi + 0x78]
mov word [edi + 0x40c2], ax
call dword [0x100b0ac8]
pop esi
cmp eax, 0xffffffff
jne 0x100085fa
push dword [edi + 0x78]
call dword [0x100b0ad4]
call dword [0x100b0ab8]
xor al, al
pop edi
mov ecx, dword [esp + 0x1a8]
xor ecx, esp
call fcn.100153dc
add esp, 0x1ac
ret
lea eax, [esp + 0x1a4]
mov ecx, edi
push eax
call fcn.1000f290
mov ecx, edi
call fcn.1000ec00
mov ecx, dword [esp + 0x1ac]
mov al, 1
pop edi
xor ecx, esp
call fcn.100153dc
add esp, 0x1ac
ret
Function at 0x100096f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
mov eax, dword [0x100900d4]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0x2e373231
mov dword [esp + 0xd], 0x312e302e
mov byte [esp + 0xc], 0x30
mov byte [esp + 0x11], 0
push dword [edi + 0x78]
call dword [0x100b0ad4]
push 6
push 1
push 2
call dword [0x100b0ab4]
mov dword [edi + 0x78], eax
lea esi, [edi + 0x40c0]
mov eax, 2
mov word [esi], ax
lea eax, [esp + 8]
push eax
call dword [0x100b0abc]
mov dword [edi + 0x40c4], eax
mov eax, 0xcee
add ax, word [edi + 0x4170]
movzx eax, ax
push eax
call dword [0x100b0ac0]
push 0x10
push esi
push dword [edi + 0x78]
mov word [edi + 0x40c2], ax
call dword [0x100b0ac8]
mov ecx, dword [esp + 0x18]
cmp eax, 0xffffffff
pop edi
setne al
pop esi
xor ecx, esp
call fcn.100153dc
add esp, 0x14
ret
Function at 0x1000a300
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100778f8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x100900d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
sub esp, 0x18
mov ecx, esp
mov word [ebp - 0x1b], 0x4143
mov word [ebp - 0x18], 0x20
mov byte [ebp - 0x19], 0x4e
mov byte [ebp - 0x1c], 0x53
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x1000a361
mov eax, dword [ecx]
jmp 0x1000a363
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
push edx
push esi
mov word [eax], dx
call fcn.1000cab0
lea eax, [ebp - 0x74]
push eax
call fcn.1000f400
add esp, 0x1c
mov ebx, eax
cmp byte [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
jne 0x1000a3a2
xor ecx, ecx
jmp 0x1000a3b1
lea ecx, [ebp - 0x1c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000a3a8
sub ecx, edx
push ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.1000c9b0
push ebx
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10001830
add esp, 0xc
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x1000a3e8
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.1000d3f0
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
mov eax, dword [ebp - 0x60]
mov byte [ebp - 4], 4
cmp eax, 0x10
jb 0x1000a413
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.1000d3f0
cmp dword [esi + 0x14], 8
mov eax, 0x3a
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
mov dword [ebp - 0x26], 0x4f0020
mov word [ebp - 0x28], ax
mov dword [ebp - 0x22], 0x4b
jb 0x1000a446
mov eax, dword [esi]
jmp 0x1000a448
mov eax, esi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [0x100b0a50]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000a4d8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x80000
ja 0x1000a4bc
cmp dword [ebp - 0x2c], 0
jne 0x1000a4bc
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
mov ecx, edi
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.1000f290
test al, al
je 0x1000a4cf
mov ecx, edi
mov byte [edi + 0x415c], 1
call fcn.1000ec00
push ebx
mov byte [edi + 0x415c], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000a4eb
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.1000c730
push esi
mov ecx, edi
call fcn.1000a730
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000a4eb
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.1000c730
push esi
mov ecx, edi
call fcn.1000a730
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x1000a500
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.1000d3f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100153dc
mov esp, ebp
pop ebp
ret 4
Function at 0x1000acd0
Capabilities:
Create thread

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, ecx
push esi
push 0x44
push 0
lea eax, [ebp + 0x40e0]
mov dword [esp + 0x18], ebp
push eax
call fcn.100393e0
push 0x100b07e0
call fcn.10013466
add esp, 0x10
test eax, eax
je 0x1000ad06
push eax
call fcn.10013af9
add esp, 4
lea ecx, [ebp + 0x407c]
mov byte [ebp + 0x40dd], 0
mov byte [ebp + 0x40da], 0
mov byte [ebp + 0x29], 0
call fcn.1000c060
push dword [esp + 0x18]
lea esi, [ebp + 0x4130]
mov dword [ebp + 0x40a4], 0
mov dword [ebp + 0x416c], 0
push esi
push dword [esi + 4]
push dword [esi]
call fcn.10001d40
push dword [esp + 0x28]
mov eax, dword [esi]
lea ebx, [ebp + 0x413c]
mov dword [esi + 4], eax
push ebx
push dword [ebx + 4]
mov dword [esp + 0x28], ebx
push dword [ebx]
call fcn.10001d40
mov eax, dword [ebx]
add esp, 0x20
mov esi, dword [esp + 0x18]
mov dword [ebx + 4], eax
mov eax, 0x2aaaaaab
mov byte [ebp + 0x40dc], 1
xor ebx, ebx
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1000adcf
mov ebp, dword [esp + 0xc]
push edi
xor edi, edi
nop
mov eax, dword [esi]
mov ecx, ebp
add eax, edi
push eax
call fcn.1000eb10
mov ecx, dword [esi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [esi]
inc ebx
imul ecx
add edi, 0x18
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
jb 0x1000ada0
mov ebp, dword [esp + 0x14]
pop edi
mov ecx, dword [esi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [esi]
imul ecx
push 0
push 0
sar edx, 2
push ebp
mov eax, edx
push 0x1000d560
shr eax, 0x1f
add eax, edx
push 0
push 0
mov dword [ebp + 0x40fc], eax
call fcn.10054816
push 0x100b07e0
mov dword [ebp + 0x416c], eax
call fcn.100134dd
add esp, 0x1c
pop esi
pop ebp
pop ebx
test eax, eax
je 0x1000ae21
push eax
call fcn.10013af9
add esp, 4
add esp, 8
ret 4
Function at 0x1000ae30
Capabilities:
Create thread

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push 0x44
push 0
lea eax, [ebp + 0x40e0]
mov dword [esp + 0x1c], ebp
push eax
call fcn.100393e0
push 0x100b07e0
call fcn.10013466
add esp, 0x10
test eax, eax
je 0x1000ae67
push eax
call fcn.10013af9
add esp, 4
lea ecx, [ebp + 0x407c]
mov byte [ebp + 0x40dd], 0
mov byte [ebp + 0x40da], 0
mov byte [ebp + 0x29], 0
call fcn.1000c060
push dword [esp + 0x1c]
lea ebx, [ebp + 0x4130]
mov dword [ebp + 0x40a4], 0
mov dword [ebp + 0x416c], 0
push ebx
push dword [ebx + 4]
mov dword [esp + 0x1c], ebx
push dword [ebx]
call fcn.10001d40
push dword [esp + 0x2c]
mov eax, dword [ebx]
lea esi, [ebp + 0x413c]
mov dword [ebx + 4], eax
push esi
push dword [esi + 4]
push dword [esi]
call fcn.10001d40
mov edi, dword [esp + 0x3c]
add esp, 0x20
mov eax, dword [esi]
xor ebx, ebx
mov dword [esi + 4], eax
mov eax, 0x2aaaaaab
mov byte [ebp + 0x40dc], 1
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1000af2e
mov ebp, dword [esp + 0x10]
xor esi, esi
nop
mov eax, dword [edi]
mov ecx, ebp
add eax, esi
push eax
call fcn.1000eb10
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [edi]
inc ebx
imul ecx
add esi, 0x18
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1000af00
mov ebp, dword [esp + 0x14]
push 0
push 0
push ebp
push 0x1000d560
push 0
push 0
call fcn.10054816
push 0x100b07e0
mov dword [ebp + 0x416c], eax
call fcn.100134dd
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
je 0x1000af65
push eax
call fcn.10013af9
add esp, 4
add esp, 8
ret 4

Function at 0x1000b4d0
Capabilities:
Check if file exists
Create thread

Disassembly:
sub esp, 0x14
mov eax, dword [0x100900d4]
xor eax, esp
mov dword [esp + 0x10], eax
cmp byte [0x10092471], 0
push esi
mov esi, ecx
je 0x1000b59a
mov eax, 0x64
mov dword [esp + 4], 0x700055
mov word [esp + 8], ax
xor eax, eax
mov word [esp + 0xe], ax
lea eax, [esp + 4]
push eax
push 0x5a0
mov dword [esp + 0x12], 0x6d0054
call fcn.10005500
test eax, eax
je 0x1000b59a
push 0x5a0
mov ecx, esi
call fcn.10005c10
test eax, eax
je 0x1000b59a
push str.GlobalPCAProMutex
push 0
push 0x100000
call dword [0x100b0a70]
test eax, eax
je 0x1000b55f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.100153dc
add esp, 0x14
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1000b59a
cmp dword [0x1009247c], 0
je 0x1000b57f
mov eax, dword [0x1009247c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push esi
push 0x1000dcc0
push 0
push 0
call fcn.10054816
add esp, 0x18
mov dword [0x1009247c], eax
mov ecx, dword [esp + 0x14]
pop esi
xor ecx, esp
call fcn.100153dc
add esp, 0x14
ret
Function at 0x1000b690
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x1000b6a3
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1000b6e6
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1000b6e2
nop dword [eax + eax]
cmp esi, edx
jae 0x1000b6e6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x1000b6d0
cmp esi, edx
jb 0x1000b6ea
xor eax, eax
pop esi
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
ret

Function at 0x1000fab0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077dbb
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x100900d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 0x6f
mov dword [ebp - 0x22], 0x650072
mov word [ebp - 0x24], ax
mov ecx, 0x72
xor eax, eax
mov dword [ebp - 0x1c], 0x65002e
mov dword [ebp - 0x2c], 0x780065
mov dword [ebp - 0x18], 0x650078
mov dword [ebp - 0x28], 0x6c0070
mov word [ebp - 0x1e], cx
mov word [ebp - 0x14], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push ecx
push eax
call dword [0x100b0aa8]
xor edi, edi
mov dword [ebp - 0x260], 0x22c
push edi
push 2
call dword [0x100b0a64]
mov esi, eax
mov dword [ebp - 0x268], esi
cmp esi, 0xffffffff
je 0x1000fc5b
lea eax, [ebp - 0x260]
push eax
push esi
call dword [0x100b0a60]
cmp eax, 1
jne 0x1000fc54
or ebx, 0xffffffff
nop dword [eax]
nop word [eax + eax]
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x264], 0
push eax
lea ecx, [ebp - 0x264]
call fcn.10002300
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push dword [ebp - 0x264]
call fcn.10055b7b
add esp, 8
test eax, eax
jne 0x1000fbef
mov esi, dword [ebp - 0x258]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push esi
call dword [0x100b0aa8]
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x34]
jne 0x1000fbe9
push esi
push 0
push 0x410
call dword [0x100b0a40]
mov edi, eax
test edi, edi
jne 0x1000fc2c
mov esi, dword [ebp - 0x268]
mov edx, dword [ebp - 0x264]
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1000fc13
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [0x100b0a5c]
cmp eax, 1
je 0x1000fb80
jmp 0x1000fc54
mov edx, dword [ebp - 0x264]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1000fc4e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x268]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100153dc
mov esp, ebp
pop ebp
ret
Function at 0x10017752
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x100634a7
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10062c81

Function at 0x100634b2
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10062ebc

Function at 0x10071aaa
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10071831
Function at 0x403469
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
mov eax, 0xf
call sub.user32.dll_GetWindowTextLengthW
cmp dword [ebp - 0xc], esp
je 0x4034ac
push 0x19
push 0x4013dc7
push 6
call fcn.00418b89
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4034c3
mov eax, 0x42f84e
jmp 0x403572
inc dword [ebp - 4]
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x42f866]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.0040108d
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1bc
call sub.wmvert.dll_wm_SpaceBin
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x403511
push ebx
call fcn.00418b7d
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.0040358a
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp + 8]
mov eax, 0x10
call sub.user32.dll_GetWindowTextW
cmp dword [ebp - 0x10], esp
je 0x403553
push 0x136
push 0x4013dc7
push 6
call fcn.00418b89
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x40356d
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00418b77
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x403572
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x403583
push ebx
call fcn.00418b7d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4044a6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push 0
push 0
mov eax, 0x18
call sub.kernel32.dll_GetCurrentDirectoryW
cmp dword [ebp - 0xc], esp
je 0x4044f0
push 0x19
push 0x4013e24
push 6
call fcn.00418b89
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x404587
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x42f866]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.0040108d
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1bc
call sub.wmvert.dll_wm_SpaceBin
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x404548
push ebx
call fcn.00418b7d
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.0040358a
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 0xc]
push dword [ebp - 4]
mov eax, 0x18
call sub.kernel32.dll_GetCurrentDirectoryW
cmp dword [ebp - 0x10], esp
je 0x404587
push 0xda
push 0x4013e24
push 6
call fcn.00418b89
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x4045a1
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00418b77
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4045a6
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4045b7
push ebx
call fcn.00418b7d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x409b3e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
jne 0x409b90
mov dword [ebp - 0xc], esp
mov eax, 0
call sub.kernel32.dll_GetCurrentProcess
cmp dword [ebp - 0xc], esp
je 0x409b88
push 0x4f
push 0x4013259
push 6
call fcn.00418b89
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x409bc9
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
push 0
push 1
mov eax, 1
call sub.kernel32.dll_OpenProcess
cmp dword [ebp - 0xc], esp
je 0x409bc6
push 0x7d
push 0x4013259
push 6
call fcn.00418b89
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x409bdd
mov eax, 0
jmp 0x409c45
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 4]
mov eax, 0x17
call sub.kernel32.dll_TerminateProcess
cmp dword [ebp - 0xc], esp
je 0x409c0e
push 0x10b
push 0x4013259
push 6
call fcn.00418b89
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
mov eax, 5
call sub.kernel32.dll_CloseHandle
cmp dword [ebp - 0xc], esp
je 0x409c3d
push 0x12f
push 0x4013259
push 6
call fcn.00418b89
add esp, 0xc
mov eax, dword [ebp - 8]
jmp 0x409c45
mov esp, ebp
pop ebp
ret 8
Function at 0x4190d0
Capabilities:
Delete file
Delete registry value
Get common file path
Get startup folder
Persist via run registry key

Disassembly:
sub esp, 0x108
lea eax, [esp]
push ebx
push esi
push edi
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
mov edi, ecx
push 0x80000002
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov ebx, dword [esp + 0x118]
test eax, eax
jne 0x41911d
mov ecx, dword [esp + 0xc]
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x419112
mov esi, 1
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea eax, [esp + 0x14]
push 7
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [esp + 0x10]
push ebx
push ecx
lea edx, [esp + 0x18]
push str._s_s.lnk
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, 1
jne 0x419159
mov esi, eax
lea ecx, [esp + 0x10]
push ecx
push 0x80000002
mov ecx, edi
call fcn.004193a0
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x108
ret 4