joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101127a0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10246040
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x102c6474]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x101127e9
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x101127f0
call dword [sym.imp.USER32.dll_CloseClipboard]
xor al, al
jmp 0x101128b2
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
xor bl, bl
call fcn.101126f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10007f3e
test al, al
jne 0x1011289b
lea ecx, [ebp - 0x30]
call fcn.10007f50
lea ecx, [ebp - 0x30]
lea edi, [eax*2 + 2]
call fcn.10007f54
push edi
push 0x2002
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x10112867
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
test eax, eax
jne 0x1011286b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov byte [ebp - 4], 0
xor bl, bl
jmp 0x1011289b
push edi
push ebx
push eax
call fcn.101fc3e0
add esp, 0xc
mov byte [ebp - 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x10112899
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor bl, bl
jmp 0x1011289b
mov bl, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10005e05
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101e48f0
mov esp, ebp
pop ebp
ret
Function at 0x1011cc80
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
cmp dword [esp + 8], 0
push ebx
push esi
push edi
mov ebx, ecx
je 0x1011cd3a
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1011cdca
push esi
mov dword [ebx + 0x58], esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1011cdca
push dword [ebx + 4]
push dword [ebx + 0x58]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x1011cdca
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0x39ffffff
or ecx, 0x46000000
cmp eax, ecx
je 0x1011ccf2
push ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push dword [ebx + 0x58]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetParent]
mov edi, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 1
push 0
push dword [ebx + 0x58]
call esi
push eax
push 0
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0x57
push 0
push 0
push 0
push 0
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
push ebp
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push dword [ebx + 0x58]
call esi
push 0
push edi
mov ebp, eax
call esi
mov edi, dword [sym.imp.USER32.dll_AttachThreadInput]
mov esi, eax
push 0
push ebp
push esi
call edi
test eax, eax
je 0x1011cd7a
nop
push 0
push ebp
push esi
call edi
test eax, eax
jne 0x1011cd70
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetParent]
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0x39ffffff
or ecx, 0x80000000
pop ebp
cmp eax, ecx
je 0x1011cdaf
push ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 5
push 0
push 0
push 0x7d00
push 0x7d00
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
Function at 0x1012cbe0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x1012cbeb
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.1012cc00
Function at 0x101600a0
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov ebp, edx
push 0
push 0x14
mov dword [ebx], 0
call fcn.101312f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x101600c8
lea eax, [esi + 7]
pop edi
pop esi
pop ebp
pop ebx
ret
cmp byte [0x102c6f14], 0
mov edi, dword [esp + 0x14]
je 0x10160110
mov eax, dword [0x102c7004]
test eax, eax
je 0x101600ec
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x10160110
lea eax, [esi + 4]
mov dword [esi + 8], ebp
push eax
push 0
push esi
push 0x101341e0
push 0
push 0
mov dword [esi + 0xc], edi
call fcn.1020b93d
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x1016011d
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x10160135
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi + 4], eax
call ebp
add esp, 4
mov dword [esi + 0x10], eax
pop edi
mov dword [ebx], esi
xor eax, eax
pop esi
pop ebp
pop ebx
ret
Function at 0x1016cf40
Capabilities:
Reference sql statements

Disassembly:
push ebx
push edi
push dword [esp + 0xc]
mov edi, edx
mov ebx, ecx
push edi
push str.sqlite_master
push edi
push str.SELECT_1_FROM___w_._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
push ebx
call fcn.10171bc0
add esp, 0x18
cmp dword [esp + 0xc], 0
jne 0x1016cf7a
push edi
push str.sqlite_master
push str.SELECT_1_FROM_temp._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
push ebx
call fcn.10171bc0
add esp, 0x10
pop edi
pop ebx
ret

Function at 0x10171cd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebx, ecx
mov ebp, edx
mov ecx, dword [esp + 0x14]
push esi
push edi
mov dword [esp + 0x10], ebx
xor esi, esi
cmp dword [ebx + 0x14], esi
jle 0x10171d6b
nop
mov edi, esi
xor edi, 1
cmp esi, 2
cmovge edi, esi
test ecx, ecx
je 0x10171d23
mov edx, edi
mov eax, ecx
mov ecx, dword [ebx + 0x10]
add edx, edx
mov ebx, dword [ecx + edx*8]
sub ebx, dword [esp + 0x1c]
nop
movzx edx, byte [eax]
movzx ecx, byte [ebx + eax]
cmp edx, ecx
jne 0x10171d48
test edx, edx
jne 0x10171d5a
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0x10]
add edi, edi
push 0
mov edx, ebp
mov ecx, dword [eax + edi*8 + 0xc]
add ecx, 8
call fcn.10135f90
add esp, 4
mov eax, dword [eax + 8]
test eax, eax
jne 0x10171dca
jmp 0x10171d61
movzx ecx, byte [ecx + 0x1027c1c8]
movzx edx, byte [edx + 0x1027c1c8]
sub edx, ecx
jne 0x10171d5d
inc eax
jmp 0x10171d10
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
inc esi
cmp esi, dword [ebx + 0x14]
jl 0x10171cf0
mov edx, str.sqlite_master
sub edx, ebp
movzx ecx, byte [ebp]
movzx eax, byte [edx + ebp]
cmp ecx, eax
jne 0x10171d96
test ecx, ecx
jne 0x10171da8
mov eax, dword [ebx + 0x10]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
test ecx, ecx
jne 0x10171dab
neg eax
sbb eax, eax
jmp 0x10171dba
movzx eax, byte [eax + 0x1027c1c8]
movzx ecx, byte [ecx + 0x1027c1c8]
sub ecx, eax
jne 0x10171dc8
inc ebp
jmp 0x10171d72
test eax, eax
je 0x10171dc8
mov edx, eax
call fcn.10134b00
mov ecx, dword [esp + 0x1c]
test eax, eax
jne 0x10171dc8
mov ebp, str.sqlite_temp_master
jmp 0x10171ce3
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x10172110
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
mov eax, ecx
mov dword [esp + 4], edx
push ebx
push edi
xor ebx, ebx
mov dword [esp + 0x10], eax
xor edi, edi
cmp dword [eax + 0x14], ebx
jle 0x101721aa
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov eax, dword [eax + 0x10]
mov esi, edi
xor esi, 1
cmp edi, 2
cmovge esi, edi
shl esi, 4
add esi, eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x10172169
mov esi, dword [esi]
mov eax, ebp
sub esi, ebp
movzx edx, byte [eax]
movzx ecx, byte [esi + eax]
cmp edx, ecx
jne 0x10172195
test edx, edx
jne 0x101721a7
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea ecx, [eax + 0x18]
push 0
call fcn.10135f90
add esp, 4
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x1017218b
mov eax, dword [esp + 0x18]
inc edi
cmp edi, dword [eax + 0x14]
jl 0x10172132
pop esi
pop ebp
pop edi
mov eax, ebx
pop ebx
add esp, 0x10
ret
movzx ecx, byte [ecx + 0x1027c1c8]
movzx edx, byte [edx + 0x1027c1c8]
sub edx, ecx
jne 0x10172181
inc eax
jmp 0x10172156
pop edi
mov eax, ebx
pop ebx
add esp, 0x10
ret
Function at 0x101c8530
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
push 0x38
xorps xmm0, xmm0
lea eax, [esp + 0x4c]
mov ebp, edx
movlpd qword [esp + 0x2c], xmm0
mov ebx, ecx
mov dword [esp + 0x20], ebp
push 0
movups xmmword [esp + 0x40], xmm0
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x50], 0x13
call fcn.101fd690
add esp, 0xc
lea eax, [esp + 0x48]
mov edx, ebp
mov ecx, ebx
push eax
push 1
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [esp + 0xa0]
call fcn.101b8ac0
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x101c870e
push dword [esp + 0x3c]
lea eax, [esp + 0x3c]
mov ecx, ebx
push dword [esp + 0x3c]
lea edx, [esp + 0x50]
mov dword [esp + 0x5c], eax
call fcn.101c4020
mov esi, eax
add esp, 8
test esi, esi
jne 0x101c870e
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.101c4140
mov esi, eax
cmp esi, 0x64
jne 0x101c870e
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
mov edi, dword [esp + 0x78]
lea edx, [esp + 0x20]
mov ebp, dword [esp + 0x7c]
xorps xmm0, xmm0
mov ecx, edi
movlpd qword [esp + 0x20], xmm0
add ebp, edi
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x28], xmm0
call fcn.101b4d00
lea esi, [edi + eax]
cmp esi, ebp
jae 0x101c86ee
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
xorps xmm0, xmm0
lea edx, [esp + 0x20]
mov ecx, esi
movlpd qword [esp + 0x20], xmm0
call fcn.101b4d00
add esi, eax
cmp esi, ebp
jae 0x101c86ea
mov ecx, dword [esp + 0x20]
mov eax, ecx
mov edx, dword [esp + 0x24]
or eax, edx
je 0x101c8696
cmp ecx, 1
jne 0x101c8656
test edx, edx
je 0x101c8696
mov eax, dword [esp + 0x28]
add ecx, 0xfffffffe
adc edx, 0xffffffff
add eax, ecx
mov ecx, dword [esp + 0x70]
adc dword [esp + 0x2c], edx
mov edx, dword [esp + 0x74]
push eax
push dword [esp + 0x34]
mov dword [esp + 0x30], eax
push edi
push ebx
push dword [esp + 0x98]
push dword [esp + 0x30]
call fcn.101c8480
xor dword [esp + 0x2c], eax
add esp, 0x18
xor dword [esp + 0x10], edx
jmp 0x101c86e2
xorps xmm0, xmm0
or ecx, edx
movlpd qword [esp + 0x30], xmm0
mov ecx, esi
movlpd qword [esp + 0x28], xmm0
je 0x101c86b8
lea edx, [esp + 0x30]
call fcn.101b4d00
add esi, eax
jmp 0x101c86e2
lea edx, [esp + 0x20]
call fcn.101b4d00
add esi, eax
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xef], 0
je 0x101c86da
sub ebx, dword [esp + 0x20]
sbb edi, dword [esp + 0x24]
jmp 0x101c86e2
add ebx, dword [esp + 0x20]
adc edi, dword [esp + 0x24]
cmp esi, ebp
jb 0x101c8621
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.101c4140
mov esi, eax
cmp esi, 0x64
je 0x101c85e4
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
jmp 0x101c8716
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
lea ecx, [esp + 0x48]
call fcn.101c48a0
mov ecx, dword [esp + 0x8c]
mov edx, edi
pop edi
mov eax, ebp
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
Function at 0x101d2b40
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov ebx, edx
mov dword [esp + 0x10], str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
mov esi, ecx
mov dword [esp + 0x14], str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
push edi
mov edi, dword [esi + ebx*4 + 0x18]
test edi, edi
jne 0x101d2b7c
push dword [esi + 8]
push dword [esi + 4]
push dword [esp + ebx*4 + 0x1c]
push esi
call fcn.101d2a60
mov edi, eax
add esp, 0x10
mov dword [esi + ebx*4 + 0x18], edi
cmp dword [esi + 0x28], 0
jne 0x101d2c3c
mov ebp, dword [esp + 0x24]
push ebp
push dword [esp + 0x24]
push 1
push edi
call fcn.101575d0
push edi
call fcn.10156320
add esp, 0x14
cmp eax, 0x65
jne 0x101d2bd3
mov ecx, str.__parent
test ebx, ebx
mov eax, str.__rowid
cmove eax, ecx
mov ecx, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push ebp
push ecx
push str.Mapping___lld_____lld__missing_from__s_table
push esi
call fcn.101d2ae0
add esp, 0x1c
jmp 0x101d2c2a
cmp eax, 0x64
jne 0x101d2c2a
push 0
push edi
call fcn.10156c40
mov ecx, dword [esp + 0x34]
add esp, 8
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x28]
jne 0x101d2bf5
cmp edx, ecx
je 0x101d2c2a
push ecx
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
test ebx, ebx
push ebp
push ecx
mov eax, str.__rowid
mov dword [esp + 0x20], str.__parent
cmove eax, dword [esp + 0x20]
push eax
push edx
push dword [esp + 0x2c]
push ebp
push ecx
push str.Found___lld_____lld__in__s_table__expected___lld_____lld_
push esi
call fcn.101d2ae0
add esp, 0x2c
push edi
call fcn.10155370
add esp, 4
cmp dword [esi + 0x28], 0
jne 0x101d2c3c
mov dword [esi + 0x28], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x101d57c0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x102c6474]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x24], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x101d58ba
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x101d58b3
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x101d5899
call ebx
cmp dword [ebp - 0x14], eax
jne 0x101d5899
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x101d5899
mov edx, dword [esi]
test edx, edx
jne 0x101d5862
push 0x200
push edx
push dword [0x102cfba4]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x101d58b3
jmp 0x101d588d
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x101d588d
shl eax, 3
push eax
push edx
push 0
push dword [0x102cfba4]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x101d58b3
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x101d5821
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x101d58ff
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x101d58ff
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x101d58f9
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.101d5650
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x101d58c6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101e48f0
mov esp, ebp
pop ebp
ret

Function at 0x101d5910
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, ecx
mov eax, dword [ebx]
test eax, eax
je 0x101d595e
push esi
xor esi, esi
cmp dword [ebx + 8], esi
jbe 0x101d594e
push edi
mov eax, dword [ebx]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x101d5945
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebx + 8]
jb 0x101d5922
mov eax, dword [ebx]
pop edi
push eax
push 0
push dword [0x102cfba4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebx
ret
Function at 0x101d5960
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
imul esi, ecx, 0x2c
push edi
add esi, dword [0x102d0ef0]
mov al, byte [esi + 0x14]
mov edi, dword [esi]
and al, 1
je 0x101d597c
sub edi, 5
movzx eax, al
lea ebx, [eax*2 + 5]
lea eax, [ebp - 4]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x101d59a4
pop edi
pop esi
mov eax, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x101d59bf
mov eax, dword [esi]
mov word [eax], 0xf9eb
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [esi + 0x14], 6
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x101d59f0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [0x102d0ef8]
push ebx
push esi
xor ebx, ebx
xor esi, esi
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x101d5acd
mov eax, dword [0x102d0ef0]
add eax, 0x14
test byte [eax], 2
je 0x101d5a2a
inc esi
add eax, 0x2c
cmp esi, ecx
jb 0x101d5a15
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x101d5acd
push edi
push 1
or edx, 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.101d57c0
mov ecx, dword [0x102d0ef8]
add esp, 4
cmp esi, ecx
jae 0x101d5a7b
imul edi, esi, 0x2c
mov eax, dword [0x102d0ef0]
test byte [edi + eax + 0x14], 2
jne 0x101d5a70
mov ecx, esi
call fcn.101d5960
mov ebx, eax
test ebx, ebx
jne 0x101d5a78
mov ecx, dword [0x102d0ef8]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x101d5a51
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x101d5acc
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x101d5abd
mov ebx, eax
jmp 0x101d5a90
push dword [ebx + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x101d5ab1
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x101d5a90
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x102cfba4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x101dc8b0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10249568
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [ebp + 0xc]
push esi
cmp dword [eax + 0x10], 0
je 0x101dc94f
cmp dword [eax + 0x14], 0x10
xorps xmm0, xmm0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x48], 4
movups xmmword [ebp - 0x38], xmm0
jb 0x101dc8ef
mov eax, dword [eax]
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x48]
push ecx
push 0
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x101dc94f
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
mov eax, dword [eax + 0x18]
push dword [eax + 0x18]
add eax, 8
push eax
call fcn.101dc180
push dword [ebp + 0xc]
mov dword [ebp - 4], 0
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.101dc120
lea ecx, [ebp - 0x28]
call fcn.101dc1e0
mov eax, dword [ebp + 8]
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
call fcn.101dc1b0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x101dda80
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
push esi
mov esi, dword [esp + 0x2c]
movups xmmword [esp + 4], xmm0
mov dword [esp + 4], eax
mov eax, esi
movups xmmword [esp + 0x14], xmm0
cmp dword [esi + 0x14], 0x10
jb 0x101ddaa7
mov eax, dword [esi]
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 8]
push ecx
push 0
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x101ddade
push dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
call fcn.101dd340
push dword [esp + 0x30]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, dword [esp + 0x28]
pop esi
add esp, 0x20
ret
push esi
push eax
call fcn.101dd920
int3

Function at 0x101de460
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
lea eax, [esp]
mov dword [esp], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x101de496
mov eax, dword [esp + 4]
cmp eax, 6
jb 0x101de496
jne 0x101de48d
cmp dword [esp + 8], 2
jb 0x101de496
xor al, al
add esp, 0x94
ret
mov al, 1
add esp, 0x94
ret
Function at 0x101de4c0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10248fa8
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [ebx + 8], 0xffffffff
jne 0x101de4fb
mov esi, dword [ebx]
mov ecx, edi
call fcn.101db3c0
push eax
mov ecx, ebx
call dword [esi + 0x90]
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, edi
call fcn.101db730
push eax
mov ecx, edi
call fcn.101db350
push eax
push dword [ebx + 8]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x101de577
call esi
cmp eax, 0x2714
je 0x101de501
call esi
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0x24]
push eax
call fcn.101db890
push eax
push esi
mov dword [ebp - 4], 0
call fcn.101de860
mov edx, dword [ebp - 0x10]
add esp, 8
cmp edx, 0x10
jb 0x101de577
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x101de56d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101de58a
push edx
push ecx
call fcn.101e4d70
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.10205f6e
int3

Function at 0x101de590
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102497c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], edi
cmp dword [edi + 8], 0xffffffff
jne 0x101de5d1
mov esi, dword [edi]
mov ecx, ebx
call fcn.101db3c0
push eax
mov ecx, edi
call dword [esi + 0x90]
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x84]
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.101db730
mov ecx, ebx
mov esi, eax
call fcn.101db350
push esi
push eax
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x101de666
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2734
je 0x101de640
cmp esi, 0x2733
je 0x101de640
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.101db890
push eax
push esi
mov byte [ebp - 4], 1
call fcn.101de860
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10008004
mov eax, dword [edi]
mov ecx, edi
push 7
push dword [ebp + 0xc]
mov eax, dword [eax + 0x50]
call eax
test al, al
je 0x101de6a2
mov ecx, edi
call fcn.101df990
test eax, eax
je 0x101de666
push eax
call fcn.101de7d0
add esp, 4
mov eax, dword [edi]
mov ecx, edi
push 1
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x84]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.connect_timed_out
lea ecx, [ebp - 0x44]
call fcn.10008009
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 2
push eax
mov ecx, ebx
call fcn.101db890
push 0
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x88]
call fcn.101e08f0
push 0x102bff18
lea eax, [ebp - 0x88]
push eax
call fcn.101fc366
int3