joyce8/EMBER2024-capa huggingface dataset:
Function at 0x754e93
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x754ed2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x754ed2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x754ed2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x754ed2
cmp dword [ecx + 0x74], 0xe
jbe 0x754ed2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x75dabb
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x8939a4
push 0x89399c
push str.FlsAlloc
push 0x1f
call fcn.0075d8e6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x75daef
push dword [ebp + 8]
mov ecx, esi
call dword [0x7db6c8]
call esi
jmp 0x75daf5
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x75db39
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x8939b4
push 0x8939ac
push str.FlsGetValue
push 0x21
call fcn.0075d8e6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x75db70
push dword [ebp + 8]
mov ecx, esi
call dword [0x7db6c8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x75db78
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x8939bc
push 0x8939b4
push str.FlsSetValue
push 0x22
call fcn.0075d8e6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x75dbb2
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x7db6c8]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x760642
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x904fe8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x760685
call fcn.00749850
mov dword [eax], 0xf
call fcn.00749863
mov dword [eax], 0xd
call fcn.00741e88
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.007207bc
leave
ret
test eax, eax
jne 0x76068c
inc eax
jmp 0x760679
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x760677
xor eax, eax
cmp ecx, 1
setne al
jmp 0x760679
Function at 0x764fed
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x76508a
push ebx
push esi
call fcn.00764fb6
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0076082f
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x765037
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x765089
push edi
push eax
call fcn.0075e8ce
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x765057
call fcn.0075d5aa
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x765088
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0076082f
add esp, 0x20
test eax, eax
jne 0x765076
push edi
call fcn.0075d5aa
jmp 0x76507e
push ebx
call fcn.0075d5aa
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x76508d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x76509e
pop esi
ret
push ebx
push edi
push esi
call fcn.00764fb6
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0075e8ce
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x7650c6
push ebx
push esi
push edi
call fcn.007390e0
add esp, 0xc
push 0
call fcn.0075d5aa
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x765820
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0076533b

Function at 0x7677a1
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0075d2bf
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x767810
cmp esi, dword [ebp - 4]
je 0x76780b
cmp dword [ebp + 0xc], 0
je 0x76780b
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x7677e8
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.007672f3
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x767812
xor eax, eax
inc eax
jmp 0x767812
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x767877
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x904fe8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0075d2bf
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0075d2bf
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x7678ee
cmp word [ecx], dx
je 0x7678ee
mov eax, dword [0x89818c]
push edi
dec eax
push eax
push 0x898078
call fcn.00767816
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x767961
cmp word [eax], dx
je 0x767961
mov eax, dword [edi]
test eax, eax
je 0x767912
cmp word [eax], dx
je 0x767912
lea eax, [ebp - 0x10]
push eax
call fcn.007671f9
jmp 0x76791b
lea eax, [ebp - 0x10]
push eax
call fcn.00767294
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x76798b
mov eax, dword [0x898074]
push dword [ebp - 0x14]
dec eax
push eax
push 0x897d68
call fcn.00767816
add esp, 0xc
test al, al
je 0x76798b
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x767956
cmp word [eax], di
je 0x767956
lea eax, [ebp - 0x10]
push eax
call fcn.007671f9
pop ecx
jmp 0x76798d
lea eax, [ebp - 0x10]
push eax
call fcn.00767294
jmp 0x767953
mov eax, dword [edi]
test eax, eax
je 0x767978
cmp word [eax], dx
je 0x767978
lea eax, [ebp - 0x10]
push eax
call fcn.007671ae
pop ecx
jmp 0x76798b
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x767a56
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0076769b
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x767a56
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x767a56
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x767a56
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x7679e3
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0075dd54
test ebx, ebx
je 0x767a51
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0075dd54
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x767a56
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x767a56
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0076ab76
add esp, 0x10
xor eax, eax
inc eax
jmp 0x767a58
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.007207bc
leave
ret
Function at 0x78327f
Capabilities:
Reference sql statements

Disassembly:
push 0x84
mov eax, 0x7d6d4c
call fcn.00720838
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x3c]
mov esi, dword [ebp + 8]
push edi
push eax
mov dword [ebp - 0x6c], esi
call fcn.00783177
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebp - 0x38], eax
jne 0x7832ca
lea ecx, [esi + 0xc]
mov dword [esi + 4], eax
mov dword [esi], ecx
mov dword [esi + 8], reloc.WS2_32.dll_ntohs
mov byte [ecx], al
mov dword [ebp - 4], 1
jmp 0x783363
mov ebx, str.SELECT_SerialNumber_FROM_Win32_DiskDrive_WHERE_Index_
push ebx
call fcn.0078487f
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x68]
call fcn.0078468e
push dword [ebp - 0x38]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
push dword [ebp - 0x3c]
call fcn.007847b7
push eax
lea eax, [ebp - 0x90]
mov ecx, edi
push eax
call fcn.007969ec
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.0041d5c3
cmp dword [ebp - 0x78], 0
mov byte [ebp - 4], 4
je 0x78333e
mov eax, dword [ebp - 0x7c]
cmp dword [eax + 4], 0
je 0x78333e
push dword [eax]
push esi
call fcn.0078d111
pop ecx
pop ecx
lea ecx, [ebp - 0x90]
call fcn.00782c0d
mov dword [ebp - 4], 7
jmp 0x783363
and dword [esi + 4], 0
lea eax, [esi + 0xc]
mov dword [esi], eax
lea ecx, [ebp - 0x90]
mov dword [esi + 8], reloc.WS2_32.dll_ntohs
mov byte [eax], 0
call fcn.00782c0d
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.0041d5c3
mov eax, esi
call fcn.007207e2
ret
Function at 0x79386d
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push esi
push edi
mov edx, ecx
xor edi, edi
mov ebx, closesocket
mov esi, 0xe3
mov ecx, dword [edx + edi*4 + 4]
xor ecx, dword [edx + edi*4]
and ecx, ebx
xor ecx, dword [edx + edi*4]
mov eax, ecx
shr ecx, 1
and eax, 1
imul eax, eax, 0x9908b0df
xor eax, ecx
xor eax, dword [edx + edi*4 + 0x634]
mov dword [edx + edi*4], eax
inc edi
cmp edi, esi
jb 0x79387e
mov ecx, dword [edx + esi*4 + 4]
xor ecx, dword [edx + esi*4]
and ecx, ebx
xor ecx, dword [edx + esi*4]
mov eax, ecx
shr ecx, 1
and eax, 1
imul eax, eax, 0x9908b0df
xor eax, ecx
xor eax, dword [edx + esi*4 - 0x38c]
mov dword [edx + esi*4], eax
inc esi
cmp esi, 0x26f
jb 0x7938a8
mov ecx, dword [edx + 0x9bc]
xor ecx, dword [edx]
and dword [edx + 0x9c0], 0
and ecx, ebx
xor ecx, dword [edx + 0x9bc]
mov eax, ecx
shr ecx, 1
and eax, 1
imul eax, eax, 0x9908b0df
pop edi
pop esi
pop ebx
xor eax, dword [edx + 0x630]
xor eax, ecx
mov dword [edx + 0x9bc], eax
ret

Function at 0x793b44
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
inc edx
cmp dword [ebp + 8], 0
mov eax, edx
cmovne eax, dword [ebp + 8]
push esi
mov dword [ecx], eax
mov esi, 0x270
mov eax, dword [ecx + edx*4 - 4]
shr eax, 0x1e
xor eax, dword [ecx + edx*4 - 4]
imul eax, eax, 0x6c078965
add eax, edx
mov dword [ecx + edx*4], eax
inc edx
cmp edx, esi
jb 0x793b5c
mov dword [ecx + 0x9c0], esi
pop esi
pop ebp
ret 4

Function at 0x79496b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x85c
mov eax, 0x7d8b65
call fcn.00720838
mov esi, ecx
mov eax, dword [ebp + 0x10]
and dword [ebp - 4], 0
mov edi, dword [ebp + 8]
mov ecx, edi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x868], edi
and dword [ebp - 0x85c], 0
push dword [eax + 4]
push dword [eax]
call fcn.0044278f
xor eax, eax
xor ecx, ecx
inc eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x85c], eax
cmp dword [esi], ecx
je 0x794a8d
mov dword [ebp - 0x864], eax
mov eax, 0x800
push eax
mov dword [ebp - 0x860], eax
lea eax, [ebp - 0x810]
push ecx
push eax
call fcn.00739c90
lea eax, [ebp - 0x83c]
push ebx
push eax
call fcn.0078d098
add esp, 0x14
lea ecx, [ebp - 0x860]
push ecx
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x864]
push ecx
push 0
push dword [eax]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
lea ecx, [ebp - 0x83c]
mov dword [ebp - 4], 1
call fcn.0041d5c3
mov byte [ebp - 4], 0
test esi, esi
jne 0x794a8d
lea eax, [ebp - 0x810]
push eax
call fcn.0078487f
pop ecx
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x83c]
call fcn.0078468e
lea eax, [ebp - 0x83c]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x858]
push eax
call fcn.0078d111
pop ecx
pop ecx
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00485ad4
lea ecx, [ebp - 0x858]
mov byte [ebp - 4], 4
call fcn.0041d5c3
lea ecx, [ebp - 0x83c]
mov dword [ebp - 4], 5
call fcn.0041d5c3
mov eax, edi
call fcn.007207e2
ret 0xc
Function at 0x794afd
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x444
mov eax, 0x7d8baf
call fcn.00720838
mov edi, dword [ebp + 8]
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x450], edi
mov dword [ebp - 0x448], ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
lea edx, [ebp - 0x444]
mov dword [ebp - 4], ebx
push edx
push 1
push ebx
push dword [eax]
mov dword [ebp - 0x448], 1
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x794be5
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x44c], 3
push esi
push eax
mov dword [ebp - 0x440], 0x400
call fcn.0078d098
pop ecx
pop ecx
lea ecx, [ebp - 0x440]
push ecx
lea ecx, [ebp - 0x410]
push ecx
lea ecx, [ebp - 0x44c]
push ecx
push ebx
push dword [eax]
push dword [ebp - 0x444]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
lea ecx, [ebp - 0x43c]
mov dword [ebp - 4], 1
call fcn.0041d5c3
mov byte [ebp - 4], bl
test esi, esi
jne 0x794bd9
push dword [ebp - 0x450]
mov eax, dword [ebp - 0x440]
lea ecx, [ebp - 0x410]
add eax, ecx
push eax
mov eax, ecx
mov ecx, edi
push eax
push dword [edi]
call fcn.0078ba05
push dword [ebp - 0x444]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.007207e2
ret
Function at 0x794c10
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x864
mov eax, 0x7d8c0f
call fcn.00720838
mov eax, dword [ebp + 0x10]
and dword [ebp - 4], 0
mov edi, dword [ebp + 8]
mov ecx, edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x864], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x870], edi
and dword [ebp - 0x860], 0
push dword [eax + 4]
push dword [eax]
call fcn.0044278f
and dword [ebp - 4], 0
xor ecx, ecx
inc ecx
cmp dword [ebx + 4], 0
mov dword [ebp - 0x860], ecx
jne 0x794c6c
mov dword [ebp - 0x85c], esi
jmp 0x794c8a
lea eax, [ebp - 0x85c]
push eax
push ecx
push 0
push dword [ebx]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x794d7b
xor ecx, ecx
inc ecx
mov eax, 0x800
mov dword [ebp - 0x86c], ecx
push eax
mov dword [ebp - 0x868], eax
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00739c90
push dword [ebp - 0x864]
lea eax, [ebp - 0x83c]
push eax
call fcn.0078d098
add esp, 0x14
lea ecx, [ebp - 0x868]
push ecx
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x86c]
push ecx
push 0
push dword [eax]
push dword [ebp - 0x85c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
lea ecx, [ebp - 0x83c]
mov dword [ebp - 4], 1
call fcn.0041d5c3
mov byte [ebp - 4], 0
test esi, esi
jne 0x794d69
lea eax, [ebp - 0x810]
push eax
call fcn.0078487f
pop ecx
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x83c]
call fcn.0078468e
lea eax, [ebp - 0x83c]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x858]
push eax
call fcn.0078d111
pop ecx
pop ecx
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00485ad4
lea ecx, [ebp - 0x858]
mov byte [ebp - 4], 4
call fcn.0041d5c3
lea ecx, [ebp - 0x83c]
mov dword [ebp - 4], 5
call fcn.0041d5c3
cmp dword [ebx + 4], 0
je 0x794d7b
push dword [ebp - 0x85c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.007207e2
ret
Function at 0x7a68c7
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7baed1
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x904fe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi]
call fcn.006bd0eb
pop ecx
and dword [ebp - 4], 0
lea ecx, [esi + 0x214]
call fcn.0041d5c3
lea ecx, [esi + 0x98]
call fcn.0052c48a
lea ecx, [esi + 0x30]
call fcn.0052c48a
lea ecx, [esi + 0x10]
mov dword [ebp - 4], 1
call fcn.0041d5c3
mov ecx, dword [esi + 0xc]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x7a6938
call fcn.00403dbb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret
Function at 0x101b6c80
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.10094d9d
mov eax, dword [0x10205040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x10208128]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1420], ecx
mov edx, dword [ebp - 0x1420]
cmp edx, dword [ebp - 0x1424]
jae 0x101b6e58
lea eax, [ebp - 5]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1418], ecx
mov edx, dword [ebp - 0x1418]
cmp edx, dword [ebp - 0x1430]
jae 0x101b6da7
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x101b6da7
mov ecx, dword [ebp - 0x1420]
mov dl, byte [ecx]
mov byte [ebp - 0x1419], dl
mov eax, dword [ebp - 0x1420]
add eax, 1
mov dword [ebp - 0x1420], eax
mov cl, byte [ebp - 0x1419]
mov byte [ebp - 0x1411], cl
movsx edx, byte [ebp - 0x1411]
cmp edx, 0xa
jne 0x101b6d85
mov eax, dword [ebp - 0x1408]
add eax, 1
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x1418]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
mov eax, dword [ebp - 0x1418]
mov cl, byte [ebp - 0x1411]
mov byte [eax], cl
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
jmp 0x101b6d09
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1404]
sub eax, ecx
mov dword [ebp - 0x142c], eax
push 0
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x1404]
push ecx
mov edx, dword [ebp - 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x101b6e11
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x101b6e78
mov edx, dword [ebp - 0x140c]
add edx, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], edx
mov eax, dword [ebp - 0x1428]
cmp eax, dword [ebp - 0x142c]
jae 0x101b6e53
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x101b6e78
jmp 0x101b6ce2
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100960bc
mov esp, ebp
pop ebp
ret
Function at 0x101b6f10
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.10094d9d
mov eax, dword [0x10205040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x10208128]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x101b70fb
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x101b7046
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x101b7046
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x101b7022
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x101b6f99
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x101b70b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x101b711b
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x101b70f6
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x101b711b
jmp 0x101b6f72
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100960bc
mov esp, ebp
pop ebp
ret
Function at 0x402700
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
xor eax, eax
test ecx, ecx
je 0x402801
test edx, edx
je 0x402801
mov ebp, dword [esp + 0x28]
test ebp, ebp
mov dword [esp], ecx
je 0x402754
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
nop
movzx ebx, byte [edx + edi]
test ebx, ebx
je 0x40275b
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, ebx
mov ecx, edi
and ecx, 1
xor edi, 1
lea edi, [edi + ecx*2]
mov ecx, esi
cmp edi, ebp
jb 0x402730
jmp 0x40275d
mov esi, 0x1505
jmp 0x40275d
mov esi, ecx
mov edi, dword [esp]
mov ebp, dword [edi + 0x20]
test ebp, ebp
je 0x402801
mov dword [esp + 4], edx
mov eax, ebp
xor eax, 0xfffffffe
mov ecx, ebp
and ecx, 0xfffffffe
lea ebx, [eax + ecx*2]
inc ebx
and ebx, esi
lea eax, [ebp - 1]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 4]
mov dword [esp + 0xc], eax
mov edx, edi
jmp 0x4027a4
inc ebx
dec ebp
je 0x4027ff
mov eax, ebx
and eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edi, dword [ecx + eax*4]
cmp edi, 0xffffffff
je 0x4027ff
mov eax, dword [edx + 8]
cmp dword [eax + edi*4], esi
jne 0x4027a0
mov eax, dword [edx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
push eax
call fcn.004090a0
mov edx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x4027a0
push dword [esp + 0x28]
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.004090c0
mov edx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x4027a0
mov eax, dword [edx + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x402801
xor eax, eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret