joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40227f
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 1
mov eax, dword [ebp + 8]
shr eax, 2
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
shr eax, 1
add eax, 3
push 4
pop ecx
imul ecx, ecx, 0
mov edx, dword [ebp - 8]
mov dword [edx + ecx], eax
mov eax, dword [ebp - 8]
add eax, 0x10
mov dword [ebp - 8], eax
and dword [ebp - 0x14], 0
jmp 0x4022ce
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jae 0x4022e6
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
mov dword [ecx + eax*4], edx
jmp 0x4022be
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4 - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
imul eax, eax, 3
mov ecx, dword [ebp - 8]
lea eax, [ecx + eax*4 + 0x70]
mov dword [ebp - 0x1c], eax
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0
jne 0x402385
mov eax, dword [ebp - 4]
shr eax, 8
and eax, 0xff
movzx eax, byte [eax + str.cw]
xor eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
shr ecx, 0x10
and ecx, 0xff
movzx ecx, byte [ecx + str.cw]
shl ecx, 8
or eax, ecx
mov ecx, dword [ebp - 4]
shr ecx, 0x18
movzx ecx, byte [ecx + str.cw]
shl ecx, 0x10
or eax, ecx
mov ecx, dword [ebp - 4]
and ecx, 0xff
movzx ecx, byte [ecx + str.cw]
shl ecx, 0x18
or eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
shl eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
and eax, 0x100
je 0x40237d
mov dword [ebp - 0xc], 0x1b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
jmp 0x4023e5
cmp dword [ebp - 0x10], 4
jne 0x4023e5
cmp dword [ebp + 8], 6
jbe 0x4023e5
mov eax, dword [ebp - 4]
and eax, 0xff
movzx eax, byte [eax + str.cw]
mov ecx, dword [ebp - 4]
shr ecx, 8
and ecx, 0xff
movzx ecx, byte [ecx + str.cw]
shl ecx, 8
or eax, ecx
mov ecx, dword [ebp - 4]
shr ecx, 0x10
and ecx, 0xff
movzx ecx, byte [ecx + str.cw]
shl ecx, 0x10
or eax, ecx
mov ecx, dword [ebp - 4]
shr ecx, 0x18
movzx ecx, byte [ecx + str.cw]
shl ecx, 0x18
or eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
xor edx, dword [ecx + eax]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x1c]
jne 0x402307
leave
ret 4
Function at 0x40436c
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e8
mov eax, dword [0x47c0a0]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx eax, ax
cmp eax, 6
je 0x4043c7
push str.SetDefaultDllDirectories
push 0x471d38
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2e8], eax
cmp dword [ebp - 0x2e8], 0
je 0x4043c7
push 0xc00
call dword [ebp - 0x2e8]
test eax, eax
je 0x4043c7
jmp 0x404515
push 0x106
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0x2e0], eax
cmp dword [ebp - 0x2e0], 0
je 0x4043f4
cmp dword [ebp - 0x2e0], 0x104
jbe 0x4043f9
jmp 0x404515
mov eax, dword [ebp - 0x2e0]
movzx eax, word [ebp + eax*2 - 0x2d6]
cmp eax, 0x5c
je 0x40442a
push 0x5c
pop eax
mov ecx, dword [ebp - 0x2e0]
mov word [ebp + ecx*2 - 0x2d4], ax
mov eax, dword [ebp - 0x2e0]
inc eax
mov dword [ebp - 0x2e0], eax
mov eax, dword [str.userenv]
mov dword [ebp - 0x2e4], eax
mov eax, dword [ebp - 0x2e4]
movsx eax, byte [eax]
test eax, eax
je 0x404515
mov eax, dword [ebp - 0x2e0]
lea eax, [ebp + eax*2 - 0x2d4]
mov dword [ebp - 0x2dc], eax
mov eax, dword [ebp - 0x2e4]
mov al, byte [eax]
mov byte [ebp - 0x2d5], al
mov eax, dword [ebp - 0x2e4]
inc eax
mov dword [ebp - 0x2e4], eax
movsx eax, byte [ebp - 0x2d5]
test eax, eax
jne 0x404481
jmp 0x4044a2
movzx ax, byte [ebp - 0x2d5]
mov ecx, dword [ebp - 0x2dc]
mov word [ecx], ax
mov eax, dword [ebp - 0x2dc]
inc eax
inc eax
mov dword [ebp - 0x2dc], eax
jmp 0x404459
push 2
pop eax
imul eax, eax, 0
push 0x2e
pop ecx
mov edx, dword [ebp - 0x2dc]
mov word [edx + eax], cx
push 2
pop eax
shl eax, 0
push 0x64
pop ecx
mov edx, dword [ebp - 0x2dc]
mov word [edx + eax], cx
push 2
pop eax
shl eax, 1
push 0x6c
pop ecx
mov edx, dword [ebp - 0x2dc]
mov word [edx + eax], cx
push 2
pop eax
imul eax, eax, 3
push 0x6c
pop ecx
mov edx, dword [ebp - 0x2dc]
mov word [edx + eax], cx
push 2
pop eax
shl eax, 2
xor ecx, ecx
mov edx, dword [ebp - 0x2dc]
mov word [edx + eax], cx
push 8
push 0
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x404435
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045a9b0
leave
ret
Function at 0x40d6f6
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 8], 0
and dword [eax + 0xc], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x20], 0x6a09e667
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x20], 0xbb67ae85
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x20], 0x3c6ef372
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x20], 0xa54ff53a
push 4
pop eax
shl eax, 2
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x20], 0x510e527f
push 4
pop eax
imul eax, eax, 5
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x20], 0x9b05688c
push 4
pop eax
imul eax, eax, 6
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x20], 0x1f83d9ab
push 4
pop eax
imul eax, eax, 7
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x20], 0x5be0cd19
pop ebp
ret 4

