joyce8/EMBER2024-capa huggingface dataset:
Function at 0x9cdf90
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push ebp
push esi
push edi
xor edi, edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
mov esi, dword [esp + 0x21c]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x9cdffb
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x9ce035
lea edx, [esp + 0x10]
push esi
push edx
push SysStringLen
call fcn.009cde00
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
test eax, eax
je 0x9cdfc5
mov edi, 0x9e88b0
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x9ce035
mov edx, dword [edi]
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.009cde00
add edi, 4
add esp, 0xc
cmp edi, 0x9e88c0
jb 0x9ce000
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x208
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x208
ret

Function at 0x9ce070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.009d4082
mov esi, eax
add esp, 8
test esi, esi
je 0x9ce107
lea eax, [esp + 8]
mov word [esi], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x9ce102
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.009d3946
add esp, 8
test eax, eax
je 0x9ce0e3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0x9ce0e8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.009d3946
add esp, 8
test eax, eax
jne 0x9ce0c5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0x9ce102
pop edi
mov al, 1
pop esi
add esp, 0x250
ret
mov word [esi], 0x5c
pop edi
xor al, al
pop esi
add esp, 0x250
ret
Function at 0x9cef10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x9e39fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x9cf002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.009d2dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x9cf002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.009ca6e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.009d320b
push 0x10
call fcn.009d31d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x9cefc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.009bf1c0
jmp 0x9cefc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.009ceb80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x9ceff0
mov ecx, edi
call fcn.009bf2c0
push edi
call fcn.009d31c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x9cf021
inc ebx
cmp ebx, 0x20
jb 0x9cef3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x9d0250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9e4808
push 0x9d4288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x9d0329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x9d0329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.009d31d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x9d0329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x9d0329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x9d032c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.009d0351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x9d0d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x9d0d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x9d0d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x9d0d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x9d0d94
push eax
push esi
call fcn.009d320b
add esp, 8
pop esi
ret 0x10

Function at 0x9d0da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x9d0e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x9d0e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x9e9320
push ecx
mov dword [esp + 0x1c], 4
call fcn.009d2dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x9d0dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x9d0e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x9d0ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x9d0eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x9e9320
push ecx
mov dword [esp + 0x1c], 4
call fcn.009d2dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x9d0eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x9d0e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x9d1000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x9d1131
push esi
call fcn.009d4145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.009c3080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x9d1131
push 0
push ebp
call fcn.009c33a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.009c3260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x9d108b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.009c32f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x9d1121
push 0x9e9918
push edi
call fcn.009d23f0
push eax
push ebx
push esi
call fcn.009d0f60
push 0x9e98f8
push edi
call fcn.009d23f0
push eax
push ebx
push esi
call fcn.009d0f60
push 0x9e98d8
push edi
call fcn.009d23f0
push eax
push ebx
push esi
call fcn.009d0f60
push 0x9e98c0
push edi
call fcn.009d23f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.009d0f60
push 0x9e98a0
push edi
call fcn.009d23f0
push eax
push ebx
push esi
call fcn.009d0f60
push 0x9e9888
push edi
call fcn.009d23f0
push eax
push ebx
push esi
call fcn.009d0f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x9d21b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.009d2140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.009d2140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.009d2140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.009d2140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x9d2bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x9d2c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x9e487c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x9d2c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x9d2c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x42dbf2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp byte [0xbdd458], 0
jne 0x42dc03
call fcn.0042d5af
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
mov edx, dword [eax + 0x10]
push ebx
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x20]
push esi
lea esi, [ecx + 4]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0x30]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x40]
mov dword [ecx + 0x10], edx
mov edx, dword [eax + 0x50]
mov dword [ecx + 0x14], edx
mov edx, dword [eax + 0x60]
mov dword [ecx + 0x18], edx
mov eax, dword [eax + 0x70]
push edi
mov dword [ecx + 0x1c], eax
mov edi, eax
mov dword [ebp + 8], 0xbdd030
push 8
push edi
call fcn.00a700e4
mov ebx, eax
push 8
push edi
shr ebx, 0x18
call fcn.00a700e4
mov ebx, dword [ebx*4 + 0xbdac30]
shr eax, 0x10
movzx eax, al
xor ebx, dword [eax*4 + 0xbda830]
push 8
push edi
call fcn.00a700e4
shr eax, 8
movzx eax, al
xor ebx, dword [eax*4 + 0xbda430]
push 8
push edi
call fcn.00a700e4
movzx eax, al
xor ebx, dword [eax*4 + 0xbda030]
mov eax, dword [ebp + 8]
xor ebx, dword [eax]
lea eax, [esi + 0x20]
xor ebx, dword [esi - 4]
add dword [ebp + 8], 4
mov dword [esi + 0x1c], ebx
xor ebx, dword [esi]
add esp, 0x20
mov dword [eax], ebx
xor ebx, dword [esi + 4]
mov dword [esi + 0x24], ebx
xor ebx, dword [esi + 8]
mov dword [esi + 0x28], ebx
mov ecx, ebx
shr ecx, 0x18
mov edi, dword [ecx*4 + 0xbdac30]
mov edx, ebx
shr edx, 0x10
mov ecx, ebx
shr ecx, 8
movzx edx, dl
xor edi, dword [edx*4 + 0xbda830]
movzx ecx, cl
xor edi, dword [ecx*4 + 0xbda430]
xor ecx, ecx
mov cl, bl
xor edi, dword [ecx*4 + 0xbda030]
xor edi, dword [esi + 0xc]
mov dword [esi + 0x2c], edi
xor edi, dword [esi + 0x10]
mov dword [esi + 0x30], edi
xor edi, dword [esi + 0x14]
mov dword [esi + 0x34], edi
xor edi, dword [esi + 0x18]
cmp dword [ebp + 8], 0xbdd04c
mov dword [esi + 0x38], edi
mov esi, eax
jb 0x42dc46
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x42f8b7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0x20]
and byte [ebp + 0xb], 0
push edi
mov edi, dword [ebp + 0x10]
lea eax, [ebx + edi]
cmp eax, 0x10
mov dword [ecx], eax
jae 0x42f8f7
push edi
push dword [ebp + 0xc]
lea eax, [ebx + esi + 0x10]
push eax
call fcn.00a6fce0
mov eax, dword [ebp + 0x18]
add dword [esi + 0x20], edi
add esp, 0xc
and dword [eax], 0
jmp 0x42f9fb
mov edi, dword [ebp + 0x14]
cmp dword [ebp + 0xc], edi
jne 0x42f923
push dword [ebp + 0x10]
call fcn.00a70e58
push dword [ebp + 0x10]
mov dword [ebp - 4], eax
push dword [ebp + 0xc]
push eax
call fcn.00a6fce0
mov eax, dword [ebp - 4]
add esp, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp + 0xb], 1
mov dword [ebp + 0x14], 0x10
sub dword [ebp + 0x14], ebx
push dword [ebp + 0x14]
lea eax, [ebx + esi + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.00a6fce0
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
lea ebx, [eax + ebx - 0x10]
lea eax, [esi + 0x24]
push esi
push eax
call fcn.0042dd1c
mov eax, dword [esi]
xor eax, dword [esi + 0x10]
add esp, 0x14
mov dword [edi], eax
mov eax, dword [esi + 0x14]
xor eax, dword [esi + 4]
add edi, 0x10
mov dword [edi - 0xc], eax
mov eax, dword [esi + 0x18]
xor eax, dword [esi + 8]
mov dword [edi - 8], eax
mov eax, dword [esi + 0x1c]
xor eax, dword [esi + 0xc]
cmp ebx, 0x10
mov dword [edi - 4], eax
jb 0x42f9ca
mov eax, ebx
shr eax, 4
mov dword [ebp + 0x10], eax
lea eax, [esi + 0x24]
push esi
push eax
call fcn.0042dd1c
mov eax, dword [ebp + 0xc]
pop ecx
pop ecx
mov ecx, dword [esi]
xor ecx, dword [eax]
add eax, 0x10
mov dword [edi], ecx
mov ecx, dword [eax - 0xc]
xor ecx, dword [esi + 4]
add edi, 0x10
mov dword [edi - 0xc], ecx
mov ecx, dword [eax - 8]
xor ecx, dword [esi + 8]
sub ebx, 0x10
mov dword [edi - 8], ecx
mov ecx, dword [eax - 4]
xor ecx, dword [esi + 0xc]
dec dword [ebp + 0x10]
mov dword [edi - 4], ecx
mov dword [ebp + 0xc], eax
jne 0x42f989
push ebx
push dword [ebp + 0xc]
lea eax, [esi + 0x10]
push eax
call fcn.00a6fce0
mov eax, dword [esi + 0x20]
and eax, 0xf0000000
add eax, ebx
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x18]
sub dword [eax], ebx
add esp, 0xc
cmp byte [ebp + 0xb], 0
je 0x42f9fb
push dword [ebp - 4]
call fcn.00a70d6f
pop ecx
pop edi
pop esi
mov al, 1
pop ebx
leave
ret

Function at 0x42fa02
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esi + 0x20]
lea eax, [esi + 0x24]
push esi
push eax
mov dword [ebx], 0x10
call fcn.0042dd1c
test edi, edi
pop ecx
pop ecx
jbe 0x42fa3c
mov ecx, dword [esp + 0x14]
mov eax, esi
sub ecx, esi
mov esi, edi
mov dl, byte [eax + 0x10]
xor dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
dec esi
jne 0x42fa30
mov dword [ebx], edi
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x42fa44
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0x20]
and byte [ebp + 0xb], 0
push edi
mov edi, dword [ebp + 0x10]
lea eax, [ebx + edi]
cmp eax, 0x10
mov dword [ecx], eax
ja 0x42fa84
push edi
push dword [ebp + 0xc]
lea eax, [ebx + esi + 0x10]
push eax
call fcn.00a6fce0
mov eax, dword [ebp + 0x18]
add dword [esi + 0x20], edi
add esp, 0xc
and dword [eax], 0
jmp 0x42fb93
mov edi, dword [ebp + 0x14]
cmp dword [ebp + 0xc], edi
jne 0x42fab0
push dword [ebp + 0x10]
call fcn.00a70e58
push dword [ebp + 0x10]
mov dword [ebp - 4], eax
push dword [ebp + 0xc]
push eax
call fcn.00a6fce0
mov eax, dword [ebp - 4]
add esp, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp + 0xb], 1
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
mov dword [ebp + 0x14], 0x10
sub dword [ebp + 0x14], ebx
push dword [ebp + 0x14]
add eax, ebx
push dword [ebp + 0xc]
mov dword [ecx], eax
lea eax, [ebx + esi + 0x10]
push eax
call fcn.00a6fce0
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
lea ebx, [eax + ebx - 0x10]
lea eax, [esi + 0x24]
push esi
push eax
call fcn.0042dd1c
mov eax, dword [esi + 0x10]
xor eax, dword [esi]
add esp, 0x14
mov dword [edi], eax
mov eax, dword [esi + 0x14]
xor eax, dword [esi + 4]
add edi, 0x10
mov dword [edi - 0xc], eax
mov eax, dword [esi + 0x18]
xor eax, dword [esi + 8]
mov dword [edi - 8], eax
mov eax, dword [esi + 0x1c]
xor eax, dword [esi + 0xc]
cmp ebx, 0x10
mov dword [edi - 4], eax
jbe 0x42fb62
lea eax, [ebx - 1]
shr eax, 4
mov dword [ebp + 0x10], eax
lea eax, [esi + 0x24]
push esi
push eax
call fcn.0042dd1c
mov eax, dword [ebp + 0xc]
pop ecx
pop ecx
mov ecx, dword [esi]
xor ecx, dword [eax]
add eax, 0x10
mov dword [edi], ecx
mov ecx, dword [eax - 0xc]
xor ecx, dword [esi + 4]
add edi, 0x10
mov dword [edi - 0xc], ecx
mov ecx, dword [eax - 8]
xor ecx, dword [esi + 8]
sub ebx, 0x10
mov dword [edi - 8], ecx
mov ecx, dword [eax - 4]
xor ecx, dword [esi + 0xc]
dec dword [ebp + 0x10]
mov dword [edi - 4], ecx
mov dword [ebp + 0xc], eax
jne 0x42fb21
push ebx
push dword [ebp + 0xc]
lea eax, [esi + 0x10]
push eax
call fcn.00a6fce0
mov eax, dword [esi + 0x20]
and eax, 0xf0000000
add eax, ebx
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x18]
sub dword [eax], ebx
add esp, 0xc
cmp byte [ebp + 0xb], 0
je 0x42fb93
push dword [ebp - 4]
call fcn.00a70d6f
pop ecx
pop edi
pop esi
mov al, 1
pop ebx
leave
ret

Function at 0x42fb9a
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esi + 0x20]
lea eax, [esi + 0x24]
push esi
push eax
mov dword [ebx], edi
call fcn.0042dd1c
test edi, edi
pop ecx
pop ecx
jbe 0x42fbd0
mov ecx, dword [esp + 0x14]
mov eax, esi
sub ecx, esi
mov esi, edi
mov dl, byte [eax + 0x10]
xor dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
dec esi
jne 0x42fbc4
mov dword [ebx], edi
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x47376f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea esi, [eax + 2]
mov dword [ebp - 4], eax
sub dword [ebp - 4], esi
lea edi, [ebp + 0xa]
mov ecx, 0xbaadf00d
sub edi, esi
mov dword [ebp - 8], 2
mov eax, dword [ebp - 4]
movzx eax, byte [eax + esi]
movzx ebx, byte [esi]
mov dl, al
xor eax, ecx
xor dl, bl
push 5
push eax
mov byte [edi + esi], dl
call fcn.00a700f4
add eax, ebx
pop ecx
inc esi
dec dword [ebp - 8]
pop ecx
mov ecx, eax
jne 0x473794
cmp ecx, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
je 0x4737d8
push 0xb12650
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], 5
call fcn.00a6fc9b
mov ax, word [ebp + 0xa]
leave
ret

Function at 0x47b82d
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
call fcn.004066c9
movzx eax, al
cmp eax, 0xcc
jne 0x47b8d3
mov ecx, dword [ebp + 8]
push 8
lea eax, [ebp - 0xc]
push eax
call fcn.00431e77
mov ecx, dword [ebp + 8]
call fcn.004066ff
xor ecx, ecx
lea esi, [edi + 0x47c]
mov dword [ebp - 4], ecx
mov edx, dword [esi]
test edx, edx
je 0x47b8ab
cmp ecx, dword [edx - 4]
jae 0x47b8ab
add edx, dword [ebp - 4]
mov ebx, dword [edx]
cmp ebx, dword [ebp - 0xc]
jne 0x47b88c
mov edx, dword [edx + 4]
cmp edx, dword [ebp - 8]
je 0x47b893
inc ecx
add dword [ebp - 4], 0x37
jmp 0x47b86f
mov edx, dword [esi]
imul ecx, ecx, 0x37
test eax, eax
mov word [edx + ecx + 0x18], ax
jne 0x47b8ab
add ecx, dword [esi]
push ecx
mov ecx, esi
call fcn.0047bfe9
push 0x37
push 0xffffffffffffffff
mov ecx, esi
call fcn.0047bf86
mov ecx, dword [ebp + 8]
push eax
call fcn.00431e77
mov ecx, dword [edi + 0x518]
test ecx, ecx
je 0x47b915
push dword [ebp + 8]
push 0xcc
jmp 0x47b910
mov esi, 0xcb
cmp eax, esi
jne 0x47b915
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push ecx
mov eax, esp
mov dword [ebp - 4], esp
push 0x1d7
push eax
call fcn.007a48d0
mov ecx, eax
call fcn.0040652b
call fcn.0099fcc2
mov ecx, dword [edi + 0x518]
add esp, 0x14
cmp ecx, ebx
je 0x47b915
push dword [ebp + 8]
push esi
call fcn.009a6a8d
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x49470d
Capabilities:
Resolve dns

Disassembly:
push esi
push edi
push 0
push dword [esp + 0x14]
mov esi, ecx
call fcn.00494440
mov edi, dword [esp + 0xc]
test edi, edi
je 0x494755
cmp byte [edi], 0
je 0x494755
push edi
call dword [0xbe1948]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x494755
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x49474f
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi + 4], eax
jmp 0x494755
call dword [0xbe1908]
pop edi
mov eax, esi
pop esi
ret 8