joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14662e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x100e000]
push edi
jmp 0x14662fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1466301
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x14662f0
mov eax, 1
add ebx, ebx
jne 0x1466313
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1466324
jne 0x1466343
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1466343
dec eax
add ebx, ebx
jne 0x1466330
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1466308
add ebx, ebx
jne 0x146633f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1466395
xor ecx, ecx
sub eax, 3
jb 0x146635b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x14663ca
sar eax, 1
mov ebp, eax
jmp 0x1466366
add ebx, ebx
jne 0x1466366
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1466334
inc ecx
add ebx, ebx
jne 0x1466374
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1466334
add ebx, ebx
jne 0x1466381
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1466376
jne 0x1466392
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1466376
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x14663b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x14663a6
jmp 0x14662f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x14663b4
add edi, ecx
jmp 0x14662f6
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x14663d2
cmp byte [edi], 0x11
jne 0x14663d2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x14663d7
lea edi, [esi + 0x105f000]
mov eax, dword [edi]
or eax, eax
je 0x146644f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1ff4654]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1ff47d0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1466404
mov ecx, edi
jns 0x1466433
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1ff47d4]
or eax, eax
je 0x1466449
mov dword [ebx], eax
add ebx, 4
jmp 0x1466421
call dword [esi + 0x1ff47e4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1466480
cmp al, 0xef
ja 0x1466473
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1466455
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1466462
mov ebp, dword [esi + 0x1ff47d8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x14664b4
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x10002bc0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x1016091b
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b7324]
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.100ffae6
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 0x1016b4fc
mov eax, dword [ebp + 8]
push eax
call fcn.10101259
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.101011d4
add esp, 0xc
mov edx, dword [ebp - 8]
push edx
call fcn.101010df
add esp, 4
mov dword [ebp - 4], eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.101011d4
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call fcn.100ff548
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1000874d
mov edx, dword [ebp - 8]
push edx
call fcn.10100c14
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.10100f2c
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
call fcn.10100c14
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 0x1000ade0
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 0x1000ae46
call fcn.1002d900
push 0
push 0
push esi
push 0x1000adb0
push 0
push 0
mov edi, eax
call fcn.10101ccf
push edi
mov esi, eax
call fcn.1002d9a0
add esp, 0x1c
test esi, esi
je 0x1000ae28
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.1000ad40
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 0x1000bc50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
lea ebp, [esp - 0x104]
sub esp, 0x104
push 0xffffffffffffffff
push 0x10161520
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x101b7324]
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 0x1000bd2f
mov byte [ebp], 0
push 0xff
push 0
lea eax, [ebp + 1]
push eax
call fcn.10100550
add esp, 0xc
mov ecx, dword [ebp + 0x118]
push ecx
push 0
call fcn.100dafa0
add esp, 4
push eax
lea edx, [ebp]
push edx
call fcn.10101330
add esp, 0xc
lea eax, [ebp]
push eax
push 0
push 0xf001f
call fcn.100b0c70
mov edi, eax
test edi, edi
je 0x1000bea2
push 0
push 0
push 0
push 6
push edi
call fcn.100b0c20
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.100b0c50
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, 1
jmp 0x1000bea4
cmp eax, 0x8bb
jne 0x1000be20
mov byte [ebp], 0
push 0xff
push 0
lea edx, [ebp + 1]
push edx
call fcn.10100550
add esp, 0xc
mov eax, dword [ebp + 0x118]
push eax
push 0
call fcn.100dafa0
add esp, 4
push eax
lea ecx, [ebp]
push ecx
call fcn.10101330
add esp, 0xc
lea edx, [ebp]
push edx
push 0
push 0xf001f
call fcn.100b0c70
mov ebx, eax
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x1000bea2
push 0
push 0
push 0
push 6
push ebx
call fcn.100b0c20
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.10101870
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
jmp 0x1000bde1
mov eax, dword [ebp + 0x114]
push eax
mov eax, edi
call fcn.1000ade0
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
push esi
call fcn.100b0c50
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 0x18], 0
je 0x1000be16
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
mov eax, 1
jmp 0x1000bea4
cmp eax, 0x8bc
jne 0x1000bea2
mov byte [ebp], 0
push 0xff
push 0
lea ecx, [ebp + 1]
push ecx
call fcn.10100550
add esp, 0xc
mov edx, dword [ebp + 0x118]
push edx
push 0
call fcn.100dafa0
add esp, 4
push eax
lea eax, [ebp]
push eax
call fcn.10101330
add esp, 0xc
lea ecx, [ebp]
push ecx
push 0
push 0xf001f
call fcn.100b0c70
mov edi, eax
test edi, edi
je 0x1000bea2
push 0
push 0
push 0
push 6
push edi
call fcn.100b0c20
mov esi, eax
mov edx, dword [esi]
or edx, dword [esi + 4]
je 0x1000bd18
push 0x8000
push 0
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
jmp 0x1000bd18
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.100ffae6
add ebp, 0x104
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1001b850
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
mov eax, dword [0x101b7324]
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 0x1001b94e
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 0x1001b94e
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.100ffae6
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.100ffae6
add esp, 0x28
ret 0x14

Function at 0x1001d460
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.1002d900
push 0
push 0
lea edx, [esp + 0x10]
push edx
push 0x1001d3e0
push 0
push 0
mov edi, eax
call fcn.10101ccf
push edi
mov esi, eax
call fcn.1002d9a0
add esp, 0x1c
test esi, esi
jne 0x1001d4b2
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 0x1001d4d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov eax, dword [0x101b7324]
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 0x1001d5bc
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x1001d5b5
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.100ffae6
add esp, 0x2c
ret
Function at 0x1001e260
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x101671e9
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push edi
mov eax, dword [0x101b7324]
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.1010233f
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.1010234c
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x1001e377
dec eax
or eax, 0xfffffff8
inc eax
add eax, 8
cmp eax, ebx
jle 0x1001e3ae
mov edi, eax
call fcn.1010234c
and eax, 0x8000001f
jns 0x1001e391
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.1001e190
sub edi, 1
jne 0x1001e380
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.100ffae6
add esp, 0x3c
ret
Function at 0x1001f1c0
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x10161b02
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov eax, dword [0x101b7324]
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.10100550
add esp, 0xc
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
je 0x1001f260
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 0x1001f247
sub eax, edx
push eax
push edi
mov ecx, esi
call fcn.100099a0
jmp 0x1001f30c
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
jne 0x1001f28a
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x1016aa44
mov ecx, esi
mov byte [esi + 4], bl
call fcn.100099a0
jmp 0x1001f30c
cmp word [eax + 0xa], 4
je 0x1001f298
push 0x1016aa44
jmp 0x1001f305
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.10101330
add esp, 0x18
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.10009c60
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.100ffae6
add esp, 0x128
ret
Function at 0x1001f350
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push 0xffffffffffffffff
push 0x10161b38
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov eax, dword [0x101b7324]
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.1001f1c0
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 0x1001f3c9
mov dword [esp + 0x40], eax
cmp dword [esp + 0x20], 0x10
jb 0x1001f3c2
mov ecx, dword [esp + 0xc]
push ecx
call fcn.100ee4bd
add esp, 4
xor eax, eax
jmp 0x1001f456
cmp dword [esp + 0x20], 0x10
mov eax, dword [esp + 0xc]
mov word [esp + 0x24], 2
jae 0x1001f3df
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 0x1001f435
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x20], 0x10
jb 0x1001f3c2
mov edx, dword [esp + 0xc]
push edx
call fcn.100ee4bd
add esp, 4
xor eax, eax
jmp 0x1001f456
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x20], 0x10
jb 0x1001f451
mov eax, dword [esp + 0xc]
push eax
call fcn.100ee4bd
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.100ffae6
add esp, 0x3c
ret
Function at 0x10020300
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
xor ebx, ebx
cmp ebp, ebx
jg 0x10020311
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 0x10020359
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x100203f5
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.100ff60b
add esp, 4
mov dword [edi + 0x3270], ebx
push 0x510
call fcn.100ff548
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x100203f5
push 0x510
push ebx
push esi
call fcn.10100550
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 0x10020387
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.1002d900
push ebx
push ebx
push esi
push 0x1001f490
push ebx
push ebx
mov ebp, eax
call fcn.10101ccf
push ebp
mov dword [edi + 0x3274], eax
call fcn.1002d9a0
add esp, 0x1c
cmp dword [edi + 0x3274], ebx
jne 0x100203fc
push esi
mov dword [edi + 0x3274], ebx
call fcn.100ff60b
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