joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424a00
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x424a4e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00424710
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x424a67
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x424a70
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00424710
dec esi
jne 0x424a92
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x42880c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x428976
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00405318
mov eax, dword [ebp - 4]
call fcn.00428368
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x42885e
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.004057b8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00428f40
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x428933
xor eax, eax
push ebp
push 0x42892c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00428514
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.004289a4
test al, al
je 0x42890a
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00405370
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x42890a
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00405710
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x428904
mov eax, dword [ebp - 8]
call fcn.00405710
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00405478
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0042880c
dec ebx
cmp ebx, 0xffffffff
jne 0x4288bd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428933
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00428514
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 4]
call fcn.00405710
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00428500
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42897d
lea eax, [ebp - 0x3c]
call fcn.00405280
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052a4
ret
Function at 0x428933
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x428976
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00405318
mov eax, dword [ebp - 4]
call fcn.00428368
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x42885e
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.004057b8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00428f40
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x428933
xor eax, eax
push ebp
push 0x42892c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00428514
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.004289a4
test al, al
je 0x42890a
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00405370
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x42890a
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00405710
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x428904
mov eax, dword [ebp - 8]
call fcn.00405710
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00405478
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0042880c
dec ebx
cmp ebx, 0xffffffff
jne 0x4288bd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428933
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00428514
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 4]
call fcn.00405710
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00428500
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42897d
lea eax, [ebp - 0x3c]
call fcn.00405280
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052a4
ret

Function at 0x4289a4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00403a38
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x4cc708]
cmp byte [edx + 0xc], 0
je 0x428a08
mov edx, dword [0x4cc6f4]
cmp dword [edx], 2
jne 0x428a08
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x428a0c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x428ac4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.004289a4
test al, al
je 0x428aa6
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00405370
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x428aa6
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405710
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 4]
call fcn.00405710
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00405478
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x428a5f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428acb
lea eax, [ebp - 0x2c]
call fcn.00405280
lea eax, [ebp - 4]
call fcn.00405280
ret

Function at 0x428ad4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x428b8c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.004289a4
test al, al
je 0x428b6e
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00405370
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x428b6e
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405710
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 4]
call fcn.00405710
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00405478
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x428b27
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428b93
lea eax, [ebp - 0x2c]
call fcn.00405280
lea eax, [ebp - 4]
call fcn.00405280
ret
Function at 0x428e30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.0042837c
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00405710
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x428e8f
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4cc42c]
mov dl, 1
mov eax, dword [0x428274]
call fcn.0040dafc
call fcn.00404b8c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x428e98
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.00405710
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x428ef0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4cc71c]
mov dl, 1
mov eax, dword [0x428274]
call fcn.0040dafc
call fcn.00404b8c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004283ac
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 0x42ad90
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x42ae36
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00405280
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, esi
call fcn.00405710
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
mov ebx, eax
test ebx, ebx
jle 0x42ae1a
inc ebx
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x42ad68]
call fcn.00406900
add esp, 4
push ebx
mov eax, dword [ebp - 4]
push eax
mov eax, esi
call fcn.00405710
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
test eax, eax
je 0x42ae02
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00405478
push 0
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x42ad68]
call fcn.00406900
add esp, 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ae3d
lea eax, [ebp - 4]
mov edx, dword [0x42ad68]
call fcn.0040690c
ret

Function at 0x42b3e4
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffdf8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00405280
push esp
push 0
push 0
push esi
push 0
call sub.SHFolder.dll_SHGetFolderPathA
test eax, 0x80000000
sete al
test al, al
je 0x42b44c
mov edx, ebx
mov eax, esp
call fcn.0040a8c4
cmp dword [ebx], 0
je 0x42b44c
mov eax, dword [ebx]
mov dword [esp + 0x204], eax
mov eax, dword [esp + 0x204]
test eax, eax
je 0x42b437
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x42b44c
mov eax, ebx
mov edx, 0x42b460
call fcn.0040554c
add esp, 0x208
pop esi
pop ebx
ret
Function at 0x42ba10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42bb61
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4cc138]
cmp byte [eax], 9
jb 0x42badb
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.004059a0
xor edx, edx
push ebp
push 0x42bad4
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.00405710
push eax
push 0
push 0
push 0x23
push 0
call sub.SHFolder.dll_SHGetFolderPathA
test eax, eax
jne 0x42babc
mov eax, dword [ebp - 4]
call fcn.00405710
mov edx, dword [ebp - 8]
call fcn.0040a8c4
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x42ba96
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x42bab2
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040e69c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.004052d4
call fcn.00404c38
jmp 0x42bb43
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42badb
lea eax, [ebp - 4]
xor edx, edx
call fcn.004059a0
ret
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x4cc2d8]
mov eax, dword [eax]
mov ecx, 0x42bb74
mov edx, 0x42bb8c
call fcn.0042a3c4
test al, al
je 0x42bb43
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x42bb0f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x42bb43
mov eax, dword [ebp - 8]
mov eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x42bb27
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
cmp byte [edx + eax - 1], 0x5c
je 0x42bb43
mov eax, dword [ebp - 8]
mov edx, 0x42bbd8
call fcn.0040554c
mov eax, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42bb68
lea eax, [ebp - 0x10]
call fcn.00405280
lea eax, [ebp - 4]
call fcn.00405280
ret
Function at 0x42bbdc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42bd46
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4cc138]
cmp byte [eax], 9
jb 0x42bca3
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.004059a0
xor edx, edx
push ebp
push 0x42bc9c
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.00405710
push eax
push 0
push 0
push 0x1a
push 0
call sub.SHFolder.dll_SHGetFolderPathA
test eax, eax
jne 0x42bc84
mov eax, dword [ebp - 4]
call fcn.00405710
mov edx, dword [ebp - 8]
call fcn.0040a8c4
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x42bc5e
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x42bc7a
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040e69c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.004052d4
call fcn.00404c38
jmp 0x42bd23
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42bca3
lea eax, [ebp - 4]
xor edx, edx
call fcn.004059a0
ret
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x4cc3a8]
mov eax, dword [eax]
mov ecx, 0x42bd5c
mov edx, 0x42bd6c
call fcn.0042a3c4
test al, al
je 0x42bd23
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0042af50
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004052d4
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x42bcef
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x42bd23
mov eax, dword [ebp - 8]
mov eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x42bd07
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
cmp byte [edx + eax - 1], 0x5c
je 0x42bd23
mov eax, dword [ebp - 8]
mov edx, 0x42bdb8
call fcn.0040554c
mov eax, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42bd4d
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004052a4
lea eax, [ebp - 4]
call fcn.00405280
ret
Function at 0x430dd4
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov word [ebp - 2], cx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x430eae
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
mov edx, esi
call fcn.00405478
mov edx, dword [ebp - 0x18]
mov eax, dword [0x4d2124]
call fcn.00430294
test al, al
je 0x430e1a
mov ebx, 1
jmp 0x430e98
push 0
push 0x8000080
push 3
push 0
push 1
push 0xc0000000
push esi
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x430e47
call sub.kernel32.dll_GetLastError_1
mov edx, dword [ebp + 8]
mov dword [edx], eax
xor ebx, ebx
jmp 0x430e98
lea eax, [ebp - 0xc]
push eax
movzx eax, word [ebp - 2]
push eax
push edi
call sub.kernel32.dll_DosDateTimeToFileTime
test eax, eax
je 0x430e7b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call sub.kernel32.dll_LocalFileTimeToFileTime
test eax, eax
je 0x430e7b
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.kernel32.dll_SetFileTime
push ebx
call sub.kernel32.dll_CloseHandle_1
movzx eax, word [ebp + 0xc]
and ax, 0x27
movzx eax, ax
push eax
push esi
call sub.kernel32.dll_SetFileAttributesA
mov ebx, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430eb5
lea eax, [ebp - 0x18]
call fcn.00405280
ret

Function at 0x430ec0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
test eax, eax
je 0x430f08
lea eax, [esp + 0x105]
push eax
push 0
push 0x430f40
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetTempFileNameA
test eax, eax
je 0x430f08
lea eax, [esp + 0x105]
call fcn.0040a6e8
cmp ebx, eax
jg 0x430f0c
xor eax, eax
jmp 0x430f0e
mov al, 1
mov ebx, eax
test bl, bl
je 0x430f28
lea edx, [esp + 0x105]
mov eax, esi
call fcn.0040a73c
push esi
call sub.kernel32.dll_DeleteFileA
movzx eax, bl
mov edx, dword [0x4cc210]
mov eax, dword [edx + eax*4]
add esp, 0x20c
pop esi
pop ebx
ret
Function at 0x4318c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4318c9
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x431a06
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
inc dword [ebx + 0x18]
lea ecx, [ebp - 8]
mov edx, dword [ebx + 0x18]
mov eax, esi
call fcn.0043174c
mov edx, dword [ebp - 8]
lea eax, [ebx + 0x22]
call fcn.0040a7a8
lea ecx, [ebp - 0xc]
mov edx, dword [ebx + 0x14]
mov eax, esi
call fcn.004315b8
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x122]
call fcn.0040a7a8
lea ecx, [ebp - 0x10]
mov edx, dword [ebx + 0x18]
mov eax, esi
call fcn.00431694
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x222]
call fcn.0040a7a8
cmp word [esi + 0x42], 0
je 0x431956
push edi
lea eax, [ebp - 1]
push eax
mov ecx, ebx
mov edx, esi
mov eax, dword [esi + 0x44]
call dword [esi + 0x40]
cmp byte [ebp - 1], 0
jne 0x4319c7
lea eax, [ebp - 0x14]
lea edx, [ebx + 0x222]
mov ecx, pe_nt_image_headers32
call fcn.004054f0
mov eax, dword [ebp - 0x14]
call fcn.0040a03c
lea eax, [ebp - 0x24]
lea edx, [ebx + 0x222]
mov ecx, pe_nt_image_headers32
call fcn.004054f0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
lea edx, [ebx + 0x122]
mov ecx, pe_nt_image_headers32
call fcn.004054f0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x18]
mov edx, 1
call fcn.004307e8
mov eax, dword [ebp - 0x18]
call fcn.00405710
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
mov dword [esi + 0x3a2], eax
xor eax, eax
mov dword [esi + 0x3a6], eax
movzx ebx, byte [ebp - 1]
xor bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431a0d
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004052a4
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.004052a4
ret
Function at 0x433aac
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405700
xor eax, eax
push ebp
push 0x433ce4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, ebx
call fcn.004052d4
mov byte [ebp - 0xd], 0
test ebx, ebx
je 0x433cbc
cmp dword [0x4ca114], 0
je 0x433cbc
xor eax, eax
push ebp
push 0x433cb2
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x433ca1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x433d00
call fcn.00405318
mov edx, dword [ebp - 4]
mov eax, 0x433d10
call fcn.0040585c
mov esi, eax
test esi, esi
jle 0x433b62
lea eax, [ebp - 8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00405778
lea eax, [ebp - 4]
mov ecx, esi
mov edx, 1
call fcn.004057b8
cmp dword [ebp - 4], 0
jne 0x433b82
mov dl, 1
mov eax, ebx
call fcn.00427664
xor edx, edx
push edx
push eax
lea edx, [ebp - 4]
mov eax, 8
call fcn.00409ab4
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x4ca114]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.0042db10
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.004052d4
mov eax, dword [0x4ca114]
cmp byte [eax + 0x13], 0
je 0x433bee
push 0x433d1c
push dword [ebp - 4]
push 0x433d30
push ebx
push 0x433d30
mov eax, dword [ebp - 0xc]
push dword [eax]
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.00405614
mov eax, dword [ebp - 0x1c]
call fcn.00405710
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x433c3b
mov eax, dword [ebp - 0xc]
mov edx, ebx
call fcn.004052d4
mov eax, dword [0x4ca114]
cmp byte [eax + 0x11], 0
je 0x433c25
push dword [ebp - 4]
push 0x433d3c
mov eax, dword [ebp - 0xc]
push dword [eax]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.00405614
mov byte [ebp - 0xd], 0
call fcn.00404c38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x433cbc
mov byte [ebp - 0xd], 1
mov eax, dword [0x4ca114]
cmp byte [eax + 0x11], 0
je 0x433c64
push dword [ebp - 4]
push 0x433d48
mov eax, dword [ebp - 0xc]
push dword [eax]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.00405614
lea eax, [ebp - 8]
call fcn.00405280
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433ca8
mov eax, dword [0x4ca114]
cmp dword [eax + 0x16], 0
je 0x433ca0
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov ebx, dword [0x4ca114]
call dword [ebx + 0x16]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.004052d4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433ceb
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.004052a4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052a4
ret