joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005e5c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 0x21a0f8]
mov dword [edi + 0xc], edx
test edx, edx
je 0x1005e71a
mov eax, dword [ecx + 0x21a0e4]
mov dword [edi + 0x18], eax
test eax, eax
je 0x1005e71a
mov eax, dword [ecx + 0x21a0e8]
mov dword [edi + 0x1c], eax
test eax, eax
je 0x1005e71a
mov eax, dword [ecx + 0x21a0ec]
mov dword [edi + 0x20], eax
test eax, eax
je 0x1005e71a
mov eax, dword [ecx + 0x21a0b8]
mov dword [edi + 0x24], eax
test eax, eax
je 0x1005e71a
mov eax, dword [ecx + 0x21a10c]
mov dword [edi + 0x28], eax
test eax, eax
je 0x1005e71a
mov eax, dword [ecx + 0x21a0b4]
mov dword [edi + 0x2c], eax
test eax, eax
je 0x1005e71a
cmp dword [edx + 0x3c9], 0
je 0x1005e71a
mov eax, dword [edx + 0x3cd]
add ecx, 0x99230
mov eax, dword [eax + 0x1c]
mov dword [edi + 0x14], eax
mov eax, dword [edx + 0x3cd]
mov eax, dword [eax + 0x18]
mov dword [edi + 0x10], eax
call fcn.1005f880
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
lea eax, [ebp - 8]
push eax
call fcn.1000ff20
mov dword [ebp - 0x14], 1
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0xc]
mov byte [esi], 0xc3
cmp byte [ebp - 0xc], 0
je 0x1005e6c4
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 4], eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ecx
push 5
mov edx, 0x1012f218
mov ecx, 0x584cff
call fcn.1005f260
add esp, 4
mov edx, 0x1012f218
mov ecx, 0x584bdd
push 5
call fcn.1005f260
add esp, 4
mov edx, 0x1012f218
mov ecx, 0x584c2a
push 5
call fcn.1005f260
add esp, 8
push str._sampcac_client.asi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [edi + 8], eax
mov al, 1
mov byte [edi], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1005ef80
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
push eax
push 0x40
push 1
push esi
mov edi, ecx
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
call ebx
test eax, eax
setne byte [ebp - 0xc]
mov cl, byte [esi]
mov byte [ebp - 1], cl
test eax, eax
je 0x1005efce
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call ebx
mov cl, byte [ebp - 1]
movzx eax, cl
sub eax, 0xe8
je 0x1005f051
sub eax, 1
je 0x1005f051
sub eax, 0x16
jne 0x1005f042
mov eax, dword [ebp + 8]
push ecx
mov ecx, esp
inc eax
mov dword [ecx], eax
call fcn.1000fbf0
add esp, 4
cmp al, 0x15
je 0x1005effb
cmp al, 0x25
jne 0x1005f042
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push 0x40
add esi, 2
mov dword [ebp - 0x14], 4
push 4
push esi
mov dword [ebp - 0x18], esi
call ebx
test eax, eax
setne byte [ebp - 0xc]
mov esi, dword [esi]
test eax, eax
je 0x1005f035
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call ebx
mov eax, dword [esi]
mov dword [edi], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
push ecx
mov eax, esp
inc esi
mov dword [eax], esi
call fcn.1005f2e0
add esp, 4
add eax, 4
add eax, esi
mov dword [edi], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1005f080
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, edx
call fcn.1005f880
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
lea eax, [ebp - 8]
push eax
call fcn.1000ff20
push ecx
lea ecx, [ebp - 4]
mov esi, dword [eax]
mov eax, esp
mov dword [eax], esi
call fcn.1005ef80
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x10]
add esp, 4
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
push eax
push 0x40
push 1
push esi
call ebx
test eax, eax
setne byte [ebp - 0xc]
mov byte [esi], 0xe8
cmp byte [ebp - 0xc], 0
je 0x1005f0ee
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 4], eax
push dword [ebp - 0x18]
call ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 4
push eax
push 0x40
inc esi
push 4
sub edi, esi
mov dword [ebp - 0x18], esi
push esi
sub edi, 4
call ebx
test eax, eax
setne byte [ebp - 0xc]
mov dword [esi], edi
cmp byte [ebp - 0xc], 0
je 0x1005f12a
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 4], eax
push dword [ebp - 0x18]
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1005f140
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, edx
call fcn.1005f880
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
lea eax, [ebp - 8]
push eax
call fcn.1000ff20
push ecx
lea ecx, [ebp - 4]
mov esi, dword [eax]
mov eax, esp
mov dword [eax], esi
call fcn.1005ef80
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x10]
add esp, 4
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
push eax
push 0x40
push 1
push esi
call ebx
test eax, eax
setne byte [ebp - 0xc]
mov byte [esi], 0xe9
cmp byte [ebp - 0xc], 0
je 0x1005f1ae
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 4], eax
push dword [ebp - 0x18]
call ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 4
push eax
push 0x40
inc esi
push 4
sub edi, esi
mov dword [ebp - 0x18], esi
push esi
sub edi, 4
call ebx
test eax, eax
setne byte [ebp - 0xc]
mov dword [esi], edi
cmp byte [ebp - 0xc], 0
je 0x1005f1ea
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 4], eax
push dword [ebp - 0x18]
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1005f200
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
call fcn.1005f880
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
lea eax, [ebp - 8]
push eax
call fcn.1000ff20
mov dword [ebp - 0x14], 4
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0xc]
mov esi, dword [esi]
test eax, eax
je 0x1005f259
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 4], ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1005f260
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
mov dword [ebp - 8], edx
call fcn.1005f880
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
lea eax, [ebp - 0xc]
push eax
call fcn.1000ff20
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], 0
mov esi, dword [eax]
test edi, edi
jne 0x1005f295
mov byte [ebp - 0x10], 0
jmp 0x1005f2af
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], edi
push eax
push 0x40
push edi
push esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0x10]
push edi
push dword [ebp - 8]
push esi
call fcn.100a9b10
add esp, 0xc
cmp byte [ebp - 0x10], 0
je 0x1005f2d9
mov eax, dword [ebp - 0x14]
lea ecx, [ebp + 8]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp + 8], eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1005f2e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 8]
mov esi, dword [esi]
test eax, eax
je 0x1005f326
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 4], ecx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1005f8a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov ecx, 0x401000
call fcn.1005f880
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
lea eax, [ebp - 8]
push eax
call fcn.1000ff20
mov dword [ebp - 0x14], 4
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0xc]
mov esi, dword [esi]
test eax, eax
je 0x1005f8fe
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 4], eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, 0x53ec8b55
jne 0x1005f910
mov eax, 0x3e9
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x401000
call fcn.1005f200
cmp eax, 0x16197be9
jne 0x1005f92b
mov eax, 0x3ea
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x8245bc
call fcn.1005f200
cmp eax, 0x94bf
jne 0x1005f946
mov eax, 0x3f3
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x8252fc
call fcn.1005f200
cmp eax, 0x94bf
jne 0x1005f961
mov eax, 0x44d
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x82533c
call fcn.1005f200
cmp eax, 0x94bf
jne 0x1005f97c
mov eax, 0x457
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x858d51
call fcn.1005f200
cmp eax, 0x3539f633
jne 0x1005f997
mov eax, 0xc80
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x858c61
call fcn.1005f200
xor ecx, ecx
mov edx, 0xc8a
cmp eax, 0x3539f633
pop esi
cmove ecx, edx
mov eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x1005fd2e
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1013807c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 4
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x1005fe06
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
jmp 0x1005fdf7
cmp dword [ebp - 0x20], 0x10
jb 0x1005fde5
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x1005fde5
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1005fde5
mov edx, dword [esi]
test edx, edx
jne 0x1005fdb3
push 0x200
push edx
push dword [0x10139e38]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x1005fdff
jmp 0x1005fdd9
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x1005fdd9
shl eax, 3
push eax
push edx
push 0
push dword [0x10139e38]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x1005fdff
shl dword [esi + 4], 1
mov dword [esi], edx
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 0x1005fd6e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100a7615
leave
ret

Function at 0x1005fe14
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.1005fd2e
cmp dword [esi], ebx
je 0x1005fe74
push edi
mov edi, ebx
cmp dword [esi + 8], ebx
jbe 0x1005fe73
mov eax, dword [esi]
push dword [eax + edi*4]
push ebx
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1005fe6a
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 4]
mov ecx, ebx
call fcn.1005fbdb
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
push 0
pop ebx
cmp edi, dword [esi + 8]
jb 0x1005fe3a
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1005fe78
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
je 0x1005fec6
push edi
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x1005feb6
push ebx
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 0x1005fead
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x1005fe8a
mov eax, dword [esi]
pop ebx
push eax
push 0
push dword [0x10139e38]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
ret
Function at 0x1005fec8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
imul esi, ecx, 0x2c
push edi
mov edi, edx
mov dword [ebp - 0x10], edi
add esi, dword [0x1013b2f0]
mov dword [ebp - 8], esi
mov al, byte [esi + 0x14]
mov ebx, dword [esi]
and al, 1
je 0x1005feee
sub ebx, 5
movzx eax, al
lea ecx, [ebp - 4]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push ebx
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1005ff12
push 0xa
pop eax
jmp 0x1005ff91
test edi, edi
je 0x1005ff33
mov byte [ebx], 0xe9
mov eax, dword [esi + 4]
sub eax, ebx
sub eax, 5
mov dword [ebx + 1], eax
test byte [esi + 0x14], 1
je 0x1005ff52
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x1005ff52
test byte [esi + 0x14], 1
je 0x1005ff47
lea esi, [esi + 0xc]
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 8]
jmp 0x1005ff52
mov eax, dword [esi + 0xc]
mov dword [ebx], eax
mov al, byte [esi + 0x10]
mov byte [ebx + 4], al
mov edi, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov edx, dword [ebp - 0x10]
mov al, byte [esi + 0x14]
and dl, 1
mov cl, dl
and al, 0xfd
add cl, cl
shl dl, 2
or cl, al
and cl, 0xfb
or cl, dl
xor eax, eax
mov byte [esi + 0x14], cl
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1006053c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov edx, dword [0x1013b2e0]
push esi
xor esi, esi
jmp 0x1006054e
cmp dword [edx + 4], esi
jne 0x100605a7
mov edx, dword [edx]
test edx, edx
jne 0x10060547
push 0x40
push 0x3000
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
test edx, edx
je 0x100605ab
push 0x20
mov dword [edx + 4], esi
lea ecx, [edx + 0x20]
mov dword [edx + 8], esi
pop esi
mov eax, dword [edx + 4]
add esi, 0x20
mov dword [ecx], eax
mov dword [edx + 4], ecx
add ecx, 0x20
cmp esi, 0xfe0
jbe 0x10060577
mov eax, dword [0x1013b2e0]
mov dword [edx], eax
mov dword [0x1013b2e0], edx
mov eax, dword [edx + 4]
pop esi
mov ecx, dword [eax]
inc dword [edx + 8]
mov dword [edx + 4], ecx
ret
test edx, edx
jne 0x1006059a
xor eax, eax
pop esi
ret
Function at 0x10069d80
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
sub esp, 0x18
mov eax, dword [0x1013807c]
xor eax, esp
mov dword [esp + 0x14], eax
push edi
mov edi, dword [esp + 0x20]
test edi, edi
je 0x10069e5a
lea eax, [esp + 4]
push eax
push edi
push 2
call fcn.100839c0
add esp, 0xc
test eax, eax
jne 0x10069e5a
lea eax, [esp + 8]
push eax
push edi
push 0x17
call fcn.100839c0
add esp, 0xc
test eax, eax
jne 0x10069e5a
push ebx
push ebp
push esi
mov esi, edi
xor ebx, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10069dd5
sub esi, ecx
push esi
push 0x2e
push edi
call fcn.10083990
add esp, 0xc
test eax, eax
je 0x10069e09
sub eax, edi
push eax
push 0x2e
push edi
call fcn.10083990
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x10069e0b
inc ebx
mov ecx, edi
sub ecx, ebx
add esi, ecx
test ebx, ebx
cmovne edi, ebx
xor ecx, ecx
xor ebp, ebp
mov ebx, 0x1505
lea eax, [esi + edi]
cmp edi, eax
cmova esi, ecx
test esi, esi
je 0x10069e44
mov al, byte [edi]
push eax
call fcn.100764b0
movsx ecx, al
lea edi, [edi + 1]
mov eax, ebx
inc ebp
shl eax, 5
add esp, 4
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp ebp, esi
jb 0x10069e23
pop esi
pop ebp
movzx eax, bl
pop ebx
pop edi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.100a7615
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
xor eax, eax
pop edi
xor ecx, esp
call fcn.100a7615
add esp, 0x18
ret

Function at 0x1006aa10
Capabilities:
Create udp socket

Disassembly:
mov eax, dword [0x10138014]
cmp eax, 0xffffffff
jne 0x1006aa52
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x1006aa38
xor eax, eax
test eax, eax
mov dword [0x10138014], eax
setg al
ret
push eax
push 0
mov dword [0x10138014], 1
call fcn.10074190
mov eax, dword [0x10138014]
add esp, 8
test eax, eax
setg al
ret

Function at 0x1006aa60
Capabilities:
Create udp socket

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x2c0], 2
jne 0x1006aab5
mov eax, dword [0x10138014]
cmp eax, 0xffffffff
jne 0x1006aaaf
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x1006aa95
xor eax, eax
test eax, eax
mov dword [0x10138014], eax
setg al
ret
push eax
push 0
mov dword [0x10138014], 1
call fcn.10074190
mov eax, dword [0x10138014]
add esp, 8
test eax, eax
setg al
ret
mov al, 1
ret
Function at 0x100735c0
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x610], 0
je 0x10073604
push esi
push 1
push edi
call fcn.10065ef0
push dword [edi + 0x5a4]
mov eax, dword [edi + 0x610]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push edi
call eax
push 0
push edi
mov esi, eax
call fcn.10065ef0
add esp, 0x24
mov eax, esi
pop esi
pop edi
ret
mov eax, dword [esp + 0xc]
cmp eax, 2
ja 0x1007363d
push dword [edi + 0x5a0]
lea eax, [eax + eax*2]
push 1
add eax, 0x100d2afc
push 2
push eax
call fcn.100b0ee3
push dword [edi + 0x5a0]
push 1
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.100b0ee3
add esp, 0x20
xor eax, eax
pop edi
ret

Function at 0x10073d50
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x8c
mov eax, dword [0x1013807c]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
push ebx
mov ebx, dword [esp + 0x94]
mov dword [esp + 8], eax
xor eax, eax
push ebp
mov ebp, dword [esp + 0xa8]
mov ecx, dword [ebx + 0x1bc]
cmp edx, ecx
push esi
sete al
mov esi, 0x1dc
push edi
lea eax, [eax*4 + 0x1b8]
mov eax, dword [eax + ebx]
mov dword [esp + 0x10], eax
mov eax, 0x1ec
cmove esi, eax
mov eax, dword [ebx + 0x2b8]
add esi, ebx
mov edi, dword [esi + 4]
sub edi, dword [esi + 8]
test byte [eax + 0x40], 3
je 0x10073e5e
xor eax, eax
cmp edx, ecx
sete al
lea eax, [eax*4 + 0x1cc]
cmp dword [eax + ebx], 0x10073910
jne 0x10073e5e
cmp dword [esi], 0
je 0x10073de8
test edi, edi
je 0x10073e5e
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esp + 0x20]
call fcn.10073180
add esp, 0x14
cmp eax, 0xffffffff
je 0x10073e5e
test al, 1
je 0x10073e5e
mov ecx, dword [esi]
test ecx, ecx
jne 0x10073e3b
mov eax, dword [ebx]
mov eax, dword [eax + 0x8f4]
add eax, eax
push eax
mov dword [esi + 4], eax
call dword [section..data]
mov edi, dword [esi + 4]
mov ecx, eax
add esp, 4
mov dword [esi], ecx
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
test ecx, ecx
je 0x10073e57
mov eax, dword [esi + 8]
push 0
push edi
add eax, ecx
push eax
push dword [esp + 0x1c]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x10073e5e
add dword [esi + 8], eax
jmp 0x10073e5e
mov dword [esi + 4], 0
push 0
push dword [esp + 0xb0]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10073ec7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2733
jne 0x10073e98
mov dword [ebp], 0
lea eax, [edi + 0x52]
jmp 0x10073ecc
push 0x80
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.10064c80
push eax
push str.Send_failure:__s
push dword [ebx]
call fcn.10073650
mov eax, dword [ebx]
add esp, 0x18
mov dword [eax + 0xcbc], esi
mov eax, 0x37
jmp 0x10073ec9
xor eax, eax
mov dword [ebp], edi
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100a7615
add esp, 0x8c
ret
Function at 0x10074250
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 4]
test byte [eax + 0x208], 1
je 0x1007426d
push eax
call fcn.1006d2f0
add esp, 4
test eax, eax
jne 0x1007428c
xor al, al
ret
mov eax, dword [eax + 0x1b8]
cmp eax, 0xffffffff
je 0x1007426a
push 2
push 1
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x1007426a
mov al, 1
ret
Function at 0x10075e80
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push 0x100d2f44
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x10075e9a
pop edi
pop ebx
pop ecx
ret
push ebp
push esi
push str.LoadLibraryExA
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x18]
mov ebp, eax
push 0x100d2f60
push esi
call fcn.100b8330
add esp, 8
test eax, eax
je 0x10075ee2
test ebp, ebp
je 0x10075ed3
push 8
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
test ebp, ebp
je 0x10075f08
push str.AddDllDirectory
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10075f08
push 0x800
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x10075fbf
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10075f25
sub ecx, ebx
lea eax, [edx + 1]
add eax, ecx
push eax
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10075fb5
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x10075fb5
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10075f57
sub ecx, edx
mov eax, 0x5c
mov word [ecx + ebx], ax
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10075f70
sub ecx, edx
sub ecx, esi
add ecx, ebx
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x10075f80
test ebp, ebp
je 0x10075fac
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x10138004]
add esp, 4
mov eax, edi
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push ebx
call dword [0x10138004]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret