joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10d31e55
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi]
mov dword [esp + 0x10], edi
cmp eax, 0x40
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 0x1f4
jge 0x10d31ed6
mov ecx, dword [esi + 0x118]
call fcn.10d31b30
mov ecx, dword [esi + 0x118]
call fcn.10d31c70
cmp dword [esi], 0x40
jge 0x10d31eb0
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea ebp, [esi + 8]
mov ecx, dword [esi + 0x118]
push ebp
call fcn.10d31be0
test eax, eax
je 0x10d31eb0
push esi
call ebx
mov edi, dword [esi]
cmp edi, 0x40
jl 0x10d31e96
cmp edi, 0x40
jge 0x10d31ec0
mov ecx, dword [esi + 0x118]
call fcn.10d31c30
mov ecx, dword [esi + 0x118]
call fcn.10d31cb0
mov ecx, dword [esi + 0x118]
call fcn.10d31b40
lea edi, [esi + 0xc]
lea ecx, [esi + 8]
mov dword [edi], 0
call fcn.10d31a50
mov ecx, dword [esi]
xor edx, edx
test ecx, ecx
jle 0x10d31f0b
mov ecx, dword [edi]
cmp ecx, 0x40
jae 0x10d31f01
mov ebx, dword [eax]
mov dword [esi + ecx*4 + 0x10], ebx
mov ecx, dword [edi]
inc ecx
mov dword [edi], ecx
mov ecx, dword [esi]
mov eax, dword [eax + 8]
inc edx
cmp edx, ecx
jl 0x10d31eef
test edx, edx
jle 0x10d31f2e
lea eax, [esp + 0x18]
push eax
push 0
push 0
push edi
push 0
call sub.WSOCK32.dll_select
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x10d31f2e
call sub.WSOCK32.dll_WSAGetLastError
lea ecx, [esi + 8]
call fcn.10d31a50
mov ebp, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10d31fd2
test ebp, ebp
je 0x10d31fd2
mov eax, dword [ebp]
lea ecx, [esi + 0xc]
push ecx
push eax
mov dword [esp + 0x1c], eax
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x10d31fc7
mov ecx, ebp
call fcn.10d32060
push 8
mov ebx, eax
call sub.libjsybheap.dll_Ordinal_13
mov edi, eax
add esp, 4
test edi, edi
je 0x10d31f8b
mov dword [edi], 0x10dc4678
mov dword [edi + 4], ebx
mov ecx, dword [ebx]
push ebx
call dword [ecx + 4]
jmp 0x10d31f8d
xor edi, edi
mov ecx, dword [esi + 0x11c]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
test eax, eax
je 0x10d31fc1
mov eax, dword [esp + 0x14]
lea ecx, [esi + 8]
push eax
call fcn.10d319f0
cmp dword [esi], 0x40
jne 0x10d31fba
mov ecx, dword [esi + 0x118]
call fcn.10d31c30
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ecx, dword [ebx]
push ebx
call dword [ecx + 8]
mov ebp, dword [ebp + 8]
test ebp, ebp
jne 0x10d31f4c
cmp dword [esi], 1
jge 0x10d31fe4
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x10d31fe4
inc dword [esi + 4]
jmp 0x10d31feb
mov dword [esi + 4], 0
cmp dword [esi + 4], 0x14
jge 0x10d32001
mov edx, dword [esi + 0x118]
mov eax, dword [edx + 0x110]
test eax, eax
je 0x10d3200b
mov dword [esi + 0x110], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x10d32510
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
push 0
push 1
mov esi, ecx
push 2
call sub.WSOCK32.dll_socket
cmp eax, 0xffffffff
mov dword [esi + 8], eax
jne 0x10d32553
call sub.WSOCK32.dll_WSAGetLastError
mov esi, dword [esi + 0x1c]
push 0xc9a
push 0x26ef
push esi
mov eax, dword [esi]
call dword [eax + 0x20]
add esp, 0xc
mov ax, 0x26ef
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
lea ebx, [esi + 0xc]
xor ecx, ecx
mov edx, ebx
xor edi, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [edx], ecx
mov word [esp + 0x10], 2
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov eax, dword [esi + 0x48]
mov ecx, dword [eax + 6]
push ecx
call fcn.10d32960
add esp, 4
mov ebp, eax
call fcn.10bd19f0
test eax, eax
je 0x10d3259e
xor edx, edx
mov dl, byte [ebp]
push edx
call dword [sym.imp.MSVCRT.dll__ismbcalpha]
jmp 0x10d325aa
xor eax, eax
mov al, byte [ebp]
push eax
call dword [sym.imp.MSVCRT.dll_isalpha]
add esp, 4
test eax, eax
je 0x10d325f8
push 0x10e1ba68
push ebp
call sub.WSOCK32.dll_getservbyname
test eax, eax
jne 0x10d325f2
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x1c]
push 0xcae
mov edx, dword [edx + 6]
mov ecx, dword [eax]
push edx
push 0x26e0
push eax
call dword [ecx + 0x20]
add esp, 0x10
push ebp
call sub.libjsybheap.dll_Ordinal_16
add esp, 4
mov ax, 0x26e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov ax, word [eax + 8]
jmp 0x10d32608
push ebp
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
push eax
call sub.WSOCK32.dll_htons
mov word [esp + 0x12], ax
mov edx, dword [esp + 0x10]
mov ecx, ebx
xor eax, eax
push ebp
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov eax, edi
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edi
call sub.libjsybheap.dll_Ordinal_16
mov eax, dword [esi + 8]
add esp, 4
push 0x10
push ebx
push eax
call sub.WSOCK32.dll_bind
cmp eax, 0xffffffff
jne 0x10d3266f
mov ecx, dword [esi + 0x1c]
push 0xcd2
mov edi, 0x26e3
mov ebx, dword [ecx]
call sub.WSOCK32.dll_WSAGetLastError
push eax
mov ecx, esi
call fcn.10d32680
mov edx, dword [esi + 0x1c]
push eax
push edi
push edx
call dword [ebx + 0x20]
add esp, 0x10
mov ax, di
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
xor edi, edi
mov ax, di
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x10d329b0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret
Function at 0x10d32ec0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x18]
push edi
mov eax, dword [esi + 0xe8]
mov dword [esp + 0x10], 0
push eax
mov eax, dword [esi + 0x84]
push ebp
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
test edi, edi
jne 0x10d33039
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x6d
je 0x10d33029
cmp eax, 0x3e5
je 0x10d32fdc
call ebx
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x74]
cmp eax, edi
mov dword [esi + 0x6c], 0x3eb
je 0x10d32f3e
mov ecx, dword [eax]
push 0x124
push 0x3eb
push eax
call dword [ecx + 0x20]
add esp, 0xc
mov eax, dword [esi + 0x84]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, edi
je 0x10d32f56
cmp eax, 0xffffffff
je 0x10d32f56
push eax
call ebx
mov eax, dword [esi + 0xf0]
mov ebp, 1
cmp eax, edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x28], 3
mov dword [esi + 0xec], ebp
je 0x10d32f7f
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x88]
cmp eax, edi
je 0x10d32f8c
push eax
call ebx
mov eax, dword [esi + 0x94]
cmp eax, edi
je 0x10d32f99
push eax
call ebx
mov eax, dword [esi + 0x98]
cmp eax, edi
je 0x10d32fa6
push eax
call ebx
mov dword [esi + 0x28], 4
mov eax, dword [esi + 0x28]
sub eax, 3
mov dword [esi + 0x84], edi
neg eax
sbb eax, eax
mov dword [esi + 0x88], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x54], ebp
and eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
mov edx, dword [esi + 0x98]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esi + 0x28], 3
je 0x10d33039
mov ecx, dword [esi + 0xe8]
mov edx, dword [esi + 0x84]
lea eax, [esp + 0x10]
push 0
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov edi, eax
mov eax, dword [esp + 0x10]
mov dword [ebp], eax
mov eax, dword [esi + 0x28]
sub eax, 3
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
mov dword [esi + 0x54], 1
mov dword [esi + 0x28], 4
xor edi, edi
mov eax, dword [esi + 0x28]
sub eax, 3
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x10d33670
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x28]
cmp eax, 5
je 0x10d33686
cmp eax, 2
jne 0x10d3373b
mov eax, dword [esi + 0xe4]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esi + 0x84]
push edi
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10d3373d
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
sub eax, 0x6d
je 0x10d33707
sub eax, 0x7b
je 0x10d33700
sub eax, 0x2fd
jne 0x10d33715
mov ecx, dword [esi + 0x94]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0xe4]
mov ecx, dword [esi + 0x84]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov edx, dword [esp + 0x18]
mov dword [edi], edx
pop edi
pop esi
pop ebx
ret 0xc
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 1
mov dword [esi + 0x28], 4
call ebx
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], 0x3ea
mov esi, dword [esi + 0x74]
test esi, esi
je 0x10d3373b
mov eax, dword [esi]
push 0x23f
push 0x3ea
push esi
call dword [eax + 0x20]
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
ret 0xc

Function at 0x10d33bb0
Capabilities:
Create thread

Disassembly:
mov ecx, dword [esp + 4]
lea eax, [esp + 4]
push eax
push 0
push ecx
push 0x10d34670
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
ret 4
Function at 0x10d33be0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x94
push esi
mov esi, ecx
push edi
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
mov eax, 0x63
je 0x10d33c17
mov eax, dword [esp + 0x18]
xor ecx, ecx
cmp eax, 2
setne cl
mov edx, dword [esi + 0xa0]
dec ecx
and ecx, 0x40000000
push 0
push ecx
push 3
push 0
push 3
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x84], eax
call edi
cmp eax, 0xe7
ja case.0x10d33c62.4
xor ecx, ecx
mov cl, byte [eax + 0x10d33da8]
jmp dword [ecx*4 + 0x10d33d94]
mov dword [esi + 0x54], 0
mov dword [esi + 0x50], 1
pop edi
pop esi
add esp, 0x94
ret
mov edx, dword [esi + 0xa0]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
test eax, eax
jne 0x10d33d88
call edi
test eax, eax
mov dword [esi + 0x68], eax
jne 0x10d33cac
mov dword [esi + 0x54], eax
pop edi
pop esi
add esp, 0x94
ret
cmp eax, 0xe7
jne 0x10d33ce7
mov eax, dword [esi + 0x74]
mov dword [esi + 0x50], 1
test eax, eax
mov dword [esi + 0x6c], 0x3ef
je 0x10d33d88
mov edx, dword [esi + 0xa0]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0x20]
add esp, 0xc
pop edi
pop esi
add esp, 0x94
ret
mov eax, dword [esi + 0x74]
test eax, eax
je 0x10d33d88
mov edx, dword [esi + 0xa0]
mov ecx, dword [eax]
push edx
push 5
push eax
call dword [ecx + 0x20]
add esp, 0xc
pop edi
pop esi
add esp, 0x94
ret
mov eax, dword [esi + 0x74]
mov dword [esi + 0x6c], 0x3ec
test eax, eax
je 0x10d33d88
mov ecx, dword [esi + 0x28]
test ecx, ecx
jne 0x10d33d88
mov ecx, dword [eax]
push 0x368
push 0x3ec
push 5
push eax
call dword [ecx + 0x20]
add esp, 0x10
pop edi
pop esi
add esp, 0x94
ret
mov eax, dword [esi + 0x74]
mov dword [esi + 0x6c], 0x3ee
test eax, eax
je 0x10d33d88
mov ecx, dword [esi + 0x28]
test ecx, ecx
jne 0x10d33d88
mov ecx, dword [esi + 0xa0]
mov edx, dword [eax]
push ecx
push 2
push eax
call dword [edx + 0x20]
add esp, 0xc
pop edi
pop esi
add esp, 0x94
ret
mov esi, dword [esi + 0x74]
test esi, esi
je 0x10d33d88
mov edx, dword [esi]
push eax
push 0x3e9
push 5
push esi
call dword [edx + 0x20]
add esp, 0x10
pop edi
pop esi
add esp, 0x94
ret
Function at 0x10d33e90
Capabilities:
Create thread

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
call fcn.10d32b20
mov eax, dword [esp + 0x1c]
mov ecx, 1
test eax, eax
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], 0
mov dword [esi + 0x118], 0
mov dword [esi + 0x11c], ecx
mov dword [esi], 0x10dc4708
mov dword [esp + 4], 0
mov dword [esi + 4], ecx
mov dword [esi + 0x50], ecx
je 0x10d33f02
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [esi + 0x110]
mov ecx, dword [eax + 0x10]
add eax, 0x14
mov dword [esi + 0x74], ecx
mov ecx, esi
mov dword [esi + 0x78], eax
call fcn.10d33390
mov ecx, esi
call fcn.10d33fb0
xor edx, edx
mov dword [esp + 8], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edx
push edx
push edx
push edx
push edx
mov dword [esp + 0x24], edx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esp + 0x14], eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x10d34710
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov edx, dword [esp + 0x2c]
add esp, 0x18
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x10d33f5c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 0x14
ret 4

Function at 0x10d33fb0
Capabilities:
Create pipe

Disassembly:
push esi
mov esi, ecx
push edi
push 1
lea edi, [esi + 8]
push edi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov ecx, dword [esi + 0xa4]
lea eax, [esi + 0x1c]
push eax
mov dword [esi + 0x24], 1
mov dword [eax], 0xc
mov eax, dword [esi + 0x70]
push eax
push ecx
push ecx
mov ecx, dword [esi + 0xa0]
push 0xff
push 6
push 0x40000003
push ecx
mov dword [esi + 0x20], edi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
test eax, eax
mov dword [esi + 0x84], eax
je 0x10d34015
cmp eax, 0xffffffff
jne 0x10d34058
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x110]
mov dword [esi + 0x68], eax
test ecx, ecx
mov dword [esi + 0x6c], 0x3e9
je 0x10d3403e
mov dword [ecx + 0x22], eax
mov edx, dword [esi + 0x110]
mov eax, dword [esi + 0x6c]
mov dword [edx + 0x26], eax
mov esi, dword [esi + 0x74]
test esi, esi
je 0x10d34058
mov ecx, dword [esi]
push 0x3da
push 0x3e9
push esi
call dword [ecx + 0x20]
add esp, 0xc
pop edi
pop esi
ret
Function at 0x10d34060
Capabilities:
Connect pipe

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x84]
test eax, eax
je 0x10d34076
cmp eax, 0xffffffff
jne 0x10d3407e
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
lea ebx, [esi + 0xa8]
xor eax, eax
mov ecx, ebx
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
push eax
push eax
push 1
push eax
mov dword [ecx + 0x10], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edx, dword [esi + 0x84]
push ebx
push edx
mov dword [esi + 0x88], eax
mov dword [esi + 0xb8], eax
mov dword [esi + 0x28], 1
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov edi, eax
test edi, edi
jne 0x10d34146
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebp
cmp eax, 0x217
je 0x10d34177
cmp eax, 0x3e5
je 0x10d34112
call ebp
mov ecx, dword [esi + 0x110]
mov dword [esi + 0x68], eax
test ecx, ecx
mov dword [esi + 0x6c], 0x3ed
je 0x10d34107
mov dword [ecx + 0x22], eax
mov eax, dword [esi + 0x110]
mov ecx, dword [esi + 0x6c]
mov dword [eax + 0x26], ecx
mov dword [esi + 0x28], 4
xor edi, edi
jmp 0x10d34154
mov edx, dword [esi + 0x88]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x11c]
test eax, eax
je 0x10d34154
mov ecx, dword [esi + 0x84]
lea eax, [esp + 0x10]
push 0
push eax
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov edi, eax
test edi, edi
je 0x10d34154
mov dword [esi + 0x28], 5
mov dword [esi + 0x54], 0
mov eax, dword [esi + 0x88]
test eax, eax
je 0x10d3416f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x88], 0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov dword [esi + 0x28], 5
mov dword [esi + 0x54], 0
mov edi, 1
jmp 0x10d34154

Function at 0x10d8bf90
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
sub esp, 0x120
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], ecx
push ecx
lea ecx, [esp + 0x18]
call fcn.10d8c780
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
cmp eax, ebx
jne 0x10d8bfba
mov ebx, dword [esp + 0x28]
jmp 0x10d8bfbc
sub ebx, eax
lea esi, [ebx + 1]
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
mov ecx, esi
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
mov ecx, ebx
je 0x10d8c004
lea esi, [esp + eax + 0x30]
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
jmp 0x10d8c013
mov edi, edx
mov edx, ecx
lea esi, [esp + 0x30]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, dword [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebp
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret
Function at 0x10da0680
Capabilities:
Resume thread

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 8]
lea ebp, [esi + 4]
mov dword [esi], 0x10dc51b8
lea eax, [edi + 4]
mov dword [ebp], 0x10dc4680
push eax
mov dword [edi], 0x10dc4674
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
push 0
push 1
lea ecx, [esi + 0x24]
call fcn.10da1ce0
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0x34]
push ebx
call fcn.10da0db0
lea ecx, [esi + 0x3c]
call fcn.10da1750
push 0
push 0
push ebx
push 0
lea ecx, [esi + 0x80]
call fcn.10da11c0
mov edx, dword [esp + 0x24]
lea ecx, [esi + 0x98]
mov dword [esi + 0x8c], edx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], 0
call fcn.10da12f0
push 0
push 0
push ebx
lea ecx, [esi + 0xdc]
push 0
call fcn.10da11c0
push edi
lea ecx, [esp + 0x14]
mov dword [esi], 0x10dc51b0
mov dword [ebp], 0x10dc51a8
call fcn.10da1150
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, 1
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x8c]
cmp eax, ecx
jge 0x10da07c2
push 0x14
call fcn.10b01000
add esp, 4
test eax, eax
je 0x10da0779
mov edx, esi
push 0
neg edx
sbb edx, edx
push 0
and edx, ebp
push 4
push edx
mov ecx, eax
call fcn.10da1c30
jmp 0x10da077b
xor eax, eax
test eax, eax
mov dword [esp + 0x2c], eax
je 0x10da07bc
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esi + 0x98]
call fcn.10da13e0
mov edi, eax
test edi, edi
je 0x10da07da
mov eax, dword [esp + 0x2c]
lea ecx, [esi + 0x34]
push eax
mov edx, dword [eax + 0xc]
push edx
call fcn.10da0e00
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
push ecx
call ebx
inc dword [esi + 0x94]
jmp 0x10da07be
xor edi, edi
test edi, edi
jne 0x10da0743
test edi, edi
je 0x10da07da
mov edx, dword [esi + 0x94]
push 0
push edx
lea ecx, [esi + 0xdc]
call fcn.10da1280
lea ecx, [esp + 0x10]
call fcn.10da1180
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
Function at 0x10da1c30
Capabilities:
Create thread

Disassembly:
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
mov esi, ecx
lea ecx, [esi + 0xc]
mov dword [esi + 0x10], eax
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
mov eax, dword [esp + 0x20]
push 0x10da1c90
push eax
push ecx
mov dword [esi + 4], 0
mov dword [esi + 8], 6
mov dword [esi], 0x10dc5218
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
je 0x10da1c83
cmp eax, 0xffffffff
je 0x10da1c83
mov dword [esi + 8], 0
mov eax, esi
pop esi
ret 0x10
Function at 0x100278ea
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10027929
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10027929
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10027929
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10027929
cmp dword [ecx + 0x74], 0xe
jbe 0x10027929
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1002a2b4
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1002a351
push ebx
push esi
call fcn.1002a27d
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1002a211
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1002a2fe
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002a350
push edi
push eax
call fcn.10028bb2
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1002a31e
call fcn.10028c00
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002a34f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1002a211
add esp, 0x20
test eax, eax
jne 0x1002a33d
push edi
call fcn.10028c00
jmp 0x1002a345
push ebx
call fcn.10028c00
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1002a5be
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100322e0
push 0x100322d8
push str.FlsAlloc
push 0x1f
call fcn.1002a4da
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002a5f2
push dword [ebp + 8]
mov ecx, esi
call dword [0x10030150]
call esi
jmp 0x1002a5f8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1002a63c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100322f0
push 0x100322e8
push str.FlsGetValue
push 0x21
call fcn.1002a4da
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002a673
push dword [ebp + 8]
mov ecx, esi
call dword [0x10030150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1002a67b
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100322f8
push 0x100322f0
push str.FlsSetValue
push 0x22
call fcn.1002a4da
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002a6b5
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10030150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1002fbc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002fbed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002fbed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x38967279
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
mov eax, section..data_1
nop
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x42557bb8
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219