joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433d20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov ecx, 0x682515
call fcn.0059e74b
cmp dword [ebp + 0xc], 0
jne 0x433d40
xor eax, eax
jmp 0x433ee0
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x433ea1
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x5f46f0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x5f46f0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x5f46f0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x5f46f0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x5f46f0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x5f46f0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x5f46f0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x5f46f0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x433d49
cmp dword [ebp + 0x10], 0
je 0x433eda
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x5f46f0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
jne 0x433ea7
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436c90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
mov ecx, 0x682554
call fcn.0059e74b
call fcn.004269f0
call fcn.00456560
mov dword [ebp - 4], eax
push 5
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00441e40
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x436de3
push 0xf0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00441e40
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0xc], 0
je 0x436d1d
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
xor eax, eax
jne 0x436d0c
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x436dca
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x436dbf
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0046d230
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call fcn.0045da90
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x436d9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
je 0x436dbd
cmp dword [ebp - 0x24], 0
je 0x436dbd
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x436dc8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
jmp 0x436dd3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x436de3
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4415c0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, 0x6825ce
call fcn.0059e74b
mov eax, dword [ebp - 4]
cmp dword [eax], 0x270
jne 0x4415eb
mov ecx, dword [ebp - 4]
call fcn.00473380
jmp 0x4415fe
mov eax, dword [ebp - 4]
cmp dword [eax], 0x4e0
jb 0x4415fe
mov ecx, dword [ebp - 4]
call fcn.004731f0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4 + 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp - 4]
mov dword [eax], edx
mov eax, dword [ebp - 8]
shr eax, 0xb
mov ecx, dword [ebp - 4]
and eax, dword [ecx + 0x1384]
xor eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shl eax, 7
and eax, 0x9d2c5680
xor eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shl eax, 0xf
and eax, 0xefc60000
xor eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shr eax, 0x12
xor eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4420f0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x658d98]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 0x6825d0
call fcn.0059e74b
mov byte [ebp - 5], 0
mov byte [ebp - 0x10], 0
mov byte [ebp - 0xf], 0
mov byte [ebp - 0xe], 0
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 5
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x442192
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x442188
cmp dword [ebp - 0x18], 0
je 0x44217e
mov byte [ebp - 0x59], 1
jmp 0x442182
mov byte [ebp - 0x59], 0
mov al, byte [ebp - 0x59]
mov byte [ebp - 5], al
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059e77d
mov esp, ebp
pop ebp
ret
Function at 0x444120
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d01a0
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
push esi
push edi
mov eax, dword [0x658d98]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, 0x6825d0
call fcn.0059e74b
push str.ClearClientInfo2
call fcn.00477e50
add esp, 4
push 1
push 1
lea eax, [ebp - 0x68]
push eax
call fcn.004531d0
add esp, 4
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xa0]
call fcn.0040d5a0
push eax
call fcn.0044e5a0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00404f60
push str.lci3
lea eax, [ebp - 0x80]
push eax
call fcn.00453dc0
add esp, 4
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0xa0]
push edx
lea eax, [ebp - 0x98]
push eax
call fcn.004279e0
add esp, 0xc
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xa8]
call fcn.0040d5a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.00404f60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.00404f60
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 0x444c00
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov ecx, 0x6825d0
call fcn.0059e74b
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x444c93
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp + 8]
push eax
call fcn.005a7060
add esp, 4
add eax, 1
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005a7060
add esp, 4
add eax, 1
push eax
mov edx, dword [ebp - 8]
push edx
call fcn.005a7571
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 4]
push eax
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
jmp 0x444c95
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x445550
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, 0x6825d0
call fcn.0059e74b
push 0x14
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.005a38c0
add esp, 0xc
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp + 8]
add eax, 4
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
push 0
call fcn.005ad318
add esp, 0x18
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44f5c0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov ecx, 0x6825d0
call fcn.0059e74b
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.0040d5a0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x44f5f7
mov eax, dword [ebp - 4]
jmp 0x44f633
mov dword [ebp - 0xc], 1
cmp dword [ebp + 0xc], 0
je 0x44f60f
mov eax, dword [ebp - 8]
or eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
jmp 0x44f61a
mov eax, dword [ebp - 0xc]
not eax
and eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040d5a0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452890
Capabilities:
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d268e
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x658d98]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x6825d0
call fcn.0059e74b
mov ecx, dword [ebp + 8]
call fcn.0040d5a0
push eax
call fcn.0044f4a0
add esp, 4
test eax, eax
jne 0x4528e7
mov eax, 1
jmp 0x452ad0
mov ecx, dword [ebp + 8]
call fcn.0040d5a0
push eax
push 0x604924
call fcn.00477e50
add esp, 8
mov dword [ebp - 0x14], 1
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0044f5c0
add esp, 8
test eax, eax
je 0x45292d
mov ecx, dword [ebp + 8]
call fcn.0040d5a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x452acd
mov ecx, dword [ebp + 8]
call fcn.0040d5a0
push eax
push 0x604934
call fcn.00477e50
add esp, 8
mov eax, 1
test eax, eax
je 0x452acd
push str..adk
push 8
push 5
lea eax, [ebp - 0x84]
push eax
call fcn.00468480
add esp, 0xc
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0xbc]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x9c]
push ecx
call fcn.0044f3a0
add esp, 8
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xc4]
push eax
lea ecx, [ebp - 0xb4]
push ecx
call fcn.00436630
add esp, 0xc
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004279e0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb4]
call fcn.00404f60
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x9c]
call fcn.00404f60
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x84]
call fcn.00404f60
lea ecx, [ebp - 0x2c]
call fcn.0040d5a0
push eax
call fcn.0044f4a0
add esp, 4
test eax, eax
jne 0x452ab9
lea ecx, [ebp - 0x2c]
call fcn.0040d5a0
push eax
mov ecx, dword [ebp + 8]
call fcn.0040d5a0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x452a89
push 2
lea ecx, [ebp - 0x2c]
call fcn.0040d5a0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x2c]
call fcn.0040d5a0
push eax
mov ecx, dword [ebp + 8]
call fcn.0040d5a0
push eax
push 0x604954
call fcn.00477e50
add esp, 0xc
jmp 0x452aa8
lea ecx, [ebp - 0x2c]
call fcn.0040d5a0
push eax
mov ecx, dword [ebp + 8]
call fcn.0040d5a0
push eax
push 0x604968
call fcn.00477e50
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00404f60
jmp 0x452acd
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00404f60
jmp 0x452943
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059e77d
mov esp, ebp
pop ebp
ret
Function at 0x452af0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d2702
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x658d98]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 4], 0
mov ecx, 0x6825d0
call fcn.0059e74b
mov dword [ebp - 0x10], 1
lea ecx, [ebp + 8]
call fcn.0040e920
movzx eax, al
test eax, eax
je 0x452b69
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404f60
mov eax, dword [ebp - 0x54]
jmp 0x452d1b
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x6c]
push ecx
call fcn.0044f120
add esp, 8
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xa0]
push eax
lea ecx, [ebp + 8]
call fcn.00409d80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00404f60
lea ecx, [ebp + 8]
call fcn.004296c0
cmp eax, 3
jb 0x452c2a
lea ecx, [ebp + 8]
call fcn.0040d5a0
push eax
call fcn.00447b80
add esp, 4
test eax, eax
jne 0x452c2a
lea eax, [ebp + 8]
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x88]
push edx
call fcn.0044f3a0
add esp, 8
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x98]
or ecx, 1
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0xa0]
push edx
call fcn.004365b0
add esp, 8
movzx eax, al
test eax, eax
jne 0x452c2a
mov dword [ebp - 0xa4], 0
jmp 0x452c34
mov dword [ebp - 0xa4], 1
mov cl, byte [ebp - 0xa4]
mov byte [ebp - 0x6d], cl
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x98]
and edx, 1
je 0x452c61
and dword [ebp - 0x98], 0xfffffffe
lea ecx, [ebp - 0x88]
call fcn.00404f60
movzx eax, byte [ebp - 0x6d]
test eax, eax
je 0x452c8c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404f60
mov eax, dword [ebp - 0x8c]
jmp 0x452d1b
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x90], esp
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.0044f3a0
add esp, 8
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 3
mov byte [ebp - 4], 0
call fcn.00452af0
add esp, 0x18
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
je 0x452cea
push 0
lea ecx, [ebp + 8]
call fcn.0040d5a0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x452cea
mov dword [ebp - 0xa4], 1
jmp 0x452cf4
mov dword [ebp - 0xa4], 0
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x94], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404f60
mov eax, dword [ebp - 0x94]
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 0x453050
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d280a
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x658d98]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x174], 0
mov ecx, 0x6825d0
call fcn.0059e74b
push 0x104
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.005a38c0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x114]
push eax
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push 0x606a34
lea eax, [ebp - 0x114]
push eax
call fcn.0043c4d0
add esp, 8
push 0
lea eax, [ebp - 0x16c]
push eax
call fcn.004570b0
add esp, 8
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x17c]
call fcn.0040d5a0
push eax
lea edx, [ebp - 0x114]
push edx
call fcn.0043c4d0
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x16c]
call fcn.00404f60
push 0x606a34
lea eax, [ebp - 0x114]
push eax
call fcn.0043c4d0
add esp, 8
lea eax, [ebp - 0x114]
push eax
call fcn.00447b80
add esp, 4
test eax, eax
jne 0x45317e
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x170], esp
lea eax, [ebp - 0x114]
push eax
call fcn.00404a80
mov dword [ebp - 0x178], eax
mov dword [ebp - 4], 2
mov byte [ebp - 4], 0
call fcn.00452af0
add esp, 0x18
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404a80
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x174]
or ecx, 1
mov dword [ebp - 0x174], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059e77d
mov esp, ebp
pop ebp
ret

Function at 0x454040
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5d0
mov eax, dword [0x658d98]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 0x6825d0
call fcn.0059e74b
mov dword [0x6806b0], 0
push 0x400
push 0
lea eax, [ebp - 0x404]
push eax
call fcn.005a38c0
add esp, 0xc
mov dword [ebp - 0x408], 0x61
jmp 0x45409b
mov eax, dword [ebp - 0x408]
add eax, 1
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 0x7a
jg 0x454164
push 0x400
push 0
lea eax, [ebp - 0x404]
push eax
call fcn.005a38c0
add esp, 0xc
mov al, byte [ebp - 0x408]
mov byte [ebp - 0x50c], al
mov byte [ebp - 0x50b], 0x3a
mov byte [ebp - 0x50a], 0
push 0x101
push 0
lea eax, [ebp - 0x509]
push eax
call fcn.005a38c0
add esp, 0xc
push 0x400
lea eax, [ebp - 0x404]
push eax
lea ecx, [ebp - 0x50c]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov dword [ebp - 0x510], eax
cmp dword [ebp - 0x510], 0
jle 0x45415f
mov eax, dword [0x6806b0]
add eax, 1
mov dword [0x6806b0], eax
lea eax, [ebp - 0x50c]
push eax
mov ecx, dword [0x6806b0]
sub ecx, 1
imul ecx, ecx, 0x18
add ecx, 0x67ffc8
call fcn.004282f0
lea eax, [ebp - 0x404]
push eax
mov ecx, dword [0x6806b0]
sub ecx, 1
imul ecx, ecx, 0x18
add ecx, 0x680378
call fcn.004282f0
jmp 0x45408c
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059e77d
mov esp, ebp
pop ebp
ret
Function at 0x4546e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d2c7c
mov eax, dword fs:[0]
push eax
sub esp, 0xbdc
mov eax, dword [0x658d98]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xbe8], 0
mov ecx, 0x6825d0
call fcn.0059e74b
push 0x5f1ad4
lea ecx, [ebp - 0x28]
call fcn.004082e0
mov dword [ebp - 4], 1
cmp dword [ebp + 0xc], 0
jne 0x45476b
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.0043d9c0
mov ecx, dword [ebp - 0xbe8]
or ecx, 1
mov dword [ebp - 0xbe8], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00409580
mov eax, dword [ebp + 8]
jmp 0x4548b6
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x454882
mov eax, dword [ebp - 0x30]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x454882
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x454878
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 0x606a34
mov edx, dword [ebp - 0x34]
push edx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x454878
cmp dword [ebp - 0x3c], 0
je 0x454878
push 0xa28
push 0
lea eax, [ebp - 0xa64]
push eax
call fcn.005a38c0
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
push str._d._d._d._d
lea eax, [ebp - 0xa64]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0xa64]
push eax
lea ecx, [ebp - 0x28]
call fcn.00409dd0
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.0043d9c0
mov ecx, dword [ebp - 0xbe8]
or ecx, 1
mov dword [ebp - 0xbe8], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00409580
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059e77d
mov esp, ebp
pop ebp
ret