Function at 0x40e09d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
call fcn.0045af90
add esp, 0x18
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.0040dfe5
leave
ret 0xc

Function at 0x411ec7
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea ecx, [ebp - 8]
call fcn.00411dc8
push dword [ebp + 0x10]
push 0x2002
lea ecx, [ebp - 8]
call fcn.00416b32
movzx eax, al
test eax, eax
jne 0x411f00
mov byte [ebp - 1], 0
lea ecx, [ebp - 8]
call fcn.00411dda
mov al, byte [ebp - 1]
jmp 0x411f92
lea ecx, [ebp - 8]
call fcn.0040e357
push eax
lea ecx, [ebp - 0x14]
call fcn.00411e06
lea ecx, [ebp - 0x14]
call fcn.0040e304
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x411f3b
mov byte [ebp - 2], 0
lea ecx, [ebp - 0x14]
call fcn.00411e2b
lea ecx, [ebp - 8]
call fcn.00411dda
mov al, byte [ebp - 2]
jmp 0x411f92
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call fcn.0045c440
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.00411e2b
lea ecx, [ebp - 8]
call fcn.0040e357
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x411f7b
mov byte [ebp - 3], 0
lea ecx, [ebp - 8]
call fcn.00411dda
mov al, byte [ebp - 3]
jmp 0x411f92
lea ecx, [ebp - 8]
call fcn.00411deb
mov byte [ebp - 4], 1
lea ecx, [ebp - 8]
call fcn.00411dda
mov al, byte [ebp - 4]
leave
ret 0xc
Function at 0x413511
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4687b4
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x47c0a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, byte [0x47ef51]
test eax, eax
jne 0x413587
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
call fcn.00410482
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
call fcn.0040e357
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [ebp - 0x18], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0040e2ca
cmp dword [ebp - 0x18], 0
je 0x413585
mov al, 1
jmp 0x41359d
jmp 0x41359b
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x41359b
mov al, 1
jmp 0x41359d
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8

Function at 0x4137c7
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4686e2
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x47c0a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, byte [0x47ef51]
test eax, eax
jne 0x41383c
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.00410482
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
and dword [ebp - 4], 0
push 0
mov ecx, dword [ebp - 0x18]
call fcn.0040e357
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x1c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040e2ca
cmp dword [ebp - 0x1c], 0
je 0x41383a
mov al, 1
jmp 0x4138b2
jmp 0x41384f
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41384f
mov al, 1
jmp 0x4138b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x413860
xor al, al
jmp 0x4138b2
lea ecx, [ebp - 0x60]
call fcn.004138c1
mov dword [ebp - 4], 1
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0x60]
call fcn.004149a7
movzx eax, al
test eax, eax
jne 0x413898
mov byte [ebp - 0xd], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.004138e0
mov al, byte [ebp - 0xd]
jmp 0x4138b2
lea ecx, [ebp - 0x60]
call fcn.0041344a
mov byte [ebp - 0xe], al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.004138e0
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 4
Function at 0x413baf
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468705
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x47c0a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
call fcn.00414910
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x413c0f
mov eax, dword [ebp - 0x10]
and eax, 0x10
jne 0x413c0f
mov eax, dword [ebp - 0x10]
and eax, 1
je 0x413c0f
mov eax, dword [ebp - 0x10]
and eax, 0xfffffffe
push eax
push dword [ebp + 8]
call fcn.00413511
movzx eax, al
test eax, eax
jne 0x413c0f
xor al, al
jmp 0x413c70
movzx eax, byte [0x47ef51]
test eax, eax
jne 0x413c5d
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.00410482
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
call fcn.0040e357
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x1c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040e2ca
cmp dword [ebp - 0x1c], 0
je 0x413c5b
mov al, 1
jmp 0x413c70
jmp 0x413c6e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x413c6e
mov al, 1
jmp 0x413c70
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 4
Function at 0x414910
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468705
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x47c0a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, byte [0x47ef51]
test eax, eax
jne 0x41497e
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.00410482
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
call fcn.0040e357
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x1c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040e2ca
mov eax, dword [ebp - 0x1c]
jmp 0x414998
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x414995
mov eax, dword [ebp - 0x10]
jmp 0x414998
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 4
Function at 0x415784
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4157b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4157b7
xor al, al
jmp 0x4157d4
xor edx, edx
mov eax, dword [ebp - 4]
mov cl, 0x20
call fcn.00464d60
xor ecx, ecx
add eax, dword [ebp - 8]
adc edx, ecx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov al, 1
leave
ret 4

Function at 0x415abb
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 0xc], 0x400000
jbe 0x415ad4
mov dword [ebp + 0xc], 0x400000
and dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [ebp - 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
call fcn.00411daa
mov byte [ebp - 1], al
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov al, byte [ebp - 1]
leave
ret 0xc

Function at 0x417e0e
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x47c0a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [eax], SysReAllocStringLen
and dword [eax + 4], 0
mov dword [ebp - 0x64], 0x40
push str.GlobalMemoryStatusEx
push 0x471d38
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x417e7a
lea eax, [ebp - 0x64]
push eax
call dword [ebp - 0x68]
test eax, eax
je 0x417e7a
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.00417f18
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov al, 1
jmp 0x417ea2
mov dword [ebp - 0x24], 0x20
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push dword [ebp - 0x1c]
push dword [ebp - 0xc]
call fcn.00417f53
xor ecx, ecx
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045a9b0
leave
ret 4
Function at 0x41cbac
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468ec1
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x47c0a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
and dword [eax], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.00411dc8
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0041ccfe
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.00411dc8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.00411dc8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.00411dc8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00411dc8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.00411dc8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.00411dc8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.0041af52
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.0041cb88
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret

Function at 0x41d2e1
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468ec1
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x47c0a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.0041b116
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.0040e2ca
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.0040e2ca
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.0040e2ca
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0040e2ca
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.0040e2ca
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.0040e2ca
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.0040e2ca
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0041cd4f
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.0040e2ca
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret
Function at 0x4267c3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0x100000
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jbe 0x4267de
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
push dword [ebp + 0xc]
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 8], eax
cmp dword [ebp + 0x14], 0
je 0x42680a
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp - 8], 0
jne 0x42681f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x42681f
xor eax, eax
jmp 0x426837
cmp dword [ebp - 8], 0
je 0x42682b
mov byte [ebp - 0xc], 1
jmp 0x42682f
mov byte [ebp - 0xc], 0
push dword [ebp - 0xc]
call fcn.004265cb
leave
ret 0x10

Function at 0x426cb2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0x14], 0
je 0x426cc4
mov eax, dword [ebp + 0x14]
and dword [eax], 0
mov dword [ebp - 0xc], 1
cmp dword [ebp + 0x10], 0
jbe 0x426d40
mov dword [ebp - 8], 0x8000
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x10]
jbe 0x426ce6
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push dword [ebp + 0xc]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp + 8]
add eax, dword [edx + 8]
adc ecx, dword [edx + 0xc]
mov edx, dword [ebp + 8]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 4]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0x14], 0
je 0x426d40
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
add eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
cmp dword [ebp - 0xc], 0
je 0x426d4c
mov byte [ebp - 0x10], 1
jmp 0x426d50
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
call fcn.004265cb
leave
ret 0x10
Function at 0x4334ea
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469f8a
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x47c0a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0040e5ee
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0040e5ee
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
and dword [eax + 0x18], 0
and dword [eax + 0x1c], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x20], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x21], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.0040f8d6
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.004333d8
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret

Function at 0x433572
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a087
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x47c0a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
call fcn.00438623
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00433499
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.0040e2ca
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0040e638
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.00434e71
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret

Function at 0x435029
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a01d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x47c0a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 7
inc ebp
cld
pop es
add byte [eax], al
add byte [ebx - 0x3e7e0fb3], cl
test al, 0
add byte [eax], al
call fcn.00433499
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call fcn.00433499
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0040e2ca
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.0040e2ca
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0040e2ca
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0041aaa6
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.0041aaa6
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.0041aaa6
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.0041aaa6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret
Function at 0x436624
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a01d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x47c0a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00411dc8
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00411dc8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.00411dc8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00411dc8
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x11], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x12], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x13], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x14], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x15], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x16], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x17], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0040f8d6
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.0040f8d6
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0040f8d6
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.0042dc3d
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call fcn.004333d8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0xa8
call fcn.004333d8
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret