joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10a8190
Capabilities:
Get disk information
Get disk size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x428
push ebx
push esi
push edi
push 0x20a
xor esi, esi
lea eax, [ebp - 0x428]
push esi
push eax
call sub.msvcrt.dll_memset
push 0x20a
lea ecx, [ebp - 0x21c]
push esi
push ecx
call sub.msvcrt.dll_memset
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
add esp, 0x18
push edi
push ebx
call fcn.010a8100
push 0x103
lea edx, [ebp - 0x21c]
push edx
push esi
push esi
mov dword [ebp + 8], eax
lea eax, [ebp + 0xc]
push eax
push 0x103
lea ecx, [ebp - 0x428]
push ecx
push edi
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationW]
test eax, eax
jne 0x10a8218
push 0x20a
lea edx, [ebp - 0x21c]
push esi
push edx
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp + 0xc], esi
push esi
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
push edi
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
test eax, eax
jne 0x10a8238
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
push 0x31
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
test esi, esi
je 0x10a82c1
mov edx, dword [ebp + 8]
push edi
mov dword [esi], edx
call fcn.01077060
mov dword [esi + 4], eax
lea eax, [ebp - 0x428]
push eax
call fcn.01077060
lea ecx, [ebp - 0x21c]
push ecx
mov dword [esi + 8], eax
call fcn.01077060
mov dword [esi + 0xc], eax
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x10], edx
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x18], eax
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x1c], ecx
mov edx, dword [ebp - 8]
mov dword [esi + 0x20], edx
mov eax, dword [ebp - 4]
mov dword [esi + 0x24], eax
mov eax, dword [ebx + 0x3041c]
test eax, eax
je 0x10a82b5
mov dword [eax + 0x28], esi
pop edi
mov dword [ebx + 0x3041c], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebx + 0x30418], esi
mov dword [ebx + 0x3041c], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10afc90
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, 0x5a
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov eax, dword [edi]
mov eax, dword [eax]
mov ecx, dword [eax + 0x16c8]
mov edx, dword [eax + 0x16cc]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 0x16d0]
mov dword [ebp - 0x1c], edx
mov edx, dword [eax + 0x16d4]
mov eax, dword [eax + 0x1e44]
push 0x4d1
push 8
mov dword [ebp - 8], 0x64
mov dword [ebp - 4], 0x1a2
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x10afd80
mov ecx, dword [ebp + 8]
mov dword [esi], 0xa
cmp ecx, ebx
je 0x10afd28
lea eax, [esi + 0x20]
cmp eax, ebx
je 0x10afd28
push 0x1ff
push ecx
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy]
add esp, 0xc
mov eax, 1
mov dword [esi + 0x1c], eax
mov dword [esi + 0x42c], eax
mov dword [esi + 0x424], ebx
mov dword [esi + 0x428], 0x99e0d3
mov dword [esi + 0x430], ebx
mov dword [esi + 0x434], 9
mov dword [esi + 0x438], ebx
mov ecx, 0x2d
mov eax, 0x93
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x2bc
mov dword [esi + 0x10], 0x14
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], eax
mov dword [esi + 0x4ac], ebx
mov dword [esi + 0x498], 0x1c
mov dword [esi + 0x49c], ebx
mov dword [esi + 0x4a0], 4
mov eax, dword [edi + 0x88]
cmp dword [eax], ebx
jne 0x10afdae
mov dword [eax], esi
jmp 0x10afdb7
mov ecx, dword [eax + 4]
mov dword [ecx + 0x4c8], esi
push 0x43001
push ebx
push 1
push ebx
push ebx
push ebx
push 0x420
push 0x2c7
push 0xaf
push 0x2d
push ebx
push ebx
push 0x107a030
push ebx
mov edx, dword [edi + 0x88]
push ebx
push 0x10a40d0
push ebx
push ebx
push ebx
push ebx
push 0x16
push 0xe
lea eax, [ebp - 0x10]
push eax
push 4
lea ecx, [ebp - 0x20]
push ecx
push edi
mov dword [edx + 4], esi
call fcn.0105bad0
mov dword [eax + 0x4ac], ebx
mov dword [eax + 0x498], 0x1c
mov dword [eax + 0x49c], ebx
mov dword [eax + 0x4a0], 4
mov ecx, dword [edi + 0x88]
cmp dword [ecx], ebx
jne 0x10afe30
mov dword [ecx], eax
jmp 0x10afe39
mov edx, dword [ecx + 4]
mov dword [edx + 0x4c8], eax
mov ecx, dword [edi + 0x88]
mov dword [ecx + 4], eax
mov edx, dword [edi]
lea ecx, [ebp + 8]
push ecx
push ebx
mov dword [edx + 0x25fc0], eax
mov eax, dword [edi]
mov edi, dword [edi + 4]
push eax
push fcn.010a5540
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
cmp eax, ebx
je 0x10afe6f
mov edx, dword [edi + 0x1c0]
push eax
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10afe80
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x402
push 8
xor edi, edi
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
test ebx, ebx
je 0x10afecf
mov esi, eax
test esi, esi
je 0x10aff34
mov eax, dword [ebp + 0xc]
push eax
add ebx, 0x766c
push ebx
push 0x1013928
push 0x103
push esi
call fcn.01029620
add esp, 0x14
jmp 0x10aff17
mov ebx, eax
test ebx, ebx
je 0x10aff34
push 0x103
push ebx
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
mov edi, ebx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10afee4
mov edx, dword [ebp + 0xc]
mov cx, word [0x100fdcc]
push 0x1013920
push edx
push ebx
mov word [edi], cx
call fcn.0107e1c0
push ebx
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
test esi, esi
je 0x10aff3d
push esi
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8

