joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443c80
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x443cb5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403c20
jmp 0x443cbf
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403b8c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x444b84
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x444bbc
mov eax, esi
call fcn.0042c8e0
test al, al
je 0x444bbc
mov eax, dword [ebx + 0x74]
call fcn.0042c5e4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x444bbc
push 0
mov eax, dword [ebx + 0x74]
call fcn.0042c5e4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x449b6c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403f6c
xor eax, eax
push ebp
push 0x449c04
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0044a140
test al, al
jne 0x449bb3
lea eax, [ebp - 0x20c]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
jmp 0x449bc1
lea eax, [ebp - 0x20c]
mov edx, dword [ebp - 4]
call fcn.00408908
lea eax, [ebp - 0x108]
push eax
xor bl, 1
xor eax, eax
mov al, bl
push eax
push 0x449c14
lea eax, [ebp - 0x20c]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, esi
lea eax, [ebp - 0x108]
call fcn.00408a2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449c0b
lea eax, [ebp - 4]
call fcn.00403b38
ret

Function at 0x449c84
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x449d11
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004086a0
xor ebx, ebx
mov edx, dword [ebp - 0xc]
mov eax, 0x449d28
call fcn.004040a4
mov esi, eax
test esi, esi
jle 0x449cfb
mov eax, dword [ebp - 0xc]
call fcn.00403db8
mov ecx, eax
sub ecx, esi
lea edx, [esi + 1]
lea eax, [ebp - 0xc]
call fcn.00404000
mov eax, dword [ebp - 0xc]
call fcn.00403db8
mov ecx, eax
lea eax, [ebp - 5]
mov edx, dword [ebp - 0xc]
call fcn.0040892c
lea eax, [ebp - 5]
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449d18
lea eax, [ebp - 0xc]
call fcn.00403b38
ret
Function at 0x449d2c
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x11c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x449e12
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x11c]
mov eax, ebx
call fcn.0040858c
lea eax, [ebp - 0x11c]
mov edx, 0x449e30
call fcn.00403dc0
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
call fcn.00408908
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x118]
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
je 0x449df9
xor eax, eax
push ebp
push 0x449dd5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
imul dword [ebp - 0xc]
imul dword [ebp - 0x14]
xor edx, edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x449df9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449e19
lea eax, [ebp - 0x11c]
call fcn.00403b38
ret
Function at 0x449f68
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44a119
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0040858c
cmp dword [ebp - 0xc], 0
jne 0x449fb8
lea eax, [ebp - 0x10]
call fcn.004087e8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0040858c
lea eax, [ebp - 0xc]
mov edx, 0x44a130
call fcn.00403dc0
mov eax, ebx
call fcn.0044a60c
sub al, 2
jb 0x449fd7
je 0x449fea
jmp case.default.0x44a03f
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0xffffffff
jmp case.default.0x44a03f
mov edx, ebx
mov eax, 0x44a13c
call fcn.004040a4
dec eax
jne 0x44a028
call fcn.00449f0c
test al, al
je 0x44a015
mov eax, dword [ebp - 0xc]
call fcn.00449e34
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
jmp case.default.0x44a03f
mov dword [ebp - 8], 0x7fffffff
mov dword [ebp - 4], 0
jmp case.default.0x44a03f
mov eax, dword [ebp - 0xc]
call fcn.00403f7c
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 6
ja case.default.0x44a03f
jmp dword [eax*4 + 0x44a046]
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0xffffffff
jmp case.default.0x44a03f
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0xffffffff
jmp case.default.0x44a03f
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0xffffffff
jmp case.default.0x44a03f
mov eax, dword [ebp - 0xc]
call fcn.00449d2c
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
jmp case.default.0x44a03f
mov eax, dword [ebp - 0xc]
call fcn.00449ef8
cdq
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
jmp case.default.0x44a03f
mov eax, dword [ebp - 0xc]
call fcn.00449d2c
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
jmp case.default.0x44a03f
mov eax, dword [ebp - 0xc]
call fcn.00449e34
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0xffffffff
jne 0x44a0df
cmp dword [ebp - 8], 0xffffffff
jb 0x44a0f4
jmp 0x44a0e1
jl 0x44a0f4
cmp dword [ebp - 4], 0
jne 0x44a0f2
cmp dword [ebp - 8], 0x7fffffff
jbe 0x44a0fb
jmp 0x44a0f4
jle 0x44a0fb
mov ebx, 0x7fffffff
jmp 0x44a0fe
mov ebx, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a120
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00403b5c
ret

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

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, eax
xor ebx, ebx
mov edx, esi
mov eax, 0x44a19c
call fcn.004040a4
test eax, eax
jne 0x44a186
mov edx, esi
mov eax, 0x44a1a8
call fcn.004040a4
test eax, eax
jne 0x44a186
mov eax, esp
mov edx, esi
call fcn.00408908
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x44a186
test al, 0x10
je 0x44a186
mov bl, 1
mov eax, ebx
add esp, 0x100
pop esi
pop ebx
ret
Function at 0x44b028
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
mov esi, dword [eax]
movzx ecx, cx
dec ecx
test ecx, ecx
jl 0x44b057
inc ecx
mov ebx, esi
xor bl, byte [edx]
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x45df28]
shr esi, 8
and esi, 0xffffff
xor ebx, esi
mov esi, ebx
inc edx
dec ecx
jne 0x44b035
mov dword [eax], esi
pop esi
pop ebx
ret

Function at 0x44ba60
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, edx
mov edx, dword [eax]
sub ecx, 1
jno 0x44ba71
call fcn.00402db8
test ecx, ecx
jl 0x44ba96
inc ecx
mov ebx, edx
xor bl, byte [esi]
and ebx, 0xff
mov edi, dword [0x45e7e8]
mov ebx, dword [edi + ebx*4]
shr edx, 8
xor ebx, edx
mov edx, ebx
add esi, 1
dec ecx
jne 0x44ba76
mov dword [eax], edx
pop edi
pop esi
pop ebx
ret

Function at 0x44c3e8
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov esi, ecx
mov ebx, edx
mov dword [esp], eax
lea edi, [esp + 4]
mov eax, dword [esp]
cmp byte [eax + 4], 0
jne 0x44c417
mov ecx, 0xc5
mov edx, 0x44c4b4
mov eax, 0x44c4ec
call fcn.00403b1c
mov eax, dword [esp]
mov eax, dword [eax + 8]
mov dword [edi], eax
mov eax, dword [esp]
add al, 0x24

Function at 0x44c534
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
test esi, esi
jne 0x44c55c
mov ecx, 0xf5
mov edx, 0x44c5e4
mov eax, 0x44c61c
call fcn.00403b1c
mov edx, esi
mov eax, ebx
call fcn.0044c650
mov dword [ebp - 8], 0xc
mov edi, dword [ebp - 4]
lea esi, [ebp - 0x14]
mov eax, dword [ebx + 0x10]
and eax, 0xffff
or eax, 2
mov edx, eax
xor edx, 1
imul edx, eax
shr edx, 8
xor dl, byte [edi]
mov byte [esi], dl
mov edx, dword [ebx + 8]
mov al, byte [esi]
call fcn.0044b05c
mov dword [ebx + 8], eax
mov eax, dword [ebx + 8]
and eax, 0xff
add dword [ebx + 0xc], eax
imul eax, dword [ebx + 0xc], 0x8088405
inc eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0xc]
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.0044b05c
mov dword [ebx + 0x10], eax
inc esi
inc edi
dec dword [ebp - 8]
jne 0x44c572
mov al, byte [ebp + 0xb]
cmp al, byte [ebp - 9]
sete al
mov byte [ebx + 4], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x44c650
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], edx
mov ebx, eax
mov dword [ebx + 8], 0x12345678
mov dword [ebx + 0xc], 0x23456789
mov dword [ebx + 0x10], 0x34567890
mov eax, dword [esp]
call fcn.00403db8
mov esi, eax
test esi, esi
jle 0x44c6be
mov edi, 1
mov eax, dword [esp]
mov al, byte [eax + edi - 1]
mov edx, dword [ebx + 8]
call fcn.0044b05c
mov ebp, eax
mov dword [ebx + 8], ebp
and ebp, 0xff
add dword [ebx + 0xc], ebp
imul ebp, dword [ebx + 0xc], 0x8088405
inc ebp
mov dword [ebx + 0xc], ebp
mov eax, ebp
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.0044b05c
mov dword [ebx + 0x10], eax
inc edi
dec esi
jne 0x44c682
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x44fe80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
test dl, dl
je 0x44fe9c
add esp, 0xfffffff0
call fcn.00403178
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 8]
call fcn.00403f6c
xor eax, eax
push ebp
push 0x44ff91
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.00402e48
mov byte [ebx + 8], 0
mov eax, dword [ebp - 8]
call fcn.00449c84
test al, al
je 0x44fef1
push esi
push 0
mov eax, dword [ebx + 0x28]
push eax
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x44e8b4]
call fcn.0044ee34
mov dword [ebx + 4], eax
jmp 0x44ff0a
push esi
push 1
mov eax, dword [ebx + 0x28]
push eax
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x44e8b4]
call fcn.0044ee34
mov dword [ebx + 4], eax
mov eax, dword [ebx + 4]
mov dword [eax + 0x34], ebx
mov edx, dword [ebx]
mov edx, dword [edx + 0x64]
mov dword [eax + 0x30], edx
mov dword [eax + 0x3c], ebx
mov edx, dword [ebx]
mov edx, dword [edx + 0x1c]
mov dword [eax + 0x38], edx
xor eax, eax
mov dword [ebx + 0x38], eax
mov byte [ebx + 0x3e], 1
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 8]
call fcn.00403b8c
mov dword [ebx + 0x94], ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0x34]
mov dword [ebx + 0x90], eax
mov byte [ebx + 0x44], 0
mov word [ebx + 0x3c], si
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402988
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00408558
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00451488
mov eax, ebx
call fcn.00450d00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ff98
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403b5c
ret

Function at 0x452e7c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x452f22
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x30]
call fcn.00452828
mov eax, dword [ebx + 0x30]
mov esi, dword [eax + 0x28]
test esi, esi
je 0x452ebe
lea edx, [ebp - 4]
mov eax, esi
call fcn.00408a2c
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x1c]
call fcn.00403b8c
jmp 0x452ec6
lea eax, [ebx + 0x1c]
call fcn.00403b38
mov eax, dword [ebx + 0x30]
mov dx, word [eax + 0x12]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx + 0x30]
mov dx, word [eax + 0x14]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea edx, [ebp - 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov edx, dword [ebp - 8]
lea eax, [ebx + 0x14]
call fcn.00403b8c
lea eax, [ebx + 0x14]
call fcn.0044aff4
mov byte [ebx + 8], 1
mov byte [ebx + 0x26], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452f29
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403b5c
ret
Function at 0x454d5c
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov edi, ecx
dec edi
test edi, edi
jl 0x454dd2
inc edi
mov esi, edx
mov ax, word [ebx + 0xc]
or ax, 2
movzx edx, ax
xor ax, 1
movzx eax, ax
imul edx, eax
shr edx, 8
xor byte [esi], dl
mov edx, dword [ebx + 4]
mov al, byte [esi]
call fcn.0044b05c
mov ebp, eax
mov dword [ebx + 4], ebp
and ebp, 0xff
add dword [ebx + 8], ebp
imul eax, dword [ebx + 8], 0x8088405
inc eax
mov dword [ebx + 8], eax
shr eax, 0x18
xor al, byte [ebx + 0xc]
and eax, 0xff
mov edx, dword [0x45e7e8]
mov eax, dword [edx + eax*4]
mov edx, dword [ebx + 0xc]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [ebx + 0xc], eax
inc esi
dec edi
jne 0x454d6c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x454e64
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, eax
mov eax, dword [edi + 0x38]
call fcn.0041172c
mov dword [esp + 4], eax
xor ebx, ebx
mov byte [esp], 0
jmp 0x454efb
mov eax, edi
call fcn.00454e20
xor ecx, ecx
mov edx, dword [esp + 4]
mov eax, dword [edi + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [edi + 0x10]
mov ecx, 0xc
mov eax, dword [edi + 0x38]
mov ebx, dword [eax]
call dword [ebx + 4]
xor esi, esi
mov eax, edi
call fcn.00454dd8
xor byte [edi + esi + 0x10], al
lea edx, [edi + 4]
mov al, byte [edi + esi + 0x10]
call fcn.00454f28
inc esi
cmp esi, 0xc
jne 0x454ea7
cmp byte [edi + 0x20], 0
je 0x454ed5
mov al, byte [edi + 0x1b]
cmp al, byte [edi + 0x1f]
sete bl
jmp 0x454eeb
mov al, byte [edi + 0x1b]
cmp al, byte [edi + 0x1f]
jne 0x454ee5
mov al, byte [edi + 0x1a]
cmp al, byte [edi + 0x1e]
je 0x454ee9
xor ebx, ebx
jmp 0x454eeb
mov bl, 1
test bl, bl
jne 0x454ef8
lea edx, [edi + 0x30]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
inc byte [esp]
test bl, bl
jne 0x454f0b
mov al, byte [esp]
cmp al, byte [edi + 0x34]
jb 0x454e80
test bl, bl
jne 0x454f20
mov dl, 1
mov eax, dword [0x448460]
call fcn.00448efc
call fcn.004035d0
mov eax, ebx
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x454f28
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
mov edx, dword [edi]
mov eax, ebx
call fcn.0044b05c
mov esi, eax
mov dword [edi], esi
and esi, 0xff
add dword [edi + 4], esi
imul esi, dword [edi + 4], 0x8088405
inc esi
mov dword [edi + 4], esi
mov eax, esi
shr eax, 0x18
mov edx, dword [edi + 8]
call fcn.0044b05c
mov dword [edi + 8], eax
pop edi
pop esi
pop ebx
ret
Function at 0x456f2c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor edi, edi
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x10]
test al, al
je 0x456f67
lea eax, [ebx + 4]
push eax
mov eax, dword [ebp + 8]
push eax
push 1
mov ecx, dword [ebx + 0xb8]
mov dl, 1
mov eax, dword [0x454c2c]
call fcn.00454c9c
mov edi, eax
test edi, edi
je 0x456f94
mov eax, dword [ebx + 0xf0]
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0xf4]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x30]
mov edx, dword [ebx + 0xb8]
call fcn.00403b8c
mov al, byte [ebx + 0xbc]
mov byte [edi + 0x34], al
mov eax, dword [ebp - 4]
push eax
push edi
lea ecx, [ebx + 4]
mov dl, 1
mov eax, dword [0x4557c0]
call fcn.00455854
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45707e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00452d9c
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x20], al
mov eax, esi
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x14], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x1c]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xc], eax
mov eax, esi
call fcn.00452d88
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x18], al
mov eax, esi
call fcn.00452e60
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x21], al
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx + 0x90]
mov dword [eax + 0x28], edx
mov edx, dword [ebx + 0x94]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx + 0x100]
mov dword [eax + 0x30], edx
mov edx, dword [ebx + 0x104]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x40], ebx
cmp byte [ebx + 0x44], 0
je 0x45705d
mov eax, dword [ebp - 0xc]
add eax, 0x3c
mov edx, dword [ebx + 0xc]
call fcn.00403b8c
mov ax, word [ebx + 0xaa]
mov edx, dword [ebp - 0xc]
mov word [edx + 0x44], ax
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x39], 1
mov ax, word [ebx + 0x3c]
mov edx, dword [ebp - 0xc]
mov word [edx + 0x46], ax
mov eax, dword [ebp - 0xc]
call fcn.0045592c
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457085
mov eax, dword [ebp - 0xc]
call fcn.00402e78
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403f7c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x458451
test al, 0x10
jne 0x458455
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x4596a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00403f7c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4596f8
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x45ebcc]
mov dl, 1
mov eax, dword [0x4591e8]
call fcn.0040b3a4
call fcn.004035d0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0045935c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00403b38
lea eax, [ebp - 0x104]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00402b88
mov esi, ebx
push esi
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
jne 0x459bab
xor edx, edx
push ebp
push 0x459b97
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 0x3b
mov eax, esi
call fcn.004089b8
mov ebx, eax
test ebx, ebx
je 0x459b7b
mov eax, ebx
sub eax, esi
cdq
xor eax, edx
sub eax, edx
mov ecx, eax
lea eax, [ebp - 0x104]
mov edx, esi
call fcn.004088d4
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
jne 0x459b7f
lea esi, [ebx + 1]
lea eax, [ebp - 0x104]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00402b88
test ebx, ebx
jne 0x459b2e
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x104]
call fcn.00408a2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x459bb5
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00408a2c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x459bbc
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
mov eax, esp
call fcn.00459ae4
add esp, 0x108
pop ebx
ret
Function at 0x45a1c0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x45a1c8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403f6c
xor eax, eax
push ebp
push 0x45a36e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
call fcn.0045a38c
test al, al
je 0x45a34b
mov dl, 1
mov eax, dword [0x40e7e0]
call fcn.00402e48
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [0x40e7e0]
call fcn.00402e48
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x45a344
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x18]
mov eax, dword [0x45ea70]
mov eax, dword [eax]
call fcn.0044459c
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00408558
mov eax, dword [ebp - 0x14]
call fcn.00402804
call fcn.004027c8
mov cl, 1
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00459cdc
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 1
mov ecx, dword [ebp - 0xc]
mov edx, 0x45a388
mov eax, dword [ebp - 4]
call fcn.00459be4
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x45a2c4
inc esi
xor ebx, ebx
push 0x20
lea ecx, [ebp - 0x1c]
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.00403f7c
push eax
call sub.kernel32.dll_SetFileAttributesA
lea ecx, [ebp - 0x20]
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x20]
call fcn.0040842c
inc ebx
dec esi
jne 0x45a28e
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x45a31a
inc esi
xor ebx, ebx
push 0x80
lea ecx, [ebp - 0x24]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x24]
call fcn.00403f7c
push eax
call sub.kernel32.dll_SetFileAttributesA
lea ecx, [ebp - 0x28]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x28]
call fcn.0040882c
test al, al
jne 0x45a316
call fcn.00403670
jmp 0x45a34b
inc ebx
dec esi
jne 0x45a2d6
mov eax, dword [ebp - 4]
call fcn.0040882c
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a34b
mov eax, dword [ebp - 0x10]
call fcn.00402e78
mov eax, dword [ebp - 0xc]
call fcn.00402e78
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a375
lea eax, [ebp - 0x28]
mov edx, 6
call fcn.00403b5c
lea eax, [ebp - 4]
call fcn.00403b38
ret
Function at 0x45a38c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403f6c
xor eax, eax
push ebp
push 0x45a3dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00403f7c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x45a3c1
test al, 0x10
jne 0x45a3c5
xor ebx, ebx
jmp 0x45a3c7
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a3e4
lea eax, [ebp - 4]
call fcn.00403b38
ret