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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
cmp dword [0x43642c], 0
je 0x40784d
mov eax, dword [0x43642c]
jmp 0x4079b0
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.00407e90
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4078e6
lea ecx, [ebp - 0x310]
push ecx
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.004140a6
add esp, 0x14
push 0x42f16c
push 0x42f170
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.00414015
add esp, 0x14
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.00413fcf
add esp, 8
test eax, eax
je 0x4078e4
push 0x42f17c
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004132d0
add esp, 8
jmp 0x4078fa
push str.CopyProt.rsi
lea edx, [ebp - 0x20c]
push edx
call fcn.004132d0
add esp, 8
push 0x8000
lea eax, [ebp - 0x20c]
push eax
call fcn.00413ce9
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4079ab
mov ecx, dword [ebp - 4]
push ecx
call fcn.00413c5f
add esp, 4
mov dword [0x436434], eax
cmp dword [0x436434], 0
jle 0x40799f
cmp dword [0x436430], 0
je 0x40794d
mov edx, dword [0x436430]
push edx
call fcn.00413051
add esp, 4
mov dword [0x43642c], 0
mov eax, dword [0x436434]
push eax
call fcn.00413099
add esp, 4
mov dword [0x436430], eax
cmp dword [0x436430], 0
je 0x40799f
mov ecx, dword [0x436434]
push ecx
mov edx, dword [0x436430]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00413a21
add esp, 0xc
cmp eax, dword [0x436434]
jne 0x40799f
mov dword [0x43642c], 1
mov ecx, dword [ebp - 4]
push ecx
call fcn.00413941
add esp, 4
mov eax, dword [0x43642c]
mov esp, ebp
pop ebp
ret

Function at 0x407a7c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x407abf
push 2
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00412ec0
add esp, 4
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esp, ebp
pop ebp
ret

Function at 0x407aff
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x104
lea eax, [ebp - 4]
push eax
push 0x436010
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x407b2f
push str.User_
push 0x436010
call fcn.004132d0
add esp, 8
mov eax, 0x436010
mov esp, ebp
pop ebp
ret

Function at 0x407b38
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x105
lea eax, [ebp - 4]
push eax
push 0x435f08
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x407b68
push str.Computer_
push 0x435f08
call fcn.004132d0
add esp, 8
mov eax, 0x435f08
mov esp, ebp
pop ebp
ret
Function at 0x40aa81
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
mov ax, word [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004102c4
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40aaab
mov eax, dword [ebp - 4]
jmp 0x40ab97
lea edx, [ebp - 8]
push edx
mov ax, word [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040a6b0
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40aae1
mov edx, dword [ebp - 4]
push edx
movsx eax, word [ebp + 0xc]
push eax
push 3
call fcn.00410c1b
add esp, 0xc
jmp 0x40ab97
push 0x80
push 0x4366fc
call fcn.0040c730
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40ab04
mov eax, dword [ebp - 4]
jmp 0x40ab97
push 0x4366fc
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40ab2f
push 0x4366fc
call fcn.0040fb96
push eax
movsx ecx, word [ebp + 0xc]
push ecx
push 4
call fcn.00410c1b
add esp, 0x10
jmp 0x40ab97
movsx edx, byte [0x436800]
test edx, edx
je 0x40ab95
push 0x436800
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40ab95
push 0x80
push 0x436800
call fcn.0040c730
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40ab6a
mov eax, dword [ebp - 4]
jmp 0x40ab97
push 0x436800
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40ab95
push 0x436800
call fcn.0040fb96
push eax
movsx eax, word [ebp + 0xc]
push eax
push 4
call fcn.00410c1b
add esp, 0x10
jmp 0x40ab97
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40b3ba
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax + 8]
cmp ecx, 1
jle 0x40b4c8
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 8]
sub eax, 1
imul eax, eax, 0x94
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
add ecx, 0xac
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0x10], 0
jbe 0x40b4c8
cmp dword [ebp - 0x10], 0x7fff
jbe 0x40b40a
mov word [ebp - 8], 0x7fff
jmp 0x40b412
mov dx, word [ebp - 0x10]
mov word [ebp - 8], dx
mov eax, dword [ebp - 8]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00413a21
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
and eax, 0xffff
cmp dword [ebp - 4], eax
je 0x40b4a2
mov ecx, dword [ebp - 8]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00413a21
add esp, 0xc
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
and ecx, 0xffff
cmp dword [ebp - 4], ecx
je 0x40b4a2
mov edx, dword [ebp + 8]
push edx
call fcn.00413941
add esp, 4
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
and ecx, 0xffff
push ecx
call fcn.0040fb96
push eax
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 0x16]
push eax
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 0x14]
push edx
push 0xa
call fcn.00410c1b
add esp, 0x18
jmp 0x40b4ca
mov eax, dword [ebp - 8]
and eax, 0xffff
mov ecx, dword [ebp - 0x10]
sub ecx, eax
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 8]
and edx, 0xffff
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0xc], eax
jmp 0x40b3ef
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40c730
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
call fcn.004103f9
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x40c764
mov edx, dword [ebp + 8]
push edx
call fcn.0040fb96
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0xd
call fcn.00410c1b
add esp, 0x10
jmp 0x40c766
xor eax, eax
pop ebp
ret

Function at 0x40d4ab
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call fcn.004103f9
mov dword [ebp - 8], eax
push 0x4346ec
lea eax, [ebp - 0x10]
push eax
call fcn.004132d0
add esp, 8
mov ecx, dword [ebp + 8]
mov dl, byte [ecx]
mov byte [ebp - 0x10], dl
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00410406
add esp, 4
cmp dword [ebp - 4], 2
jne 0x40d4f8
mov eax, 2
jmp 0x40d521
cmp dword [ebp - 4], 4
jne 0x40d505
mov eax, 3
jmp 0x40d521
cmp dword [ebp - 4], 3
jne 0x40d512
mov eax, 1
jmp 0x40d521
cmp dword [ebp - 4], 5
jne 0x40d51f
mov eax, 4
jmp 0x40d521
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40fdec
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x248]
push ecx
call fcn.004132d0
add esp, 8
push 0x4347d8
lea edx, [ebp - 0x248]
push edx
call fcn.004132e0
add esp, 8
push 0x13e
push 0
lea eax, [ebp - 0x140]
push eax
call fcn.00412ad0
add esp, 0xc
lea ecx, [ebp - 0x140]
push ecx
lea edx, [ebp - 0x248]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0xffffffff
je 0x410023
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x248]
push ecx
call fcn.004132d0
add esp, 8
movsx edx, byte [ebp - 0x10]
test edx, edx
je 0x40fe7f
lea eax, [ebp - 0x10]
mov dword [ebp - 0x250], eax
jmp 0x40fe8b
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x250], ecx
mov edx, dword [ebp - 0x250]
push edx
lea eax, [ebp - 0x248]
push eax
call fcn.004132e0
add esp, 8
movsx ecx, byte [ebp - 0x10]
test ecx, ecx
je 0x40feb4
lea edx, [ebp - 0x10]
mov dword [ebp - 0x254], edx
jmp 0x40fec0
lea eax, [ebp - 0x114]
mov dword [ebp - 0x254], eax
push 0x4347dc
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.00415320
add esp, 8
test eax, eax
je 0x40fff5
movsx edx, byte [ebp - 0x10]
test edx, edx
je 0x40feef
lea eax, [ebp - 0x10]
mov dword [ebp - 0x258], eax
jmp 0x40fefb
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x258], ecx
push 0x4347e0
mov edx, dword [ebp - 0x258]
push edx
call fcn.00415320
add esp, 8
test eax, eax
je 0x40fff5
mov eax, dword [ebp - 0x140]
and eax, 0x10
test eax, eax
je 0x40ff93
lea ecx, [ebp - 0x248]
push ecx
call fcn.00412ec0
add esp, 4
movsx edx, byte [ebp + eax - 0x249]
cmp edx, 0x5c
je 0x40ff54
push 0x4347e4
lea eax, [ebp - 0x248]
push eax
call fcn.004132e0
add esp, 8
lea ecx, [ebp - 0x248]
push ecx
call fcn.0040fdec
add esp, 4
test eax, eax
je 0x40ff91
lea edx, [ebp - 0x248]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004132d0
add esp, 8
mov ecx, dword [ebp - 0x144]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
jmp 0x410025
jmp 0x40fff5
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
lea edx, [ebp - 0x248]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0xffffffff
je 0x40fff5
mov eax, dword [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004132d0
add esp, 8
mov eax, dword [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
jmp 0x410025
lea ecx, [ebp - 0x140]
push ecx
mov edx, dword [ebp - 0x144]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41001e
mov eax, dword [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x410025
jmp 0x40fe4c
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x410029
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41007b
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0xffffffff
je 0x41007b
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
and edx, 1
cmp edx, 1
jne 0x410074
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
and ecx, 0xfffffffe
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040c730
add esp, 8
mov eax, 1
jmp 0x41007d
xor eax, eax
pop ebp
ret

Function at 0x410388
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movsx eax, word [ebp + 8]
add eax, 0x41
movsx ecx, al
push ecx
push 0x4347e8
lea edx, [ebp - 4]
push edx
call fcn.00412b28
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x4103e3
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
call fcn.0040fb96
push eax
push 0x6b
call fcn.00410c1b
add esp, 8
jmp 0x4103f5
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4109a1
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov dword [ebp - 8], 0
mov dword [ebp - 0xbc], 0xffffffff
mov dword [ebp - 0xb8], 0
mov dword [ebp - 4], 0
push 1
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0xb4]
push ecx
mov dx, word [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0040b5b7
add esp, 0x14
test eax, eax
jne 0x410a9f
lea ecx, [ebp - 0xc0]
push ecx
mov edx, dword [ebp - 0xbc]
push edx
call fcn.0040fb44
add esp, 8
test eax, eax
je 0x410a9f
lea eax, [ebp - 4]
push eax
push 0x4366fc
call fcn.00410029
add esp, 8
mov dword [ebp - 0xb8], eax
movsx ecx, word [ebp - 0xac]
imul ecx, ecx, 0x3e8
mov edx, dword [ebp - 0xc0]
add edx, ecx
push edx
push 0
mov eax, dword [ebp - 0xbc]
push eax
call fcn.00410096
add esp, 0xc
test eax, eax
jne 0x410a5e
mov dword [ebp - 8], 1
jmp 0x410a85
movsx ecx, word [ebp - 0xac]
imul ecx, ecx, 0x3e8
mov edx, dword [ebp - 0xc0]
add edx, ecx
push edx
push 0
mov eax, dword [ebp - 0xbc]
push eax
call fcn.00410147
add esp, 0xc
cmp dword [ebp - 0xb8], 0
je 0x410a9f
mov ecx, dword [ebp - 4]
push ecx
push 0x4366fc
call fcn.0041007f
add esp, 8
cmp dword [ebp - 0xbc], 0xffffffff
je 0x410ab7
mov edx, dword [ebp - 0xbc]
push edx
call fcn.00413941
add esp, 4
cmp dword [ebp - 8], 0
je 0x410b13
mov eax, dword [0x42f7d8]
push eax
push 0x4366fc
call fcn.0040c730
add esp, 8
movsx ecx, byte [0x436800]
test ecx, ecx
je 0x410aff
push 0x436800
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x410aff
mov edx, dword [0x42f7dc]
push edx
push 0x436800
call fcn.0040c730
add esp, 8
push 0x4366fc
push 0x8e
call fcn.00410c1b
add esp, 8
jmp 0x410b15
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x413fcf
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x413fef
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041528c
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x414012
test byte [esp + 8], 2
je 0x414012
call fcn.004152ff
mov dword [eax], 0xd
call fcn.00415308
mov dword [eax], 5
jmp 0x413feb
xor eax, eax
ret

Function at 0x41a1cd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x435880
cmp edx, dword [eax]
je 0x41a1ef
add eax, 8
inc ecx
cmp eax, 0x435910
jl 0x41a1e0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x435880]
jne 0x41a31d
mov eax, dword [0x438b30]
cmp eax, 1
je 0x41a2f7
test eax, eax
jne 0x41a220
cmp dword [0x434f60], 1
je 0x41a2f7
cmp edx, 0xfc
je 0x41a31d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41a257
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004132d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00412ec0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41a29a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00412ec0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x42b484
push edi
call fcn.00413130
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004132d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004132e0
lea eax, [ebp - 0xa0]
push 0x42b464
push eax
call fcn.004132e0
push dword [esi + 0x435884]
lea eax, [ebp - 0xa0]
push eax
call fcn.004132e0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041bc0d
add esp, 0x2c
pop edi
jmp 0x41a31d
lea eax, [ebp + 8]
lea esi, [esi + 0x435884]
push 0
push eax
push dword [esi]
call fcn.00412ec0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x420255
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x420297
call fcn.00425919
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x420297
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x42028e
xor eax, eax
jmp 0x42029f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004202a5
pop edi
pop esi
pop ebx
ret 4
Function at 0x4245f5
Capabilities:
Set registry value

Disassembly:
mov eax, 0x4273c0
call fcn.00415680
push ecx
push ecx
push esi
push 0x10
call fcn.004216f8
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
and dword [ebp - 4], 0
test esi, esi
je 0x424642
mov ecx, esi
call fcn.00421894
mov eax, dword [0x434a54]
lea ecx, [esi + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
mov byte [ebp - 4], 2
mov dword [esi], vtable.CArchiveException.0
mov dword [esi + 8], eax
call fcn.004214e1
jmp 0x424644
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push 0x42d358
push eax
mov dword [ebp - 0x10], esi
call fcn.0041574e
pop esi

Function at 0x4263cc
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4263fa
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x426418
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00426332
jmp 0x426418
mov eax, dword [esi + 0x14]
test eax, eax
je 0x426418
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00426332
test edi, edi
mov eax, edi
jne 0x426402
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4096f7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x449020]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
mov ebx, ecx
mov eax, edx
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], eax
cmp dword [ebx], 2
lea esi, [ebx + 4]
jne 0x409764
mov ecx, dword [esi]
lea edx, [esp + 0xc]
call fcn.004080a7
push edi
push edi
push edi
push edi
lea ecx, [esp + 0x24]
push ecx
push 4
mov ecx, edx
push ecx
push 0x20
pop edx
mov ecx, eax
call fcn.0040907a
xor edx, edx
movzx eax, byte [esp + edx + 0x14]
mov ecx, edx
and ecx, 3
shl ecx, 3
shl eax, cl
xor edi, eax
inc edx
cmp edx, 0x20
jb 0x409745
mov eax, dword [esp + 0x10]
mov dword [esi], edi
xor edi, edi
cmp dword [ebx], 3
jne 0x40978f
push edi
push edi
push edi
push edi
lea ecx, [esp + 0x24]
push ecx
push 0x20
push esi
push 0x20
pop edx
mov ecx, eax
call fcn.0040907a
push 0x20
lea eax, [esp + 0x18]
push eax
push esi
call fcn.00424830
add esp, 0xc
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00423145
mov esp, ebp
pop ebp
Function at 0x40e032
Capabilities:
Move file

Disassembly:
push 0x14c
mov eax, 0x439d84
call fcn.00438b46
mov edi, ecx
xor ebx, ebx
push ebx
push ebx
mov dword [ebp - 0x140], ebx
call fcn.0040126f
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
jne 0x40e064
xor al, al
jmp 0x40e399
push ecx
push eax
lea ecx, [ebp - 0x158]
call fcn.00401a88
lea ecx, [ebp - 0x158]
mov dword [ebp - 4], ebx
call fcn.00401895
mov esi, eax
call fcn.0040188a
mov ecx, edi
mov edx, eax
call fcn.0040126f
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov edx, eax
test edx, edx
je 0x40e38c
lea ecx, [ebp - 0x158]
call fcn.00401895
cmp edx, eax
jae 0x40e38c
push ebx
push ebx
mov ecx, edi
call fcn.0040126f
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x40e38c
push ecx
push eax
lea ecx, [ebp - 0x14c]
call fcn.00401a88
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 1
call fcn.00401895
mov esi, eax
call fcn.0040188a
mov ecx, edi
mov edx, eax
call fcn.0040126f
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov edx, eax
test edx, edx
je 0x40e381
lea ecx, [ebp - 0x14c]
call fcn.00401895
cmp edx, eax
jae 0x40e381
lea ecx, [ebp - 0x158]
call fcn.0040188a
push eax
lea ecx, [ebp - 0xb8]
call fcn.00401d16
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 2
call fcn.0040188a
push eax
lea ecx, [ebp - 0xa0]
call fcn.00401d16
lea edx, [ebp - 0xb8]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.00410bbe
lea edx, [ebp - 0xa0]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00410bbe
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.00405d09
test al, al
jne 0x40e1be
mov edx, ecx
lea ecx, [ebp - 0x70]
call fcn.0040b880
test eax, eax
je 0x40e1be
mov edx, edi
lea ecx, [ebp - 0x88]
call fcn.00410bbe
lea edx, [ebp - 0x58]
mov dword [ebp - 0x140], 1
mov ecx, eax
call fcn.0040b880
mov byte [ebp - 0x139], bl
test eax, eax
je 0x40e1c5
mov byte [ebp - 0x139], 1
test byte [ebp - 0x140], 1
je 0x40e1d9
lea ecx, [ebp - 0x88]
call fcn.00401e5c
cmp byte [ebp - 0x139], 0
jne 0x40e35b
lea ecx, [ebp - 0x28]
call fcn.004021e6
mov byte [ebp - 4], 6
mov dword [ebp - 0x140], ebx
lea ecx, [ebp - 0x28]
call fcn.00405d09
test al, al
je 0x40e299
push edi
call fcn.0040335d
mov edx, ebx
lea ecx, [ebp - 0xe8]
invalid
Function at 0x414c4c
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebp, 0x100
mov ecx, edi
movzx eax, byte [ecx + str.cw]
mov byte [eax + 0x44f430], cl
inc ecx
cmp ecx, ebp
jl 0x414c59
mov bl, byte [edi + str.cw]
mov dl, 2
mov cl, bl
mov byte [edi*4 + 0x450131], bl
mov byte [edi*4 + 0x450130], bl
mov byte [edi*4 + 0x44fd33], bl
mov byte [edi*4 + 0x44fd30], bl
mov byte [edi*4 + 0x44f933], bl
mov byte [edi*4 + 0x44f932], bl
mov byte [edi*4 + 0x44f532], bl
mov byte [edi*4 + 0x44f531], bl
call fcn.00414c31
mov dl, 3
mov byte [edi*4 + 0x450133], al
mov cl, bl
mov byte [edi*4 + 0x44fd32], al
mov byte [edi*4 + 0x44f931], al
mov byte [edi*4 + 0x44f530], al
call fcn.00414c31
mov bl, byte [edi + 0x44f430]
mov dl, 0xb
mov cl, bl
mov byte [edi*4 + 0x450132], al
mov byte [edi*4 + 0x44fd31], al
mov byte [edi*4 + 0x44f930], al
mov byte [edi*4 + 0x44f533], al
call fcn.00414c31
movzx esi, bl
mov dl, 9
mov cl, bl
mov byte [edi*4 + 0x451132], al
mov byte [edi*4 + 0x450d31], al
mov byte [edi*4 + 0x450930], al
mov byte [edi*4 + 0x450533], al
mov byte [esi*4 + 0x452132], al
mov byte [esi*4 + 0x451d31], al
mov byte [esi*4 + 0x451930], al
mov byte [esi*4 + 0x451533], al
call fcn.00414c31
mov dl, 0xd
mov byte [edi*4 + 0x451130], al
mov cl, bl
mov byte [edi*4 + 0x450d33], al
mov byte [edi*4 + 0x450932], al
mov byte [edi*4 + 0x450531], al
mov byte [esi*4 + 0x452130], al
mov byte [esi*4 + 0x451d33], al
mov byte [esi*4 + 0x451932], al
mov byte [esi*4 + 0x451531], al
call fcn.00414c31
mov dl, 0xe
mov byte [edi*4 + 0x451131], al
mov cl, bl
mov byte [edi*4 + 0x450d30], al
mov byte [edi*4 + 0x450933], al
mov byte [edi*4 + 0x450532], al
mov byte [esi*4 + 0x452131], al
mov byte [esi*4 + 0x451d30], al
mov byte [esi*4 + 0x451933], al
mov byte [esi*4 + 0x451532], al
call fcn.00414c31
mov byte [edi*4 + 0x451133], al
mov byte [edi*4 + 0x450d32], al
mov byte [edi*4 + 0x450931], al
mov byte [edi*4 + 0x450530], al
inc edi
mov byte [esi*4 + 0x452133], al
mov byte [esi*4 + 0x451d32], al
mov byte [esi*4 + 0x451931], al
mov byte [esi*4 + 0x451530], al
cmp edi, ebp
jl 0x414c6b
pop edi
pop esi
pop ebp
pop ebx