joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1346fba0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x134cadaf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
mov esi, ecx
mov dword [esp + 8], 0
call fcn.1346e630
test eax, eax
jne 0x1346fcb8
lea edi, [esi + 0x14]
mov ecx, edi
call fcn.1346e630
test eax, eax
jne 0x1346fcb8
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.1346ea70
mov esi, eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 1
push ecx
mov ecx, edi
call fcn.1346ea70
push eax
lea edx, [esp + 0x18]
push 0x134f0194
push edx
mov byte [esp + 0x34], 2
call fcn.13444de0
push 0x135027f4
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x30], 3
push eax
call fcn.13444c00
push esi
lea ecx, [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x34], 4
call fcn.13444a30
mov esi, dword [esp + 0x30]
push 0x134f0198
push eax
push esi
mov byte [esp + 0x34], 5
call fcn.13444c00
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x28], 4
call fcn.13444490
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
call fcn.13444490
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.13444490
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 1
call fcn.13444490
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 0
call fcn.13444490
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
mov edi, dword [esp + 0x30]
mov ecx, esi
push edi
call fcn.1346ea70
mov ecx, dword [esp + 0x20]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 4

Function at 0x13471860
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x134caf7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x134d0d90]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], eax
mov ecx, dword [0x134d0d90]
lea edi, [esi + 4]
mov dword [esp + 0x1c], 0
mov dword [edi], ecx
mov edx, dword [0x134d0d90]
lea ebx, [esi + 8]
mov dword [ebx], edx
lea ebp, [esi + 0xc]
mov byte [esp + 0x1c], 2
mov ecx, ebp
call fcn.1346e400
mov eax, dword [0x134d0d90]
mov dword [esi + 0x20], eax
mov ecx, dword [0x134d0d90]
mov dword [esi + 0x24], ecx
mov edx, dword [0x134d0d90]
mov dword [esi + 0x28], edx
mov eax, dword [0x134d0d90]
mov dword [esi + 0x2c], eax
mov ecx, dword [0x134d0d90]
mov dword [esi + 0x30], ecx
mov edx, dword [0x134d0d90]
mov dword [esi + 0x34], edx
push 0x13512ab0
mov ecx, esi
mov byte [esp + 0x20], 9
call fcn.13444710
push 0x13512ab0
mov ecx, edi
call fcn.13444710
push 0x13512ab0
mov ecx, ebx
call fcn.13444710
mov ecx, ebp
call fcn.1346e5f0
push 0x13512ab0
lea ecx, [esi + 0x20]
call fcn.13444710
push 0x13512ab0
lea ecx, [esi + 0x24]
call fcn.13444710
push 0x13512ab0
lea ecx, [esi + 0x28]
call fcn.13444710
push 0x13512ab0
lea ecx, [esi + 0x2c]
call fcn.13444710
push 0x13512ab0
lea ecx, [esi + 0x30]
call fcn.13444710
push 0x13512ab0
lea ecx, [esi + 0x34]
call fcn.13444710
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x13471d80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x134cb1a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x134d12e0
mov ebx, dword [esi + 0x50]
xor edi, edi
test ebx, ebx
mov dword [esp + 0x18], 2
jle 0x13471dcb
mov eax, dword [esi + 0x4c]
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x13471dc6
mov edx, dword [ecx]
push 1
call dword [edx]
inc edi
cmp edi, ebx
jl 0x13471db6
lea edi, [esi + 0x4c]
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.1346ddb0
mov edi, dword [edi]
mov byte [esp + 0x18], 1
test edi, edi
je 0x13471ded
push edi
call fcn.13429bc8
add esp, 4
lea ecx, [esi + 0x40]
mov byte [esp + 0x18], 0
mov dword [esi + 0x3c], 0x134d12dc
call fcn.13444490
add esi, 4
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x34]
mov dword [esp + 0x18], 0xb
call fcn.13444490
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 0xa
call fcn.13444490
lea ecx, [esi + 0x2c]
mov byte [esp + 0x18], 9
call fcn.13444490
lea ecx, [esi + 0x28]
mov byte [esp + 0x18], 8
call fcn.13444490
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], 7
call fcn.13444490
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 6
call fcn.13444490
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 5
call fcn.1346e4b0
lea ecx, [esi + 8]
mov byte [esp + 0x18], 4
call fcn.13444490
lea ecx, [esi + 4]
mov byte [esp + 0x18], 3
call fcn.13444490
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.13444490
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x134731e0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x134cb458
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x13473255
mov eax, dword [esi + 0x48]
test eax, eax
je 0x13473255
cmp ecx, eax
ja 0x13473255
sub eax, ecx
mov dword [ebp - 4], 0
mov edi, eax
lea eax, [edi + 1]
push eax
call fcn.1342ad5a
mov edx, dword [ebp + 8]
mov ecx, edi
add esp, 4
mov dword [edx], eax
mov byte [eax + edi], 0
mov edi, dword [edx]
mov esi, dword [esi + 0x44]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x134733e8
mov ecx, esi
call fcn.13471ee0
cmp eax, 3
je 0x134733b0
cmp eax, 4
je 0x134733b0
mov eax, dword [esi + 0xc]
push 1
push eax
call fcn.13471300
mov ebx, eax
add esp, 8
cmp ebx, 0xffffffff
jne 0x134732a5
push 0x13502170
call fcn.13473410
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x134732de
push 0x13502448
call fcn.13473410
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 3
call fcn.1342ad5a
add esp, 4
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
push 0
push ecx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp edi, dword [ebp - 0x14]
je 0x13473348
push 0x13502190
call fcn.13473410
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
push edx
call fcn.13429bc8
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esi + 0x2c]
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp - 0x18]
push eax
push edi
push esi
call fcn.134701a0
add esp, 0x10
test eax, eax
jne 0x13473390
push 0x135024f8
call fcn.13473410
push esi
call fcn.13429bc8
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
call fcn.13429bc8
add esp, 4
jmp 0x134733e8
mov edi, dword [esi + 0x2c]
mov ebx, dword [esi + 0x28]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, esi
call fcn.13472000
mov edx, dword [ebp + 8]
mov eax, dword [eax]
push edi
push ebx
push edx
push eax
mov dword [ebp - 4], 2
call fcn.1346ffb0
add esp, 0x10
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.13444490
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x13474330
Capabilities:
Get user security identifier

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edi
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
xor ebx, ebx
push eax
push ecx
lea edx, [esp + 0x18]
push ebx
push edx
push ebx
push ebp
push ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [edi], ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x1347437b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1347437b
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x10]
push esi
push eax
call fcn.1342ad5a
mov ecx, dword [esp + 0x14]
mov dword [edi], eax
lea edx, [ecx + ecx]
push edx
call fcn.1342ad5a
mov esi, eax
mov eax, dword [edi]
add esp, 8
test eax, eax
je 0x134743c0
test esi, esi
je 0x134743d1
lea ecx, [esp + 0x20]
lea edx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x1c]
push esi
push ecx
push eax
push ebp
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov ebx, eax
test esi, esi
je 0x134743cd
push esi
call fcn.13429bc8
add esp, 4
test ebx, ebx
jne 0x134743e0
mov edi, dword [edi]
test edi, edi
je 0x134743e0
push edi
call fcn.13429bc8
add esp, 4
pop esi
pop edi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret
Function at 0x134774f0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov esi, 0x8000
push edi
cmp eax, esi
mov dword [esp + 0x14], esi
jbe 0x1347750e
mov dword [esp + 0x14], eax
mov esi, eax
push esi
call fcn.1342ad5a
mov ecx, esi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
mov ebp, dword [esp + 0x24]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x10], ebx
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x24]
push 0
push 0
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test esi, esi
jne 0x1347754d
xor ebx, ebx
jmp 0x1347756a
lea eax, [esp + 0x24]
push 0
push eax
push esi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x13477566
or ebx, 0xffffffff
jmp 0x1347756a
mov ebx, dword [esp + 0x24]
push 0
push 0
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x134775bd
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x24]
push 0
push ecx
push eax
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x134775a2
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
je 0x134775b9
mov ecx, dword [esp + 0x10]
push ecx
call fcn.13429bc8
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x2c]
cmp ebx, esi
jae 0x134775e2
test ebx, ebx
je 0x134776b6
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x2c]
push 0
push edx
push ebx
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x134776b6
lea ecx, [ebx + edi]
add edi, eax
push esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], edi
call fcn.1342ad5a
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0x24], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x13477616
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jg 0x13477655
push 0
push 0
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test esi, esi
je 0x13477655
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x28]
push 0
push eax
push esi
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1347764f
or esi, 0xffffffff
jmp 0x13477657
mov esi, dword [esp + 0x28]
jmp 0x13477657
xor esi, esi
mov edx, dword [esp + 0x2c]
push 0
push 0
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test ebx, ebx
je 0x1347767f
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push 0
push eax
push ebx
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
add edx, ebx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x20]
add edi, esi
mov dword [esp + 0x10], edx
test esi, esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], eax
mov ebx, esi
jg 0x13477612
push eax
call fcn.13429bc8
add esp, 4
mov eax, dword [esp + 0x10]
push eax
call fcn.13429bc8
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x134776d0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
push 0
push 0
push esi
call edi
cmp eax, 0xffffffff
jne 0x134776f3
or ebx, eax
jmp 0x134776f5
mov ebx, eax
push 2
push 0
push 0
push esi
call edi
cmp eax, 0xffffffff
mov dword [esp + 0x1c], 0xffffffff
je 0x1347770f
mov dword [esp + 0x1c], eax
push 0
push ebx
push esi
call fcn.13477a10
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
sub eax, ebp
sub ecx, ebp
add esp, 0xc
cmp ecx, eax
mov dword [esp + 0x20], ecx
jl 0x13477737
mov dword [esp + 0x20], eax
push 0x8000
call fcn.1342ad5a
mov ebx, eax
add esp, 4
mov ecx, 0x2000
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x20]
push 0
push 0
lea ecx, [eax + ebp]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea edx, [esp + 0x24]
push 0
push edx
push 0x8000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x13477781
or eax, 0xffffffff
jmp 0x134777bd
mov edi, dword [esp + 0x24]
mov eax, edi
test edi, edi
mov dword [esp + 0x14], eax
jle 0x134777bd
push 0
push 0
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test edi, edi
je 0x134777b9
lea eax, [esp + 0x10]
push 0
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x134777c8
cmp dword [esp + 0x10], edi
jne 0x134777c8
mov eax, dword [esp + 0x14]
add ebp, eax
cmp eax, 0x8000
jne 0x134777db
jmp 0x13477751
push ebx
call fcn.13429bc8
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push 0
sub eax, ecx
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push ebx
call fcn.13429bc8
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x13477810
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x134cb72b
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
mov ebx, dword [esp + 0xb4]
push ebp
xor ebp, ebp
push esi
cmp ebx, ebp
push edi
je 0x134779b4
push ebx
call fcn.1342ad3d
add esp, 4
test eax, eax
je 0x134779b4
push ebx
lea ecx, [esp + 0x18]
call fcn.1343e9b0
mov esi, dword [esp + 0xc4]
mov dword [esp + 0xb8], ebp
cmp esi, ebp
je 0x13477881
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x134779a0
neg esi
sbb esi, esi
mov dword [esp + 0x18], ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileW]
and esi, 0xc0000000
add esi, 0xc0000000
or edi, 0xffffffff
cmp edi, 0xffffffff
jne 0x13477954
mov eax, dword [esp + 0x18]
test eax, eax
je 0x134778b7
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x13502e2c]
cmp eax, 0xffffffff
jne 0x134778f2
mov ecx, 0x24
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0x94
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esp + 0x2c]
xor eax, eax
cmp ecx, 2
sete al
mov dword [0x13502e2c], eax
test eax, eax
je 0x1347790b
push 0
push 0x80
push 4
push 0
push 1
push esi
push ebx
call ebp
mov edi, eax
jmp 0x13477939
push ebx
lea ecx, [esp + 0x14]
call fcn.1343e9b0
mov edx, dword [esp + 0x10]
push 0
push 0x80
push 4
push 0
push 1
push esi
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.1343f110
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 3
mov dword [esp + 0x18], eax
jl 0x1347789e
cmp edi, 0xffffffff
je 0x134779ea
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
push 0
push 0
push edi
call esi
cmp eax, 0xffffffff
jne 0x1347796c
or ebp, eax
jmp 0x1347796e
mov ebp, eax
push 2
push 0
push 0
push edi
call esi
cmp eax, 0xffffffff
jne 0x13477980
or ebx, eax
jmp 0x13477982
mov ebx, eax
push 0
push 0
push ebp
push edi
call esi
test ebx, ebx
jne 0x134779ea
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x134779d0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x14]
mov dword [esp + 0xb8], 0xffffffff
call fcn.1343f110
or eax, 0xffffffff
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xac
ret
lea eax, [esp + 0x10]
push 2
push eax
push 0
push edi
mov dword [esp + 0x20], 0xfeff
call fcn.134774f0
add esp, 0x10
lea ecx, [esp + 0x14]
mov dword [esp + 0xb8], 0xffffffff
call fcn.1343f110
mov eax, edi
jmp 0x134779b7
Function at 0x1347a490
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x104
call fcn.1342cb10
push ebx
push esi
push edi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x1347a4d9
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x1347a4d9
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
push 0x134ffa90
call fcn.134b3095
add esp, 0xc
lea esp, [ebp - 0x110]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
push edx
push eax
lea ecx, [ebp - 0x104]
push 0xff
push ecx
call fcn.1342a521
add esp, 0x10
mov byte [ebp - 5], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x1347a5eb
call dword [0x1350de14]
call dword [0x1350de0c]
mov ebx, eax
test ebx, ebx
je 0x1347a5eb
lea edx, [ebp - 4]
push edx
push 0
push 0
push 2
push ebx
call dword [0x1350ddd0]
test eax, eax
jne 0x1347a5eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1347a5eb
mov eax, dword [ebp - 4]
cmp eax, 0x200
ja 0x1347a5eb
lea esi, [eax + 1]
and esi, 0xfffffffe
mov dword [ebp - 4], esi
lea eax, [esi + 2]
add eax, 3
and al, 0xfc
call fcn.1342cb10
lea eax, [ebp - 4]
mov edi, esp
push eax
push esi
push edi
push 2
push ebx
call dword [0x1350ddd0]
test eax, eax
je 0x1347a5eb
mov ecx, dword [ebp - 4]
push str.Service_0x
push edi
lea eax, [ecx + 1]
and al, 0xfe
mov dword [ebp - 4], eax
shr eax, 1
mov word [edi + eax*2], 0
call fcn.13429bd3
add esp, 8
test eax, eax
je 0x1347a5eb
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push 0
push 1
push 0
push 0
push 0
lea edx, [ebp - 0x104]
push 1
push esi
mov dword [ebp - 4], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
lea esp, [ebp - 0x110]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10
lea ecx, [ebp - 0x104]
push str.OpenSSL:_FATAL
push ecx
push 0
call dword [0x1350ddec]
lea esp, [ebp - 0x110]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1347ad00
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x58], ecx
mov eax, 1
ret
Function at 0x1347f5c0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
xor esi, esi
test edi, edi
je 0x1347f621
mov al, byte [edi]
test al, al
je 0x1347f621
push ebx
push ebp
mov ebx, 0x100
movsx eax, al
or eax, ebx
mov ebp, esi
mov edx, eax
mov ecx, eax
shr edx, 2
and edx, 0xf
and ecx, 0xf
xor edx, ecx
mov ecx, 0x20
sub ecx, edx
add ebx, 0x100
shr ebp, cl
mov ecx, edx
mov edx, eax
imul edx, eax
shl esi, cl
mov al, byte [edi + 1]
or ebp, esi
xor ebp, edx
inc edi
test al, al
mov esi, ebp
jne 0x1347f5d9
mov eax, esi
pop ebp
shr eax, 0x10
pop ebx
xor eax, esi
pop edi
pop esi
ret
pop edi
xor eax, eax
pop esi
ret
Function at 0x134970f0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x5c], ecx
mov eax, 1
ret
Function at 0x13498a00
Capabilities:
Hash data using sha224

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0x367cd507
mov dword [eax + 8], 0x3070dd17
mov dword [eax + 0xc], 0xf70e5939
mov dword [eax + 0x10], 0xffc00b31
mov dword [eax + 0x14], 0x68581511
mov dword [eax + 0x18], 0x64f98fa7
mov dword [eax + 0x1c], 0xbefa4fa4
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], 0x1c
mov eax, 1
ret

Function at 0x13498a60
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], 0x20
mov eax, 1
ret
Function at 0x1349a1a0
Capabilities:
Hash data using sha224

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0xc1059ed8
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x40], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x3c], 0x47b5481d
mov dword [eax + 0x44], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], 0x30
mov eax, 1
ret

Function at 0x1349a240
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0xf3bcc908
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x40], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x44], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], 0x40
mov eax, 1
ret
Function at 0x134a25f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x134cba2f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [esp + 0x38]
push esi
mov dword [esp + 4], 0
cmp word [eax], 0x4d4f
je 0x134a263d
mov esi, dword [esp + 0x38]
push 0
push 0
mov ecx, esi
call fcn.13477c30
mov eax, esi
pop esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push ebp
push edi
mov ebp, dword [esp + 0x48]
mov ecx, 8
mov esi, eax
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x1c]
xor esi, esi
xor edi, edi
test ecx, ecx
jbe 0x134a2671
and word [esp + 0x12], 0xefff
test byte [eax + 3], 0x10
je 0x134a266d
or byte [esp + 0x13], 0x20
mov esi, ebp
mov edi, ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], edi
call fcn.13477c20
lea eax, [esp + 0x10]
push 0x20
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], 1
call fcn.13478180
push edi
push esi
lea ecx, [esp + 0x4c]
call fcn.13478180
test esi, esi
je 0x134a26b2
cmp esi, ebp
je 0x134a26b2
push esi
call fcn.13429bc8
add esp, 4
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call fcn.13477d40
lea ecx, [esp + 0x44]
mov dword [esp + 0xc], 1
mov byte [esp + 0x38], 0
call fcn.13477d80
mov ecx, dword [esp + 0x30]
pop edi
mov eax, esi
pop ebp
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret