joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b404
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42b50f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, 0x10
call fcn.0040b1c4
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x30]
sub eax, 0x2e
mov dword [esi + 8], eax
call sub.KERNEL32.DLL_GetVersion_1
test eax, 0x80000000
jne 0x42b482
push 0x410
push esi
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0042b62c
mov eax, dword [ebp - 4]
call fcn.0040718c
push eax
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0042b62c
mov eax, dword [ebp - 8]
call fcn.00406f68
push eax
push edi
call sub.user32.dll_DrawTextW
jmp 0x42b4d4
push 0x410
push esi
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.0042b62c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov ecx, 0
call fcn.00407120
mov eax, dword [ebp - 0xc]
call fcn.00406204
push eax
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.0042b62c
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov ecx, 0
call fcn.00407120
mov eax, dword [ebp - 0x14]
call fcn.0040652c
push eax
push edi
call sub.user32.dll_DrawTextA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b516
lea eax, [ebp - 0x18]
call fcn.00406ecc
lea eax, [ebp - 0x14]
call fcn.00405e70
lea eax, [ebp - 0x10]
call fcn.00406ecc
lea eax, [ebp - 0xc]
call fcn.00405e70
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406ed4
ret

Function at 0x42b9e8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42bac7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x14], 0
je 0x42baa7
call sub.KERNEL32.DLL_GetVersion_1
test eax, 0x80000000
jne 0x42ba55
push 0
push 0
push 0xe
mov eax, dword [ebx + 0x14]
push eax
call sub.user32.dll_SendMessageW
mov edx, eax
inc edx
lea eax, [ebx + 0x50]
call fcn.00407198
mov eax, dword [ebx + 0x50]
push eax
mov eax, dword [ebx + 0x50]
call fcn.0040718c
push eax
push 0xd
mov eax, dword [ebx + 0x14]
push eax
call sub.user32.dll_SendMessageW
mov edx, eax
lea eax, [ebx + 0x50]
call fcn.00407198
jmp 0x42baa7
push 0
push 0
push 0xe
mov eax, dword [ebx + 0x14]
push eax
call sub.user32.dll_SendMessageA
mov edx, eax
inc edx
lea eax, [ebp - 4]
xor ecx, ecx
call fcn.00406810
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406080
call fcn.00406204
push eax
push 0xd
mov eax, dword [ebx + 0x14]
push eax
call sub.user32.dll_SendMessageA
mov edx, eax
lea eax, [ebp - 4]
xor ecx, ecx
call fcn.00406810
lea eax, [ebx + 0x50]
mov edx, dword [ebp - 4]
call fcn.004070f8
mov eax, esi
mov edx, dword [ebx + 0x50]
call fcn.00406edc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42bace
lea eax, [ebp - 4]
call fcn.00405e70
ret
Function at 0x435cec
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x220], edx
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x218], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x435f5e
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.KERNEL32.DLL_GetVersion_1
test eax, 0x80000000
jne 0x435e2a
lea eax, [ebp - 0x20a]
push eax
push 0x104
call sub.KERNEL32.DLL_GetTempPathW
test eax, eax
jbe 0x435d72
mov eax, ebx
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.004070dc
jmp 0x435d7b
mov eax, ebx
xor edx, edx
call fcn.00406edc
cmp dword [ebx], 0
jne 0x435d8e
mov ecx, ebx
xor edx, edx
mov eax, 0x1a
call fcn.004380ac
cmp dword [ebx], 0
je 0x435f1a
push 0
lea eax, [ebp - 0x20a]
push eax
call sub.KERNEL32.DLL_CreateDirectoryW
mov eax, dword [ebx]
call fcn.0040718c
mov edx, dword [ebx]
cmp word [edx + eax*2 - 2], 0x5c
je 0x435dc2
mov eax, ebx
mov edx, 0x435f78
call fcn.00407230
push dword [ebx]
lea edx, [ebp - 0x218]
xor eax, eax
call fcn.00435a34
mov eax, dword [ebp - 0x218]
lea edx, [ebp - 0x214]
call fcn.0040f998
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x210]
call fcn.00435ae8
push dword [ebp - 0x210]
push 0x435f88
mov eax, ebx
mov edx, 3
call fcn.00407380
push 0
mov eax, dword [ebx]
call fcn.00406f68
push eax
call sub.KERNEL32.DLL_CreateDirectoryW
mov eax, ebx
mov edx, 0x435f78
call fcn.00407230
jmp 0x435f1a
lea eax, [ebp - 0x20a]
push eax
push 0x104
call sub.KERNEL32.DLL_GetTempPathA
test eax, eax
jbe 0x435f11
lea eax, [ebp - 0x21c]
lea esi, [ebp - 0x20a]
mov edx, esi
mov ecx, 0
call fcn.00406124
mov edx, dword [ebp - 0x21c]
mov eax, ebx
call fcn.004070f8
cmp dword [ebx], 0
je 0x435f1a
push 0
push esi
call sub.KERNEL32.DLL_CreateDirectoryA
mov eax, dword [ebx]
call fcn.0040718c
mov edx, dword [ebx]
cmp word [edx + eax*2 - 2], 0x5c
je 0x435e96
mov eax, ebx
mov edx, 0x435f78
call fcn.00407230
push dword [ebx]
lea edx, [ebp - 0x228]
xor eax, eax
call fcn.00435a34
mov eax, dword [ebp - 0x228]
lea edx, [ebp - 0x224]
call fcn.0040f998
mov eax, dword [ebp - 0x224]
lea edx, [ebp - 0x220]
call fcn.00435ae8
push dword [ebp - 0x220]
push 0x435f88
mov eax, ebx
mov edx, 3
call fcn.00407380
push 0
lea eax, [ebp - 0x22c]
mov edx, dword [ebx]
mov ecx, 0
call fcn.00407120
mov eax, dword [ebp - 0x22c]
call fcn.0040652c
push eax
call sub.KERNEL32.DLL_CreateDirectoryA
mov eax, ebx
mov edx, 0x435f78
call fcn.00407230
jmp 0x435f1a
mov eax, ebx
xor edx, edx
call fcn.00406edc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435f65
lea eax, [ebp - 0x22c]
call fcn.00405e70
lea eax, [ebp - 0x228]
mov edx, 3
call fcn.00406ed4
lea eax, [ebp - 0x21c]
call fcn.00405e70
lea eax, [ebp - 0x218]
mov edx, 3
call fcn.00406ed4
ret
Function at 0x435fa0
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd8c
push ebx
xor eax, eax
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4361ef
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00435cec
cmp dword [ebp - 4], 0
je 0x4361b9
call sub.KERNEL32.DLL_GetVersion_1
test eax, 0x80000000
jne 0x4360bd
mov eax, dword [ebp - 4]
call fcn.00406f68
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4361b9
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x258]
mov ecx, 0x436208
mov edx, dword [ebp - 4]
call fcn.004072b0
mov eax, dword [ebp - 0x258]
call fcn.00406f68
push eax
call sub.KERNEL32.DLL_FindFirstFileW_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4360aa
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x228]
mov ecx, 0x104
call fcn.004070dc
mov ecx, dword [ebp - 0x260]
lea eax, [ebp - 0x25c]
mov edx, dword [ebp - 4]
call fcn.004072b0
mov eax, dword [ebp - 0x25c]
call fcn.00406f68
push eax
call sub.KERNEL32.DLL_DeleteFileW
lea eax, [ebp - 0x254]
push eax
push ebx
call sub.KERNEL32.DLL_FindNextFileW
test eax, eax
jne 0x436058
push ebx
call sub.KERNEL32.DLL_FindClose_1
mov eax, dword [ebp - 4]
call fcn.00406f68
push eax
call sub.KERNEL32.DLL_RemoveDirectoryW
jmp 0x4361b9
lea eax, [ebp - 0x264]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00407120
mov eax, dword [ebp - 0x264]
call fcn.0040652c
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4361b9
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x268]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00407120
lea eax, [ebp - 0x268]
mov edx, 0x43621c
call fcn.00406238
mov eax, dword [ebp - 0x268]
call fcn.0040652c
push eax
call sub.KERNEL32.DLL_FindFirstFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x436195
lea eax, [ebp - 0x26c]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00407120
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x270]
lea edx, [ebp - 0x254]
add edx, 0x2c
mov ecx, 0x104
push 0
call fcn.004061a8
mov edx, dword [ebp - 0x270]
pop eax
call fcn.00406238
mov eax, dword [ebp - 0x26c]
call fcn.0040652c
push eax
call sub.KERNEL32.DLL_DeleteFileA
lea eax, [ebp - 0x254]
push eax
push ebx
call sub.KERNEL32.DLL_FindNextFileA
test eax, eax
jne 0x43612c
push ebx
call sub.KERNEL32.DLL_FindClose_1
lea eax, [ebp - 0x274]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00407120
mov eax, dword [ebp - 0x274]
call fcn.0040652c
push eax
call sub.KERNEL32.DLL_RemoveDirectoryA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4361f6
lea eax, [ebp - 0x274]
mov edx, 5
call fcn.00405e94
lea eax, [ebp - 0x260]
mov edx, 3
call fcn.00406ed4
lea eax, [ebp - 4]
call fcn.00406ecc
ret
Function at 0x436220
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push ebx
xor edx, edx
mov dword [ebp - 0x214], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4362c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x104
call sub.KERNEL32.DLL_GetVersion_1
test eax, 0x80000000
jne 0x436279
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20e]
push eax
call sub.KERNEL32.DLL_GetComputerNameW
mov eax, ebx
lea edx, [ebp - 0x20e]
mov ecx, 0x105
call fcn.004070dc
jmp 0x4362ac
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20e]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
lea eax, [ebp - 0x214]
lea edx, [ebp - 0x20e]
mov ecx, 0
call fcn.00406124
mov edx, dword [ebp - 0x214]
mov eax, ebx
call fcn.004070f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4362cc
lea eax, [ebp - 0x214]
call fcn.00405e70
ret
Function at 0x4362d4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x436491
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor edx, edx
call fcn.00406edc
call sub.KERNEL32.DLL_GetVersion_1
test eax, 0x80000000
jne 0x4363b2
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov eax, edi
call fcn.00406f68
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x436476
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00406f68
mov edi, eax
push edi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x4363a4
cmp dword [ebp - 0xc], 0
je 0x4363a4
mov eax, dword [ebp - 0xc]
add eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
push 0x40
call sub.KERNEL32.DLL_LocalAlloc_1
mov esi, eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0
push edi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x43639e
mov eax, ebx
mov edx, esi
call fcn.00407088
push esi
call sub.KERNEL32.DLL_LocalFree
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
jmp 0x436476
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x14]
mov edx, edi
mov ecx, 0
call fcn.00407120
mov eax, dword [ebp - 0x14]
call fcn.0040652c
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x436476
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00407120
mov eax, dword [ebp - 0x18]
call fcn.0040652c
mov edi, eax
push edi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x43646d
cmp dword [ebp - 0xc], 0
je 0x43646d
mov eax, dword [ebp - 0xc]
add eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
push 0x40
call sub.KERNEL32.DLL_LocalAlloc_1
mov esi, eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0
push edi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x436467
lea eax, [ebp - 0x1c]
mov edx, esi
mov ecx, 0
call fcn.00406124
mov edx, dword [ebp - 0x1c]
mov eax, ebx
call fcn.004070f8
push esi
call sub.KERNEL32.DLL_LocalFree
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436498
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00405e94
ret
Function at 0x4364a4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov esi, eax
mov eax, dword [ebp + 8]
call fcn.00406ec4
xor eax, eax
push ebp
push 0x436613
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.KERNEL32.DLL_GetVersion_1
test eax, 0x80000000
jne 0x436553
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, edi
call fcn.00406f68
push eax
push esi
call sub.advapi32.dll_RegCreateKeyExW
test eax, eax
jne 0x4365e8
lea eax, [ebp + 8]
call fcn.00406050
call fcn.0040718c
add eax, eax
add eax, 2
push eax
mov eax, dword [ebp + 8]
call fcn.00406f68
push eax
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.00406f68
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExW
test eax, eax
sete bl
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
jmp 0x4365e8
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x14]
mov edx, edi
mov ecx, 0
call fcn.00407120
mov eax, dword [ebp - 0x14]
call fcn.0040652c
push eax
push esi
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x4365e8
lea eax, [ebp - 4]
mov edx, dword [ebp + 8]
mov ecx, 0
call fcn.00407120
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406080
call fcn.00406204
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.0040652c
push eax
push 1
push 0
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.00407120
mov eax, dword [ebp - 0x18]
call fcn.0040652c
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete bl
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43661a
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00405e94
lea eax, [ebp - 4]
call fcn.00405e70
lea eax, [ebp + 8]
call fcn.00406ecc
ret
Function at 0x436628
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x436713
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.KERNEL32.DLL_GetVersion_1
test eax, 0x80000000
jne 0x43669b
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
mov eax, edi
call fcn.00406f68
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x4366f8
mov eax, dword [ebp - 4]
call fcn.00406f68
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegDeleteValueW
test eax, eax
sete bl
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
jmp 0x4366f8
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0xc]
mov edx, edi
mov ecx, 0
call fcn.00407120
mov eax, dword [ebp - 0xc]
call fcn.0040652c
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4366f8
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00407120
mov eax, dword [ebp - 0x10]
call fcn.0040652c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegDeleteValueA
test eax, eax
sete bl
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43671a
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00405e94
ret

Function at 0x436dac
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0041ac74
test eax, eax
je 0x436e5d
cmp word [eax + 0x18], 0x20b
jne 0x436dea
add eax, 0x18
add eax, 0x78
mov edx, dword [eax]
mov esi, edx
add esi, dword [ebp - 4]
add edx, dword [eax + 4]
mov dword [ebp - 0x10], edx
jmp 0x436dfc
add eax, 0x80
mov edx, dword [eax]
mov esi, edx
add esi, dword [ebp - 4]
add edx, dword [eax + 4]
mov dword [ebp - 0x10], edx
test esi, esi
je 0x436e5d
jmp 0x436e57
mov eax, dword [esi + 0x10]
cmp eax, dword [ebp - 0x10]
jbe 0x436e13
push ebp
call fcn.00436bec
pop ecx
jmp 0x436e5d
cmp dword [esi + 0x10], 0
je 0x436e54
mov ebx, dword [ebp - 4]
add ebx, dword [esi + 0x10]
jmp 0x436e4f
cmp edi, dword [ebx]
jne 0x436e4c
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
push ebx
call sub.KERNEL32.DLL_VirtualProtect
test eax, eax
je 0x436e4c
mov eax, dword [ebp - 8]
mov dword [ebx], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 4
push ebx
call sub.KERNEL32.DLL_VirtualProtect
add ebx, 4
cmp dword [ebx], 0
jne 0x436e21
add esi, 0x14
cmp dword [esi + 0xc], 0
jne 0x436e02
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4380ac
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x438231
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
xor edx, edx
call fcn.00406edc
lea eax, [ebp - 4]
push eax
call sub.shell32.dll_SHGetMalloc
test eax, eax
jne 0x438205
lea eax, [ebp - 8]
push eax
push esi
push 0xffffffffffffffff
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x438205
cmp dword [0x681cd8], 0
jne 0x43812e
push 0x438240
push 0x43826c
call sub.KERNEL32.DLL_GetModuleHandleW_2
push eax
call fcn.0040a328
mov dword [0x681cd8], eax
cmp dword [0x681cd8], 0
je 0x438160
lea eax, [ebp - 0x212]
push eax
mov eax, dword [ebp - 8]
push eax
call dword [0x681cd8]
test eax, eax
je 0x438160
mov eax, edi
lea edx, [ebp - 0x212]
mov ecx, 0x105
call fcn.004070dc
jmp 0x438197
lea eax, [ebp - 0x212]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x438197
lea eax, [ebp - 0x218]
lea edx, [ebp - 0x212]
mov ecx, 0
call fcn.00406124
mov edx, dword [ebp - 0x218]
mov eax, edi
call fcn.004070f8
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
cmp dword [edi], 0
jne 0x4381c3
lea edx, [ebp - 0x21c]
xor eax, eax
call fcn.00435a34
mov eax, dword [ebp - 0x21c]
mov edx, edi
call fcn.0040f9d8
cmp dword [edi], 0
je 0x438205
mov eax, dword [edi]
call fcn.0040718c
mov edx, dword [edi]
cmp word [edx + eax*2 - 2], 0x5c
sete al
cmp bl, al
je 0x438205
test bl, bl
je 0x4381f0
mov eax, edi
mov edx, 0x438290
call fcn.00407230
jmp 0x438205
mov eax, dword [edi]
call fcn.0040718c
mov edx, eax
mov eax, edi
mov ecx, 1
call fcn.00407600
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438238
lea eax, [ebp - 0x21c]
call fcn.00406ecc
lea eax, [ebp - 0x218]
call fcn.00405e70
lea eax, [ebp - 4]
call fcn.00409084
ret
Function at 0x438cdc
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406ec4
xor eax, eax
push ebp
push 0x438d92
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x438d10
call sub.user32.dll_EmptyClipboard
call sub.user32.dll_CloseClipboard
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x438d7c
lea eax, [ebp - 4]
call fcn.00406050
call fcn.0040718c
add eax, eax
add eax, 2
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov ebx, eax
push ebx
call sub.KERNEL32.DLL_GlobalLock
mov esi, eax
test esi, esi
je 0x438d77
lea eax, [ebp - 4]
call fcn.00406050
call fcn.0040718c
add eax, eax
add eax, 2
push eax
mov eax, dword [ebp - 4]
call fcn.00406f68
mov edx, esi
pop ecx
call fcn.00403424
push ebx
call sub.KERNEL32.DLL_GlobalUnlock
push ebx
push 0xd
call sub.user32.dll_SetClipboardData
call sub.user32.dll_CloseClipboard
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438d99
lea eax, [ebp - 4]
call fcn.00406ecc
ret
Function at 0x43af30
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
xor eax, eax
push ebp
push 0x43b0e4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
call fcn.0043ae64
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x43b0c2
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [0x66beec], 0
jne 0x43b096
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x14]
call fcn.004367e8
lea eax, [ebp - 0x30]
push eax
call sub.KERNEL32.DLL_GetCurrentProcessId
mov cl, 0x30
mov edx, 1
call fcn.0040e108
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov edx, 0x43b104
call fcn.004062b4
mov eax, dword [ebp - 0x2c]
call fcn.0040652c
push eax
push 0
push 6
call sub.KERNEL32.DLL_OpenFileMappingA
mov edi, eax
test edi, edi
sete bl
test bl, bl
je 0x43b00a
lea eax, [ebp - 0x38]
push eax
call sub.KERNEL32.DLL_GetCurrentProcessId
mov cl, 0x30
mov edx, 1
call fcn.0040e108
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 0x43b104
call fcn.004062b4
mov eax, dword [ebp - 0x34]
call fcn.0040652c
push eax
push 4
push 0
push 4
lea eax, [ebp - 0x14]
push eax
push 0xffffffffffffffff
call sub.KERNEL32.DLL_CreateFileMappingA
mov edi, eax
test edi, edi
jne 0x43b025
xor esi, esi
push 0
push 0x43b11c
push 0x43b128
push 0
call sub.user32.dll_MessageBoxA
jmp 0x43b085
test bl, bl
je 0x43b06c
push 0
push 0
push 0
push 0xf001f
push edi
call sub.KERNEL32.DLL_MapViewOfFile
mov esi, eax
push 4
push 0x1000
push 0x28
push 0
call sub.KERNEL32.DLL_VirtualAlloc_1
mov ebx, eax
mov dword [esi], ebx
mov eax, ebx
mov edx, 0x28
call fcn.0040b1c4
mov eax, dword [esi]
mov dword [eax + 4], edi
add eax, 8
push eax
call sub.KERNEL32.DLL_InitializeCriticalSection
jmp 0x43b085
push 0
push 0
push 0
push 0xf001f
push edi
call sub.KERNEL32.DLL_MapViewOfFile
mov esi, eax
push edi
call sub.KERNEL32.DLL_CloseHandle_1
test esi, esi
je 0x43b096
mov eax, esi
call fcn.004694e4
mov dword [0x66beec], esi
cmp dword [0x66beec], 0
je 0x43b0ac
mov eax, dword [0x66beec]
mov eax, dword [eax]
inc dword [eax]
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b0c9
mov eax, dword [ebp - 8]
call fcn.0043af1c
ret

Function at 0x43f138
Capabilities:
Create thread
Resume thread

Disassembly:
cmp dword [0x66bf18], 0
jne 0x43f1cb
xor eax, eax
call fcn.0041a414
mov dword [0x66bf18], eax
cmp dword [0x66bf18], 0
je 0x43f1cb
mov eax, 0x43ef9c
xor ecx, ecx
xor edx, edx
call fcn.0041a918
mov dword [0x66bf1c], eax
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.KERNEL32.DLL_CreateEventW
mov dword [0x66bf2c], eax
push 0x66bf10
push 4
push 0
push 0x43efe4
push 0
push 0
call sub.KERNEL32.DLL_CreateThread_1
mov dword [0x66bf14], eax
cmp dword [0x66bf14], 0
je 0x43f1cb
mov edx, 0x43f1d8
mov eax, dword [0x66bf10]
call fcn.00437444
push 2
mov eax, dword [0x66bf14]
push eax
call sub.KERNEL32.DLL_SetThreadPriority
mov eax, dword [0x66bf14]
push eax
call sub.KERNEL32.DLL_ResumeThread
ret