Function at 0x10b0210
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
je 0x10b02d4
mov eax, dword [ebp + 8]
push esi
push 0x1013ad8
push eax
call fcn.010afe80
mov esi, eax
test esi, esi
je 0x10b02cf
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x1013ac4
push esi
call edi
test eax, eax
jne 0x10b0251
mov eax, fcn.01027120
mov ebx, dword [ebp + 0xc]
push 0x1013ab4
push esi
mov dword [ebx + 0x3d8], eax
call edi
test eax, eax
jne 0x10b026b
mov eax, fcn.01027120
push 0x1013aa4
push esi
mov dword [ebx + 0x3dc], eax
call edi
test eax, eax
jne 0x10b0282
mov eax, fcn.01027120
push 0x1013a94
push esi
mov dword [ebx + 0x3e0], eax
call edi
test eax, eax
jne 0x10b0299
mov eax, fcn.01027120
push 0x1013a80
push esi
mov dword [ebx + 0x3e4], eax
call edi
test eax, eax
jne 0x10b02b0
mov eax, fcn.01027120
push 0x1013a68
push esi
mov dword [ebx + 0x3f4], eax
call edi
test eax, eax
jne 0x10b02c7
mov eax, fcn.01027120
pop edi
mov dword [ebx + 0x3f0], eax
pop ebx
pop esi
pop ebp
ret 0xc
push 0x1013ad8
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
test eax, eax
je 0x10b02d0
push eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
pop ebp
ret 0xc
Function at 0x10b20f0
Capabilities:
Get token membership

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push 0x40
mov edi, eax
call fcn.010284a0
mov esi, dword [ebp + 8]
lea ebx, [esi + eax*4 + 8]
push ebx
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
push 0
push 1
push 0x40
push esi
call fcn.010b1980
mov ecx, dword [esi + 0x1d0]
lea eax, [ebp - 0x10]
push eax
push 8
push edi
call ecx
test eax, eax
je 0x10b21d0
push 0x44
lea edx, [ebp - 0x54]
push 0
push edx
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x54]
push ecx
push 0
push 0x1a
mov dword [ebp - 8], 0x44
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x10b21c6
mov edi, dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x54]
push eax
push 0
call edi
test eax, eax
je 0x10b21c6
cmp dword [ebp - 4], 0
jne 0x10b21c6
cmp dword [esi + 0x819c], 6
jb 0x10b21c6
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push 4
lea edx, [ebp - 0xc]
push edx
push 0x13
push eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x10b21c6
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x54]
push edx
push eax
call edi
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10b2560
Capabilities:
Acquire debug privileges

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x134]
push edi
call eax
push eax
push esi
call fcn.010b23e0
mov edi, eax
test edi, edi
je 0x10b2639
push 1
push 0x1014ac0
push edi
push esi
call fcn.010b2460
push 1
push 0x1014aac
push edi
push esi
call fcn.010b2460
push 1
push 0x1014a94
push edi
push esi
call fcn.010b2460
push 1
push 0x1014a80
push edi
push esi
call fcn.010b2460
push 1
push 0x1014a6c
push edi
push esi
call fcn.010b2460
push 1
push 0x1014a58
push edi
push esi
call fcn.010b2460
push 1
push 0x1014a40
push edi
push esi
call fcn.010b2460
push 1
push 0x1014a24
push edi
push esi
call fcn.010b2460
push 1
push 0x1014a08
push edi
push esi
call fcn.010b2460
push 1
push 0x10149e8
push edi
push esi
call fcn.010b2460
push 1
push 0x10149d8
push edi
push esi
call fcn.010b2460
push 1
push 0x10149c0
push edi
push esi
call fcn.010b2460
push edi
push esi
call fcn.010b2310
push edi
push esi
call fcn.01028cc0
pop edi
pop esi
pop ebp
ret 4
Function at 0x10b4b80
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push 0x40
call fcn.010284a0
mov esi, dword [ebp + 8]
lea edi, [esi + eax*4 + 8]
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
push 0
push 1
push 0x40
push esi
call fcn.010b1980
mov eax, dword [esi + 0x150]
push connect
push 0
push 0
call eax
mov ebx, eax
test ebx, ebx
je 0x10b4c3b
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x144]
push connect
push ecx
push ebx
call edx
mov edi, eax
test edi, edi
je 0x10b4c2f
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp + 8], eax
mov ecx, dword [esi + 0x148]
lea eax, [ebp - 0x20]
push eax
push edi
call ecx
test eax, eax
je 0x10b4bfe
cmp dword [ebp - 0x1c], 4
je 0x10b4c26
cmp dword [esi + 0x12964], 0
jne 0x10b4c26
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [ebp + 8]
cmp eax, 0xea60
ja 0x10b4c26
mov edx, dword [esi + 0x12c]
push 0x1f4
call edx
jmp 0x10b4be7
mov edx, dword [esi + 0x13c]
push edi
call edx
mov eax, dword [esi + 0x13c]
push ebx
call eax
mov edi, dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10b5b20
Capabilities:
Hash data with md5

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x10]
push eax
push ecx
push esi
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
call fcn.010b5970
push esi
call fcn.010b5a40
pop esi
pop ebp
ret 0xc
Function at 0x10b5bd0
Capabilities:
Hash data with md5

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb8
push ebx
push edi
xor edi, edi
push 0x2c
lea eax, [ebp - 0x50]
push edi
push eax
mov dword [ebp - 0x1c], edi
call sub.msvcrt.dll_memset
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x10]
add esp, 0xc
push ecx
mov ecx, dword [ebp + 8]
xor eax, eax
lea edx, [ebp - 0x50]
push edx
push 7
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push eax
push ecx
mov dword [ebp - 0x50], ebx
call fcn.01034b00
test eax, eax
je 0x10b5c64
mov edx, dword [ebp - 0x40]
xor edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x28]
xor edx, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], 0x10
mov dword [ebp - 0x18], ebx
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.01034710
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
mov dword [ebp + 0x18], edi
mov esi, ebx
cmp ebx, 0x10000
jb 0x10b5c92
mov eax, 0xbacf914d
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
imul eax, eax, 0x25
sub esi, eax
add esi, 4
lea ecx, [ebp - 0x24]
push ecx
xor eax, eax
push ebx
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xb8], 0x67452301
mov dword [ebp - 0xb4], 0xefcdab89
mov dword [ebp - 0xb0], 0x98badcfe
mov dword [ebp - 0xac], 0x10325476
call fcn.01034c80
cmp eax, 0xffffffff
je 0x10b5d4e
mov dword [ebp + 8], edi
mov edi, dword [ebp - 0x24]
xor ecx, ecx
mov edx, eax
mov ebx, ecx
add edx, esi
adc ecx, ebx
cmp ecx, ebx
mov ebx, dword [ebp + 0x10]
jg 0x10b5d8f
jl 0x10b5d00
cmp edx, ebx
ja 0x10b5d8f
mov ecx, dword [ebp + 0xc]
inc dword [ebp + 0x18]
add dword [ebp + 8], 0x3fd
push esi
add eax, ecx
push eax
lea edx, [ebp - 0xb8]
push edx
call fcn.010b5970
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp - 0x20]
jae 0x10b5d4b
xor edx, edx
lea eax, [edi + 0x936d]
mov ecx, 0x3fd
div ecx
add edx, dword [ebp + 8]
mov edi, edx
lea edx, [esi + edi]
cmp edx, ebx
jbe 0x10b5d44
mov edi, ebx
sub edi, esi
mov eax, edi
cmp edi, 0xffffffff
jne 0x10b5ce1
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0xb8]
push eax
call fcn.010b5a40
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], 0x10
mov dword [ebp - 0x18], ebx
pop esi
test edi, edi
je 0x10b5c4f
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
or edi, 0xffffffff
jmp 0x10b5d4e
Function at 0x10b5da0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 0x3c]
cmp esi, 0x30
jbe 0x10b5dcf
cmp dword [eax + 0x1c], 0x58465352
jne 0x10b5dcf
pop edi
mov eax, 0x1000002f
pop esi
mov esp, ebp
pop ebp
ret 4
push ebx
lea ebx, [esi - 0x10]
mov edx, 0x1e
cmp ecx, ebx
ja 0x10b5e67
cmp esi, 0x200
jb 0x10b5e67
add eax, ecx
movzx ecx, word [eax + 4]
mov ebx, 0x8664
cmp cx, bx
je 0x10b5f19
mov ebx, 0x200
cmp cx, bx
je 0x10b5f19
mov dword [edi + 0x4c], eax
movzx ecx, word [eax]
cmp ecx, 0x4550
jg 0x10b5e5c
je 0x10b5e39
sub ecx, 0x454c
je 0x10b5e30
sub ecx, 2
jne 0x10b5e67
mov dword [edi + 4], 0x1c
jmp 0x10b5e67
mov dword [edi + 4], 0x1b
jmp 0x10b5e67
push eax
mov ecx, 0x2000
push eax
push edi
test word [eax + 0x16], cx
je 0x10b5e4e
mov dword [edi + 4], 0x20
call fcn.010814d0
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp ecx, 0x5a4d
jne 0x10b5e67
mov dword [edi + 4], edx
mov dword [edi + 4], edx
cmp esi, 0x10000
jbe 0x10b5e77
mov esi, 0x10000
mov eax, 0xcccccccd
mul esi
mov ecx, edx
mov eax, 0x24924925
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
lea ebx, [edi + 8]
push ebx
shr eax, 2
shr ecx, 3
push eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 4], ecx
add ecx, eax
push ecx
mov ecx, dword [edi + 0x5c]
mov edx, dword [ecx]
push edx
call fcn.0102e950
mov eax, 0xaaaaaaab
mul esi
shr edx, 2
push ebx
push edx
mov dword [ebp + 8], edx
mov eax, 0xaaaaaaab
mul esi
mov eax, dword [edi + 0x5c]
mov ecx, dword [eax]
shr edx, 1
add edx, dword [edi + 0x10]
push edx
push ecx
call fcn.0102e950
mov edx, dword [ebp + 8]
mov ecx, dword [edi + 0x5c]
push ebx
mov eax, esi
shr eax, 1
add eax, dword [edi + 0x10]
push edx
mov edx, dword [ecx]
push eax
push edx
call fcn.0102e950
mov eax, 0xcccccccd
mul esi
sub esi, dword [ebp - 4]
mov eax, dword [edi + 0x5c]
add esi, dword [edi + 0x10]
mov ecx, dword [eax]
push ebx
shr edx, 4
push edx
push esi
push ecx
call fcn.0102e950
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
or eax, 0xffffffff
pop ebx
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi], 1
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10b6ef0
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
push 0x40
call fcn.010284a0
mov ebx, dword [ebp + 8]
lea eax, [ebx + eax*4 + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
xor edi, edi
push edi
push 1
push 0x40
push ebx
call fcn.010b1980
push 0x41
lea ecx, [ebp - 0x50]
push edi
push ecx
call sub.msvcrt.dll_memset
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [edx], 0x20
mov eax, 0xaaaaaaaa
mov dword [esi], eax
add esp, 0xc
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push edi
mov dword [esi + 0xc], eax
push edi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
push edi
mov dword [esi + 0x18], eax
push edi
mov dword [esi + 0x1c], eax
mov edx, dword [ebx + 0x198]
lea eax, [ebp - 8]
push eax
push edi
push edi
lea ecx, [ebx + 0x7ea6]
push ecx
mov dword [ebp - 0xc], edi
mov dword [ebp + 8], edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call edx
push ebx
call fcn.010b2d60
mov edi, eax
test edi, edi
je 0x10b6fe4
mov eax, dword [ebx + 0x114]
push edi
call eax
cmp byte [eax], 4
jb 0x10b6fdb
mov ecx, dword [ebx + 0x128]
push 1
push edi
call ecx
mov edx, dword [ebx + 0x128]
push 2
push edi
mov dword [ebp + 0x10], eax
call edx
push 3
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x128]
push edi
call eax
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10b6fc6
mov ecx, dword [ecx]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x10b6fd2
mov edx, dword [ecx]
mov dword [ebp + 8], edx
test eax, eax
je 0x10b6fdb
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov ecx, dword [ebx + 0x194]
push edi
call ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0xc]
push edx
push eax
push edi
push 0x1015044
lea ecx, [ebp - 0x50]
push 0x3f
push ecx
call fcn.01029620
add esp, 0x18
test edi, edi
jne 0x10b702f
cmp dword [ebp + 8], edi
jne 0x10b702f
cmp dword [ebp - 4], edi
jne 0x10b702f
mov eax, 0xabababab
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
jmp 0x10b7088
lea eax, [ebp - 0x50]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10b7035
sub eax, edx
cmp eax, 0x20
jbe 0x10b7046
mov byte [ebp - 0x30], cl
mov dx, word [0x1015040]
lea ecx, [ecx]
lea eax, [ebp - 0x50]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10b7056
sub eax, edi
cmp eax, 0x20
jae 0x10b7075
lea edi, [ebp - 0x50]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10b7068
mov word [edi], dx
jmp 0x10b7050
test esi, esi
je 0x10b7088
push 0x20
lea edx, [ebp - 0x50]
push edx
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 8]
xor eax, eax
lea ecx, [ecx]
mov edx, dword [eax + esi]
xor edx, ecx
mov edi, ecx
mov cl, byte [eax + esi]
rol edi, cl
mov dword [eax + esi], edx
add eax, 4
mov ecx, edi
cmp eax, 0x20
jb 0x10b7090
add ebx, 0x20
push ebx
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10b8280
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp + 8]
push eax
push 0
lea ecx, [ebp - 8]
push ecx
push 0x10b7f40
push 0
push 0
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 0x8290], eax
test eax, eax
je 0x10b8310
mov edx, dword [esi + 0x250]
push 0x2710
push eax
call edx
cmp eax, 0x102
jne 0x10b82f2
test ebx, ebx
je 0x10b82fd
mov ecx, 0x101554c
push edi
mov edi, 4
mov eax, ebx
sub ecx, ebx
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
sub edi, 1
jne 0x10b82e4
pop edi
jmp 0x10b82fd
mov eax, dword [ebp + 0x10]
push eax
push ebx
push esi
call fcn.010b8020
mov eax, dword [esi + 0x8290]
test eax, eax
je 0x10b8310
mov ecx, dword [esi + 0x1c0]
push eax
call ecx
mov eax, dword [esi + 0x7520]
test eax, eax
je 0x10b8341
push eax
push 0x1015544
lea edx, [ebp - 0x110]
push 0x103
push edx
call fcn.01029620
add esp, 0x10
lea eax, [ebp - 0x110]
push eax
push ebx
call fcn.010291f0
push ebx
push esi
call fcn.0103e130
mov dword [esi + 0x8290], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10b8380
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x284]
lea eax, [ebp + 8]
push eax
push 0
push 4
call ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edi + 0x288]
lea eax, [edx + edx + 0x20c]
push eax
push 0
call ecx
mov esi, eax
test esi, esi
je 0x10b84ca
mov edx, dword [ebp + 8]
lea eax, [edx + edx + 0x20a]
push eax
push 0
push esi
call sub.msvcrt.dll_memset
mov edx, dword [edi + 0x284]
add esp, 0xc
lea ecx, [ebp + 8]
push ecx
push esi
push 4
call edx
test eax, eax
je 0x10b84b6
push ebx
push 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0x1015514
push 0x1014d6c
push connect
push edi
call fcn.010b33d0
test eax, eax
je 0x10b842c
mov ebx, dword [eax]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
test ebx, ebx
je 0x10b842c
push esi
call fcn.0102a3a0
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0
push 0
push 0x3f
push ebx
push edx
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
push esi
push ebx
push edi
call fcn.010b8020
cmp dword [edi + 0x7520], 0
je 0x10b84ac
push 0x3f
push 0
push ebx
call sub.msvcrt.dll_memset
mov eax, dword [edi + 0x7520]
push eax
push 0x1015554
lea ecx, [ebp - 0x214]
push 0x103
push ecx
call fcn.0102aaf0
add esp, 0x1c
lea edx, [ebp - 0x214]
push edx
push esi
call fcn.0102a600
mov eax, dword [ebp + 8]
push 0
push 0
push 0x3f
push ebx
add eax, 9
push eax
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
push esi
push edi
call fcn.0103e0b0
pop ebx
jmp 0x10b84c1
mov ecx, dword [ebp + 0xc]
push esi
push ecx
push edi
call fcn.010b8280
mov edx, dword [edi + 0x194]
push esi
call edx
lea eax, [ebp + 0xc]
push eax
push 0
push edi
push 0x10b8360
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x10b84ed
mov ecx, dword [edi + 0x1c0]
push eax
call ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8