joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101e972
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x1021360]
mov esi, 0x1021360
mov edi, 0x1007c10
cmp eax, esi
je 0x101e9a7
test dword [eax + 0x1c], 0x20000000
je 0x101e9a7
push edi
push 0x29
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009101
push 1
push 0x519
push 0x1007cc4
lea ecx, [ebp - 0x28]
call fcn.0100c063
or dword [ebp - 4], 0xffffffff
mov eax, dword [0x1021360]
mov ebx, dword [ebp + 8]
cmp eax, esi
je 0x101e9e3
test dword [eax + 0x1c], 0x10000000
je 0x101e9e3
push ebx
push edi
push 0x2a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01007e17
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
call esi
test eax, eax
je 0x101e9ff
and dword [ebp - 0x28], 0
mov eax, 0x521
mov word [ebp - 0x24], ax
jmp 0x101ea55
lea eax, [ebp - 4]
push eax
push ebx
call fcn.0101e89e
mov dword [ebp - 0x28], eax
test eax, eax
mov eax, 0x527
jge 0x101ea1b
mov word [ebp - 0x22], ax
jmp 0x101ea46
push ebx
mov word [ebp - 0x24], ax
call esi
test eax, eax
jne 0x101ea35
call fcn.0100d43e
mov dword [ebp - 0x28], eax
mov eax, 0x52c
jmp 0x101ea15
and dword [ebp - 0x28], 0
or dword [ebp - 4], 0xffffffff
mov eax, 0x52c
mov word [ebp - 0x24], ax
cmp dword [ebp - 4], 0xffffffff
je 0x101ea55
push dword [ebp - 4]
push ebx
call fcn.0101e707
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.0100c22a
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x49dc40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x95000]
push edi
or ebp, 0xffffffff
jmp 0x49dc62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x49dc69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49dc58
mov eax, 1
add ebx, ebx
jne 0x49dc7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x49dc70
jne 0x49dc8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x49dc70
xor ecx, ecx
sub eax, 3
jb 0x49dca0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x49dd12
mov ebp, eax
add ebx, ebx
jne 0x49dcab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x49dcb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x49dcdc
inc ecx
add ebx, ebx
jne 0x49dcc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x49dcbd
jne 0x49dcd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x49dcbd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x49dcfc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x49dced
jmp 0x49dc5e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x49dcfc
add edi, ecx
jmp 0x49dc5e
pop esi
mov edi, esi
mov ecx, 0xab6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x49dd1a
cmp byte [edi], 6
jne 0x49dd1a
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 eax, ebx
loop 0x49dd1f
lea edi, [esi + 0x9b000]
mov eax, dword [edi]
or eax, eax
je 0x49dd8e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9d0f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9d1ac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x49dd4c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9d1b0]
or eax, eax
je 0x49dd88
mov dword [ebx], eax
add ebx, 4
jmp 0x49dd69
call dword [esi + 0x9d1b4]
popal
jmp 0x4134f8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10001cc0
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 0x10001ce0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
mov edi, ecx
jne 0x10001cf6
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 0x10001d20
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x10001d38
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 0x10001d45
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 0x10003730
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x10176e9b
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x101ce2ac]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ce2ac]
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 0x10003862
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, esi
je 0x100037be
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 0x10003862
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 0x10003842
jmp 0x10003800
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.10003730
mov ebx, eax
cmp ebx, esi
jne 0x100038ac
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 0x10003800
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x10003855
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 0x10003880
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.10116cb9
add esp, 0x128
ret 4
mov dword [esp + 0x138], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x100038ca
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], esi
mov eax, ebx
jmp 0x10003882
Function at 0x1000b0c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x50
mov eax, dword [0x101ce2ac]
xor eax, esp
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
push ebp
mov dword [esp + 0x24], eax
mov eax, 0x6c
mov dword [esp + 0x20], edx
mov edx, 0x64
push esi
push edi
mov dword [esp + 0x24], ecx
mov word [esp + 0x44], 0x6e
mov word [esp + 0x46], 0x74
mov word [esp + 0x48], dx
mov word [esp + 0x4a], ax
mov word [esp + 0x4c], ax
mov word [esp + 0x4e], 0x2e
mov word [esp + 0x50], dx
mov word [esp + 0x52], ax
mov word [esp + 0x54], ax
mov word [esp + 0x56], 0
test edi, edi
mov cl, 0x72
mov byte [esp + 0x32], al
mov al, 0x65
mov byte [esp + 0x30], 0x52
mov byte [esp + 0x31], 0x74
mov byte [esp + 0x33], 0x43
mov byte [esp + 0x34], cl
mov byte [esp + 0x35], al
mov byte [esp + 0x36], 0x61
mov byte [esp + 0x37], 0x74
mov byte [esp + 0x38], al
mov byte [esp + 0x39], 0x55
mov byte [esp + 0x3a], 0x73
mov byte [esp + 0x3b], al
mov byte [esp + 0x3c], cl
mov byte [esp + 0x3d], 0x54
mov byte [esp + 0x3e], 0x68
mov byte [esp + 0x3f], cl
mov byte [esp + 0x40], al
mov byte [esp + 0x41], 0x61
mov byte [esp + 0x42], dl
mov byte [esp + 0x43], 0
mov bh, bh
lea eax, [esp + 0x44]
push eax
call fcn.100f8000
add esp, 4
mov esi, eax
mov edi, edx
test ch, ch
lea ecx, [esp + 0x30]
push ecx
push edi
push esi
call fcn.100f8860
add esp, 0xc
mov ecx, eax
mov ebp, edx
test edx, edx
or esi, edi
je 0x1000b21d
mov edx, ecx
or edx, ebp
je 0x1000b21d
xor esi, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
nop
mov ecx, ecx
lea eax, [esp + 0x14]
cdq
push edx
push eax
lea eax, [esp + 0x14]
cdq
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x38]
push esi
push esi
push eax
push edx
mov eax, dword [esp + 0x4c]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
cdq
push edx
push eax
push 0xa
push ebp
push ecx
call fcn.100f7d90
add esp, 0x5c
cmp eax, esi
jne 0x1000b20e
cmp edx, esi
je 0x1000b231
push edx
push eax
call fcn.100f8790
add esp, 8
test eax, 0x53d
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.10116cb9
add esp, 0x50
ret
mov ecx, dword [esp + 0xc]
mov eax, ecx
sub eax, 0xffffffff
neg eax
sbb eax, eax
pop edi
and eax, ecx
mov ecx, dword [esp + 0x54]
pop esi
pop ebp
xor ecx, esp
call fcn.10116cb9
add esp, 0x50
ret

Function at 0x1000c27b
Capabilities:
Create thread

Disassembly:
push dword [ebp + 0x10]
push dword [ebp - 0x148]
push dword [0x101e4d84]
jmp fcn.1000aff0
Function at 0x1001ce00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
mov eax, dword [0x101ce2ac]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 4], eax
mov al, 0x64
push ebp
mov ebp, dword [esp + 0x34]
mov cl, 0x61
mov byte [esp + 0xd], al
mov byte [esp + 0x15], al
mov al, 0x6c
push esi
push edi
mov byte [esp + 0x14], cl
mov byte [esp + 0x16], 0x76
mov byte [esp + 0x17], cl
mov byte [esp + 0x18], 0x70
mov byte [esp + 0x19], 0x69
mov byte [esp + 0x1a], 0x33
mov byte [esp + 0x1b], 0x32
mov byte [esp + 0x1c], 0x2e
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], al
mov byte [esp + 0x20], 0
test ecx, ecx
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
test bh, bh
push ecx
pop ecx
test esi, esi
je 0x1001cf09
mov al, 0x65
mov byte [esp + 0x24], 0x52
mov byte [esp + 0x25], al
mov byte [esp + 0x26], 0x67
mov byte [esp + 0x27], 0x4f
mov byte [esp + 0x28], 0x70
mov byte [esp + 0x29], al
mov byte [esp + 0x2a], 0x6e
mov byte [esp + 0x2b], 0x4b
mov byte [esp + 0x2c], al
mov byte [esp + 0x2d], 0x79
mov byte [esp + 0x2e], 0x45
mov byte [esp + 0x2f], 0x78
mov byte [esp + 0x30], 0x41
mov byte [esp + 0x31], 0
mov cl, cl
lea edx, [esp + 0x24]
push edx
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov edi, eax
nop
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov ebx, ebx
test edi, edi
je 0x1001cf09
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.10116cb9
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.10116cb9
add esp, 0x28
ret 0x14

Function at 0x1001eb80
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
push esi
push edi
test bl, bl
mov eax, dword [esp + 0x18]
mov dword [esp + 8], eax
mov ebp, ebp
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc], ecx
test cl, cl
mov dword [esp + 0x10], 0
push ecx
pop ecx
call fcn.100408d0
mov edi, eax
mov ebx, ebx
push 0
push 0
lea edx, [esp + 0x10]
push edx
push 0x1001eaf0
push 0
push 0
call fcn.1011944f
add esp, 0x18
mov esi, eax
mov edi, edi
push edi
call fcn.10040990
add esp, 4
test bh, bh
test esi, esi
jne 0x1001ebe3
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test ecx, ecx
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test esi, esi
mov eax, dword [esp + 0x10]
pop edi
pop esi
add esp, 0xc
ret
Function at 0x1001ec10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov eax, dword [0x101ce2ac]
xor eax, esp
mov dword [esp + 0x28], eax
mov al, 0x6c
mov dl, 0x77
mov cl, 0x69
push esi
mov byte [esp + 8], 0x44
mov byte [esp + 9], dl
mov byte [esp + 0xa], 0x6d
mov byte [esp + 0xb], 0x61
mov byte [esp + 0xc], 0x70
mov byte [esp + 0xd], cl
mov byte [esp + 0xe], 0x2e
mov byte [esp + 0xf], 0x64
mov byte [esp + 0x10], al
mov byte [esp + 0x11], al
mov byte [esp + 0x12], 0
mov bl, bl
mov al, 0x74
mov byte [esp + 0x14], 0x44
mov byte [esp + 0x15], dl
mov byte [esp + 0x16], 0x6d
mov byte [esp + 0x17], 0x53
mov byte [esp + 0x18], 0x65
mov byte [esp + 0x19], al
mov byte [esp + 0x1a], 0x57
mov byte [esp + 0x1b], cl
mov byte [esp + 0x1c], 0x6e
mov byte [esp + 0x1d], 0x64
mov byte [esp + 0x1e], 0x6f
mov byte [esp + 0x1f], dl
mov byte [esp + 0x20], 0x41
mov byte [esp + 0x21], al
mov byte [esp + 0x22], al
mov byte [esp + 0x23], 0x72
mov byte [esp + 0x24], cl
mov byte [esp + 0x25], 0x62
mov byte [esp + 0x26], 0x75
mov byte [esp + 0x27], al
mov byte [esp + 0x28], 0x65
mov byte [esp + 0x29], 0
test dh, dh
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
mov ebx, ebx
test esi, esi
je 0x1001ed0a
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push ecx
pop ecx
test eax, eax
je 0x1001ed01
mov dword [esp + 4], 1
test edi, edi
push 4
lea edx, [esp + 8]
push edx
push 2
push edi
call eax
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov ecx, ecx
mov ecx, dword [esp + 0x2c]
pop esi
xor ecx, esp
call fcn.10116cb9
add esp, 0x2c
ret
Function at 0x1001f840
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1017e131
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x101ce2ac]
xor eax, esp
mov dword [esp + 0x2c], eax
push edi
mov eax, dword [0x101ce2ac]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0xc], 0
mov dword [esi + 0x10], esi
mov dword [esp + 0x10], esi
mov dword [esi + 0x14], esi
mov dword [esp + 0x40], 1
mov eax, dword [esi + 0x10]
mov byte [eax], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0xc], 1
test ebx, ebx
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
call fcn.10119b3e
add esp, 4
test ebx, ebx
mov byte [esp + 0x14], 0x61
mov byte [esp + 0x15], 0x62
mov byte [esp + 0x16], 0x63
mov byte [esp + 0x17], 0x64
mov byte [esp + 0x18], 0x65
mov byte [esp + 0x19], 0x66
mov byte [esp + 0x1a], 0x67
mov byte [esp + 0x1b], 0x68
mov byte [esp + 0x1c], 0x69
mov byte [esp + 0x1d], 0x6a
mov byte [esp + 0x1e], 0x6b
mov byte [esp + 0x1f], 0x6c
mov byte [esp + 0x20], 0x6d
mov byte [esp + 0x21], 0x6e
mov byte [esp + 0x22], 0x6f
mov byte [esp + 0x23], 0x70
mov byte [esp + 0x24], 0x71
mov byte [esp + 0x25], 0x72
mov byte [esp + 0x26], 0x73
mov byte [esp + 0x27], 0x74
mov byte [esp + 0x28], 0x76
mov byte [esp + 0x29], 0x77
mov byte [esp + 0x2a], 0x78
mov byte [esp + 0x2b], 0x79
mov byte [esp + 0x2c], 0x75
mov byte [esp + 0x2d], 0x41
mov byte [esp + 0x2e], 0x42
mov byte [esp + 0x2f], 0x43
mov byte [esp + 0x30], 0x44
mov byte [esp + 0x31], 0x45
mov byte [esp + 0x32], 0x46
mov byte [esp + 0x33], 0x47
test edi, edi
call fcn.10119b4b
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x1001f96d
dec eax
or eax, 0xfffffff8
inc eax
add eax, 8
mov eax, eax
push eax
pop eax
test eax, eax
jle 0x1001f9b0
mov edi, eax
lea ebx, [ebx]
call fcn.10119b4b
and eax, 0x8000001f
jns 0x1001f991
dec eax
or eax, 0xffffffe0
inc eax
test edx, edx
mov al, byte [esp + eax + 0x14]
add al, 1
mov byte [esp + 8], al
mov ecx, dword [esp + 8]
push ecx
mov ecx, esi
call fcn.1001f790
mov cl, cl
sub edi, 1
jne 0x1001f980
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.10116cb9
add esp, 0x3c
ret
Function at 0x10020820
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x10177ee2
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x101ce2ac]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
push esi
push edi
mov eax, dword [0x101ce2ac]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov esi, dword [esp + 0x140]
mov edi, dword [esp + 0x144]
xor ebx, ebx
push 0xff
lea eax, [esp + 0x31]
push ebx
mov dword [esp + 0x1c], ebx
push eax
mov dword [esp + 0x28], esi
mov byte [esp + 0x38], bl
call fcn.10117df0
add esp, 0xc
mov esi, esi
mov dl, dl
xchg ebx, eax
xchg ebx, eax
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
test al, al
cmp eax, 0xffffffff
je 0x100208af
lea ecx, [esp + 0x13]
push ecx
push edi
mov ecx, esi
call fcn.100085b0
jmp 0x10020972
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, esi
cmp eax, ebx
jne 0x100208cb
lea edx, [esp + 0x13]
push edx
push 0x10182970
jmp 0x1002096b
cmp word [eax + 0xa], 4
je 0x100208e1
lea eax, [esp + 0x13]
push eax
push 0x10182970
jmp 0x1002096b
mov ch, ch
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.10117a80
add esp, 0xc
mov bh, bh
mov cl, 0x25
mov al, 0x64
mov dl, 0x2e
mov byte [esp + 0x20], cl
mov byte [esp + 0x21], al
mov byte [esp + 0x22], dl
mov byte [esp + 0x23], cl
mov byte [esp + 0x24], al
mov byte [esp + 0x25], dl
mov byte [esp + 0x26], cl
mov byte [esp + 0x27], al
mov byte [esp + 0x28], dl
mov byte [esp + 0x29], cl
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], bl
mov esi, esi
movzx edx, byte [esp + 0x1b]
movzx eax, byte [esp + 0x1a]
push edx
push eax
mov eax, dword [esp + 0x20]
movzx ecx, ah
push ecx
movzx edx, al
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.10118d49
add esp, 0x18
mov cl, cl
lea edx, [esp + 0x13]
push edx
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.100085b0
mov dword [esp + 0x138], ebx
mov dword [esp + 0x14], 1
mov eax, esi
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.10116cb9
add esp, 0x12c
ret
Function at 0x100209b0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push 0xffffffffffffffff
push 0x10177f18
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x101ce2ac]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [0x101ce2ac]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
mov dh, dh
push eax
lea eax, [esp + 0x18]
push eax
call fcn.10020820
add esp, 8
mov dword [esp + 0x38], 0
mov ah, ah
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi], eax
mov bl, bl
cmp dword [esi], 0xffffffff
je 0x10020a5a
mov word [esp + 4], 2
mov ebx, ebx
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esp + 8], eax
mov ch, ch
mov edx, dword [esp + 0x44]
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 6], ax
test ah, ah
mov ecx, dword [esi]
push 0x10
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x10020a6f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, esi
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.10006e00
xor eax, eax
jmp 0x10020a85
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.10006e00
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.10116cb9
add esp, 0x38
ret
Function at 0x100221b0
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
xor ebx, ebx
cmp ebp, ebx
jg 0x100221c1
pop ebp
xor eax, eax
pop ebx
ret
push esi
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x3270]
cmp eax, ebx
je 0x10022215
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov edi, edi
cmp eax, ebx
jne 0x100222d4
mov esi, dword [edi + 0x326c]
test al, al
mov eax, dword [edi + 0x3270]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test al, al
mov dword [edi + 0x3270], ebx
mov ebp, ebp
push esi
call fcn.101167de
add esp, 4
test ch, ch
mov dword [edi + 0x326c], ebx
test esi, esi
push 0x510
call fcn.1011671b
add esp, 4
mov esi, eax
push ecx
pop ecx
cmp esi, ebx
je 0x100222d4
push 0x510
push ebx
push esi
call fcn.10117df0
add esp, 0xc
test edx, edx
mov eax, dword [esp + 0x18]
mov edx, esi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x10022247
mov ah, ah
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x104], ecx
push ecx
pop ecx
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x100], edx
test bl, bl
mov dword [esi + 0x108], ebp
test bl, bl
mov dword [edi + 0x326c], esi
mov edi, edi
call fcn.100408d0
mov ebp, eax
test dh, dh
push ebx
push ebx
push esi
push 0x10021730
push ebx
push ebx
call fcn.1011944f
add esp, 0x18
mov dword [edi + 0x3270], eax
test eax, 0x288a
push ebp
call fcn.10040990
add esp, 4
mov ebp, ebp
cmp dword [edi + 0x3270], ebx
jne 0x100222db
mov dword [edi + 0x3270], ebx
push edx
pop edx
push esi
call fcn.101167de
add esp, 4
test edi, edi
mov dword [edi + 0x326c], ebx
test eax, 0x4598
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret