joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10196030
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x438
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x101ad160
mov edi, 0x200
lea eax, [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 2
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x20], 0
cmp edi, 0x201
jae 0x101960c0
jmp 0x101960ae
jbe 0x1019614a
cmp edi, 0x201
jae 0x101960c0
mov dword [ebp - 0x30], 0x200
lea ebx, [ebp - 0x444]
mov esi, edi
jmp 0x101960f5
mov esi, dword [ebp - 0x34]
sub edi, esi
je 0x101960e9
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x28]
mov edx, esi
push 2
push 2
push edi
call fcn.101cb480
add esp, 0xc
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
push 0
call dword [sym.imp.kernel32.dll_SetLastError]
push ebx
push esi
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov edi, eax
test eax, eax
jne 0x10196119
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x101961ad
cmp edi, esi
jne 0x101960a0
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x101961cc
lea edi, [esi + esi]
test esi, esi
mov eax, 0xffffffff
cmovs edi, eax
cmp edi, 0x201
jb 0x101960ae
jmp 0x101960c0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], 0
cmp edi, eax
ja 0x101961e9
lea eax, [ebp - 0x44]
push edi
push ebx
push eax
call fcn.1019a100
add esp, 0xc
movsd xmm0, qword [ebp - 0x44]
mov esi, dword [ebp + 8]
movsd xmm1, qword [ebp - 0x3c]
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x10196197
add eax, eax
push 2
push eax
push dword [ebp - 0x24]
call fcn.10013780
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x438
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, dword [ebp + 8]
mov byte [esi + 4], 0
mov dword [esi + 8], eax
mov dword [esi], 0x80000000
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x10196187
jmp 0x10196197
mov dword [ebp - 0x10], 0
push 0x1024aa68
push 0x28
push str.internal_error:_entered_unreachable_code_
call fcn.101cc940
add esp, 0xc
jmp 0x101961f8
push 0x1024aa58
push eax
push edi
call fcn.101ccc90
add esp, 0xc
ud2
Function at 0x10199f00
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ebp + 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 8]
push 4
push ecx
push 1
push 6
push eax
call dword [sym.imp.ws2_32.dll_setsockopt]
mov cl, 4
cmp eax, 0xffffffff
jne 0x10199f41
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
xor ecx, ecx
mov byte [esi + 3], 0
mov word [esi + 1], 0
mov dword [esi + 4], eax
mov byte [esi], cl
mov eax, esi
add esp, 4
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push eax
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
lea edi, [ebp - 0xc]
mov edx, dword [edx]
mov edx, dword [edx]
mov dword [ebp - 0xc], 0
push 0
push 0
push 0
push edi
push ecx
push eax
push edx
call dword [sym.imp.ws2_32.dll_WSASend]
cmp eax, 0xffffffff
je 0x1019a040
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
mov byte [esi], 4
jmp 0x1019a04f
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov dword [esi + 4], eax
mov dword [esi], 0
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebp
ret
Function at 0x1019ddf0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1038
call fcn.101c5070
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x101ad380
mov esi, ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x24], edx
lea edi, [ebp - 0x1044]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
push 0x1000
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xorps xmm0, xmm0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x44]
push 0x101a3c70
push eax
push 0x1000
push edi
mov dword [ebp - 0x20], esi
push esi
call dword [sym.imp.kernel32.dll_ReadFileEx]
test eax, eax
je 0x1019df43
mov esi, dword [sym.imp.kernel32.dll_SleepEx]
push 1
push 0xffffffffffffffff
call esi
cmp dword [ebp - 0x30], 1
jne 0x1019de7a
cmp dword [ebp - 0x2c], 0
jne 0x1019df49
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x1019df49
cmp edi, 0x1000
ja 0x1019df85
xor ebx, ebx
nop dword [eax]
mov eax, edi
sub eax, ebx
jb 0x1019df6d
xorps xmm0, xmm0
lea edx, [ebp - 0x30]
lea ecx, [ebp + ebx - 0x1044]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], edx
push 0x101a3c70
lea edx, [ebp - 0x44]
push edx
push eax
push ecx
push dword [ebp - 0x24]
call dword [sym.imp.kernel32.dll_WriteFileEx]
test eax, eax
je 0x1019df43
nop dword [eax]
push 1
push 0xffffffffffffffff
call esi
cmp dword [ebp - 0x30], 1
jne 0x1019def0
cmp dword [ebp - 0x2c], 0
jne 0x1019df49
add ebx, dword [ebp - 0x28]
cmp ebx, edi
jne 0x1019deb0
xorps xmm0, xmm0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], eax
push 0x101a3c70
lea eax, [ebp - 0x44]
push eax
push 0x1000
lea eax, [ebp - 0x1044]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.kernel32.dll_ReadFileEx]
test eax, eax
jne 0x1019de7a
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
push dword [ebp - 0x20]
call esi
push dword [ebp - 0x24]
call esi
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x1038
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
push 0x1024a584
push edi
push ebx
call fcn.101cccf0
add esp, 0xc
jmp 0x1019df9f
mov dword [ebp - 0x10], 0
push 0x1024a584
push 0x1000
push edi
call fcn.101ccc90
add esp, 0xc
ud2
Function at 0x101a0e60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x258
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov edi, dword [ebx + 0x258]
cmp edi, 0xffffffff
je 0x101a0f56
movzx ecx, word [ebx + 0x32]
mov eax, dword [ebx]
movzx esi, word [ebx + 0x30]
mov dword [ebp - 0x10], ecx
movzx ecx, word [ebx + 0x34]
cmp eax, 1
mov dword [ebx], 0
jne 0x101a0ec9
mov eax, dword [ebx + 0x254]
cmp si, 0x2e
jne 0x101a0f88
cmp word [ebp - 0x10], 0
je 0x101a0ec9
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
xor eax, 0x2e
or ax, cx
mov eax, dword [ebp - 0x14]
jne 0x101a0f88
lea esi, [ebp - 0x264]
push 0x250
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push esi
push edi
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
je 0x101a0f61
mov eax, dword [ebx + 0x254]
mov ebx, dword [sym.imp.kernel32.dll_FindNextFileW]
mov dword [ebp - 0x10], eax
jmp 0x101a0f08
push esi
push edi
call ebx
test eax, eax
je 0x101a0f61
cmp word [ebp - 0x238], 0x2e
jne 0x101a0f2e
movzx eax, word [ebp - 0x236]
test ax, ax
je 0x101a0f00
cmp ax, 0x2e
jne 0x101a0f2e
cmp word [ebp - 0x234], 0
je 0x101a0f00
mov ebx, dword [ebp - 0x10]
lock inc dword [ebx]
jle 0x101a100f
mov edi, dword [ebp + 8]
lea eax, [edi + 8]
push 0x250
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edx, edi
add esp, 0xc
mov dword [edi + 4], ebx
jmp 0x101a0f7f
mov dword [edx], 0
jmp 0x101a1002
call dword [sym.imp.kernel32.dll_GetLastError]
mov edx, dword [ebp + 8]
xor ecx, ecx
cmp eax, 0x12
je 0x101a0f84
mov dword [edx + 4], 0
mov byte [edx + 8], 0
mov dword [edx + 0xc], eax
mov ecx, 1
mov dword [edx], ecx
jmp 0x101a1002
mov word [ebp - 0x14], cx
lock inc dword [eax]
jle 0x101a100f
mov edi, eax
lea eax, [ebx + 4]
add ebx, 0x36
movsd xmm2, qword [eax + 0x18]
movsd xmm1, qword [eax + 0x10]
mov ecx, dword [eax + 0x28]
movsd xmm0, qword [eax + 0x20]
movsd qword [edx + 0x20], xmm2
movsd qword [edx + 0x18], xmm1
movsd xmm2, qword [eax]
movsd xmm1, qword [eax + 8]
mov dword [edx + 0x30], ecx
movsd qword [edx + 0x28], xmm0
lea eax, [edx + 0x3a]
movsd qword [edx + 0x10], xmm1
movsd qword [edx + 8], xmm2
push 0x21e
push ebx
push eax
mov ebx, edx
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebx
add esp, 0xc
mov eax, dword [ebp - 0x10]
movzx ecx, word [ebp - 0x14]
mov dword [ebx + 4], edi
mov word [ebx + 0x34], si
mov word [ebx + 0x36], ax
mov word [ebx + 0x38], cx
mov dword [ebx], 1
mov eax, edx
add esp, 0x258
pop esi
pop edi
pop ebx
pop ebp
ret
ud2
Function at 0x101a1650
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, ecx
lea ecx, [ebp - 0x24]
push dword [ebp + 8]
call fcn.101aab20
add esp, 4
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov ecx, edx
neg ecx
mov ecx, dword [ebp - 0x1c]
jo 0x101a16a0
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x30]
push 1
call fcn.101abc40
add esp, 4
mov edi, dword [ebp - 0x18]
mov eax, edi
neg eax
jno 0x101a16ad
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [esi], eax
mov dword [esi + 4], ecx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ebp - 0x14]
push 0
push ebx
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
test eax, eax
je 0x101a16c6
mov byte [esi], 4
test edi, edi
jne 0x101a16d6
jmp 0x101a16a5
call dword [sym.imp.kernel32.dll_GetLastError]
mov byte [esi], 0
mov dword [esi + 4], eax
test edi, edi
je 0x101a16a5
add edi, edi
push 2
push edi
push ebx
call fcn.10013780
add esp, 0x30
jmp 0x101a16a8
Function at 0x101a1b80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
push dword [ebp + 0x10]
call fcn.101aab20
add esp, 4
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov ecx, edx
neg ecx
mov ecx, dword [ebp - 0x1c]
jo 0x101a1bd4
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x30]
push 1
call fcn.101abc40
add esp, 4
mov edi, dword [ebp - 0x18]
mov eax, edi
neg eax
jno 0x101a1be3
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ebp - 0x14]
push ebx
call dword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
je 0x101a1bfa
mov byte [esi], 4
test edi, edi
jne 0x101a1c0a
jmp 0x101a1bd9
call dword [sym.imp.kernel32.dll_GetLastError]
mov byte [esi], 0
mov dword [esi + 4], eax
test edi, edi
je 0x101a1bd9
add edi, edi
push 2
push edi
push ebx
call fcn.10013780
add esp, 0xc
jmp 0x101a1bd9

Function at 0x101a27f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov esi, ecx
mov ecx, dword [ebp + 0x14]
mov edi, edx
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x103
lea ebx, [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x20], edx
xor edx, edx
test cl, 1
lea ecx, [esp + 0x20]
cmovne edx, ecx
mov ecx, dword [ebp + 0xc]
push 0
push edx
push ecx
push eax
push ebx
push 0
push 0
push 0
push edi
call dword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x101a2869
push 0xffffffffffffffff
push edi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
cmp eax, 0xc0000011
jne 0x101a2879
mov dword [esi + 4], 0
jmp 0x101a288b
cmp eax, 0x103
je 0x101a28a5
test eax, eax
js 0x101a2896
mov eax, dword [esp + 0xc]
mov dword [esi + 4], eax
mov byte [esi], 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov byte [esi], 0
mov dword [esi + 4], eax
jmp 0x101a288e
lea eax, [esp + 4]
mov dword [esp + 0x2c], 0x1024a39c
mov dword [esp + 0x30], 1
mov dword [esp + 0x3c], 0
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x10]
lea esi, [esp + 0x44]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x38], 0
push eax
push ecx
push esi
call fcn.101992c0
add esp, 0xc
mov ecx, esi
call fcn.10191c40
mov ecx, 7
int 0x29
ud2
Function at 0x101a2910
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov esi, ecx
mov ecx, dword [ebp + 0x14]
mov edi, edx
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x103
lea ebx, [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x20], edx
xor edx, edx
test cl, 1
lea ecx, [esp + 0x20]
cmovne edx, ecx
mov ecx, dword [ebp + 0xc]
push 0
push edx
push ecx
push eax
push ebx
push 0
push 0
push 0
push edi
call dword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x101a2990
push 0xffffffffffffffff
push edi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
cmp eax, 0x103
je 0x101a29b2
test eax, eax
js 0x101a299c
mov eax, dword [esp + 0xc]
mov bl, 4
jmp 0x101a29a5
xor ebx, ebx
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov dword [esi + 4], eax
mov byte [esi], bl
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 4]
mov dword [esp + 0x2c], 0x1024a39c
mov dword [esp + 0x30], 1
mov dword [esp + 0x3c], 0
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x10]
lea esi, [esp + 0x44]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x38], 0
push eax
push ecx
push esi
call fcn.101992c0
add esp, 0xc
mov ecx, esi
call fcn.10191c40
mov ecx, 7
int 0x29
ud2

Function at 0x101a2a10
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov ebx, 2
cmp byte [eax], 0
mov eax, 0x17
cmovne ebx, eax
push 0x81
push 0
push 0
push 0
push edi
push ebx
call dword [sym.imp.ws2_32.dll_WSASocketW]
cmp eax, 0xffffffff
je 0x101a2a54
mov dword [esi + 4], eax
mov byte [esi], 4
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2726
je 0x101a2a68
cmp eax, 0x2739
jne 0x101a2a93
push 1
push 0
push 0
push 0
push edi
push ebx
call dword [sym.imp.ws2_32.dll_WSASocketW]
cmp eax, 0xffffffff
je 0x101a2a9b
mov edi, eax
push 0
push 1
push eax
call dword [sym.imp.kernel32.dll_SetHandleInformation]
test eax, eax
je 0x101a2aac
mov dword [esi + 4], edi
jmp 0x101a2a4a
mov byte [esi], 0
mov dword [esi + 4], eax
jmp 0x101a2a4d
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov dword [esi + 4], eax
mov dword [esi], 0
jmp 0x101a2a4d
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esi + 4], eax
mov dword [esi], 0
push edi
call dword [sym.imp.ws2_32.dll_closesocket]
jmp 0x101a2a4d
Function at 0x101a8890
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x101ad530
mov eax, dword [ebp + 8]
mov ebx, ecx
lea ecx, [ebp - 0x18]
mov esi, dword fs:[0]
mov dword [ebp - 0x18], esi
mov dword fs:[0], ecx
lea ecx, [ebp - 0x44]
push eax
call fcn.101aab20
add esp, 4
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
mov edx, ecx
neg edx
mov edx, dword [ebp - 0x3c]
jo 0x101a8902
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x48], edx
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x50]
mov dword [ebp - 0x4c], eax
call fcn.101a0d60
mov esi, dword [ebp - 0x38]
mov eax, esi
neg eax
jno 0x101a896f
movzx eax, byte [ebp - 0x34]
mov edx, dword [ebp - 0x30]
cmp al, 3
jne 0x101a8958
mov eax, dword [edx]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [eax]
test eax, eax
je 0x101a892f
mov dword [ebp - 0x10], 0
push dword [ebp - 0x20]
mov dword [ebp - 0x2c], ebx
call eax
mov ebx, dword [ebp - 0x2c]
add esp, 4
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
test eax, eax
je 0x101a8949
push dword [edx + 8]
push eax
push ecx
call fcn.10013780
add esp, 0xc
push 4
push 0xc
push dword [ebp - 0x28]
call fcn.10013780
add esp, 0xc
mov dword [ebx], 0x80000000
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
push edi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x101a8991
mov eax, dword [ebp - 0x20]
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov dword [ebx + 8], eax
jmp 0x101a895e
test esi, esi
mov dword [ebx], 0x80000000
je 0x101a895e
add esi, esi
push 2
push esi
push edi
call fcn.10013780
add esp, 0xc
jmp 0x101a895e
Function at 0x101a9e10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x101ad570
lea eax, [ebp - 0x18]
mov ebx, dword [ebp + 0x10]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
movzx eax, byte [0x10284b49]
push 4
push 8
call fcn.10013770
add esp, 8
test eax, eax
je 0x101a9efb
mov esi, eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [esi], ebx
mov dword [esi + 4], ecx
push 0
push 0x10000
push esi
push 0x101a9f70
push eax
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
test eax, eax
je 0x101a9e8d
mov dword [edi + 4], eax
mov byte [edi], 4
jmp 0x101a9ee8
mov eax, dword [esi]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [eax]
test eax, eax
je 0x101a9eb3
mov dword [ebp - 0x10], 1
push dword [ebp - 0x24]
call eax
mov edi, dword [ebp + 8]
add esp, 4
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
test eax, eax
je 0x101a9ecd
push dword [edx + 8]
push eax
push ecx
call fcn.10013780
add esp, 0xc
push 4
push 8
push dword [ebp - 0x28]
call fcn.10013780
add esp, 0xc
call dword [sym.imp.kernel32.dll_GetLastError]
mov byte [edi], 0
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
push 8
push 4
call fcn.101cc679
add esp, 8
ud2
Function at 0x101aa270
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], esp
mov dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x34], 0x101ad5b0
lea eax, [esi + 0x30]
mov ecx, dword fs:[0]
mov dword [esi + 0x30], ecx
mov dword fs:[0], eax
movq xmm0, qword [0x10284c10]
movd ecx, xmm0
pshufd xmm0, xmm0, 0x55
movd edx, xmm0
mov eax, ecx
or eax, edx
jne 0x101aa2f9
mov eax, esi
mov dword [esi + 4], 0
mov dword [esi], 0
push eax
call dword [sym.imp.kernel32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x101aa397
mov ecx, dword [esi]
mov edx, dword [esi + 4]
movq xmm0, qword [esi]
mov eax, ecx
movq qword [0x10284c10], xmm0
or eax, edx
je 0x101aa3cd
mov eax, dword [ebp + 8]
mov dword [esi + 0x10], edx
mov dword [esi + 0xc], eax
push edx
push ecx
push dword [ebp + 0xc]
push eax
mov ebx, ecx
mov dword [esi + 0x1c], ecx
call fcn.101c5430
mov edi, edx
mov dword [esi + 0x14], eax
mul ebx
imul ecx, edi, 0x3b9aca00
imul edi, ebx
mov ebx, dword [esi + 0x14]
add edi, edx
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp + 0xc]
mov edx, ebx
imul edx, dword [esi + 0x10]
add edi, edx
sub dword [esi + 0xc], eax
mov edx, 0x3b9aca00
mov eax, ebx
sbb ecx, edi
mul edx
mov edi, eax
mov eax, dword [esi + 0xc]
mov ebx, edx
mov edx, 0x3b9aca00
imul ecx, ecx, 0x3b9aca00
add ebx, dword [esi + 0x18]
mul edx
add edx, ecx
push dword [esi + 0x10]
push dword [esi + 0x1c]
push edx
push eax
call fcn.101c5430
add edi, eax
adc edx, ebx
push 0
push 0x3b9aca00
push edx
push edi
call fcn.101c5430
imul ecx, eax, 0x3b9aca00
sub edi, ecx
mov ecx, dword [esi + 0x30]
mov dword fs:[0], ecx
mov ecx, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], 0
mov dword [esi + 0x38], 0
lea eax, [esi + 0x20]
push 0x1024a9e0
push 0x10248660
push eax
push 0x2b
push 0x10248670
call fcn.101ccb80
add esp, 0x14
ud2
push 0x10249c04
call fcn.101cce80
nop word [eax + eax]
push ebp
sub esp, 0x14
lea esi, [ebp - 0x3c]
mov ebp, dword [esi + 0x28]
lea eax, [esi + 0x20]
push eax
call fcn.10191600
add esp, 0x18
pop ebp
ret
Function at 0x101ab570
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov ecx, dword [ebp + 8]
xor esi, esi
mov edi, dword [ecx + 8]
mov eax, dword [ecx + 4]
mov ecx, 0
cmp edi, 3
jb 0x101ab5c2
movzx edx, byte [edi + eax - 2]
xor esi, esi
mov ecx, edx
and cl, 0xf0
cmp cl, 0xa0
mov ecx, 0
jne 0x101ab5c2
xor esi, esi
cmp byte [edi + eax - 3], 0xed
jne 0x101ab5c2
movzx esi, byte [edi + eax - 1]
and edx, 0xf
mov cl, 1
shl edx, 0x10
and esi, 0x3f
shl esi, 0xa
or esi, edx
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
cmp edx, 3
mov dword [ebp - 0x10], ebx
jb 0x101ab676
cmp byte [ebx], 0xed
jne 0x101ab67a
mov edx, dword [ebp + 0xc]
movzx ebx, byte [edx + 1]
mov edx, ebx
and dl, 0xf0
cmp dl, 0xb0
setne dl
xor cl, 1
or cl, dl
jne 0x101ab67a
mov eax, dword [ebp + 0xc]
mov ecx, ebx
cmp edi, 3
movzx eax, byte [eax + 2]
jb 0x101ab611
mov ebx, dword [ebp + 8]
add edi, 0xfffffffd
mov dword [ebx + 8], edi
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
and eax, 0x3f
mov dword [ebp - 0x14], eax
shl ebx, 6
mov ecx, dword [ecx]
lea eax, [edx + 1]
sub ecx, edi
cmp ecx, eax
jb 0x101ab734
or esi, dword [ebp - 0x14]
and ebx, 0x3c0
add dword [ebp - 0x10], 3
or esi, ebx
add esi, 0x10000
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.1019e220
add esp, 8
mov edx, dword [ebp + 0x10]
mov eax, dword [esi]
mov edi, dword [esi + 8]
add edx, 0xfffffffd
sub eax, edi
cmp eax, edx
jb 0x101ab74b
mov eax, dword [esi + 4]
add eax, edi
push edx
push dword [ebp - 0x10]
jmp 0x101ab6fe
test edx, edx
je 0x101ab6ea
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
add ecx, esi
jmp 0x101ab696
add esi, 2
cmp edx, ecx
cmovne edx, esi
nop dword [eax]
cmp edx, ecx
mov esi, edx
je 0x101ab6ea
movzx ebx, byte [esi]
lea edx, [esi + 1]
test bl, bl
jns 0x101ab690
cmp bl, 0xe0
jb 0x101ab684
cmp bl, 0xed
jne 0x101ab6c2
cmp edx, ecx
je 0x101ab6ea
lea edx, [esi + 2]
cmp edx, ecx
je 0x101ab6ea
cmp byte [esi + 1], 0x9f
ja 0x101ab6e3
add esi, 3
mov edx, esi
jmp 0x101ab690
add esi, 2
cmp edx, ecx
cmove esi, edx
xor edx, edx
cmp esi, ecx
setne dl
add edx, esi
cmp bl, 0xf0
jb 0x101ab690
xor ebx, ebx
cmp edx, ecx
setne bl
add edx, ebx
jmp 0x101ab690
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xc], 0
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov ecx, dword [esi]
sub ecx, edi
cmp ecx, edx
jb 0x101ab716
add eax, edi
push edx
push dword [ebp + 0xc]
push eax
mov ebx, edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add edi, ebx
mov dword [esi + 8], edi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, edi
mov ecx, esi
push 1
push 1
push dword [ebp + 0x10]
call fcn.101cb480
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov eax, dword [esi + 4]
mov edi, dword [esi + 8]
jmp 0x101ab6f8
mov ecx, dword [ebp + 8]
mov edx, edi
push 1
push 1
push eax
call fcn.101cb480
add esp, 0xc
jmp 0x101ab631
mov ebx, edx
mov edx, edi
mov ecx, esi
push 1
push 1
push ebx
call fcn.101cb480
mov edx, ebx
add esp, 0xc
mov edi, dword [esi + 8]
jmp 0x101ab668