joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003763
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1007b430]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
push esi
call fcn.1004edbb
push eax
call fcn.1004e88a
pop ecx
pop ecx
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0x11], 0x70
mov byte [ebp - 0x33], 0x48
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0x3f], 0x35
mov byte [ebp - 0x34], 0x47
mov byte [ebp - 0x39], 0x42
mov byte [ebp - 0x1c], 0x65
mov byte [ebp - 0x42], 0x32
mov byte [ebp - 0x27], 0x54
mov byte [ebp - 0xb], 0x76
mov byte [ebp - 0x2f], 0x4c
mov byte [ebp - 0x41], 0x33
mov byte [ebp - 0x10], 0x71
mov byte [ebp - 0x35], 0x46
mov byte [ebp - 0x40], 0x34
mov byte [ebp - 0x23], 0x58
mov byte [ebp - 0x1f], 0x62
mov byte [ebp - 0xa], 0x77
mov byte [ebp - 0x36], 0x45
mov byte [ebp - 0x24], 0x57
mov byte [ebp - 0x2e], 0x4d
mov byte [ebp - 0xd], 0x74
mov byte [ebp - 6], 0
mov byte [ebp - 0x30], 0x4b
mov byte [ebp - 7], 0x7a
mov byte [ebp - 0x19], 0x68
mov byte [ebp - 0x28], 0x53
mov byte [ebp - 0x15], 0x6c
mov byte [ebp - 0x44], 0x30
mov byte [ebp - 0x3c], 0x38
mov byte [ebp - 0x2d], 0x4e
mov byte [ebp - 0x31], 0x4a
mov byte [ebp - 0x3b], 0x39
mov byte [ebp - 0x26], 0x55
mov byte [ebp - 0x22], 0x59
mov byte [ebp - 0x3e], 0x36
mov byte [ebp - 0x32], 0x49
mov byte [ebp - 9], 0x78
mov byte [ebp - 0x1a], 0x67
mov byte [ebp - 0x2a], 0x51
mov byte [ebp - 0x17], 0x6a
mov byte [ebp - 0x29], 0x52
mov byte [ebp - 0x25], 0x56
mov byte [ebp - 0xe], 0x73
mov byte [ebp - 0x3a], 0x41
mov byte [ebp - 0x2c], 0x4f
mov byte [ebp - 0x13], 0x6e
mov byte [ebp - 0x14], 0x6d
mov byte [ebp - 8], 0x79
mov byte [ebp - 0x1b], 0x66
mov byte [ebp - 0xc], 0x75
mov byte [ebp - 0x2b], 0x50
mov byte [ebp - 0x20], 0x61
mov byte [ebp - 0x18], 0x69
mov byte [ebp - 0x1d], 0x64
mov byte [ebp - 0x43], 0x31
mov byte [ebp - 0x3d], 0x37
mov byte [ebp - 0x21], 0x5a
mov byte [ebp - 0x16], 0x6b
mov byte [ebp - 0x1e], 0x63
mov byte [ebp - 0x37], 0x44
mov byte [ebp - 0x38], 0x43
test ebx, ebx
jle 0x100038a4
lea eax, [ebp - 0x48]
push eax
call fcn.1004e8cd
mov eax, dword [ebp - 0x48]
pop ecx
xor edx, edx
push 0x3e
pop ecx
div ecx
mov al, byte [ebp + edx - 0x44]
mov byte [edi + esi], al
inc esi
cmp esi, ebx
jl 0x10003884
push 0x3f
pop ecx
lea eax, [ebp - 0x44]
pop esi
mov byte [eax], 0
inc eax
dec ecx
jne 0x100038ab
mov byte [ebx + edi], cl
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004b8fc
leave
ret
Function at 0x10003f4f
Capabilities:
Check mutex on windows
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1007b430]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push 0x1f4
mov byte [ebp - 0xe], 0x61
mov byte [ebp - 0x11], 0x65
mov byte [ebp - 6], bl
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 7], 0x61
mov byte [ebp - 0x10], 0x72
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 8], 0x72
mov byte [ebp - 9], 0x75
mov byte [ebp - 0xf], 0x76
mov byte [ebp - 0x13], 0x6e
mov byte [ebp - 0x14], 0x49
mov byte [ebp - 0xb], 0x6f
mov byte [ebp - 0xc], 0x53
mov byte [ebp - 0xd], 0x6c
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0xf
pop ecx
lea eax, [ebp - 0x14]
mov byte [eax], bl
inc eax
dec ecx
jne 0x10003fba
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10003fd3
push ebx
call fcn.1004f0ac
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1004b8fc
leave
ret
Function at 0x1000424e
Capabilities:
Check os version
Get token membership

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xa8
mov eax, dword [0x1007b430]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push 0x90
xor ebx, ebx
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.1004db40
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x24], 5
ja 0x10004294
xor eax, eax
inc eax
jmp 0x100042ed
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp + 0x6c]
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov byte [ebp + 0x6c], bl
mov byte [ebp + 0x6d], bl
mov byte [ebp + 0x6e], bl
mov byte [ebp + 0x6f], bl
mov byte [ebp + 0x70], bl
mov byte [ebp + 0x71], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x100042dc
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x2c]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
cmp dword [ebp - 0x2c], ebx
je 0x100042ea
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop ebx
call fcn.1004b8fc
add ebp, 0x78
leave
ret
Function at 0x100042fd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x534
mov eax, dword [0x1007b430]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor ebx, ebx
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 0x1a], 0x32
mov byte [ebp - 0x1b], 0x33
mov byte [ebp - 0x1d], 0x6c
mov byte [ebp - 0x17], 0x6c
mov byte [ebp - 0x20], 0x53
mov byte [ebp - 0x1c], 0x6c
mov byte [ebp - 0x18], 0x64
mov byte [ebp - 0x19], 0x2e
mov byte [ebp - 0x16], 0x6c
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x1e], 0x65
mov byte [ebp - 0x1f], 0x68
mov byte [ebp - 0x24], 0x41
mov byte [ebp - 0x27], 0x75
mov byte [ebp - 0x28], 0x63
mov byte [ebp - 0x25], 0x65
mov byte [ebp - 0x23], bl
mov byte [ebp - 0x2f], 0x68
mov byte [ebp - 0x2b], 0x45
mov byte [ebp - 0x2c], 0x6c
mov byte [ebp - 0x2a], 0x78
mov byte [ebp - 0x30], 0x53
mov byte [ebp - 0x26], 0x74
mov byte [ebp - 0x2e], 0x65
mov byte [ebp - 0x29], 0x65
mov byte [ebp - 0x2d], 0x6c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0xc
pop edx
lea ecx, [ebp - 0x20]
mov byte [ecx], bl
inc ecx
dec edx
jne 0x1000438a
cmp eax, ebx
je 0x100043b0
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xe
mov dword [0x1007d820], eax
pop ecx
lea eax, [ebp - 0x30]
mov byte [eax], bl
inc eax
dec ecx
jne 0x100043aa
cmp dword [0x1007d820], ebx
jne 0x100043be
push ebx
call fcn.1004f0ac
push esi
push 0x3ff
lea eax, [ebp - 0x533]
push ebx
push eax
xor edi, edi
mov byte [ebp - 0x534], bl
call fcn.1004db40
push 0x103
lea eax, [ebp - 0x133]
push ebx
push eax
mov byte [ebp - 0x134], bl
call fcn.1004db40
add esp, 0x18
mov esi, 0x104
push esi
lea eax, [ebp - 0x134]
push eax
push ebx
mov byte [ebp - 0x13], 0x75
mov byte [ebp - 0x10], 0x73
mov byte [ebp - 0x11], 0x61
mov byte [ebp - 0xf], bl
mov byte [ebp - 0x12], 0x6e
mov byte [ebp - 0x14], 0x72
mov byte [ebp - 8], bl
mov byte [ebp - 9], 0x63
mov byte [ebp - 0xb], 0x75
mov byte [ebp - 0xc], 0x2d
mov byte [ebp - 0xa], 0x61
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x10004463
push 1
push ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [0x1007d820]
lea ecx, [ebp - 0x134]
mov byte [ecx], bl
inc ecx
dec esi
jne 0x10004455
cmp eax, 0x20
jle 0x10004463
xor edi, edi
inc edi
push 6
pop ecx
lea eax, [ebp - 0x14]
pop esi
mov byte [eax], bl
inc eax
dec ecx
jne 0x1000446a
push 5
pop ecx
lea eax, [ebp - 0xc]
mov byte [eax], bl
inc eax
dec ecx
jne 0x10004476
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.1004b8fc
leave
ret
Function at 0x1000448c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x1007b430]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp dword [0x1007d848], ebx
je 0x100044b1
push 0xb7c
jmp 0x10004648
call fcn.100042fd
test eax, eax
je 0x100044c0
push ebx
call fcn.1004f0ac
mov byte [ebp - 0x28], 0x6e
mov byte [ebp - 0x53], 0x61
mov byte [ebp - 0x22], 0x73
mov byte [ebp - 0x40], 0x64
mov byte [ebp - 0x19], 0x20
mov byte [ebp - 0x16], 0x6e
mov byte [ebp - 0x5a], 0x6d
mov byte [ebp - 0x12], 0x75
mov byte [ebp - 0x26], 0x20
mov byte [ebp - 0x50], 0x72
mov byte [ebp - 0x2f], 0x6c
mov byte [ebp - 0x1a], 0x6f
mov byte [ebp - 0x3e], 0x74
mov byte [ebp - 0x36], 0x68
mov byte [ebp - 0x33], 0x20
mov byte [ebp - 0x45], 0x71
mov byte [ebp - 0x15], 0x74
mov byte [ebp - 0xf], bl
mov byte [ebp - 0x1c], 0x20
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x1d], 0x53
mov byte [ebp - 0x20], 0x20
mov byte [ebp - 0x3c], 0x20
mov byte [ebp - 0x25], 0x50
mov byte [ebp - 0x49], 0x73
mov byte [ebp - 0x46], 0x65
mov byte [ebp - 0x27], 0x2e
mov byte [ebp - 0x3d], 0x6f
mov byte [ebp - 0x34], 0x73
mov byte [ebp - 0x39], 0x6e
mov byte [ebp - 0x48], 0x20
mov byte [ebp - 0x17], 0x6f
mov byte [ebp - 0x35], 0x69
mov byte [ebp - 0x24], 0x72
mov byte [ebp - 0x21], 0x73
mov byte [ebp - 0x5b], 0x64
mov byte [ebp - 0x13], 0x6e
mov byte [ebp - 0x42], 0x72
mov byte [ebp - 0x54], 0x72
mov byte [ebp - 0x43], 0x69
mov byte [ebp - 0x1e], 0x45
mov byte [ebp - 0x2d], 0x63
mov byte [ebp - 0x55], 0x74
mov byte [ebp - 0x38], 0x20
mov byte [ebp - 0x57], 0x69
mov byte [ebp - 0x47], 0x72
mov byte [ebp - 0x4e], 0x72
mov byte [ebp - 0x4b], 0x68
mov byte [ebp - 0x32], 0x61
mov byte [ebp - 0x3a], 0x75
mov byte [ebp - 0x2e], 0x69
mov byte [ebp - 0x29], 0x6f
mov byte [ebp - 0x52], 0x74
mov byte [ebp - 0x37], 0x74
mov byte [ebp - 0x41], 0x65
mov byte [ebp - 0x51], 0x6f
mov byte [ebp - 0x5c], 0x41
mov byte [ebp - 0x11], 0x65
mov byte [ebp - 0x44], 0x75
mov byte [ebp - 0x2c], 0x61
mov byte [ebp - 0x58], 0x6e
mov byte [ebp - 0x59], 0x69
mov byte [ebp - 0x4a], 0x74
mov byte [ebp - 0x18], 0x63
mov byte [ebp - 0x56], 0x73
mov byte [ebp - 0x2a], 0x69
mov byte [ebp - 0x2b], 0x74
mov byte [ebp - 0x4d], 0x69
mov byte [ebp - 0x3f], 0x20
mov byte [ebp - 0x30], 0x70
mov byte [ebp - 0x4c], 0x67
mov byte [ebp - 0x1b], 0x74
mov byte [ebp - 0x4f], 0x20
mov byte [ebp - 0x10], 0x2e
mov byte [ebp - 0x3b], 0x72
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x14], 0x69
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 0xb], 0x61
mov byte [ebp - 5], bl
push 0x50000
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x5c]
push eax
push ebx
mov byte [ebp - 9], 0x6e
mov byte [ebp - 8], 0x69
mov byte [ebp - 7], 0x6e
mov byte [ebp - 6], 0x67
mov byte [ebp - 0xc], 0x57
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x4e
pop ecx
lea eax, [ebp - 0x5c]
mov byte [eax], bl
inc eax
dec ecx
jne 0x10004630
call fcn.100042fd
test eax, eax
jne 0x100044ba
push 0xb7d
call fcn.10003fe0
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1004b8fc
leave
ret
Function at 0x1000465b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x38
mov eax, 0x100673f5
call fcn.10052d32
mov eax, dword [ebp + 8]
and dword [ebp - 0x34], 0
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.1004e88a
pop ecx
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1004e89c
cdq
push 0x1a
pop ecx
idiv ecx
mov esi, edx
call fcn.1004e89c
cdq
push 0x1a
pop ecx
idiv ecx
push 0x1a
mov byte [ebp - 0x23], 0x6a
mov byte [ebp - 0x1e], 0x6f
mov byte [ebp - 0x1c], 0x71
mov byte [ebp - 0x25], 0x68
mov byte [ebp - 0x29], 0x64
mov byte [ebp - 0x24], 0x69
mov byte [ebp - 0x12], 0
mov byte [ebp - 0x20], 0x6d
mov byte [ebp - 0x17], 0x76
mov byte [ebp - 0x19], 0x74
mov byte [ebp - 0x22], 0x6b
mov byte [ebp - 0x1f], 0x6e
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x13], 0x7a
mov byte [ebp - 0x28], 0x65
mov byte [ebp - 0x26], 0x67
mov byte [ebp - 0x2c], 0x61
mov byte [ebp - 0x27], 0x66
mov byte [ebp - 0x21], 0x6c
mov byte [ebp - 0x2a], 0x63
mov byte [ebp - 0x16], 0x77
mov byte [ebp - 0x18], 0x75
mov byte [ebp - 0x1d], 0x70
mov edi, edx
lea ecx, [edi + esi]
mov eax, ecx
imul eax, ecx
imul eax, ecx
cdq
pop ecx
idiv ecx
mov byte [ebp - 0x14], 0x79
mov byte [ebp - 0x1a], 0x73
mov byte [ebp - 0x15], 0x78
mov byte [ebp - 0x2b], 0x62
movzx eax, byte [ebp + edx - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10005285
mov dword [ebp - 0x44], eax
and dword [ebp - 4], 0
movzx eax, byte [ebp + edi - 0x2c]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10005285
mov edi, eax
mov byte [ebp - 4], 1
movzx eax, byte [ebp + esi - 0x2c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10005285
mov byte [ebp - 4], 2
push edi
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.1000533c
push dword [ebp - 0x44]
mov ecx, eax
push dword [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.1000533c
mov eax, dword [ebp - 0x3c]
add esp, 0x10
add eax, 0xfffffff0
call fcn.10003690
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
call fcn.10003690
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
call fcn.10003690
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
call fcn.10003690
push 0x1b
pop ecx
lea eax, [ebp - 0x2c]
mov byte [eax], 0
inc eax
dec ecx
jne 0x100047ad
mov eax, dword [ebp - 0x30]
call fcn.10052d7c
ret
Function at 0x10005f7b
Capabilities:
Write file on windows

Disassembly:
push 0x54
mov eax, 0x100674d4
call fcn.10052d32
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x3c], edi
cmp dword [edi + 0x3c], ebx
je 0x10006094
cmp byte [edi + 0x41], bl
je 0x10006094
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x10005fb3
xor al, al
jmp 0x10006096
lea esi, [ebp - 0x30]
call fcn.10005d26
lea eax, [edi + 0x44]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x1c]
lea ebx, [ebp - 0x48]
lea esi, [ebp - 0x30]
mov dword [ebp - 0x34], eax
call fcn.10005d5e
mov esi, eax
call fcn.10006121
add eax, dword [ebp - 0x34]
lea ebx, [ebp - 0x60]
lea esi, [ebp - 0x30]
mov dword [ebp - 0x34], eax
call fcn.10005d5e
mov esi, eax
call fcn.10006121
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
lea esi, [ebp - 0x38]
push esi
push dword [ebp - 0x34]
push eax
push dword [ebp - 0x40]
call dword [edx + 0x18]
xor ebx, ebx
sub eax, ebx
je 0x10006018
dec eax
je 0x1000601b
dec eax
dec eax
jne 0x10006084
mov bl, 1
jmp 0x10006084
mov byte [edi + 0x41], bl
lea ebx, [ebp - 0x58]
lea esi, [ebp - 0x30]
call fcn.10005d5e
mov esi, eax
call fcn.10006121
mov ecx, dword [ebp - 0x38]
sub ecx, eax
mov dword [ebp - 0x34], ecx
je 0x10006060
push dword [edi + 0x4c]
lea ebx, [ebp - 0x50]
push ecx
push 1
lea esi, [ebp - 0x30]
call fcn.10005d5e
mov esi, eax
call fcn.10006121
push eax
call fcn.1004eb37
add esp, 0x10
cmp dword [ebp - 0x34], eax
jne 0x10006082
mov ecx, dword [ebp - 0x34]
cmp byte [edi + 0x41], 0
je 0x10006014
test ecx, ecx
jne 0x10005fc4
push ecx
push 8
pop ebx
lea edi, [ebp - 0x30]
call fcn.10001ab9
mov edi, dword [ebp - 0x3c]
jmp 0x10005fc4
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.10001bc8
mov al, bl
jmp 0x10006096
mov al, 1
call fcn.10052d7c
ret
Function at 0x10006860
Capabilities:
Encode data using xor
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
movzx edx, word [ecx]
and dword [ebp - 8], 0
push ebx
mov ebx, 0x5a4d
push esi
mov esi, dword [ebp + 0xc]
mov eax, ebx
push edi
mov edi, esi
cmp dx, ax
je 0x10006889
mov dword [ebp - 4], esi
jmp 0x1000689f
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1000689c
sub edi, dword [eax + 0x9c]
mov dword [ebp - 4], edi
cmp esi, 0x200000
jbe 0x100068d8
mov edi, esi
cmp dx, bx
jne 0x100068c7
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x100068c7
mov edi, dword [eax + 0x9c]
add edi, dword [eax + 0x98]
lea eax, [esi + 0x4000000]
cmp edi, eax
jne 0x100068d8
mov dword [ebp - 8], 0x4000000
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
add eax, esi
push eax
push 8
mov dword [ecx], eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call ebx
push dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
push dword [ebp + 8]
mov dword [ecx], eax
push dword [ebp - 4]
push eax
call fcn.1004dbc5
add esp, 0x10
cmp dword [ebp - 8], 0
jbe 0x10006969
mov esi, 0x100000
push esi
push 8
call edi
push eax
call ebx
mov edi, eax
mov eax, dword [ebp + 8]
push esi
add eax, esi
push eax
push esi
push edi
call fcn.1004dbc5
add esp, 0x10
xor ebx, ebx
mov dword [ebp - 0xc], ebx
xor eax, eax
xor byte [eax + edi], bl
inc eax
cmp eax, esi
jb 0x1000693a
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
add eax, dword [ebp - 0xc]
push esi
add eax, dword [ebp - 4]
push edi
push esi
push eax
call fcn.1004dbc5
add dword [ebp - 0xc], esi
add esp, 0x10
inc ebx
cmp dword [ebp - 0xc], 0x4000000
jb 0x10006938
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, eax
sub esi, eax
push esi
push ecx
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
sub ecx, dword [ebp - 8]
sub ecx, eax
push ecx
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
add ecx, dword [ebp - 8]
add ecx, eax
push ecx
call fcn.1004dbc5
add esp, 0x10
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x10012320
Capabilities:
Hash data using djb2

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + eax]
mov ebx, 0x1505
cmp esi, edi
jae 0x10012350
movzx eax, byte [esi]
push eax
call fcn.10013d80
mov edx, ebx
shl edx, 5
movsx ecx, al
add edx, ebx
xor ecx, edx
inc esi
add esp, 4
mov ebx, ecx
cmp esi, edi
jb 0x10012331
pop edi
pop esi
movzx eax, bl
pop ebx
ret

Function at 0x10012360
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ecx
push esi
mov esi, eax
test esi, esi
je 0x10012398
lea eax, [esp + 4]
push eax
push esi
push 2
call fcn.1003a190
add esp, 0xc
test eax, eax
jne 0x10012398
lea ecx, [esp + 4]
push ecx
call fcn.100122c0
add esp, 4
mov ecx, eax
mov eax, dword [esp + 4]
pop esi
add esp, 4
jmp fcn.10012320
xor eax, eax
pop esi
pop ecx
ret

Function at 0x100146c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x100146f2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
neg eax
sbb eax, eax
and eax, 0xffffffe7
add eax, 0x51
ret
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
xor eax, eax
ret

Function at 0x10014830
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
xor edi, edi
cmp dword [esi + 0x608], edi
je 0x10014879
push 1
push esi
call fcn.10017c20
mov eax, dword [esi + 0x59c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0x608]
push edx
push eax
push esi
call ecx
push 0
push esi
mov edi, eax
call fcn.10017c20
add esp, 0x24
mov eax, edi
pop edi
pop esi
ret
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x100148b9
cmp eax, 2
jg 0x100148b9
mov edx, dword [esi + 0x598]
push edx
push 1
lea eax, [eax + eax*2 + 0x1006a598]
push 2
push eax
call fcn.1004eb37
mov ecx, dword [esi + 0x598]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push ecx
push 1
push edx
push eax
call fcn.1004eb37
add esp, 0x20
mov eax, edi
pop edi
pop esi
ret
Function at 0x100149a0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x108
mov eax, dword [0x1007b430]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
mov esi, dword [esp + 0x110]
test dword [esi + 0xa8c], 0x4000000
jne 0x100149d5
cmp dword [esi + 0x5a0], 0
je 0x10014ac7
mov ecx, dword [esp + 0x114]
lea eax, [esp + 0x118]
push eax
push ecx
lea edx, [esp + 0xc]
push pe_nt_image_headers32
push edx
call fcn.10034d10
lea eax, [esp + 0x14]
add esp, 0x10
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10014a00
sub eax, edx
mov edx, dword [esi + 0x5a0]
push edi
mov edi, eax
test edx, edx
je 0x10014a34
test byte [esi + 0xf4c], 8
jne 0x10014a34
lea ecx, [esp + 8]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x10014a23
or dword [esi + 0xf4c], 8
test dword [esi + 0xa8c], 0x4000000
je 0x10014ac6
mov byte [esp + edi + 8], 0xa
inc edi
cmp dword [esi + 0x608], 0
mov byte [esp + edi + 8], 0
je 0x10014a9a
push 1
push esi
call fcn.10017c20
mov eax, dword [esi + 0x59c]
mov edx, dword [esi + 0x608]
push eax
push edi
lea ecx, [esp + 0x18]
push ecx
push 0
push esi
call edx
push 0
push esi
call fcn.10017c20
add esp, 0x24
pop edi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.1004b8fc
add esp, 0x108
ret
mov eax, dword [esi + 0x598]
push eax
push 1
push 2
push 0x1006a598
call fcn.1004eb37
mov ecx, dword [esi + 0x598]
push ecx
push 1
lea edx, [esp + 0x20]
push edi
push edx
call fcn.1004eb37
add esp, 0x20
pop edi
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
call fcn.1004b8fc
add esp, 0x108
ret

Function at 0x10014ec0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov ecx, dword [ebx + 0x2b8]
push ebp
mov ebp, dword [ebx + eax*4 + 0x1a8]
push esi
lea esi, [eax + 0x1d]
shl esi, 4
add esi, ebx
push edi
mov edi, dword [esi + 4]
sub edi, dword [esi + 8]
test byte [ecx + 0x40], 3
je 0x10014f5f
cmp dword [ebx + eax*4 + 0x1c0], 0x10014bf0
jne 0x10014f5f
cmp dword [esi], 0
je 0x10014efa
test edi, edi
je 0x10014f5f
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebp
call fcn.100151e0
add esp, 0x14
cmp eax, 0xffffffff
je 0x10014f5f
test al, 1
je 0x10014f5f
cmp dword [esi], 0
jne 0x10014f41
mov edx, dword [ebx]
mov eax, dword [edx + 0x8e4]
add eax, eax
push eax
mov dword [esi + 4], eax
call dword [section..data]
mov edi, dword [esi + 4]
xor ecx, ecx
add esp, 4
mov dword [esi], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
cmp eax, ecx
je 0x10014f5c
mov eax, dword [esi]
add eax, dword [esi + 8]
push 0
push edi
push eax
push ebp
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x10014f5f
add dword [esi + 8], eax
pop edi
pop esi
pop ebp
ret
mov dword [esi + 4], ecx
pop edi
pop esi
pop ebp
ret
Function at 0x10014f80
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x84
mov eax, dword [0x1007b430]
xor eax, esp
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x8c]
push ebx
mov ebx, dword [esp + 0x8c]
push ebp
mov ebp, dword [ebx + eax*4 + 0x1a8]
push esi
mov esi, dword [esp + 0xa4]
push edi
mov edi, dword [esp + 0xa0]
call fcn.10014ec0
mov eax, dword [esp + 0xa4]
push 0
push eax
push edi
push ebp
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
mov dword [esi], 0
cmp edi, 0xffffffff
jne 0x1001502a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebp, eax
cmp ebp, 0x2733
jne 0x10014ff9
xor eax, eax
mov dword [esi], 0x51
jmp 0x1001502a
push 0x80
lea ecx, [esp + 0x14]
push ecx
push ebp
call fcn.1003f380
mov edx, dword [ebx]
push eax
push str.Send_failure:__s
push edx
call fcn.100149a0
mov eax, dword [ebx]
mov dword [eax + 0xcac], ebp
add esp, 0x18
mov dword [esi], 0x37
mov eax, edi
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1004b8fc
add esp, 0x84
ret