joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f908b3d
Capabilities:
Read clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, word [0x4f919818]
and dword [ebp - 4], 0
push ebx
push esi
push edi
push 4
pop edi
mov esi, edx
mov ebx, ecx
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], ebx
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x4f908b73
push 0xb
pop eax
jmp 0x4f908c0c
mov edx, dword [ebp + 8]
mov ecx, esi
push 2
call fcn.4f90835c
mov esi, eax
test esi, esi
je 0x4f908c0a
cmp dword [0x4f919834], 0
mov dword [esi + 0xc], ebx
je 0x4f908c04
lea eax, [ebp - 4]
mov ecx, esi
push eax
call 0x4f925efb
test eax, eax
je 0x4f908c04
mov ecx, esi
call fcn.4f908de1
movzx eax, word [0x4f91980c]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
push 2
pop edx
mov ecx, eax
call fcn.4f910100
mov dword [esi + 0x70], eax
test eax, eax
je 0x4f908c04
mov edx, dword [ebp - 8]
lea ebx, [esi + 0x64]
mov ecx, dword [ebp - 0xc]
push 5
push dword [ebp - 4]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call fcn.4f90c478
mov edi, eax
test edi, edi
jne 0x4f908c04
mov ecx, esi
call fcn.4f9083f7
mov ecx, dword [ebp + 0xc]
mov dword [ecx], esi
mov ecx, dword [ebx]
test ecx, ecx
je 0x4f908c0a
mov dword [ecx + 0x34], esi
jmp 0x4f908c0a
push esi
call sym.OLECLI32.dll_OleDelete
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x4f9090aa
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x94]
mov dword [esi + 0x9c], edi
cmp eax, 0xf
je 0x4f90911d
cmp eax, 0xd
jne 0x4f9090d0
cmp dword [esi + 0xa0], edi
je 0x4f90911d
mov eax, dword [esi + 0xa0]
dec eax
cmp eax, 7
ja case.default.0x4f9090dc
jmp dword [eax*4 + 0x4f909152]
pop edi
pop esi
jmp fcn.4f907792
pop edi
pop esi
jmp fcn.4f909cb9
pop edi
pop esi
jmp fcn.4f90945d
pop edi
pop esi
jmp fcn.4f9097ff
pop edi
pop esi
jmp fcn.4f90a0af
pop edi
pop esi
jmp fcn.4f90a6e5
pop edi
pop esi
jmp fcn.4f90b5e1
pop edi
xor edx, edx
pop esi
jmp fcn.4f907fcb
mov eax, dword [esi + 0xac]
mov dword [esi + 0x98], 1
mov dword [esi + 0xa8], eax
call fcn.4f908ff9
cmp dword [esi + 0xb8], edi
je case.default.0x4f9090dc
mov dword [esi + 0xb8], edi
mov ecx, esi
pop edi
pop esi
jmp fcn.4f9054f8
pop edi
pop esi
ret
Function at 0x10001c82
Capabilities:
Create process on windows

Disassembly:
push 0x94
mov eax, 0x1003f835
call fcn.10039ffc
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x88], ebx
test esi, esi
je 0x10001d91
cmp byte [esi], bl
je 0x10001d91
push 0x44
lea eax, [ebp - 0x74]
push ebx
push eax
call fcn.10022b50
xor eax, eax
mov dword [ebp - 0x1c], ebx
inc eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x74], 0x44
mov dword [ebp - 0x48], eax
mov word [ebp - 0x44], ax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], ebx
push esi
call fcn.10001281
add esp, 0x10
lea ecx, [ebp - 0x2c]
push eax
push esi
call fcn.100016f4
push ecx
push 0x1004f24c
lea ecx, [ebp - 0x2c]
call fcn.10001d99
push eax
push ebx
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10001e28
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x88], 1
jb 0x10001d26
mov eax, dword [eax]
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x74]
push ecx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
mov esi, eax
mov dword [ebp - 4], ebx
xor ecx, ecx
inc ecx
mov dword [ebp - 0x88], ecx
and ecx, 0xfffffffe
push ebx
mov dword [ebp - 0x88], ecx
lea ecx, [ebp - 0xa0]
push 1
call fcn.1000176d
test esi, esi
je 0x10001d7d
push dword [ebp - 0x84]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [ebp - 0x80]
call esi
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
push 0
push 1
call fcn.1000176d
mov al, bl
jmp 0x10001d93
xor al, al
call fcn.10039fab
ret
Function at 0x10011377
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov byte [ebp - 1], dl
mov esi, ebx
cdq
push edi
mov edi, eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 0x1c]
or esi, eax
mov dword [ebp - 8], eax
jne 0x100113f9
mov ebx, edi
mov dword [ebp - 8], edx
xor ecx, ecx
mov edi, dword [ebp + 0x20]
cmp dword [ebp + 0xc], ecx
push 2
setne cl
xor eax, eax
shl ecx, 8
cmp dword [ebp - 0xc], eax
pop edx
setne al
mov dword [ebp + 0x1c], edx
or ecx, eax
xor esi, esi
movzx eax, byte [ebp - 1]
and eax, 7
shl ecx, 3
or ecx, eax
mov eax, dword [ebp + 8]
movzx eax, al
and eax, 0xf
shl ecx, 4
or ecx, eax
mov eax, dword [ebp - 8]
mov dword [edi], ecx
cmp eax, esi
ja 0x1001143b
jb 0x100113ea
cmp ebx, 0x7e
jae 0x10011412
movzx eax, bl
and eax, 0x7f
shl eax, 8
or eax, ecx
mov dword [edi], eax
jmp 0x10011468
cmp eax, edx
ja 0x100113a0
jb 0x10011403
cmp ebx, edi
jae 0x100113a0
push 0x57
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
jmp 0x100114b5
cmp eax, esi
ja 0x1001143b
jb 0x10011420
cmp ebx, 0xffff
ja 0x1001143b
or ecx, 0x7e00
push ebx
mov dword [edi], ecx
call dword [sym.imp.WS2_32.dll_htons]
movzx eax, ax
shl eax, 0x10
or dword [edi], eax
push 4
jmp 0x10011464
mov esi, dword [sym.imp.WS2_32.dll_htonl]
or ecx, 0x7f00
push eax
mov dword [edi], ecx
call esi
push ebx
mov edi, eax
call esi
xor ecx, ecx
xor esi, esi
or ecx, edi
or eax, esi
mov edi, dword [ebp + 0x20]
push 0xa
mov dword [edi + 2], ecx
mov dword [edi + 6], eax
pop edx
mov dword [ebp + 0x1c], edx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
test eax, eax
je 0x100114a1
push 4
push eax
lea eax, [edx + edi]
push eax
call fcn.10021ce0
mov edx, dword [ebp + 0x14]
add esp, 0xc
test edx, edx
jle 0x1001149b
mov ecx, dword [ebp + 0xc]
mov eax, esi
and eax, 3
mov al, byte [eax + ecx]
xor byte [esi + ebx], al
inc esi
cmp esi, edx
jl 0x1001148b
mov edx, dword [ebp + 0x1c]
add edx, 4
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x14]
mov dword [eax + 4], edi
mov dword [eax], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 8], ecx
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100117f7
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10059400]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push edi
push eax
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
xor ebx, ebx
mov dword [ebp - 0x10], eax
push ebx
push eax
push dword [ebp - 0xc]
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingA]
mov ecx, eax
mov dword [edi + 8], ecx
test ecx, ecx
jne 0x1001183e
call fcn.1000a89f
jmp 0x1001187b
mov eax, dword [ebp - 0x10]
push 4
pop edx
push ebx
push eax
push ebx
push ebx
push edx
push ecx
mov dword [edi + 4], eax
mov dword [edi + 0x18], edx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
call dword [sym.imp.KERNEL32.DLL_MapViewOfFileEx]
mov dword [edi], eax
test eax, eax
jne 0x10011879
call fcn.1000a89f
push dword [edi + 8]
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [edi + 8], ebx
mov eax, esi
jmp 0x1001187b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10021ccc
mov esp, ebp
pop ebp
ret 0x18

Function at 0x100119b5
Capabilities:
Resolve dns

Disassembly:
push 0xb8
mov eax, 0x10040da4
call fcn.10039ffc
mov dword [ebp - 0x38], edx
mov esi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0x1a
mov dword [ebp - 0x3c], eax
add eax, 2
push ebx
push eax
mov dword [ebp - 0x40], eax
call fcn.10022b50
add esp, 0xc
mov dword [ebp - 0x34], ebx
xor eax, eax
lea edi, [ebp - 0x2c]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x3c]
lea ecx, [ebp - 0xc4]
push esi
mov dword [ebp - 0x30], 0x100
movzx eax, word [edi]
mov dword [ebp - 0x2c], eax
call fcn.1000d92f
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push ebx
push dword [eax]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xc0]
cmp dword [ebp - 0xc4], eax
je 0x10011a40
push dword [ebp - 0xc4]
call fcn.10024424
pop ecx
test esi, esi
je 0x10011a4f
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
xor eax, eax
jmp 0x10011aab
mov ecx, dword [ebp - 0x34]
mov eax, ecx
test ecx, ecx
je 0x10011a82
cmp dword [eax + 4], 2
je 0x10011a6d
cmp dword [eax + 4], 0x17
je 0x10011a6d
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x10011a58
jmp 0x10011a82
push dword [eax + 0x10]
push dword [eax + 0x18]
push edi
call fcn.10021ce0
mov ecx, dword [ebp - 0x34]
xor ebx, ebx
add esp, 0xc
inc ebx
push ecx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test ebx, ebx
je 0x10011a9e
push dword [ebp - 0x38]
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [ebp - 0x40]
mov word [ecx], ax
jmp 0x10011aa9
push 0x2af9
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, ebx
call fcn.10039fab
ret
Function at 0x10011b3a
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10059400]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
xor eax, eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
mov word [ebp - 0x24], ax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 8], 0x1c
push eax
push ecx
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x10011b79
xor eax, eax
jmp 0x10011b8a
push ebx
push edi
push esi
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.10011ab1
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10021ccc
mov esp, ebp
pop ebp
ret

Function at 0x10011bbe
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10059400]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, edx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 4], 0
je 0x10011be9
sub esp, 0x18
push ecx
mov ecx, dword [esi + 4]
call fcn.10011787
jmp 0x10011c02
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
cmp eax, 0xffffffff
jne 0x10011c0e
call fcn.1000a89f
jmp 0x10011c12
mov dword [esi], eax
xor eax, eax
test eax, eax
js 0x10011c70
lea eax, [ebp - 0xc]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, 0xffffffff
jne 0x10011c38
call fcn.1000a89f
mov ecx, dword [ebp - 0x10]
test eax, eax
js 0x10011c3a
xor eax, eax
mov edx, dword [ebp - 0xc]
test eax, eax
js 0x10011c70
test edx, edx
jne 0x10011c4b
test ecx, ecx
je 0x10011c62
test edx, edx
ja 0x10011c62
jb 0x10011c54
cmp ecx, dword [ebp + 0xc]
ja 0x10011c62
sub esp, 0x14
mov ecx, edi
push dword [esi]
call fcn.100117f7
jmp 0x10011c70
or ecx, edx
mov eax, 0x800703ee
je 0x10011c70
mov eax, 0x800700df
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10021ccc
mov esp, ebp
pop ebp
ret

Function at 0x10011d14
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10059400]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
mov eax, ecx
push ebx
xor ecx, ecx
mov dword [ebp - 0x10], eax
inc ecx
mov dword [ebp - 0xc], ecx
push esi
push edi
test edx, edx
jne 0x10011d58
lea ecx, [ebp - 0xc]
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
mov ebx, 0xffff
push 4
push ecx
push 0xfffffffffffffffb
push ebx
push eax
call esi
mov edi, eax
lea eax, [ebp - 8]
jmp 0x10011d82
cmp edx, ecx
jne 0x10011d61
lea ecx, [ebp - 8]
jmp 0x10011d3d
cmp edx, 2
jne 0x10011d91
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
lea ecx, [ebp - 8]
push 4
push ecx
push 0xfffffffffffffffb
mov ebx, 0xffff
push ebx
push eax
call esi
mov edi, eax
lea eax, [ebp - 0xc]
push 4
push eax
push 4
push ebx
push dword [ebp - 0x10]
call esi
or edi, eax
jmp 0x10011d9c
push 0x57
call dword [sym.imp.KERNEL32.DLL_SetLastError]
or edi, 0xffffffff
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10021ccc
mov esp, ebp
pop ebp
ret
Function at 0x10011ef5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x10059400]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x40], eax
mov eax, dword [edi]
call dword [eax + 0xbc]
test eax, eax
je 0x10012070
mov ecx, edi
call fcn.100120f2
test eax, eax
je 0x10012070
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0xc0]
xor eax, eax
mov dword [edi + 0x10], 5
inc eax
xor ebx, ebx
mov dword [edi + 0xc], eax
mov ecx, edi
mov dword [edi + 0x18], eax
xor eax, eax
mov word [ebp - 0x20], ax
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x40]
lea eax, [ebp - 0x20]
mov dword [edi + 0x14], ebx
push dword [ebp + 0xc]
push eax
push esi
call fcn.100121da
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
je 0x10012030
push dword [ebp + 0x18]
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.1001230a
test eax, eax
je 0x10012020
push ebx
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov eax, dword [edi]
mov ecx, edi
push dword [edi + 0x1c]
call dword [eax + 0x84]
cmp eax, 2
je 0x1001200a
push dword [ebp + 0x10]
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.100123e0
test eax, eax
je 0x10011ffa
lea eax, [edi + 0x44]
push eax
push ebx
push edi
push 0x100124b8
push ebx
push ebx
call fcn.10027cca
add esp, 0x18
mov dword [edi + 0x40], eax
test eax, eax
je 0x10011fec
push dword [edi + 4]
inc ebx
call dword [sym.imp.KERNEL32.DLL_ResetEvent]
jmp 0x1001206b
push 0x65f
push str.CTcpClient::Start
push 8
jmp 0x1001203e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.CTcpClient::Start
push 0xb
jmp 0x1001203e
call esi
test eax, eax
mov ecx, 0x4c7
cmove eax, ecx
push eax
push str.CTcpClient::Start
push 5
jmp 0x1001203e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.CTcpClient::Start
push 4
jmp 0x1001203e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.CTcpClient::Start
push 3
mov ecx, edi
call fcn.10012e56
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], 5
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], 1
call esi
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx + 4]
push esi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov eax, ebx
pop ebx
jmp 0x10012072
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10021ccc
mov esp, ebp
pop ebp
ret 0x14
Function at 0x100129e6
Capabilities:
Send data
Send data on socket

Disassembly:
push 4
mov eax, 0x10040e61
call fcn.10039fc9
mov esi, ecx
mov ebx, dword [ebp + 8]
push 1
pop edi
jmp 0x10012a82
mov eax, dword [ebx + 0x18]
sub eax, dword [ebx + 0x14]
mov ecx, dword [esi + 0x2c]
cmp eax, ecx
push 0
cmovl ecx, eax
push ecx
push dword [ebx + 0x14]
push dword [esi + 0x1c]
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp + 8], eax
test eax, eax
jle 0x10012a7d
lea eax, [esi + 0x154]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
sub dword [esi + 0x188], eax
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
push 0
call dword [sym.imp.KERNEL32.DLL_SetLastError]
push dword [ebp + 8]
mov eax, dword [esi]
mov ecx, esi
push dword [ebx + 0x14]
call dword [eax + 0x90]
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x18]
mov edx, dword [ebp + 8]
sub eax, ecx
cmp eax, edx
cmovl edx, eax
lea eax, [ecx + edx]
mov dword [ebx + 0x14], eax
jmp 0x10012a82
cmp eax, 0xffffffff
je 0x10012a98
mov eax, dword [ebx + 0x18]
sub eax, dword [ebx + 0x14]
jne 0x100129ff
mov eax, edi
call fcn.10039f97
ret 8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x10012aac
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
jmp 0x10012a8e
xor edi, edi
mov dword [esi + 0x14], eax
inc edi
mov dword [esi + 0x10], 3
mov dword [esi + 0xc], edi
xor eax, eax
mov dword [esi + 0x18], edi
jmp 0x10012a90
Function at 0x10013670
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x10059400]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov dword [ebp - 0xc], 0x6c64746e
push 0x110
push eax
mov dword [ebp - 0x130], eax
mov esi, ecx
lea eax, [ebp - 0x12c]
mov word [ebp - 8], 0x6c
push eax
mov dword [ebp - 0x1c], 0x476c7452
mov dword [ebp - 0x18], 0x65567465
mov dword [ebp - 0x14], 0x6f697372
mov word [ebp - 0x10], 0x6e
call fcn.10022b50
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x10013715
lea ecx, [ebp - 0x130]
push ecx
call eax
test eax, eax
jne 0x10013715
mov eax, dword [ebp - 0x12c]
mov ecx, esi
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x128]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x124]
mov dword [esi + 0x18], eax
call fcn.10013724
mov byte [esi], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10021ccc
mov esp, ebp
pop ebp
ret
Function at 0x10013cf8
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push 0xcc
push 0x10054560
call fcn.1003f5c0
mov dword [ebp - 0xc8], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xc0], reloc.OLEAUT32.dll_SysReAllocString
xor ebx, ebx
mov edi, ebx
mov dword [ebp - 0xc4], edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2c], 0x41564441
mov dword [ebp - 0x28], 0x32334950
mov dword [ebp - 0x24], 0x6c6c642e
mov byte [ebp - 0x20], bl
movdqa xmm0, xmmword [str.RegCreateKeyExA]
movdqu xmmword [ebp - 0xb4], xmm0
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov esi, eax
mov dword [ebp - 0x74], 0x4f676552
mov dword [ebp - 0x70], 0x4b6e6570
mov dword [ebp - 0x6c], 0x78457965
mov word [ebp - 0x68], 0x41
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0x94], 0x53676552
mov dword [ebp - 0x90], 0x61567465
mov dword [ebp - 0x8c], 0x4565756c
mov word [ebp - 0x88], 0x4178
mov byte [ebp - 0x86], bl
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0xd0], eax
movdqa xmm0, xmmword [str.RegDeleteValueA]
movdqu xmmword [ebp - 0xa4], xmm0
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0x84], 0x44676552
mov dword [ebp - 0x80], 0x74656c65
mov dword [ebp - 0x7c], 0x79654b65
mov word [ebp - 0x78], 0x41
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0x38], 0x7274736c
mov dword [ebp - 0x34], 0x416e656c
mov byte [ebp - 0x30], bl
mov dword [ebp - 0x54], 0x4e52454b
mov dword [ebp - 0x50], 0x32334c45
mov dword [ebp - 0x4c], 0x6c6c642e
mov byte [ebp - 0x48], bl
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xbc]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push dword [ebp - 0xc8]
push dword [ebp - 0xc0]
call esi
test eax, eax
jne 0x10013f19
lea eax, [ebp - 0xbc]
push eax
push 0x2001f
push ebx
push dword [ebp - 0xc8]
push dword [ebp - 0xc0]
call dword [ebp - 0xdc]
test eax, eax
jne 0x10013f19
mov esi, dword [ebp - 0xd4]
push esi
call dword [ebp - 0xcc]
inc eax
push eax
push esi
xor esi, esi
inc esi
push esi
push ebx
push dword [ebp - 0xd8]
push dword [ebp - 0xbc]
call dword [ebp - 0xd0]
test eax, eax
cmove edi, esi
mov dword [ebp - 0xc4], edi
mov dword [ebp - 4], 0xfffffffe
call fcn.10013f35
mov eax, edi
call fcn.1003f608
ret
Function at 0x10013f35
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [ebp - 0x44], 0x43676552
mov dword [ebp - 0x40], 0x65736f6c
mov dword [ebp - 0x3c], 0x79654b
mov dword [ebp - 0x64], 0x41564441
mov dword [ebp - 0x60], 0x32334950
mov dword [ebp - 0x5c], 0x6c6c642e
mov byte [ebp - 0x58], bl
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push dword [ebp - 0xc0]
call eax
ret

Function at 0x1001437f
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x35c
mov eax, dword [0x10059400]
xor eax, esp
mov dword [esp + 0x358], eax
push ebx
push esi
push edi
mov esi, ecx
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x100143b1
xor al, al
jmp 0x10014463
push esi
test al, 0x10
jne 0x100143c7
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
neg eax
sbb eax, eax
neg eax
jmp 0x10014463
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x25c]
push str._s.
push eax
call ebx
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x100143aa
cmp byte [esp + 0x3c], 0x2e
je 0x10014440
test byte [esp + 0x10], 0x10
lea eax, [esp + 0x3c]
push eax
push esi
lea eax, [esp + 0x158]
push str._s_s
push eax
je 0x1001442d
call ebx
add esp, 0x10
lea ecx, [esp + 0x150]
call fcn.1001437f
jmp 0x10014440
call ebx
add esp, 0x10
lea eax, [esp + 0x150]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x100143f9
push edi
call dword [sym.imp.KERNEL32.DLL_FindClose]
push esi
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
test eax, eax
setne al
mov ecx, dword [esp + 0x364]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10021ccc
mov esp, ebp
pop ebp
ret

Function at 0x10014bc5
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x10059400]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
cmp dword [ebp - 0x54], 3
jae 0x10014be9
xor eax, eax
jmp 0x10014c0d
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0x40
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
shrd ecx, eax, 0x1e
shr eax, 0x1e
cmp ecx, 3
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10021ccc
mov esp, ebp
pop ebp
ret