joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cf30
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push dword [ebp + 0x10]
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
push 0x2002
call fcn.004107f0
test al, al
jne 0x40cf63
lea ecx, [ebp - 4]
xor bl, bl
call fcn.00410820
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push edi
mov edi, dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x40cfb3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.00a02dc0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x40cfb3
pop edi
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
mov bl, 1
call fcn.00410820
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
lea ecx, [ebp - 4]
xor bl, bl
call fcn.00410820
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40cfd0
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa3d818
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0xa7f064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
setne byte [ebp + 0xb]
test eax, eax
je 0x40d0b0
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x40d0b0
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 4]
lea eax, [eax*2 + 2]
push eax
push dword [esi]
push 0xd
call fcn.0040cf30
push 0
mov bl, al
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.0040c020
mov ecx, dword [ebp - 0x14]
inc ecx
mov byte [ebp - 4], 1
push ecx
push dword [ebp - 0x18]
push 1
call fcn.0040cf30
mov edi, 1
movzx ebx, bl
push edi
test al, al
lea eax, [ebp - 0x24]
push esi
push eax
cmovne ebx, edi
call fcn.0040c020
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0040a530
push dword [ebp - 0x24]
call fcn.009abb15
mov eax, dword [ebp - 0x14]
add esp, 4
inc eax
push eax
push dword [ebp - 0x18]
push 7
call fcn.0040cf30
push dword [ebp - 0x18]
test al, al
movzx ebx, bl
cmovne ebx, edi
call fcn.009abb15
add esp, 4
jmp 0x40d0b2
xor bl, bl
cmp byte [ebp + 0xb], 0
je 0x40d0be
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40e100
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0xa836d8], 0
jne 0x40e138
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0040bbf0
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.009abb15
add esp, 4
test esi, esi
pop esi
jmp 0x40e145
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x40e14f
mov al, 1
mov esp, ebp
pop ebp
ret 4
xor al, al
mov esp, ebp
pop ebp
ret 4

Function at 0x40e160
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0040f330
cmp eax, 0xffffffff
je 0x40e18d
mov ecx, eax
and cl, 0x11
cmp cl, 1
jne 0x40e18d
and eax, 0xfffffffe
push eax
push esi
call fcn.0040e630
test al, al
je 0x40e1cc
cmp byte [0xa836d8], 0
push esi
jne 0x40e1b9
lea eax, [ebp - 0xc]
push eax
call fcn.0040bbf0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.009abb15
add esp, 4
test esi, esi
jmp 0x40e1c1
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40e1cc
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40e1e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa3d9b6
mov eax, dword fs:[0]
push eax
sub esp, 0x360
mov eax, dword [0xa7f064]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [edi]
mov dword [edi + 4], 0
mov word [eax], cx
cmp byte [0xa836d8], cl
jne 0x40e28c
lea eax, [ebp - 0x128]
mov byte [ebp - 0x128], cl
push eax
push 0x114
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x40e368
cmp eax, 0x114
jae 0x40e368
lea eax, [ebp - 0x128]
mov byte [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x36c]
push eax
call fcn.0040bbc0
push eax
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.0040a600
push dword [ebp - 0x36c]
call fcn.009abb15
add esp, 4
mov al, 1
jmp 0x40e36a
xor eax, eax
mov word [ebp - 0x354], ax
lea eax, [ebp - 0x354]
push eax
push 0x114
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
test esi, esi
je 0x40e368
cmp esi, 0x114
jae 0x40e2d7
xor eax, eax
mov ecx, edi
mov word [ebp - 0x12c], ax
lea eax, [ebp - 0x354]
push eax
call fcn.0040a770
mov al, 1
jmp 0x40e36a
lea ecx, [ebp - 0x360]
call fcn.0040a500
mov dword [ebp - 4], 1
cmp esi, dword [ebp - 0x358]
jbe 0x40e2fd
push esi
lea ecx, [ebp - 0x360]
call fcn.0040b350
push dword [ebp - 0x360]
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edx, eax
test edx, edx
je 0x40e35a
mov ecx, dword [ebp - 0x360]
xor eax, eax
mov word [ecx + esi*2], ax
cmp word [ecx], ax
je 0x40e329
inc eax
cmp word [ecx + eax*2], 0
jne 0x40e321
mov dword [ebp - 0x35c], eax
cmp eax, edx
jne 0x40e35a
lea eax, [esi - 1]
cmp eax, edx
jne 0x40e35a
lea eax, [ebp - 0x360]
mov ecx, edi
push eax
call fcn.0040a600
push dword [ebp - 0x360]
call fcn.009abb15
add esp, 4
mov al, 1
jmp 0x40e36a
push dword [ebp - 0x360]
call fcn.009abb15
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.009ab911
mov esp, ebp
pop ebp
ret 4

Function at 0x40e4a0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa3d848
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0xa7f064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0xa836d8], 0
push dword [ebp + 0xc]
jne 0x40e527
lea eax, [ebp - 0x24]
push eax
call fcn.0040bbf0
mov esi, eax
push dword [ebp + 8]
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
call fcn.0040bbf0
push dword [esi]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push dword [ebp - 0x18]
mov esi, eax
call fcn.009abb15
push dword [ebp - 0x24]
call fcn.009abb15
add esp, 8
test esi, esi
je 0x40e548
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x40e548
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x40e560
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0xa836d8], 0
jne 0x40e596
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0040bbf0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.009abb15
add esp, 4
test esi, esi
pop esi
jmp 0x40e5a1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x40e5ab
mov al, 1
mov esp, ebp
pop ebp
ret 4
xor al, al
mov esp, ebp
pop ebp
ret 4

Function at 0x40e630
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0xa836d8], 0
jne 0x40e669
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0040bbf0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.009abb15
add esp, 4
test esi, esi
pop esi
jmp 0x40e677
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x40e681
mov al, 1
mov esp, ebp
pop ebp
ret 8
xor al, al
mov esp, ebp
pop ebp
ret 8

Function at 0x40e690
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 0xc
mov eax, ecx
push esi
mov esi, ecx
and esi, 0x3fff
and eax, 0xf0000000
cmove esi, ecx
cmp byte [0xa836d8], 0
jne 0x40e6e4
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0040bbf0
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.009abb15
add esp, 4
test esi, esi
je 0x40e6fb
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x40e6fb
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x40f330
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0xa836d8], 0
jne 0x40f36a
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0040bbf0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.009abb15
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovne ecx, eax
mov eax, ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x40f3d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa3db48
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0xa7f064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.00409cc0
cmp byte [0xa836d8], 0
jne 0x40f4e1
mov ecx, ebx
call fcn.00409cc0
mov ebx, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0
push 0
call ebx
mov edi, eax
test edi, edi
jne 0x40f43e
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
call fcn.009abb0c
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
push esi
push edi
mov dword [ebp - 4], 0
call ebx
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x40f59e
cmp ebx, edi
ja 0x40f59e
lea ecx, [ebp - 0x28]
call fcn.0040a220
xor eax, eax
mov byte [ebp - 4], 1
test ebx, ebx
je 0x40f4cc
mov edi, 1
cmp byte [esi + edi - 1], 0
jne 0x40f4c3
add eax, esi
lea ecx, [ebp - 0x28]
push eax
call fcn.0040a590
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], edi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040bb90
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 2
call fcn.00409bc0
push dword [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.009abb15
add esp, 4
mov eax, edi
inc edi
sub ebx, 1
jne 0x40f483
mov ebx, dword [ebp - 0x10]
push dword [ebp - 0x28]
cmp eax, ebx
sete bl
call fcn.009abb15
add esp, 4
jmp 0x40f5a0
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
mov ebx, eax
test ebx, ebx
je 0x40f428
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.009abb0c
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
push esi
push ebx
mov dword [ebp - 4], 3
call edi
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x40f59e
cmp edi, ebx
ja 0x40f59e
lea ecx, [ebp - 0x34]
call fcn.0040a500
xor eax, eax
mov byte [ebp - 4], 4
xor ebx, ebx
mov dword [ebp - 0x14], eax
test edi, edi
je 0x40f58c
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov edi, 2
nop
cmp word [esi + edi - 2], 0
jne 0x40f57e
lea eax, [ecx + esi]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040a770
mov ecx, dword [ebp + 8]
lea eax, [ebx + 1]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x18], edi
call fcn.00409bc0
mov eax, dword [ebp - 0x10]
mov ecx, edi
inc ebx
add edi, 2
cmp ebx, eax
jb 0x40f550
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x34]
cmp eax, edi
sete bl
call fcn.009abb15
add esp, 4
jmp 0x40f5a0
xor bl, bl
push esi
call fcn.009abb15
mov al, bl
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x411750
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa3d9e8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0xa7f064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [0xa836d8], 0
je 0x411817
mov edi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [edi]
mov dword [edi + 4], 0
mov word [eax], cx
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
test esi, esi
jne 0x4117c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp esi, dword [edi + 8]
jbe 0x4117d2
push esi
mov ecx, edi
call fcn.0040b350
lea eax, [esi + 1]
push eax
push dword [edi]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [edi]
cmp esi, eax
cmova esi, eax
xor eax, eax
mov word [ecx + esi*2], ax
cmp word [ecx], ax
je 0x4117fa
inc eax
cmp word [ecx + eax*2], 0
jne 0x4117f2
mov dword [edi + 4], eax
test esi, esi
je 0x4117a6
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x18]
call fcn.0040a220
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov byte [eax], 0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, eax
test esi, esi
jne 0x41184e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete bl
jmp 0x411890
cmp esi, dword [ebp - 0x10]
jbe 0x41185c
push esi
lea ecx, [ebp - 0x18]
call fcn.0040b2f0
lea eax, [esi + 1]
push eax
push dword [ebp - 0x18]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp - 0x18]
cmp esi, eax
cmova esi, eax
xor eax, eax
mov byte [ecx + esi], 0
cmp byte [ecx], al
je 0x411887
nop dword [eax]
inc eax
cmp byte [eax + ecx], 0
jne 0x411880
mov dword [ebp - 0x14], eax
test esi, esi
je 0x411841
mov bl, 1
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.0040bcb0
push dword [ebp - 0x18]
call fcn.009abb15
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x414c60
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa3df56
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0xa7f064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [edi + 8], 0
call fcn.004115d0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
lea eax, [ebp - 0x18]
push eax
mov byte [edi + 0x18], 0
mov dword [ebp - 0x18], 0x40000000
mov dword [ebp - 0x14], 0
mov dword [edi + 0x30], 0x40000000
mov dword [edi + 0x34], 0
mov dword [edi + 0x20], 0x40000000
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0x40000000
mov dword [edi + 0x2c], 0
call fcn.00411680
mov byte [edi + 0x19], al
test al, al
je 0x414da0
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x10], esi
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], ebx
test ebx, ebx
jne 0x414d45
cmp esi, 0x70000000
ja 0x414d45
cmp ebx, 0x3333333
ja 0x414d1c
jb 0x414d4f
cmp esi, 0x33333333
jbe 0x414d4f
push 0
push 0x64
push ebx
push esi
call fcn.009abb50
mov ecx, edx
mov edx, eax
mov dword [ebp - 0x10], ecx
shld ecx, eax, 2
shl eax, 2
add edx, eax
mov eax, dword [ebp - 0x10]
adc eax, ecx
shld eax, edx, 4
shl edx, 4
jmp 0x414d7e
mov esi, 0x70000000
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x10]
mov ecx, ebx
shld ecx, eax, 2
mov edx, ebx
shl eax, 2
add esi, eax
push 0
adc edx, ecx
shld edx, esi, 4
push 0x64
shl esi, 4
push edx
push esi
call fcn.009abb50
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, edx
mov edx, dword [ebp - 0x14]
shrd esi, ebx, 5
mov dword [edi + 0x24], eax
shr ebx, 5
mov eax, esi
mov ecx, ebx
mov dword [edi + 0x20], edx
shld ecx, eax, 4
shl eax, 4
add eax, esi
mov dword [edi + 0x28], eax
adc ecx, ebx
mov dword [edi + 0x2c], ecx
mov dword [edi], 0xa43a94
mov dword [edi + 4], 0xa43ac8
mov dword [edi + 0x38], 0
lea ecx, [edi + 0x40]
mov dword [ebp - 4], 0
call fcn.00414a20
lea ecx, [edi + 0x194]
mov byte [ebp - 4], 1
call fcn.0040a500
mov word [edi + 0x190], 0
mov eax, edi
mov dword [edi + 0x1a0], 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push ebx
mov edi, ecx
call fcn.00410ac0
mov esi, dword [edi + 0xf0]
test esi, esi
je 0x4162e3
cmp dword [edi + 0xe8], 0
je 0x4162e3
mov eax, dword [ebp + 8]
mov ecx, dword [esi + eax*4]
mov esi, dword [esi + eax*4 + 4]
sub esi, ecx
mov dword [ebp + 0xc], ecx
cmp esi, 0x4000
jae 0x4162e3
lea eax, [esi - 1]
push eax
push ebx
call fcn.00410a80
test eax, eax
jne 0x4162e5
mov eax, dword [edi + 0xe8]
xor edi, edi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebx + 8]
lea ecx, [eax + ecx*2]
test esi, esi
je 0x4162e3
cmp esi, 0x10
jb 0x4162b1
lea eax, [ecx - 2]
lea eax, [eax + esi*2]
lea ebx, [edx - 2]
lea ebx, [ebx + esi*2]
cmp edx, eax
ja 0x416203
cmp ebx, ecx
jae 0x4162b1
movaps xmm5, xmmword [str._________]
mov eax, esi
movaps xmm6, xmmword [0xa43b30]
and eax, 0xfffffff0
movaps xmm4, xmmword [0xa43b10]
movaps xmm7, xmmword [0xa43b20]
movups xmm0, xmmword [ecx]
add edi, 0x10
movaps xmm3, xmm5
pcmpeqw xmm3, xmm0
movaps xmm2, xmm3
pandn xmm2, xmm0
movaps xmm0, xmm3
pand xmm0, xmm4
pxor xmm3, xmm6
por xmm2, xmm0
movaps xmm1, xmm2
pcmpeqw xmm1, xmm4
pand xmm1, xmm3
movaps xmm3, xmm5
movaps xmm0, xmm1
pand xmm1, xmm7
pandn xmm0, xmm2
por xmm0, xmm1
movups xmmword [edx], xmm0
movups xmm0, xmmword [ecx + 0x10]
add ecx, 0x20
pcmpeqw xmm3, xmm0
movaps xmm2, xmm3
pandn xmm2, xmm0
movaps xmm0, xmm3
pand xmm0, xmm4
pxor xmm3, xmm6
por xmm2, xmm0
movaps xmm1, xmm2
pcmpeqw xmm1, xmm4
pand xmm1, xmm3
movaps xmm0, xmm1
pand xmm1, xmm7
pandn xmm0, xmm2
por xmm0, xmm1
movups xmmword [edx + 0x10], xmm0
add edx, 0x20
cmp edi, eax
jb 0x416224
cmp edi, esi
jae 0x4162e3
sub esi, edi
mov edi, 0xf05c
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
cmp eax, 0x2f
jne 0x4162d2
mov eax, 0x5c
jmp 0x4162d8
cmp eax, 0x5c
cmove eax, edi
mov word [edx], ax
add edx, 2
sub esi, 1
jne 0x4162c0
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4285e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa3f28b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0xa7f064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 3
mov dword [edi + 0x11], 0
mov word [edi + 0x15], 0
mov byte [edi + 0x17], 0
call fcn.0040a500
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 4
call fcn.0040a500
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 5
call fcn.0040a500
lea esi, [edi + 0x78]
mov dword [edi + 0x44], 0
xor eax, eax
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], eax
lea ecx, [esi + 0x18]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 6
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.0040a500
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 7
call fcn.0040a500
lea esi, [edi + 0xa8]
mov byte [ebp - 4], 8
mov dword [ebp - 0x14], esi
lea ecx, [esi + 0x18]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.0040a500
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 9
call fcn.0040a500
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4287b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa3f322
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0xa7f064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 0x14], 0
mov dword [edi], 0xa44540
mov dword [edi + 4], 0xa44554
mov dword [edi + 8], 0xa44568
mov dword [edi + 0xc], 0xa44578
mov dword [edi + 0x10], 0xa44588
mov byte [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 2
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
call fcn.0040a500
lea ecx, [edi + 0x54]
mov byte [ebp - 4], 3
call fcn.0040a500
lea esi, [edi + 0x60]
mov byte [ebp - 4], 4
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0040e7b0
lea ecx, [esi + 0x28]
call fcn.0040a500
lea ecx, [edi + 0x98]
mov byte [ebp - 4], 5
call fcn.004251a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4288b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa3f340
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0xa7f064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0xcc]
call fcn.009abb15
push dword [esi + 0xc0]
call fcn.009abb15
push dword [esi + 0x9c]
call fcn.009abb15
push dword [esi + 0x90]
call fcn.009abb15
push dword [esi + 0x30]
call fcn.009abb15
push dword [esi + 0x24]
call fcn.009abb15
push dword [esi + 0x18]
call fcn.009abb15
add esp, 0x1c
mov ecx, dword [esi + 0xc]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x428930
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 8]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x428944
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 4]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x428958
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x42896b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret