joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405a3d
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.shell32.dll_ShellExecuteExW]
ret 4

Function at 0x405b23
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x405b32
pop dword [ebp - 0x18]
mov eax, 0x405b32
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x70322ece
add dword [ebp - 0x28], 0xde20167d
mov dword [ebp - 0x24], 0xa85bf6b3
sub dword [ebp - 0x24], 0x7628aa6e
mov dword [ebp - 0x20], 0x44c58e45
sub dword [ebp - 0x20], 0xf8794a17
mov dword [ebp - 0x1c], 0xaf561868
add dword [ebp - 0x1c], 0x50a9e798
lea eax, [ebp - 0x28]
push eax
mov eax, 0x133d2117
sub eax, 0x12fca09f
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x54df87e3
sub dword [ebp - 0x28], 0xe06d1e8d
mov dword [ebp - 0x24], 0x3f50af0b
add dword [ebp - 0x24], 0x21bb26a
mov dword [ebp - 0x20], 0xa433c8ab
add dword [ebp - 0x20], 0xbf3ba3c1
mov dword [ebp - 0x1c], 0x84dc023
sub dword [ebp - 0x1c], 0x84dc023
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0xa524dd24
sub eax, 0xa4e45ca8
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x377b4
push 0
call eax
mov ecx, 0xa8a75ce3
add ecx, 0x5758ed00
xor edx, edx
add edx, eax
mov ebx, 0x3c7b3aec
add ebx, 0xc3c9d914
add ebx, dword [ebp - 0x18]
mov esi, 0x5e3f9ac8
sub esi, 0xa208a48d
mov edi, dword [ebx]
xor dword [ebp - 0x10], ecx
add edi, esi
mov dword [ebp - 4], 0x854cc7e1
mov dword [edx], edi
add dword [ebp - 4], 0xbd983a96
add edx, 0x571c55c1
add edx, 0xa8e3aa43
add ebx, 0xa1d6b0d0
add ebx, 0x5e294f34
loop 0x405c51
add eax, 0x11a5f
mov ebx, eax
add eax, 0xf246d6cf
add eax, 0xdb92936
mov ecx, 0xef877a98
sub ecx, 0xef477a98
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

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

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x42fa70
push esi
call fcn.00406411
push esi
call fcn.00405d91
mov edi, eax
test edi, edi
jne 0x405e0f
xor eax, eax
jmp 0x405e67
push edi
call fcn.004066c0
test byte [0x434f1c], 0x80
je 0x405e2c
mov ax, word [edi]
test ax, ax
je 0x405e0b
cmp ax, 0x5c
je 0x405e0b
sub edi, esi
sar edi, 1
jmp 0x405e46
call fcn.0040676f
test eax, eax
je 0x405e40
test byte [eax], 0x10
je 0x405e0b
push esi
call fcn.00405d32
push esi
call sub.kernel32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405e32
call fcn.00405ce6
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405ee2
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405f01
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4
Function at 0x4068f3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x40692a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406904
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x4068ff
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40695b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x40693d
pop edi
not eax
pop esi
ret 0xc

Function at 0x409ebd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x409ebd
lcall 0x5de5, 0x8b10c483
jmp fcn.0076d6b4
Function at 0x10001740
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x10001760
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
mov edi, ecx
jne 0x10001776
push 0x80004005
call fcn.10001140
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov ecx, dword [esp + 0xc]
mov edx, dword [edi]
add eax, 1
push eax
mov eax, dword [esp + 0x18]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 0xc

Function at 0x100017a0
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x100017b8
push 0x80004005
call fcn.10001140
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrlenA]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
add esi, eax
add edi, eax
cmp eax, 1
jne 0x100017c5
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x10002bc0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x101604fb
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x101b629c]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b629c]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x140]
xor esi, esi
mov ebp, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x138], esi
mov eax, dword [ebp]
lea ecx, [esp + 0x1c]
push ecx
push 0x2001f
push esi
push ebx
push eax
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
cmp edi, esi
jne 0x10002cf2
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, esi
je 0x10002c4e
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], esi
cmp eax, esi
mov ecx, dword [esp + 0x1c]
mov edi, eax
mov dword [esp + 0x14], ecx
jne 0x10002cf2
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x24]
push edx
push esi
push esi
push esi
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x40]
push edx
push esi
push ecx
mov dword [esp + 0x38], 0x100
call edi
test eax, eax
jne 0x10002cd2
jmp 0x10002c90
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.10002bc0
mov ebx, eax
cmp ebx, esi
jne 0x10002d3c
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x18]
push esi
push esi
push esi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x40]
push eax
push esi
push ecx
mov dword [esp + 0x38], 0x100
call edi
test eax, eax
je 0x10002c90
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x10002ce5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], esi
mov edx, dword [ebp]
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edi, eax
mov dword [esp + 0x138], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x10002d10
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], esi
mov eax, edi
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.100ff704
add esp, 0x128
ret 4
mov dword [esp + 0x138], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x10002d5a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], esi
mov eax, ebx
jmp 0x10002d12
Function at 0x100086d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x20
push 0x1016a4d4
mov eax, dword [ebp + 8]
push eax
call fcn.10100e69
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100086f9
xor al, al
jmp 0x10008781
push 2
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.10100de4
add esp, 0xc
mov edx, dword [ebp - 8]
push edx
call fcn.10100cef
add esp, 4
mov dword [ebp - 4], eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.10100de4
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call fcn.100ff166
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1000874d
mov edx, dword [ebp - 8]
push edx
call fcn.10100824
add esp, 4
xor al, al
jmp 0x10008781
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp - 0xc]
push edx
call fcn.10100b3c
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
call fcn.10100824
add esp, 4
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x1000ae40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov esi, eax
mov dword [ebp - 4], 0
je 0x1000aea6
call fcn.1002d8c0
push 0
push 0
push esi
push 0x1000ae10
push 0
push 0
mov edi, eax
call fcn.101018df
push edi
mov esi, eax
call fcn.1002d960
add esp, 0x1c
test esi, esi
je 0x1000ae88
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetExitCodeThread]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pushal
pushfd
push esi
call fcn.1000ada0
add esp, 4
mov dword [ebp + 8], eax
popfd
popal
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000bcb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
lea ebp, [esp - 0x104]
sub esp, 0x104
push 0xffffffffffffffff
push 0x10161130
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x101b629c]
xor eax, ebp
mov dword [ebp + 0x100], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x10c]
cmp eax, 0x8ba
jne 0x1000bd8f
mov byte [ebp], 0
push 0xff
push 0
lea eax, [ebp + 1]
push eax
call fcn.10100160
add esp, 0xc
mov ecx, dword [ebp + 0x118]
push ecx
push 0
call fcn.100dacb0
add esp, 4
push eax
lea edx, [ebp]
push edx
call fcn.10100f40
add esp, 0xc
lea eax, [ebp]
push eax
push 0
push 0xf001f
call fcn.100b1030
mov edi, eax
test edi, edi
je 0x1000bf02
push 0
push 0
push 0
push 6
push edi
call fcn.100b0fe0
mov esi, eax
push 0x40
push 0x3000
mov ecx, dword [ebp + 0x114]
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
push esi
call fcn.100b1010
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, 1
jmp 0x1000bf04
cmp eax, 0x8bb
jne 0x1000be80
mov byte [ebp], 0
push 0xff
push 0
lea edx, [ebp + 1]
push edx
call fcn.10100160
add esp, 0xc
mov eax, dword [ebp + 0x118]
push eax
push 0
call fcn.100dacb0
add esp, 4
push eax
lea ecx, [ebp]
push ecx
call fcn.10100f40
add esp, 0xc
lea edx, [ebp]
push edx
push 0
push 0xf001f
call fcn.100b1030
mov ebx, eax
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x1000bf02
push 0
push 0
push 0
push 6
push ebx
call fcn.100b0fe0
mov esi, eax
mov dword [ebp - 0x20], esi
mov edi, dword [esi]
mov dword [ebp - 0x14], edi
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
push eax
lea edx, [esi + 0x10]
push edx
push edi
call fcn.10101480
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
jmp 0x1000be41
mov eax, dword [ebp + 0x114]
push eax
mov eax, edi
call fcn.1000ae40
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
push esi
call fcn.100b1010
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 0x18], 0
je 0x1000be76
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
mov eax, 1
jmp 0x1000bf04
cmp eax, 0x8bc
jne 0x1000bf02
mov byte [ebp], 0
push 0xff
push 0
lea ecx, [ebp + 1]
push ecx
call fcn.10100160
add esp, 0xc
mov edx, dword [ebp + 0x118]
push edx
push 0
call fcn.100dacb0
add esp, 4
push eax
lea eax, [ebp]
push eax
call fcn.10100f40
add esp, 0xc
lea ecx, [ebp]
push ecx
push 0
push 0xf001f
call fcn.100b1030
mov edi, eax
test edi, edi
je 0x1000bf02
push 0
push 0
push 0
push 6
push edi
call fcn.100b0fe0
mov esi, eax
mov edx, dword [esi]
or edx, dword [esi + 4]
je 0x1000bd78
push 0x8000
push 0
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
jmp 0x1000bd78
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.100ff704
add ebp, 0x104
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1001b8b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
mov eax, dword [0x101b629c]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x34]
push ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 8], eax
mov cl, 0x61
mov al, 0x64
push esi
mov byte [esp + 0x10], cl
mov byte [esp + 0x13], cl
push edi
mov byte [esp + 0x15], al
mov byte [esp + 0x1d], al
mov al, 0x6c
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x1a], 0x76
mov byte [esp + 0x1c], 0x70
mov byte [esp + 0x1d], 0x69
mov byte [esp + 0x1e], 0x33
mov byte [esp + 0x1f], 0x32
mov byte [esp + 0x20], 0x2e
mov byte [esp + 0x22], al
mov byte [esp + 0x23], al
mov byte [esp + 0x24], 0
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x1001b9ae
lea edx, [esp + 0x24]
mov al, 0x65
push edx
push esi
mov byte [esp + 0x2c], 0x52
mov byte [esp + 0x2d], al
mov byte [esp + 0x2e], 0x67
mov byte [esp + 0x2f], 0x4f
mov byte [esp + 0x30], 0x70
mov byte [esp + 0x31], al
mov byte [esp + 0x32], 0x6e
mov byte [esp + 0x33], 0x4b
mov byte [esp + 0x34], al
mov byte [esp + 0x35], 0x79
mov byte [esp + 0x36], 0x45
mov byte [esp + 0x37], 0x78
mov byte [esp + 0x38], 0x41
mov byte [esp + 0x39], 0
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
test edi, edi
je 0x1001b9ae
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
push ebx
push ebp
call edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.100ff704
add esp, 0x28
ret 0x14
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.100ff704
add esp, 0x28
ret 0x14

Function at 0x1001d4c0
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push esi
push edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
call fcn.1002d8c0
push 0
push 0
lea edx, [esp + 0x10]
push edx
push 0x1001d440
push 0
push 0
mov edi, eax
call fcn.101018df
push edi
mov esi, eax
call fcn.1002d960
add esp, 0x1c
test esi, esi
jne 0x1001d512
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop edi
pop esi
add esp, 0xc
ret
Function at 0x1001d530
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov eax, dword [0x101b629c]
xor eax, esp
mov dword [esp + 0x28], eax
mov al, 0x6c
mov byte [esp + 0xc], al
mov byte [esp + 0xd], al
mov al, 0x74
mov dl, 0x77
mov cl, 0x69
mov byte [esp + 0x15], al
mov byte [esp + 0x1d], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x23], al
push esi
lea eax, [esp + 8]
push eax
mov byte [esp + 0xc], 0x44
mov byte [esp + 0xd], dl
mov byte [esp + 0xe], 0x6d
mov byte [esp + 0xf], 0x61
mov byte [esp + 0x10], 0x70
mov byte [esp + 0x11], cl
mov byte [esp + 0x12], 0x2e
mov byte [esp + 0x13], 0x64
mov byte [esp + 0x16], 0
mov byte [esp + 0x18], 0x44
mov byte [esp + 0x19], dl
mov byte [esp + 0x1a], 0x6d
mov byte [esp + 0x1b], 0x53
mov byte [esp + 0x1c], 0x65
mov byte [esp + 0x1e], 0x57
mov byte [esp + 0x1f], cl
mov byte [esp + 0x20], 0x6e
mov byte [esp + 0x21], 0x64
mov byte [esp + 0x22], 0x6f
mov byte [esp + 0x23], dl
mov byte [esp + 0x24], 0x41
mov byte [esp + 0x27], 0x72
mov byte [esp + 0x28], cl
mov byte [esp + 0x29], 0x62
mov byte [esp + 0x2a], 0x75
mov byte [esp + 0x2c], 0x65
mov byte [esp + 0x2d], 0
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x1001d61c
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x1001d615
push 4
lea edx, [esp + 8]
push edx
push 2
push edi
mov dword [esp + 0x14], 1
call eax
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov ecx, dword [esp + 0x2c]
pop esi
xor ecx, esp
call fcn.100ff704
add esp, 0x2c
ret
Function at 0x1001e2c0
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10166df9
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x101b629c]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push edi
mov eax, dword [0x101b629c]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x10], ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [esp + 0x14], esi
mov byte [esi + 4], bl
mov dword [esp + 0x44], ebx
mov dword [esp + 0x10], 1
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
call fcn.10101f4f
add esp, 4
mov byte [esp + 0x18], 0x61
mov byte [esp + 0x19], 0x62
mov byte [esp + 0x1a], 0x63
mov byte [esp + 0x1b], 0x64
mov byte [esp + 0x1c], 0x65
mov byte [esp + 0x1d], 0x66
mov byte [esp + 0x1e], 0x67
mov byte [esp + 0x1f], 0x68
mov byte [esp + 0x20], 0x69
mov byte [esp + 0x21], 0x6a
mov byte [esp + 0x22], 0x6b
mov byte [esp + 0x23], 0x6c
mov byte [esp + 0x24], 0x6d
mov byte [esp + 0x25], 0x6e
mov byte [esp + 0x26], 0x6f
mov byte [esp + 0x27], 0x70
mov byte [esp + 0x28], 0x71
mov byte [esp + 0x29], 0x72
mov byte [esp + 0x2a], 0x73
mov byte [esp + 0x2b], 0x74
mov byte [esp + 0x2c], 0x76
mov byte [esp + 0x2d], 0x77
mov byte [esp + 0x2e], 0x78
mov byte [esp + 0x2f], 0x79
mov byte [esp + 0x30], 0x75
mov byte [esp + 0x31], 0x41
mov byte [esp + 0x32], 0x42
mov byte [esp + 0x33], 0x43
mov byte [esp + 0x34], 0x44
mov byte [esp + 0x35], 0x45
mov byte [esp + 0x36], 0x46
mov byte [esp + 0x37], 0x47
call fcn.10101f5c
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x1001e3d7
dec eax
or eax, 0xfffffff8
inc eax
add eax, 8
cmp eax, ebx
jle 0x1001e40e
mov edi, eax
call fcn.10101f5c
and eax, 0x8000001f
jns 0x1001e3f1
dec eax
or eax, 0xffffffe0
inc eax
mov al, byte [esp + eax + 0x18]
add al, 1
mov byte [esp + 0xc], al
mov ecx, dword [esp + 0xc]
push ecx
push 1
mov ecx, esi
call fcn.1001e1f0
sub edi, 1
jne 0x1001e3e0
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.100ff704
add esp, 0x3c
ret
Function at 0x1001f2e0
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x10161702
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x101b629c]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov eax, dword [0x101b629c]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x13c]
mov edi, dword [esp + 0x140]
xor ebx, ebx
push 0xff
lea eax, [esp + 0x2d]
push ebx
mov dword [esp + 0x18], ebx
push eax
mov dword [esp + 0x24], esi
mov byte [esp + 0x34], bl
call fcn.10100160
add esp, 0xc
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
je 0x1001f380
mov eax, edi
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1001f367
sub eax, edx
push eax
push edi
mov ecx, esi
call fcn.100099d0
jmp 0x1001f42c
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
jne 0x1001f3aa
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x10169a34
mov ecx, esi
mov byte [esi + 4], bl
call fcn.100099d0
jmp 0x1001f42c
cmp word [eax + 0xa], 4
je 0x1001f3b8
push 0x10169a34
jmp 0x1001f425
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov cl, 0x64
mov dl, 0x25
mov dword [esp + 0x14], eax
mov byte [esp + 0x1d], cl
mov byte [esp + 0x20], cl
mov byte [esp + 0x23], cl
mov byte [esp + 0x26], cl
movzx ecx, byte [esp + 0x17]
push ecx
mov byte [esp + 0x20], dl
mov byte [esp + 0x23], dl
mov byte [esp + 0x26], dl
mov byte [esp + 0x29], dl
movzx edx, byte [esp + 0x1a]
push edx
movzx ecx, ah
push ecx
movzx edx, al
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x36], 0x2e
mov byte [esp + 0x39], 0x2e
mov byte [esp + 0x3c], 0x2e
mov byte [esp + 0x3f], bl
call fcn.10100f40
add esp, 0x18
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.10009c90
mov dword [esp + 0x134], ebx
mov dword [esp + 0x10], 1
mov eax, esi
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.100ff704
add esp, 0x128
ret
Function at 0x1001f470
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push 0xffffffffffffffff
push 0x10161738
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x101b629c]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov eax, dword [0x101b629c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [esp + 0x48]
push eax
lea eax, [esp + 0xc]
push eax
call fcn.1001f2e0
add esp, 8
xor ebx, ebx
mov dword [esp + 0x40], ebx
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x1001f4e9
mov dword [esp + 0x40], eax
cmp dword [esp + 0x20], 0x10
jb 0x1001f4e2
mov ecx, dword [esp + 0xc]
push ecx
call fcn.100ee0d8
add esp, 4
xor eax, eax
jmp 0x1001f576
cmp dword [esp + 0x20], 0x10
mov eax, dword [esp + 0xc]
mov word [esp + 0x24], 2
jae 0x1001f4ff
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov edx, dword [esp + 0x4c]
push edx
mov dword [esp + 0x2c], eax
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esi]
mov word [esp + 0x26], ax
push 0x10
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1001f555
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x20], 0x10
jb 0x1001f4e2
mov edx, dword [esp + 0xc]
push edx
call fcn.100ee0d8
add esp, 4
xor eax, eax
jmp 0x1001f576
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x20], 0x10
jb 0x1001f571
mov eax, dword [esp + 0xc]
push eax
call fcn.100ee0d8
add esp, 4
mov eax, 1
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xc], bl
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.100ff704
add esp, 0x3c
ret
Function at 0x10020420
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
xor ebx, ebx
cmp ebp, ebx
jg 0x10020431
pop ebp
xor eax, eax
pop ebx
ret
push esi
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x3274]
cmp eax, ebx
je 0x10020479
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x10020515
mov eax, dword [edi + 0x3274]
mov esi, dword [edi + 0x3270]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push esi
mov dword [edi + 0x3274], ebx
call fcn.100ff229
add esp, 4
mov dword [edi + 0x3270], ebx
push 0x510
call fcn.100ff166
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x10020515
push 0x510
push ebx
push esi
call fcn.10100160
mov eax, dword [esp + 0x24]
mov edx, esi
add esp, 0xc
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x100204a7
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x104], ecx
mov dword [esi + 0x100], edx
mov dword [esi + 0x108], ebp
mov dword [edi + 0x3270], esi
call fcn.1002d8c0
push ebx
push ebx
push esi
push 0x1001f5b0
push ebx
push ebx
mov ebp, eax
call fcn.101018df
push ebp
mov dword [edi + 0x3274], eax
call fcn.1002d960
add esp, 0x1c
cmp dword [edi + 0x3274], ebx
jne 0x1002051c
push esi
mov dword [edi + 0x3274], ebx
call fcn.100ff229
add esp, 4
mov dword [edi + 0x3270], ebx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret