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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x5092e4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x4010f9
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401317
mov esp, ebp
pop ebp
ret
mov ecx, dword [section..data]
push ecx
lea edx, [ebp - 0x10c]
push edx
push 0x4d3c80
lea eax, [ebp - 0x318]
push 0x20a
push eax
call fcn.00401060
add esp, 0x14
lea ecx, [ebp - 0x318]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401317
mov esp, ebp
pop ebp
ret

Function at 0x401317
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5092e4]
jne 0x401321
repz ret
jmp fcn.00406f01

Function at 0x40bf55
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x40bf7c
call fcn.004082db
mov dword [eax], esi
call fcn.004082c8
push 0x16
pop esi
mov dword [eax], esi
call fcn.00408276
mov eax, esi
jmp 0x40bfd1
test dword [ebp + 0xc], 0xfffffff9
jne 0x40bf62
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40bfa9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004082ee
pop ecx
call fcn.004082c8
mov eax, dword [eax]
jmp 0x40bfd1
test al, 0x10
jne 0x40bfcf
test al, 1
je 0x40bfcf
test byte [ebp + 0xc], 2
je 0x40bfcf
call fcn.004082db
mov dword [eax], 5
call fcn.004082c8
mov dword [eax], 0xd
jmp 0x40bfa0
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4126ea
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5092e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00407b37
and dword [ebp - 0x14], 0
cmp dword [0x5188d4], 0
mov dword [ebp - 0x18], eax
jne 0x41279d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x412845
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x412845
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x5188d4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x5188d8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5188dc], eax
call edi
push eax
call esi
mov dword [0x5188e4], eax
test eax, eax
je 0x41279d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5188e0], eax
mov eax, dword [0x5188e0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4127f6
cmp dword [0x5188e4], ecx
je 0x4127f6
push eax
call esi
push dword [0x5188e4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4127f6
test ebx, ebx
je 0x4127f6
call edi
test eax, eax
je 0x4127ed
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4127ed
test byte [ebp - 8], 1
jne 0x4127f6
or dword [ebp + 0x10], 0x200000
jmp 0x412829
mov eax, dword [0x5188d8]
cmp eax, dword [ebp - 0x18]
je 0x412829
push eax
call esi
test eax, eax
je 0x412829
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x412829
mov eax, dword [0x5188dc]
cmp eax, dword [ebp - 0x18]
je 0x412829
push eax
call esi
test eax, eax
je 0x412829
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5188d4]
call esi
test eax, eax
je 0x412845
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x412847
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x41a85f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [ebp + 8], ebx
je 0x41aa11
mov edi, dword [ebp + 0xc]
call fcn.004a142a
test eax, eax
je 0x41aa11
push 1
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetMapMode]
push 1
push 0x42c
mov dword [ebp - 0xc], eax
xor esi, esi
call fcn.00401a3a
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
je 0x41a9ba
push 0x2010
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x41a9b3
push ebx
push edi
push ebx
push ebx
push ebx
push eax
push dword [ebp + 8]
mov dword [edi], 0x28
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
je 0x41a9aa
push 0x10
push 1
call fcn.00401a3a
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x41a9aa
mov eax, dword [edi + 0x14]
push dword [ebp + 8]
mov dword [ebp - 4], eax
mov ax, word [edi + 4]
mov word [esi + 0xc], ax
mov ax, word [edi + 8]
mov word [esi + 0xe], ax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esi], eax
cmp eax, ebx
je 0x41a951
movsx eax, word [esi + 0xe]
push eax
movsx eax, word [esi + 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x41a945
push dword [esi]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [esi], ebx
jmp 0x41a951
push eax
push dword [esi]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 8], eax
cmp dword [esi + 4], ebx
je 0x41a9aa
mov eax, dword [ebp - 4]
add eax, 0x64
push eax
call fcn.004028f8
pop ecx
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x41a9aa
push ebx
push edi
push eax
push dword [edi + 8]
push ebx
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
je 0x41a9a1
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push 0xcc0020
push ebx
push edi
push dword [ebp - 4]
push eax
push ecx
push ebx
push ebx
push eax
push ecx
push ebx
push ebx
push dword [esi]
call dword [sym.imp.GDI32.dll_StretchDIBits]
push dword [ebp - 4]
call fcn.00401a00
pop ecx
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call fcn.00401a00
pop ecx
push dword [ebp - 0xc]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetMapMode]
cmp esi, ebx
je 0x41aa11
cmp dword [esi + 4], ebx
je 0x41a9d3
cmp dword [esi], ebx
jne 0x41a9dc
push esi
call fcn.00401a00
pop ecx
xor esi, esi
cmp esi, ebx
je 0x41aa11
mov eax, dword [0x61d5d8]
cmp eax, ebx
jne 0x41a9f3
call fcn.0045052b
mov dword [0x61d5d8], eax
push dword [esi]
mov ebx, eax
call fcn.004504da
mov ebx, dword [esi]
pop ecx
push esi
push dword [0x61d5d8]
call fcn.0045065f
mov eax, dword [esi]
pop ecx
pop ecx
jmp 0x41aa13
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41baf4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5092e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x20]
mov dword [ebp - 0x24], ebx
stosd dword es:[edi], eax
mov dword [ebp - 0x14], ebx
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [0x61d40c], eax
cmp eax, ebx
je 0x41bb38
call fcn.0041df75
mov dword [0x61d410], eax
jmp 0x41bb4e
call fcn.0041df75
sub eax, dword [0x61d410]
cmp eax, 0xde
jb 0x41bc1f
cmp dword [0x61d40c], ebx
jne 0x41bc1f
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x41bc07
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [ebp - 0x1c], ebx
jne 0x41bb92
call fcn.004abd07
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x41bc0a
cmp dword [ebp - 0x18], ebx
jne 0x41bc0a
lea eax, [ebp - 0x14]
push eax
call fcn.004abd07
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 6
call esi
push 4
mov edi, eax
call esi
add eax, dword [ebp - 0x10]
push 0xfffffffffffffffd
lea ecx, [eax + edi + 3]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
pop edi
cdq
idiv edi
mov dword [ebp - 0x10], ecx
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x14]
jle 0x41bbfe
cmp eax, dword [ebp - 0xc]
jge 0x41bbfe
cmp dword [ebp - 0x20], ecx
jle 0x41bbfe
push 0xf
call esi
add eax, dword [ebp - 0x10]
cmp dword [ebp - 0x20], eax
jge 0x41bbfe
mov dword [0x61d3f0], 1
call fcn.0041df75
mov dword [0x61d3f4], eax
jmp 0x41bc0a
mov dword [ebp - 0x18], 1
jmp 0x41bc0a
mov dword [ebp - 0x18], ebx
push 0x16
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x61d40c], ebx
je 0x41bb61
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00401317
leave
ret 4
Function at 0x41f70f
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
mov eax, dword [0x5092e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x103
xor esi, esi
lea eax, [ebp - 0x10f]
push esi
push eax
mov byte [ebp - 0x110], 0
call fcn.00401f80
add esp, 0xc
push 0x13c
lea eax, [ebp - 0x26c]
push esi
push eax
mov dword [ebp - 0x270], esi
call fcn.00401f80
xor eax, eax
mov word [ebp - 0x130], ax
lea edi, [ebp - 0x12e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x120], ax
lea edi, [ebp - 0x11e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosw word es:[edi], ax
call fcn.0041df75
sub eax, dword [0x61d38c]
cmp eax, 0x493e0
jae 0x41f79f
xor eax, eax
jmp 0x41f8d4
call fcn.0041df75
mov dword [0x61d38c], eax
call fcn.0041ecf4
test eax, eax
je 0x41f798
push 0x61cb50
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.00444961
pop ecx
call fcn.00444748
push str.PAULATempTimeDetectionFile
push 0x4e3a2c
push eax
call fcn.0044523c
add esp, 0xc
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x278], eax
cmp eax, 0xffffffff
je 0x41f798
mov ebx, dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp + 8]
push eax
call ebx
mov dword [ebp - 0x274], esi
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x26c]
jg 0x41f843
lea eax, [ebp - 0x25c]
push eax
call ebx
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x120]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [ebp - 0x130]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0041f61b
add esp, 0x20
cmp eax, 0xdbba0
jle 0x41f8a7
lea eax, [ebp - 0x110]
call fcn.00444748
lea eax, [ebp - 0x244]
push eax
mov eax, 0x104
lea esi, [ebp - 0x110]
call fcn.00445aee
pop ecx
mov eax, esi
call fcn.004a14db
test eax, eax
je 0x41f8a7
inc dword [ebp - 0x274]
lea eax, [ebp - 0x270]
push eax
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41f818
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x41f8e3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x5092e4]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
xor eax, eax
push esi
push edi
mov word [esp + 0x14], ax
lea edi, [esp + 0x16]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, ecx
stosd dword es:[edi], eax
mov dword [esp + 0x10], esi
mov ebx, edx
stosw word es:[edi], ax
test esi, esi
je 0x41f923
push 0x10
push 0
push esi
call fcn.00401f80
add esp, 0xc
mov edx, ebx
call fcn.00445b2f
test eax, eax
je 0x41f932
xor eax, eax
jmp 0x41f991
push 0xbba
push str.Time.c
mov edx, 0x4cc77c
mov ecx, ebx
call fcn.004a0001
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x41f92e
push 0x10
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00401f80
push edi
push 1
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.00402244
lea ebx, [eax - 1]
add esp, 0x1c
neg ebx
mov ecx, edi
sbb ebx, ebx
call fcn.004a2aec
test esi, esi
je 0x41f98e
mov edi, dword [esp + 0x10]
lea esi, [esp + 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebx + 1]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401317
mov esp, ebp
pop ebp
ret

Function at 0x42094a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x5092e4]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
xor eax, eax
push esi
push edi
mov word [esp + 0x14], ax
lea edi, [esp + 0x16]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ebx, ecx
mov dword [esp + 0x10], edx
stosw word es:[edi], ax
call fcn.00445b2f
test eax, eax
je 0x420984
xor eax, eax
jmp 0x4209e3
mov esi, str.Time.c
test ebx, ebx
jne 0x4209a8
push 0xb92
lea eax, [esp + 0x18]
push esi
push eax
call fcn.004205e9
add esp, 0xc
test eax, eax
je 0x420980
lea ebx, [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0xb9a
push esi
mov edx, 0x4cc8b8
call fcn.004a0001
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x420980
push edi
push 1
push 0x10
push ebx
call fcn.0040257f
lea esi, [eax - 1]
add esp, 0x10
neg esi
mov ecx, edi
sbb esi, esi
call fcn.004a2aec
lea eax, [esi + 1]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401317
mov esp, ebp
pop ebp
ret
Function at 0x43ebe7
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x20]
mov eax, dword [ebp + 8]
call fcn.0043eb8c
pop ecx
test eax, eax
jne 0x43ebff
push 2
pop eax
pop ebp
ret
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
mov edx, eax
mov eax, dword [ebp + 8]
call fcn.0043eb7d
mov eax, edx
pop ebp
ret

Function at 0x43edcd
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
mov eax, dword [0x5092e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov word [ebp - 0x14], ax
lea edi, [ebp - 0x12]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
push 0x18e
mov word [ebp - 0x1a8], ax
xor esi, esi
lea eax, [ebp - 0x1a6]
push esi
push eax
mov ebx, ecx
call fcn.00401f80
add esp, 0xc
mov edx, ebx
mov byte [ebp - 0x1a9], 0
call fcn.00445b2f
test eax, eax
je 0x43ee2d
or eax, 0xffffffff
jmp 0x43ef8e
push 0x10
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.00401f80
add esp, 0xc
lea eax, [ebp - 0x1a8]
push eax
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x43ee25
cmp dword [ebp + 8], esi
jle 0x43ee60
cmp dword [ebp + 8], 0x10000
jl 0x43ee68
call fcn.0043eb01
mov dword [ebp + 8], eax
push ebx
call dword [sym.imp.WSOCK32.dll_gethostbyname]
cmp eax, esi
jne 0x43ee7b
call dword [sym.imp.WSOCK32.dll_WSACleanup]
jmp 0x43ee25
cmp word [eax + 0xa], 4
jle 0x43ee89
push 4
pop ecx
mov word [eax + 0xa], cx
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.00401330
add esp, 0xc
push 6
push 1
push 2
call dword [sym.imp.WSOCK32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x43ee73
push dword [ebp + 8]
call dword [sym.imp.WSOCK32.dll_htons]
push 2
mov word [ebp - 0x12], ax
pop eax
mov word [ebp - 0x14], ax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.WSOCK32.dll_connect]
test eax, eax
je 0x43ef04
push edi
call dword [sym.imp.WSOCK32.dll_closesocket]
call dword [sym.imp.WSOCK32.dll_WSACleanup]
push str.127.0.0.1
push ebx
call fcn.004454c3
pop ecx
pop ecx
test eax, eax
jne 0x43ee25
inc dword [0x61a1ac]
jmp 0x43ee25
push 1
lea eax, [ebp - 0x1a9]
push eax
push 8
push 0xffff
push edi
mov byte [ebp - 0x1a9], 1
call dword [sym.imp.WSOCK32.dll_setsockopt]
cmp dword [ebp + 0xc], esi
je 0x43ef8c
push esi
push 0xfb
mov esi, 0xff
push esi
push edi
call fcn.0043e99f
push 1
lea ebx, [esi - 2]
push ebx
push esi
push edi
call fcn.0043e99f
push 0
push ebx
push esi
push edi
call fcn.0043e99f
push 0x1f
push 0xfb
push esi
push edi
call fcn.0043e99f
add esp, 0x40
push 0x1f
push 0xfa
push esi
push edi
call fcn.0043e99f
push 0
push 0x50
push 0
push edi
call fcn.0043e99f
push 0xf0
push esi
push 0x19
push edi
call fcn.0043e99f
add esp, 0x30
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x43f3c3
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x5092e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, 0x200
lea edi, [ebx - 1]
push edi
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x203]
push 0
push eax
mov byte [ebp - 0x204], 0
call fcn.00401f80
mov eax, dword [ebp + 0x10]
add esp, 0xc
test eax, eax
je 0x43f4f8
cmp byte [eax], 0
je 0x43f4f8
lea ecx, [ebp + 0x14]
push ecx
push eax
lea esi, [ebp - 0x204]
push edi
mov eax, esi
push eax
jmp 0x43f45e
lea eax, [ebp - 0x204]
cmp esi, eax
je 0x43f439
push esi
call fcn.00401a00
pop ecx
add ebx, ebx
lea eax, [ebx + 0xa]
push eax
push 1
call fcn.00401a3a
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x43f4f8
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebx - 1]
push eax
push esi
call fcn.00402e91
add esp, 0x10
cmp eax, 0xffffffff
je 0x43f428
mov eax, esi
call fcn.0043ec94
push esi
call fcn.00401a80
cmp dword [ebp + 0xc], 0
pop ecx
mov ebx, eax
jbe 0x43f497
cmp dword [ebp + 0xc], 0x7ffffffe
ja 0x43f48f
push dword [ebp + 0xc]
jmp 0x43f491
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [ebp - 0x208]
mov eax, edi
call fcn.0043f12d
test eax, eax
je 0x43f4e7
push 0x2ca
mov eax, edi
call fcn.0043eb3a
pop ecx
test eax, eax
je 0x43f4e7
push 0
push ebx
push esi
push dword [edi + 0xacc]
call dword [sym.imp.WSOCK32.dll_send]
mov ebx, eax
mov eax, edi
call fcn.0043eb2b
lea eax, [ebp - 0x204]
cmp esi, eax
je 0x43f4e3
push esi
call fcn.00401a00
pop ecx
mov eax, ebx
jmp 0x43f4fa
lea eax, [ebp - 0x204]
cmp esi, eax
je 0x43f4f8
push esi
call fcn.00401a00
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret

Function at 0x43fe59
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push ebx
push esi
mov ebx, eax
jge 0x43fe6a
and dword [ebp + 8], 0
test ebx, ebx
jns 0x43fe70
xor ebx, ebx
cmp dword [ebp + 8], ebx
jg 0x43febd
mov eax, edi
call fcn.0043f12d
test eax, eax
je 0x43febd
push 0xe15
mov eax, edi
call fcn.0043eb3a
pop ecx
test eax, eax
je 0x43febd
mov eax, dword [edi + 0xf4]
cmp dword [ebp + 8], eax
jle 0x43fe9f
mov dword [ebp + 8], eax
cmp ebx, eax
jle 0x43fea5
mov ebx, eax
push 1
push 0x10
call fcn.00401a3a
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x43fec3
mov eax, edi
call fcn.0043eb2b
xor eax, eax
pop esi
pop ebx
pop ebp
ret
push 0x10
push 0
push esi
call fcn.00401f80
mov dword [esi], edi
mov cx, word [edi + 0xdc]
imul cx, word [ebp + 8]
add esp, 0xc
inc ebx
mov word [esi + 4], cx
imul bx, word [edi + 0xdc]
dec bx
xor eax, eax
mov word [esi + 8], ax
mov ax, cx
mov word [esi + 0xa], ax
mov word [esi + 6], bx
lea eax, [edi + 0xafc]
jmp 0x43ff08
mov eax, ecx
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x43ff06
mov ebx, dword [0x619fe4]
mov dword [eax + 0xc], esi
test ebx, ebx
jne 0x43ff29
call fcn.0045052b
mov ebx, eax
mov dword [0x619fe4], ebx
push esi
call fcn.004504da
pop ecx
mov eax, edi
call fcn.0043eb2b
mov eax, esi
jmp 0x43febf
Function at 0x4404f1
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov eax, edi
call fcn.0043f12d
test eax, eax
je 0x440667
mov eax, dword [ebp + 8]
test eax, eax
je 0x440667
cmp byte [eax], 0
je 0x440667
mov ebx, dword [edi + 0xa8c]
push 1
push 0x2c
call fcn.00401a3a
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x440667
push 0x2c
push 0
push esi
call fcn.00401f80
add esp, 0xc
push 2
push dword [ebp + 8]
call fcn.00401a80
pop ecx
add eax, 0xa
push eax
call fcn.00401a3a
pop ecx
pop ecx
mov dword [esi + 4], eax
test eax, eax
je 0x440660
mov eax, edi
call fcn.0043f12d
test eax, eax
je 0x440660
push 0x881
mov eax, edi
call fcn.0043eb3a
pop ecx
test eax, eax
je 0x440660
mov ecx, dword [edi + 0xa88]
xor edx, edx
mov eax, ebx
div ecx
mov eax, dword [edi + 0xa84]
test edx, edx
jne 0x4405a2
mov ebx, dword [eax + ecx*4 - 4]
jmp 0x4405a6
mov ebx, dword [eax + edx*4 - 4]
cmp dword [ebp + 0xc], 0
jne 0x4405af
inc ebx
jmp 0x4405c0
call fcn.0041df75
cmp ebx, eax
jbe 0x4405bd
sub ebx, eax
add dword [ebp + 0xc], ebx
mov ebx, dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 4]
call fcn.00401ba0
mov eax, dword [esi + 4]
pop ecx
pop ecx
call fcn.0043ec94
push dword [ebp + 8]
push dword [esi + 4]
call fcn.00401a80
pop ecx
mov ecx, dword [esi + 4]
lea eax, [eax + ecx + 1]
push eax
call fcn.00401ba0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
pop ecx
xor ebx, ebx
pop ecx
mov dword [esi], edi
mov dword [esi + 0x18], ebx
jmp 0x44060a
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0xaa8], ebx
jne 0x440602
mov dword [edi + 0xaa8], 1
lea eax, [edi + 0xad0]
jmp 0x440626
mov eax, ecx
mov ecx, dword [eax + 0x28]
cmp ecx, ebx
jne 0x440624
mov ebx, dword [0x619fe0]
mov dword [eax + 0x28], esi
test ebx, ebx
jne 0x440647
call fcn.0045052b
mov ebx, eax
mov dword [0x619fe0], ebx
push esi
call fcn.004504da
and dword [edi + 0xaa8], 0
pop ecx
mov eax, edi
call fcn.0043eb2b
mov eax, esi
jmp 0x440669
push esi
call fcn.00401a00
pop ecx
xor eax, eax
pop esi
pop ebx
pop ebp
ret
Function at 0x440a71
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
test esi, esi
je 0x440bb1
push edi
push 1
push 0x20
call fcn.00401a3a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x440bb0
push ebx
push 0x20
push 0
push edi
call fcn.00401f80
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [edi + 0x14], eax
add esp, 0xc
mov eax, ebx
mov dword [edi + 4], ebx
mov dword [edi + 0x10], esi
call fcn.0043f12d
test eax, eax
je 0x440ba6
push 0xb2e
mov eax, ebx
call fcn.0043eb3a
pop ecx
test eax, eax
je 0x440ba6
cmp dword [0x619fe8], 0
jne 0x440af1
call fcn.0045052b
mov dword [0x619fe8], eax
test eax, eax
je 0x440ba6
push 0xb3e
push str.TelNet.c
push str.TelNetCreateConditionID
push edi
mov esi, 0x43ea0f
push esi
mov ecx, 0x3f70
call fcn.004a0fc9
mov ebx, eax
test ebx, ebx
jne 0x440b3f
push 0xb43
push str.TelNet.c
push str.TelNetCreateConditionID
push edi
push esi
xor ecx, ecx
call fcn.004a0fc9
mov ebx, eax
test ebx, ebx
jne 0x440b3f
mov eax, dword [ebp + 8]
call fcn.0043eb2b
jmp 0x440bad
push dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
call fcn.00444718
mov esi, dword [ebp + 8]
push eax
push dword [ebp + 0x10]
push edi
push esi
push str.Called_for__p_HTELNET___p_Condition__from__s___in___s__line_d.
push ebx
call fcn.0049ff0b
add esp, 0x1c
mov dword [edi + 8], ebx
mov dword [edi], ebx
lea eax, [esi + 0xaac]
jmp 0x440b70
mov eax, ecx
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x440b6e
mov dword [eax + 0x1c], edi
inc dword [esi + 0xac4]
cmp dword [esi + 0xac4], 0xc
jle 0x440b8e
call fcn.0041df75
mov ebx, dword [0x619fe8]
push edi
call fcn.004504da
pop ecx
mov eax, esi
call fcn.0043eb2b
mov eax, edi
jmp 0x440baf
push edi
call fcn.00401a00
pop ecx
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret