joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4521a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x452206
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x452206
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4521e7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x471d76
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x471dae
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046fe2a
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046fe02
jmp 0x471dba
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x473468
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4734aa
call fcn.00478fdd
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4734aa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4734a1
xor eax, eax
jmp 0x4734b2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004734b8
pop edi
pop esi
pop ebx
ret 4

Function at 0x47950d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47953b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x479559
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00479473
jmp 0x479559
mov eax, dword [esi + 0x14]
test eax, eax
je 0x479559
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00479473
test edi, edi
mov eax, edi
jne 0x479543
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10001030
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
add dword [eax + 0x20], 0x3000
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x100186a4
push str.kernel32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
cmp byte [eax + 6], 0xea
jne 0x100010b0
push 0x100186a4
mov cl, 0x8b
push str.kernel32
mov dword [ebp - 0xc], 0x8910458b
mov word [ebp - 8], 0xf845
mov byte [ebp - 6], cl
call esi
push eax
call edi
push 0
push 7
lea ecx, [ebp - 0xc]
push ecx
add eax, 6
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10015384
mov esp, ebp
pop ebp
ret
Function at 0x10001e10
Capabilities:
Hash data using crc32b

Disassembly:
push ebx
xor edx, edx
push edi
xor eax, eax
test dl, 1
je 0x10001e20
mov eax, 0x80
mov ecx, edx
shr ecx, 1
test cl, 1
je 0x10001e2c
or eax, 0x40
shr ecx, 1
test cl, 1
je 0x10001e36
or eax, 0x20
shr ecx, 1
test cl, 1
je 0x10001e40
or eax, 0x10
shr ecx, 1
test cl, 1
je 0x10001e4a
or eax, 8
shr ecx, 1
test cl, 1
je 0x10001e54
or eax, 4
shr ecx, 1
test cl, 1
je 0x10001e5e
or eax, 2
test cl, 2
je 0x10001e66
or eax, 1
shl eax, 0x18
mov ecx, eax
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
xor edi, edi
mov dword [esi + edx*4], ecx
mov eax, ecx
lea ecx, [edi + 0x1f]
jmp 0x10001f20
test al, 1
je 0x10001f2d
mov ebx, 1
shl ebx, cl
or edi, ebx
dec ecx
shr eax, 1
cmp ecx, 0xffffffff
jg 0x10001f20
mov dword [esi + edx*4], edi
inc edx
cmp edx, 0xff
jle 0x10001e14
pop edi
pop ebx
ret

Function at 0x10001f50
Capabilities:
Encode data using xor

Disassembly:
or eax, 0xffffffff
test ecx, ecx
je 0x10001f79
push ebx
push edi
lea esp, [esp]
movzx ebx, byte [edx]
mov edi, eax
and edi, 0xff
xor edi, ebx
shr eax, 8
xor eax, dword [esi + edi*4]
inc edx
dec ecx
jne 0x10001f60
pop edi
pop ebx
not eax
ret

Function at 0x10001f80
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push 0x10018c18
push eax
lea eax, [ebp - 0x408]
push eax
or esi, 0xffffffff
mov dword [ebp - 0x408], 0
call dword [sym.imp.MSVCR100.dll__wfopen_s]
add esp, 0xc
test eax, eax
je 0x10001fd2
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10015384
mov esp, ebp
pop ebp
ret 8
push ebx
push edi
mov ecx, dword [ebp - 0x408]
push ecx
push 0x400
lea edx, [ebp - 0x404]
push 1
push edx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
mov ecx, eax
lea edx, [ebp - 0x404]
test eax, eax
je 0x1000201a
mov edi, edi
movzx ebx, byte [edx]
mov edi, esi
and edi, 0xff
xor edi, ebx
mov ebx, dword [ebp + 8]
shr esi, 8
xor esi, dword [ebx + edi*4]
inc edx
dec ecx
jne 0x10002000
cmp eax, 0x400
je 0x10001fd4
mov eax, dword [ebp - 0x408]
push eax
call dword [sym.imp.MSVCR100.dll_fclose]
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
mov eax, esi
pop ebx
xor ecx, ebp
not eax
pop esi
call fcn.10015384
mov esp, ebp
pop ebp
ret 8
Function at 0x10002050
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x10018c20
push eax
lea ecx, [ebp - 4]
push ecx
mov dword [esi], 0xffffffff
mov dword [ebp - 4], 0
call dword [sym.imp.MSVCR100.dll_fopen_s]
add esp, 0xc
test eax, eax
je 0x10002082
xor al, al
mov esp, ebp
pop ebp
ret 4
push edi
push 0x400
call dword [sym.imp.MSVCR100.dll_malloc]
mov edi, eax
add esp, 4
mov dword [ebp - 8], edi
test edi, edi
jne 0x100020b0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 4]
push eax
push 0x400
push 1
push edi
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
test eax, eax
je 0x10002113
push ebx
lea ebx, [ebx]
mov ecx, eax
mov edx, edi
test eax, eax
je 0x100020f9
mov eax, dword [esi]
movzx ebx, byte [edx]
mov edi, eax
and edi, 0xff
xor edi, ebx
mov ebx, dword [ebp + 8]
shr eax, 8
xor eax, dword [ebx + edi*4]
inc edx
dec ecx
mov dword [esi], eax
jne 0x100020d8
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push ecx
push 0x400
push 1
push edi
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
test eax, eax
jne 0x100020d0
pop ebx
push edi
call dword [sym.imp.MSVCR100.dll_free]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
mov eax, dword [esi]
not eax
add esp, 8
mov dword [esi], eax
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x10002140
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x10018c18
push eax
lea ecx, [ebp - 4]
push ecx
mov dword [esi], 0xffffffff
mov dword [ebp - 4], 0
call dword [sym.imp.MSVCR100.dll__wfopen_s]
add esp, 0xc
test eax, eax
je 0x10002172
xor al, al
mov esp, ebp
pop ebp
ret 4
push edi
push 0x400
call dword [sym.imp.MSVCR100.dll_malloc]
mov edi, eax
add esp, 4
mov dword [ebp - 8], edi
test edi, edi
jne 0x100021a0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 4]
push eax
push 0x400
push 1
push edi
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
test eax, eax
je 0x10002203
push ebx
lea ebx, [ebx]
mov ecx, eax
mov edx, edi
test eax, eax
je 0x100021e9
mov eax, dword [esi]
movzx ebx, byte [edx]
mov edi, eax
and edi, 0xff
xor edi, ebx
mov ebx, dword [ebp + 8]
shr eax, 8
xor eax, dword [ebx + edi*4]
inc edx
dec ecx
mov dword [esi], eax
jne 0x100021c8
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push ecx
push 0x400
push 1
push edi
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
test eax, eax
jne 0x100021c0
pop ebx
push edi
call dword [sym.imp.MSVCR100.dll_free]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
mov eax, dword [esi]
not eax
add esp, 8
mov dword [esi], eax
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x10002270
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x198]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x100022a9
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10015384
mov esp, ebp
pop ebp
ret
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x10023fdc], eax
cmp eax, 0xffffffff
je 0x10002299
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov dword [0x10023fe0], eax
test eax, eax
je 0x10002299
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [0x10123fec], 0x10006050
mov al, 1
call fcn.10015384
mov esp, ebp
pop ebp
ret

Function at 0x100022f0
Capabilities:
Connect socket
Create thread
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x10023fdc], 0xffffffff
push esi
mov esi, ecx
jne 0x1000233c
push 0x10023078
call fcn.10012280
add esp, 4
push eax
push 0
mov ecx, 0x101241e8
call fcn.10009a20
add esp, 8
xor al, al
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10015384
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
mov eax, 2
push ecx
mov word [ebp - 0x18], ax
call dword [sym.imp.WS2_32.dll_htons]
push esi
mov word [ebp - 0x16], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
jne 0x10002384
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10002384
movsx edx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
push edx
push ecx
lea edx, [ebp - 0x14]
push edx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov ecx, dword [0x10023fdc]
push 0x10
lea eax, [ebp - 0x18]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_connect]
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0xffffffff
jne 0x100023e8
call esi
cmp eax, 0x2733
je 0x100023e8
call esi
push eax
push 0x10023178
call fcn.10012280
add esp, 4
push eax
push 0
mov ecx, 0x101241e8
call fcn.10009a20
add esp, 0xc
mov esi, 0x10023fd8
call fcn.10002480
xor al, al
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10015384
mov esp, ebp
pop ebp
ret 4
mov edx, dword [0x10023fe0]
mov eax, dword [0x10023fdc]
push 0x23
push edx
push eax
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x1000240c
call esi
push eax
push 0x10023278
jmp 0x100023b3
push 0x80000
push 0
push 0x10023fe4
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x80000
push 0
push 0x100a3fe8
mov dword [0x100a3fe4], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x101356c4
push 0
push 0x10023fd8
push 0x100029b0
push 0
push 0
mov dword [0x10123fe8], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 8]
mov dword [0x1012400c], eax
mov al, 1
xor ecx, ebp
mov byte [0x10124010], al
pop esi
call fcn.10015384
mov esp, ebp
pop ebp
ret 4
Function at 0x10002480
Capabilities:
Terminate thread

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esi + 0x100034], ebx
je 0x100024b6
mov dword [0x101356c4], 0xffffffff
mov eax, dword [esi + 0x100034]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x100034]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x100034], ebx
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x100024cc
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x100024dd
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [esi + 8], ebx
mov byte [esi + 0x100038], bl
pop ebx
ret
Function at 0x10002510
Capabilities:
Encode data using xor
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, eax
mov eax, dword [esi + 0x8000c]
xor edi, edi
push edi
mov ecx, 0x80000
sub ecx, eax
push ecx
lea edx, [eax + esi + 0xc]
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x10002560
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call edi
cmp eax, 0x2733
je 0x1000268a
call edi
push eax
push 0x10023378
jmp 0x100026d2
add dword [esi + 0x8000c], eax
mov eax, dword [esi + 0x8000c]
cmp eax, 4
jl 0x1000268a
mov al, byte [esi + edi + 0xc]
lea edx, [esi + 0xc]
cmp al, 0xc1
jne 0x1000258b
movzx ebx, byte [edi + esi + 0xd]
mov cl, byte [edi + esi + 0xf]
jmp 0x100025aa
cmp al, 0xc2
jne 0x100026c7
movzx ecx, byte [edi + esi + 0xd]
shl cx, 8
movzx ebx, cx
movzx ecx, byte [edi + esi + 0xe]
or ebx, ecx
mov cl, byte [edi + esi + 0x10]
cmp ebx, 4
jl 0x10002693
cmp ebx, 0x80000
jg 0x10002693
cmp ebx, dword [esi + 0x8000c]
jg 0x10002661
cmp al, 0xc1
jne 0x100025fd
mov dl, byte [edi + esi + 0xe]
mov byte [ebp - 4], dl
lea edx, [ebx - 3]
xor eax, eax
lea ecx, [edi + esi + 0xf]
test edx, edx
jle 0x10002629
mov dl, byte [ecx + eax]
add dl, byte [ebp - 4]
lea ecx, [edi + esi + 0xf]
xor dl, 0xa0
mov byte [ecx + eax], dl
inc eax
lea edx, [ebx - 3]
cmp eax, edx
jl 0x100025e3
jmp 0x10002629
mov cl, byte [edi + esi + 0xf]
lea edx, [ebx - 4]
xor eax, eax
mov byte [ebp - 4], cl
lea ecx, [edi + esi + 0x10]
test edx, edx
jle 0x10002629
mov dl, byte [ecx + eax]
add dl, byte [ebp - 4]
lea ecx, [edi + esi + 0x10]
xor dl, 0xa0
mov byte [ecx + eax], dl
inc eax
lea edx, [ebx - 4]
cmp eax, edx
jl 0x10002611
mov al, byte [ecx]
mov edx, dword [esi + 0x100014]
mov byte [ebp - 8], al
mov ecx, dword [ebp - 8]
push ebx
lea eax, [esi + edi + 0xc]
push eax
push ecx
call edx
sub dword [esi + 0x8000c], ebx
add esp, 0xc
add edi, ebx
cmp dword [esi + 0x8000c], 0
jg 0x10002575
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
jle 0x1000268a
mov eax, dword [esi + 0x8000c]
test eax, eax
jle 0x1000268a
mov ecx, 0x80000
sub ecx, edi
cmp eax, ecx
jg 0x1000268a
push eax
lea eax, [edi + esi + 0xc]
push eax
push edx
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, cl
push ecx
movzx edx, al
push ebx
push edx
push 0x10023578
call fcn.10012280
add esp, 4
push eax
push 0
mov ecx, 0x101241e8
call fcn.10009a20
add esp, 0x14
call fcn.10002480
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, byte [edi + esi + 0xc]
push eax
push 0x10023478
call fcn.10012280
add esp, 4
push eax
push 0
mov ecx, 0x101241e8
call fcn.10009a20
add esp, 0xc
call fcn.10002480
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002700
Capabilities:
Encode data using xor
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8000c
call fcn.10015d80
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x10123ff4
mov esi, ecx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10023fdc], 0xffffffff
je 0x100027f8
cmp byte [0x10124010], 0
je 0x100027f8
push esi
lea eax, [ebp - 0x80008]
push edi
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
xor eax, eax
cmp byte [ebp - 0x80008], 0xc1
jne 0x1000278a
mov cl, byte [ebp - 0x80006]
lea edi, [esi - 3]
test edi, edi
jle 0x100027b8
lea esp, [esp]
mov dl, byte [ebp + eax - 0x80005]
xor dl, 0xa0
sub dl, cl
mov byte [ebp + eax - 0x80005], dl
inc eax
cmp eax, edi
jl 0x10002770
jmp 0x100027b8
mov cl, byte [ebp - 0x80005]
lea edi, [esi - 4]
test edi, edi
jle 0x100027b8
jmp 0x100027a0
mov dl, byte [ebp + eax - 0x80004]
xor dl, 0xa0
sub dl, cl
mov byte [ebp + eax - 0x80004], dl
inc eax
cmp eax, edi
jl 0x100027a0
mov eax, dword [0x10123fe8]
test eax, eax
jle 0x10002851
lea ecx, [eax + esi]
cmp ecx, 0x80000
jle 0x10002816
push ecx
push 0x10023678
call fcn.10012280
add esp, 4
push eax
push 0
mov ecx, 0x101241e8
call fcn.10009a20
add esp, 0xc
mov esi, 0x10023fd8
call fcn.10002480
push 0x10123ff4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10015384
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [ebp - 0x80008]
push ecx
lea edx, [eax + 0x100a3fe8]
push edx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
add dword [0x10123fe8], esi
push 0x10123ff4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.10015384
mov esp, ebp
pop ebp
ret
xor edi, edi
test esi, esi
jle 0x10002833
mov ebx, dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [0x10023fdc]
push 0
push esi
lea eax, [ebp + edi - 0x80008]
push eax
push ecx
call ebx
cmp eax, 0xffffffff
je 0x10002880
sub esi, eax
add edi, eax
test esi, esi
jg 0x1000285d
jmp 0x10002833
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
cmp eax, 0x2733
jne 0x100028bf
mov eax, dword [0x10123fe8]
lea ecx, [eax + esi]
cmp ecx, 0x80000
jle 0x100028aa
push ecx
push 0x10023778
jmp 0x100027d6
push esi
lea edx, [ebp + edi - 0x80008]
push edx
lea eax, [eax + 0x100a3fe8]
push eax
jmp 0x10002825
call ebx
push eax
push 0x10023878
jmp 0x100027d6
Function at 0x100028d0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
push edi
lea ebx, [esi + 0x10001c]
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
cmp dword [esi + 0x100010], edi
jle 0x10002929
lea ebx, [esi + 0x80010]
mov eax, dword [esi + 0x100010]
mov edx, dword [esi + 4]
push 0
push eax
lea ecx, [ebx + edi]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x10002939
sub dword [esi + 0x100010], eax
add edi, eax
cmp dword [esi + 0x100010], 0
jg 0x100028f9
mov ebx, dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x10002972
mov eax, dword [esi + 0x100010]
push eax
lea ecx, [edi + esi + 0x80010]
push ecx
push ebx
call dword [sym.imp.MSVCR100.dll_memmove]
mov edx, dword [ebp - 4]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x10023978
call fcn.10012280
add esp, 4
push eax
push 0
mov ecx, 0x101241e8
call fcn.10009a20
add esp, 0xc
call fcn.10002480
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002b80
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100165e7
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x10135350], 0
jne 0x10002c6d
lea eax, [ebp - 0xf4]
push eax
call fcn.100036e0
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov ecx, dword [0x4da3e0]
push ecx
push edx
lea eax, [ebp - 0x48]
push str.__d__Virtual_memory_Value_changed____d_
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
lea ecx, [ebp - 0xf4]
push str._nVM_Scan:
push ecx
call fcn.100045a0
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0xf4]
push eax
call fcn.100045a0
add esp, 0x20
lea ecx, [ebp - 0xf4]
push ecx
call fcn.100037d0
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x94]
mov dword [ebp - 0x4c], edx
mov dword [ebp + ecx - 0xf4], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
lea ecx, [ebp - 0xf0]
mov dword [ebp - 4], 1
call fcn.10003840
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xf4]
mov ecx, dword [sym.imp.MSVCP100.dll_const_std::basic_ostream_char__struct_std::char_traits_char__::vftable]
mov eax, dword [edx + 4]
mov dword [ebp + eax - 0xf4], ecx
lea ecx, [ebp - 0x94]
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [0x10135354]
push 0
push 0
push 0
cmp eax, 1
jne 0x10002cad
push 0x10002b20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 7
call fcn.10006fe0
add esp, 0xc
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x10002cb9
push 0x10002af0
jmp 0x10002c82
cmp eax, 3
jne 0x10002cc5
push 0x10002b50
jmp 0x10002c82
push 0x10002db0
push 0
push 0
cmp eax, 4
jne 0x10002d05
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 7
call fcn.10006fe0
add esp, 0xc
push 0x200010
push str.Xenos_Scan
push str.Virtual_memory_Value_changed_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x1388
jmp 0x10002c9f
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 7
call fcn.10006fe0
add esp, 0xc
push 0x1388
jmp 0x10002c9f