joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007cac
Capabilities:
Read file on windows

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
push 2
push 0xffffffffffffffff
push 0xffffffffffffffea
push ebp
call fcn.100225dd
mov ebx, edx
add esp, 0x10
mov esi, eax
test ebx, ebx
jl 0x10007e1f
jg 0x10007cdb
test esi, esi
jb 0x10007e1f
mov edi, dword [esp + 0x20]
push 0x16
push edi
push ebp
call fcn.10017328
add esp, 0xc
test eax, eax
js 0x10007e1f
movzx ecx, byte [edi + 3]
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
cmp ecx, 0x6054b50
jne 0x10007d3d
push edi
call fcn.1000822e
pop ecx
test eax, eax
je 0x10007d34
push ebx
push esi
push edi
push ebp
call fcn.100225dd
add esp, 0x10
mov esi, eax
mov ebx, edx
mov eax, esi
mov edx, ebx
jmp 0x10007e24
push 2
xor ebx, ebx
push ebx
push ebx
push ebp
call fcn.100225dd
mov ebp, eax
add esp, 0x10
mov eax, edx
mov dword [esp + 0x14], eax
cmp eax, ebx
jl 0x10007e1f
jg 0x10007d66
cmp ebp, ebx
jb 0x10007e1f
mov ecx, 0x10015
cmp eax, ebx
jg 0x10007d7b
jl 0x10007d75
cmp ebp, ecx
jae 0x10007d7b
mov esi, ebp
mov ecx, eax
jmp 0x10007d7f
mov esi, ecx
mov ecx, ebx
mov eax, esi
neg eax
push 2
adc ecx, ebx
neg ecx
push ecx
push eax
push dword [esp + 0x28]
call fcn.100225dd
add esp, 0x10
cmp edx, ebx
jl 0x10007e1f
jg 0x10007da5
cmp eax, ebx
jb 0x10007e1f
push 0x10015
call fcn.100225dd
mov ebx, eax
pop ecx
test ebx, ebx
je 0x10007e1f
push esi
push ebx
push dword [esp + 0x24]
call fcn.10017328
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
js 0x10007e18
lea edx, [ebx + eax]
lea esi, [edx - 0x16]
jmp 0x10007e14
cmp byte [esi], 0x50
jne 0x10007e13
movzx ecx, byte [esi + 3]
movzx eax, byte [esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, 0x50
cmp ecx, 0x6054b50
jne 0x10007e13
movzx ecx, byte [esi + 0x15]
movzx eax, byte [esi + 0x14]
shl ecx, 8
or ecx, eax
lea eax, [esi + 0x16]
add eax, ecx
cmp eax, edx
je 0x10007e2b
dec esi
cmp esi, ebx
jae 0x10007dd4
push ebx
call fcn.100225dd
pop ecx
or eax, 0xffffffff
or edx, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
push 0x16
push esi
push edi
call fcn.1000a190
push ebx
call fcn.100225dd
mov eax, dword [esp + 0x20]
add eax, ebx
sub eax, esi
mov esi, dword [esp + 0x24]
cdq
sub ebp, eax
push edi
sbb esi, edx
call fcn.1000822e
add esp, 0x14
test eax, eax
je 0x10007e6b
push esi
push ebp
push edi
push dword [esp + 0x28]
call fcn.100225dd
add esp, 0x10
mov ebp, eax
mov esi, edx
mov eax, ebp
mov edx, esi
jmp 0x10007e24
Function at 0x10008ce8
Capabilities:
Enumerate files on windows

Disassembly:
push ecx
push ecx
push ebx
push esi
push 0x10
call fcn.10008ba3
mov esi, eax
push 8
mov dword [esp + 0x10], esi
call sym.jli.dll_JLI_MemAlloc
pop ecx
pop ecx
push 0x10031a38
push dword [esp + 0x18]
mov ebx, eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x10008d31
push ebx
call fcn.100075cd
push esi
call fcn.10008af3
pop ecx
pop ecx
xor eax, eax
jmp 0x10008e30
push ebp
mov dword [ebx], eax
mov dword [ebx + 4], 0x10031a64
push edi
mov ebp, dword [ebx + 4]
test ebp, ebp
je 0x10008d49
and dword [ebx + 4], 0
jmp 0x10008d62
push 0x10031a38
push dword [ebx]
call dword [sym.imp.kernel32.dll_FindNextFileA]
mov ebp, eax
neg ebp
sbb ebp, ebp
and ebp, 0x10031a64
test ebp, ebp
je 0x10008e14
push ebp
call fcn.10013dc0
pop ecx
cmp eax, 4
jl 0x10008d3c
cmp byte [eax + ebp - 4], 0x2e
jne 0x10008d3c
lea edi, [eax - 3]
add edi, ebp
push 0x1002765c
push edi
call fcn.10013ce0
pop ecx
pop ecx
test eax, eax
je 0x10008da4
push 0x10027660
push edi
call fcn.10013ce0
pop ecx
pop ecx
test eax, eax
jne 0x10008d3c
push 0x3b
push ebp
call fcn.1000a870
pop ecx
pop ecx
test eax, eax
jne 0x10008d3c
push dword [esp + 0x1c]
call fcn.10013dc0
push ebp
mov edi, eax
call fcn.10013dc0
mov esi, eax
lea ecx, [esi + edi]
push ecx
call sym.jli.dll_JLI_MemAlloc
lea ecx, [edi - 1]
mov ebx, eax
push ecx
push dword [esp + 0x2c]
push ebx
call fcn.1000a190
lea ecx, [esi + 1]
push ecx
lea eax, [edi - 1]
add eax, ebx
push ebp
push eax
call fcn.1000a190
mov esi, dword [esp + 0x34]
mov eax, dword [esi + 4]
inc eax
push eax
push esi
call fcn.100089bf
mov ecx, dword [esi + 4]
add esp, 0x2c
mov eax, dword [esi]
mov dword [eax + ecx*4], ebx
inc dword [esi + 4]
mov ebx, dword [esp + 0x14]
jmp 0x10008d3c
push dword [ebx]
call dword [sym.imp.kernel32.dll_FindClose]
push dword [ebx + 4]
call fcn.100075cd
push ebx
call fcn.100075cd
pop ecx
pop ecx
pop edi
mov eax, esi
pop ebp
pop esi
pop ebx
pop ecx
pop ecx
ret
Function at 0x100225dd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x100225ec
pop dword [ebp - 0x28]
mov eax, 0x100225ec
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x2ce01b25
add dword [ebp - 0x38], 0x21722a26
mov dword [ebp - 0x34], 0x6a7e40ea
add dword [ebp - 0x34], 0xc7b50b5b
mov dword [ebp - 0x30], 0x16699d8
sub dword [ebp - 0x30], 0xb51a55aa
mov dword [ebp - 0x2c], 0x3d200157
add dword [ebp - 0x2c], 0xc2dffea9
lea eax, [ebp - 0x38]
push eax
mov eax, 0x5f1ebb59
add eax, 0xb0e394f7
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x7e40b97c
sub dword [ebp - 0x38], 0x9ce5026
mov dword [ebp - 0x34], 0xdf85c19c
sub dword [ebp - 0x34], 0x9e196027
mov dword [ebp - 0x30], 0x6fa58146
add dword [ebp - 0x30], 0xf3c9eb26
mov dword [ebp - 0x2c], 0xaa4f5f67
sub dword [ebp - 0x2c], 0xaa4f5f67
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x4d6bc2d3
sub eax, 0x3d69727f
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3ac76
push 0
call eax
mov ecx, 0xdf471fbf
add ecx, 0x20b91c91
xor edx, edx
add edx, eax
mov esi, 0xe603ee8e
sub esi, 0xd600948e
add esi, dword [ebp - 0x28]
mov ebx, 0x5f878d55
sub ebx, 0x3a7b1145
mov dword [ebp - 0x14], 0x43f5b077
mov edi, dword [esi]
mov dword [ebp - 0x14], 0xbae4e1b7
xor edi, ebx
xor dword [ebp - 4], 0x7061ab10
mov dword [edx], edi
sub dword [ebp - 0x1c], edi
add edx, 0x46440807
add edx, 0xb9bbf7fd
add esi, 0xee23f7fb
sub esi, 0xee23f7f7
loop 0x1002270b
add eax, 0xabac4df5
add eax, 0x5454961e
mov ebx, eax
add eax, 0xa2b7518f
sub eax, 0xa2b7518a
mov ecx, 0x6b6c0914
add ecx, 0xa493f6ec
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x402c00
pop dword [ebp - 0x4c]
mov eax, 0x402c00
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xb9140db2
add dword [ebp - 0x5c], 0x953e3799
mov dword [ebp - 0x58], 0xe0cfabc8
add dword [ebp - 0x58], 0x5163a07d
mov dword [ebp - 0x54], 0xd6cb898a
add dword [ebp - 0x54], 0x7580baa4
mov dword [ebp - 0x50], 0xd1779fa3
sub dword [ebp - 0x50], 0xd1779fa3
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x48629398
sub eax, 0x4822130c
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x2b5ee51
add dword [ebp - 0x5c], 0x71bc7b05
mov dword [ebp - 0x58], 0xe918db51
add dword [ebp - 0x58], 0x58538624
mov dword [ebp - 0x54], 0xd9a035cf
sub dword [ebp - 0x54], 0x7630c963
mov dword [ebp - 0x50], 0xd4bcf5e4
add dword [ebp - 0x50], 0x2b430a1c
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x394ae
push 0
call eax
mov ecx, 0x9c69bb43
sub ecx, 0x9c6968d9
mov edi, eax
mov ebx, 0xc436636f
sub ebx, 0xc3f5536f
add ebx, dword [ebp - 0x4c]
mov edx, 0x44aff060
add edx, 0xe1d06eae
sub dword [ebp - 0x48], ebx
mov esi, dword [ebx]
xor dword [ebp - 0x30], 0xf022a7df
sub esi, edx
add dword [ebp - 0x38], eax
mov dword [edi], esi
mov dword [ebp - 0x28], 0xf3d51ed9
add edi, 4
add ebx, 4
loop 0x402d18
add eax, 0xec447e49
add eax, 0x13bcbe32
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x4af728
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4af7ff
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4af81c
push ebx
push 0x4af82c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004087c4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00405884
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004084ec
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4af7aa
mov ax, 0x83
call fcn.004af34c
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
call fcn.004af6fc
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x4af7b3
call fcn.004af6fc
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af806
lea eax, [ebp - 4]
call fcn.00407a20
ret

Function at 0x4af91c
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4af9e7
jmp 0x4af9db
cmp dword [esi + 0x10], 0x1000
jne 0x4af9c7
test byte [esi + 0x15], 1
jne 0x4af9c7
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4af978
cmp ebp, 2
je 0x4af978
cmp ebp, 0x10
je 0x4af978
cmp ebp, 0x20
jne 0x4af994
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4af994
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4af9a5
mov eax, dword [esi]
add eax, ebx
call fcn.004af914
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4af998
cmp byte [esp + 4], 0
je 0x4af9c7
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4af9e7
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4af94d
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0xd0d9a0
Capabilities:
Encode data using xor

Disassembly:
jmp 0xd0d9aa
pushal
call 0xd0d9b0
pop ebp
sub ebp, 0x10
sub ebp, 0x89d9a0
jmp 0xd0d9c6
mov eax, 0x89d9a0
add eax, ebp
add eax, 0x4c
mov ecx, 0x60c
mov edx, 0x58a4d4d5
xor byte [eax], dl
inc eax
dec ecx
jne 0xd0d9dd
jmp 0xd0d9f0
pop esi
sbb byte [esi + 0x5c], bl
jmp 0x55a6afce
Function at 0x5928c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58e1b8
push 0x594048
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov dword [ebp - 0x2c], 0x35
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0xd8
call fcn.00593f30
add esp, 4
test eax, eax
je 0x59290a
mov ecx, eax
call fcn.00593bb0
mov dword [ebp - 0x1c], eax
jmp 0x592911
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x1c]
add eax, 0xb8
mov ecx, eax
mov dword [ebp - 0x24], eax
call fcn.00593b10
test eax, eax
je 0x592952
cmp dword [ebp - 0x1c], 0
je 0x592948
mov ecx, dword [ebp - 0x1c]
call fcn.00593c20
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00593f40
add esp, 4
mov eax, 0x7895
jmp 0x592a85
wait
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.005932a0
mov ecx, dword [ebp - 0x1c]
call fcn.00592df0
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x24]
call fcn.00593120
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xc4], 0
je 0x5929b0
mov esi, eax
test esi, esi
je 0x59299e
mov ecx, esi
call fcn.00593c20
push esi
call fcn.00593f40
add esp, 4
mov eax, 0x7895
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x592a85
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xbc], 0
mov eax, dword fs:[0x20]
je 0x5929cc
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.00592bc0
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xd0], 0
je 0x592a10
mov esi, eax
test esi, esi
je 0x592a01
mov ecx, esi
call fcn.00593c20
push esi
call fcn.00593f40
add esp, 4
mov eax, 0x7895
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x592a85
cmp dword [ebp - 0x2c], 0
jne 0x592a1c
mov eax, dword ds:[0]
mov ecx, dword [ebp - 0x1c]
call fcn.00592f90
xor dword [ebp - 0x20], eax
mov dword [ebp - 0x20], 0x7895
wait
jmp 0x592a54
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x592a68
mov dword [ebp - 0x20], 0x7895
cmp dword [ebp - 0x1c], 0
je 0x592a82
mov ecx, dword [ebp - 0x1c]
call fcn.00593c20
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00593f40
add esp, 4
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x592aa0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov dword [ecx + 0xc], 0x45f479d7
mov dword [ecx], 0
mov esi, ecx
mov dword [ecx + 0x18], 0xf3cb3e57
mov dword [esi + 0x1c], 0x40092ee0
mov dword [esi + 8], 0x75bbf938
mov dword [esi + 0x10], 0xfd3371b0
mov dword [esi + 0x20], 0x8a4406c7
mov dword [esi + 0x24], 0x2cc8e4f
mov dword [esi + 0x28], 0xd12c3bc9
mov dword [esi + 0x30], 0xebcc478b
mov dword [esi + 0x34], 0x489225be
mov dword [esi + 0x38], 0xafda13f8
mov dword [esi + 0x10], 0x3f4cdc6c
mov dword [esi + 0x28], 0xea71e659
mov dword [esi + 8], 0x1d6efe4e
mov dword [esi + 0x30], 0x5a92a305
mov dword [esi + 0x34], 0x412b44f5
xor eax, eax
mov ecx, eax
inc eax
xor ecx, 0x3c2d1e0f
cmp eax, 0x1e
not ecx
mov dword [esi + eax*4 + 0x38], ecx
jl 0x592b1c
mov eax, dword [esi + 8]
mov edi, dword [esi + 0x38]
mov ecx, dword [esi + 0x28]
mov edx, eax
or edx, edi
and eax, edi
and edx, dword [esi + 0x10]
or edx, eax
mov eax, ecx
shl eax, 5
shr ecx, 0x1b
or eax, ecx
add edx, eax
mov eax, edi
shr eax, 2
add edx, dword [esi + 0x24]
shl edi, 0x1e
add edx, 0x5a837999
or eax, edi
add dword [esi + 0x20], edx
mov dword [esi + 0x38], eax
call fcn.00592890
mov edi, dword [esi + 0x28]
mov ecx, dword [esi + 8]
xor ecx, dword [esi + 0x38]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x20]
xor ecx, edi
mov edx, eax
shl edx, 5
shr eax, 0x1b
or edx, eax
mov eax, edi
shr eax, 2
add ecx, edx
shl edi, 0x1e
add ecx, dword [esi + 0x24]
add ecx, 0x5a837999
or eax, edi
pop edi
add dword [esi + 0x10], ecx
mov dword [esi + 0x28], eax
mov eax, esi
pop esi
ret

Function at 0x5931c0
Capabilities:
Resolve function by hash

Disassembly:
sub esp, 0x10
push esi
push edi
mov esi, ecx
mov edi, dword [esp + 0x1c]
push edi
push 0xec0e4e8e
call fcn.00592eb0
mov ecx, dword [esi + 0x14]
push edi
push 0xffd97fb
mov dword [ecx], eax
call fcn.00592eb0
mov ecx, dword [esi + 0x14]
push edi
push 0x7c0017a5
mov dword [ecx + 4], eax
call fcn.00592eb0
mov ecx, dword [esi + 0x14]
push edi
push 0x4dc9d5a0
mov dword [ecx + 8], eax
call fcn.00592eb0
mov ecx, dword [esi + 0x14]
lea edx, [esp + 8]
mov dword [ecx + 0xc], eax
mov eax, dword [0x58da44]
mov edi, dword [0x58da48]
mov ecx, 0x58da44
push edx
mov dword [edx], eax
mov eax, dword [ecx + 8]
mov dword [edx + 4], edi
mov cl, byte [ecx + 0xc]
mov dword [edx + 8], eax
mov byte [edx + 0xc], cl
mov ecx, esi
call fcn.005930d0
mov ecx, dword [esi + 0x14]
lea eax, [esp + 8]
push eax
mov edx, dword [ecx]
mov dword [0x58da10], edx
call fcn.00592f10
mov dword [esi], eax
test eax, eax
je 0x59328d
push eax
push 0xa84aeb81
call fcn.00592eb0
mov ecx, dword [esi + 0x14]
mov dword [ecx + 0x10], eax
mov eax, dword [esi]
push eax
push 0xfcba95ab
call fcn.00592eb0
mov ecx, dword [esi + 0x14]
mov dword [ecx + 0x14], eax
mov edx, dword [esi]
push edx
push 0x35e273e6
call fcn.00592eb0
mov ecx, dword [esi + 0x14]
mov dword [ecx + 0x18], eax
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x593c40
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58e220
push 0x594048
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov dword [ebp - 0x2c], 0x3459fe
mov dword [ebp - 0x28], 0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0xd8
call fcn.00593f30
add esp, 4
test eax, eax
je 0x593c91
mov ecx, eax
call fcn.00593bb0
mov dword [ebp - 0x1c], eax
jmp 0x593c98
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
add eax, 0xb8
mov ecx, eax
mov dword [ebp - 0x20], eax
call fcn.00593b10
test eax, eax
je 0x593cd2
cmp dword [ebp - 0x1c], 0
je 0x593cc8
mov ecx, dword [ebp - 0x1c]
call fcn.00593c20
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00593f40
add esp, 4
mov eax, 0x2a
jmp 0x593dfe
wait
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
call fcn.00593120
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xbc], 0
mov eax, dword fs:[0x20]
je 0x593d01
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.005932a0
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xc4], 0
je 0x593d44
mov esi, eax
test esi, esi
je 0x593d32
mov ecx, esi
call fcn.00593c20
push esi
call fcn.00593f40
add esp, 4
mov eax, 0x926
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x593dfe
mov ecx, dword [ebp - 0x20]
call fcn.00593550
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x2c], 0
jne 0x593d8c
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xd0], 0
je 0x593d86
mov esi, eax
test esi, esi
je 0x593d77
mov ecx, esi
call fcn.00593c20
push esi
call fcn.00593f40
add esp, 4
mov eax, 0xc3
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x593dfe
mov eax, dword ds:[0]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.00592d00
mov ecx, dword [ebp - 0x20]
call fcn.005936b0
xor dword [ebp - 0x24], eax
wait
jmp 0x593dcd
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], 0
je 0x593dee
mov ecx, dword [ebp - 0x1c]
call fcn.00593c20
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00593f40
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x593dfb
mov dword [ebp - 0x24], 0x4e6
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5947c0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov ecx, dword [esp + 0xc]
push ebp
mov eax, ecx
push edi
sub eax, 0x80
je 0x5947ef
sub eax, 0x40
je 0x5947e8
sub eax, 0x40
je 0x5947e1
pop edi
mov eax, 0xfffffffe
pop ebp
ret
mov edi, 8
jmp 0x5947f4
mov edi, 6
jmp 0x5947f4
mov edi, 4
mov eax, dword [esp + 0x10]
cmp eax, ecx
jge 0x5947fe
mov eax, ecx
sub eax, 0x80
je 0x594825
sub eax, 0x40
je 0x59481e
sub eax, 0x40
je 0x594817
pop edi
mov eax, 0xfffffffd
pop ebp
ret
mov ebp, 0xe
jmp 0x59482a
mov ebp, 0xc
jmp 0x59482a
mov ebp, 0xa
push ebx
mov ebx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x14]
push edi
push ebx
push esi
call fcn.005948c0
add esp, 0xc
cmp ebp, 1
jle 0x594887
lea eax, [ebp - 1]
add ebx, 0x20
mov dword [esp + 0x1c], eax
push edi
push 0x58dcf8
push esi
call fcn.005949a0
push edi
push 0
push esi
call fcn.00594910
push edi
push esi
call fcn.005949e0
push edi
push ebx
push esi
call fcn.005948c0
mov eax, dword [esp + 0x48]
add esp, 0x2c
add ebx, 0x20
dec eax
mov dword [esp + 0x1c], eax
jne 0x59484e
mov ebx, dword [esp + 0x20]
push edi
push 0x58dcf8
push esi
call fcn.005949a0
push edi
push 0
push esi
call fcn.00594910
shl ebp, 5
add ebp, ebx
push edi
push ebp
push esi
call fcn.005948c0
add esp, 0x24
xor eax, eax
pop esi
pop ebx
pop edi
pop ebp
ret

Function at 0x5948c0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov edx, dword [esp + 4]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
and edi, 0xff
mov ebp, edx
mov dword [esp + 0x1c], 4
test edi, edi
jle 0x5948f3
mov ecx, dword [esp + 0x18]
mov eax, ebp
sub ecx, edx
mov esi, edi
mov bl, byte [ecx + eax]
xor byte [eax], bl
inc eax
dec esi
jne 0x5948ea
mov eax, dword [esp + 0x1c]
add ebp, 8
dec eax
mov dword [esp + 0x1c], eax
jne 0x5948dc
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x1000da09
Capabilities:
Query environment variable

Disassembly:
push esi
push edi
mov edi, 0x1008f4c8
push edi
call sym.glib_lite.dll_Ordinal_235
xor esi, esi
inc esi
pop ecx
test eax, eax
je 0x1000da44
push str.G_MAIN_POLL_DEBUG
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov ecx, dword [0x1008f4a8]
test eax, eax
push esi
cmovne ecx, esi
push edi
mov dword [0x1008f4a8], ecx
call sym.glib_lite.dll_Ordinal_236
add esp, 0xc
push ebx
push 0x70
push esi
call sym.glib_lite.dll_Ordinal_196
mov edi, eax
push edi
call sym.glib_lite.dll_Ordinal_207
lea ecx, [edi + 8]
push ecx
call sym.glib_lite.dll_Ordinal_48
xor ebx, ebx
push ebx
push ebx
call sym.glib_lite.dll_Ordinal_124
mov dword [edi + 0x24], eax
mov dword [edi + 0x14], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], esi
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], ebx
mov dword [edi + 0x5c], 0x1001bb93
mov dword [edi + 0x44], ebx
mov dword [edi + 0x48], ebx
call fcn.10001640
mov dword [edi + 0x28], eax
mov dword [edi + 0x68], ebx
call fcn.1001bf14
lea esi, [edi + 0x50]
mov dword [edi + 0x4c], eax
push esi
push eax
call fcn.1001bf00
push esi
push ebx
push edi
call fcn.1000d57e
mov esi, 0x1008f4bc
push esi
call sym.glib_lite.dll_Ordinal_208
push edi
push dword [0x1008f4c4]
call sym.glib_lite.dll_Ordinal_318
add esp, 0x38
mov dword [0x1008f4c4], eax
cmp dword [0x1008f4a8], 0
pop ebx
je 0x1000dae1
push edi
push str.created_context_p_n
call fcn.1002b259
pop ecx
pop ecx
push esi
call sym.glib_lite.dll_Ordinal_209
pop ecx
mov eax, edi
pop edi
pop esi
ret

Function at 0x1000f2a1
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x1008f304]
xor eax, ebp
mov dword [ebp + 0x190], eax
push esi
lea eax, [ebp - 0x80]
xor esi, esi
push eax
push dword [ebp + 0x19c]
mov dword [ebp - 0x80], esi
push esi
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x1000f303
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1000f2fa
push esi
push esi
push esi
lea eax, [ebp - 0x7c]
push 0xffffffffffffffff
push eax
call sym.glib_lite.dll_Ordinal_433
add esp, 0x14
mov esi, eax
push dword [ebp - 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp + 0x190]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1003c212
add ebp, 0x194
leave
ret