joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430448
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 0x430522
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
mov edx, esi
call fcn.004052c8
mov edx, dword [ebp - 0x18]
mov eax, dword [0x495c08]
call fcn.0042f908
test al, al
je 0x43048e
mov ebx, 1
jmp 0x43050c
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 0x4304bb
call sub.kernel32.dll_GetLastError_1
mov edx, dword [ebp + 8]
mov dword [edx], eax
xor ebx, ebx
jmp 0x43050c
lea eax, [ebp - 0xc]
push eax
movzx eax, word [ebp - 2]
push eax
push edi
call sub.kernel32.dll_DosDateTimeToFileTime
test eax, eax
je 0x4304ef
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call sub.kernel32.dll_LocalFileTimeToFileTime
test eax, eax
je 0x4304ef
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 0x430529
lea eax, [ebp - 0x18]
call fcn.004050d0
ret

Function at 0x430534
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 0x43057c
lea eax, [esp + 0x105]
push eax
push 0
push 0x4305b4
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetTempFileNameA
test eax, eax
je 0x43057c
lea eax, [esp + 0x105]
call fcn.0040a048
cmp ebx, eax
jg 0x430580
xor eax, eax
jmp 0x430582
mov al, 1
mov ebx, eax
test bl, bl
je 0x43059c
lea edx, [esp + 0x105]
mov eax, esi
call fcn.0040a088
push esi
call sub.kernel32.dll_DeleteFileA
movzx eax, bl
mov edx, dword [0x4903e8]
mov eax, dword [edx + eax*4]
add esp, 0x20c
pop esi
pop ebx
ret
Function at 0x430f34
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x430f3d
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 0x43107a
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.00430dc0
mov edx, dword [ebp - 8]
lea eax, [ebx + 0x22]
call fcn.0040a0f4
lea ecx, [ebp - 0xc]
mov edx, dword [ebx + 0x14]
mov eax, esi
call fcn.00430c2c
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x122]
call fcn.0040a0f4
lea ecx, [ebp - 0x10]
mov edx, dword [ebx + 0x18]
mov eax, esi
call fcn.00430d08
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x222]
call fcn.0040a0f4
cmp word [esi + 0x42], 0
je 0x430fca
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 0x43103b
lea eax, [ebp - 0x14]
lea edx, [ebx + 0x222]
mov ecx, pe_nt_image_headers32
call fcn.00405340
mov eax, dword [ebp - 0x14]
call fcn.00409a08
lea eax, [ebp - 0x24]
lea edx, [ebx + 0x222]
mov ecx, pe_nt_image_headers32
call fcn.00405340
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.00405340
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x18]
mov edx, 1
call fcn.0042fe5c
mov eax, dword [ebp - 0x18]
call fcn.0040557c
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 0x431081
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004050f4
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.004050f4
ret
Function at 0x433000
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.0040556c
xor eax, eax
push ebp
push 0x433246
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, ebx
call fcn.00405124
mov byte [ebp - 0xd], 0
test ebx, ebx
je 0x43321e
cmp dword [0x48d8d8], 0
jne 0x433065
call fcn.00433f88
cmp dword [0x48d8d8], 0
je 0x43321e
xor eax, eax
push ebp
push 0x433214
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x433203
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x433260
call fcn.00405168
mov edx, dword [ebp - 4]
mov eax, 0x433270
call fcn.004056c8
mov esi, eax
test esi, esi
jle 0x4330c4
lea eax, [ebp - 8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004055e4
lea eax, [ebp - 4]
mov ecx, esi
mov edx, 1
call fcn.00405624
cmp dword [ebp - 4], 0
jne 0x4330e4
mov dl, 1
mov eax, ebx
call fcn.00428eb8
xor edx, edx
push edx
push eax
lea edx, [ebp - 4]
mov eax, 8
call fcn.004094b8
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x48d8d8]
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.0042ddc4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00405124
mov eax, dword [0x48d8d8]
cmp byte [eax + 0x13], 0
je 0x433150
push 0x43327c
push dword [ebp - 4]
push 0x433290
push ebx
push 0x433290
mov eax, dword [ebp - 0xc]
push dword [eax]
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.00405480
mov eax, dword [ebp - 0x1c]
call fcn.0040557c
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x43319d
mov eax, dword [ebp - 0xc]
mov edx, ebx
call fcn.00405124
mov eax, dword [0x48d8d8]
cmp byte [eax + 0x11], 0
je 0x433187
push dword [ebp - 4]
push 0x43329c
mov eax, dword [ebp - 0xc]
push dword [eax]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.00405480
mov byte [ebp - 0xd], 0
call fcn.00404af4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43321e
mov byte [ebp - 0xd], 1
mov eax, dword [0x48d8d8]
cmp byte [eax + 0x11], 0
je 0x4331c6
push dword [ebp - 4]
push 0x4332a8
mov eax, dword [ebp - 0xc]
push dword [eax]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.00405480
lea eax, [ebp - 8]
call fcn.004050d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43320a
mov eax, dword [0x48d8d8]
cmp dword [eax + 0x16], 0
je 0x433202
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov ebx, dword [0x48d8d8]
call dword [ebx + 0x16]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.00405124
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43324d
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.004050f4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004050f4
ret
Function at 0x433e0c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x433f02
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x433f18
call fcn.00405168
push 5
lea eax, [ebp - 0xe]
push eax
push 0x59
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp eax, 3
sete bl
test bl, bl
je 0x433e72
push 5
lea eax, [ebp - 9]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp eax, 3
je 0x433e76
xor eax, eax
jmp 0x433e78
mov al, 1
mov ebx, eax
test bl, bl
je 0x433e93
lea eax, [ebp - 4]
lea edx, [ebp - 0xe]
call fcn.004052c8
mov eax, esi
lea edx, [ebp - 9]
call fcn.004052c8
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00408f24
mov eax, dword [ebp - 0x14]
mov edx, 0x433f24
call fcn.00405514
jne 0x433ed5
lea edx, [ebp - 0x18]
mov eax, dword [esi]
call fcn.00408f24
mov eax, dword [ebp - 0x18]
mov edx, 0x433f30
call fcn.00405514
jne 0x433ed5
mov eax, edi
mov edx, dword [0x48d8dc]
call fcn.00405124
jmp 0x433edf
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00405124
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433f09
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004050f4
lea eax, [ebp - 4]
call fcn.004050d0
ret
Function at 0x438f2c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x43910c
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x407]
push eax
call sub.user32.dll_GetClientRect
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
jne 0x438f89
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x407]
push eax
call sub.user32.dll_BeginPaint
mov ebx, eax
jmp 0x438f9c
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_WindowFromDC
test eax, eax
jne 0x438f9c
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x438fec
mov eax, dword [ebp - 4]
cmp dword [eax + 0xf9], 0
jne 0x438fec
push 0
call sub.user32.dll_GetDC
mov esi, eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x5c]
push eax
push esi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x10], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x14], eax
jmp 0x438ffc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf9]
test eax, eax
je 0x438ffc
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4390fb
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0xf9], edx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0x14
mov eax, dword [ebp - 4]
push eax
call fcn.0043c02c
cmp dword [0x495c3c], 0
je 0x43903e
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call dword [0x495c3c]
push 0
mov eax, dword [ebp - 0xc]
push eax
push 0xf
mov eax, dword [ebp - 4]
push eax
call fcn.0043c02c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x43f]
test eax, eax
je 0x439063
xor edx, edx
call fcn.00435c98
push 0
push ebx
call sub.gdi32.dll_SelectClipRgn
cmp ebx, dword [ebp - 0xc]
je 0x43908f
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x5c]
push eax
push 0
push 0
push ebx
call sub.gdi32.dll_BitBlt
cmp dword [ebp - 8], 0
jne 0x4390a8
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x407]
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439102
cmp dword [ebp - 0x10], 0
je 0x4390e7
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xf9], edx
jmp 0x4390fa
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jne 0x4390fa
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xf9], edx
ret
Function at 0x439d5c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x808], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x439e0f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x5c3], 0
jne 0x439da6
lea edx, [ebp - 0x808]
mov eax, ebx
call fcn.00439f48
mov edx, dword [ebp - 0x808]
mov eax, esi
call fcn.00405a54
jmp 0x439df6
mov eax, dword [ebx + 0x407]
test eax, eax
je 0x439df6
cmp byte [ebx + 0x431], 0
jne 0x439df6
push eax
call sub.user32.dll_GetWindowTextLengthW
cmp eax, 0x400
jle 0x439dcb
mov eax, 0x400
test eax, eax
jle 0x439df6
inc eax
push eax
lea eax, [ebp - 0x802]
push eax
mov eax, dword [ebx + 0x407]
push eax
call sub.user32.dll_GetWindowTextW
mov eax, esi
lea edx, [ebp - 0x802]
mov ecx, 0x401
call fcn.00405a38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439e16
lea eax, [ebp - 0x808]
call fcn.004050d0
ret

Function at 0x439f48
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43a003
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x5c3], 0
je 0x439f87
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00439d5c
mov eax, dword [ebp - 8]
mov edx, edi
call fcn.00439ee0
jmp 0x439fed
mov eax, dword [ebx + 0x407]
test eax, eax
je 0x439fe0
cmp byte [ebx + 0x431], 0
jne 0x439fe0
push eax
call sub.user32.dll_GetWindowTextLengthA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x439fad
xor esi, esi
jmp 0x439fca
mov eax, dword [ebp - 4]
inc eax
call fcn.00402ee4
mov esi, eax
mov eax, dword [ebp - 4]
inc eax
push eax
push esi
mov eax, dword [ebx + 0x407]
push eax
call sub.user32.dll_GetWindowTextA
mov eax, edi
mov edx, esi
call fcn.004052c8
test esi, esi
je 0x439fed
mov eax, esi
call fcn.00402f00
jmp 0x439fed
mov eax, edi
mov edx, dword [ebx + 0x425]
call fcn.004052c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a00a
lea eax, [ebp - 8]
call fcn.004058cc
ret
Function at 0x43f934
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, edx
push esp
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call fcn.00429d60
mov edx, ebx
lea eax, [esp + 4]
call fcn.0040a1e8
add esp, 0x208
pop ebx
ret

Function at 0x4402e4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 8], 0
mov eax, dword [ebp - 4]
add eax, 0x11
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 9], ebx
test ebx, ebx
jbe 0x440378
xor eax, eax
push ebp
push 0x440362
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00440238
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xd], esi
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 9]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.version.dll_GetFileVersionInfoA
cmp eax, 1
sbb eax, eax
inc eax
mov edx, dword [ebp - 4]
mov byte [edx + 8], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x440378
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x441354
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x44135d
push ecx
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x11], dl
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x441552
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x19], 1
mov dl, 1
mov eax, dword [0x4168b4]
call fcn.004041bc
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x4414c7
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
mov ecx, dword [ebp - 0x20]
mov edx, 0x3f
mov eax, dword [ebp - 0x10]
call fcn.004410c4
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4414b1
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x2c]
push eax
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.00409d6c
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 8]
pop ecx
call fcn.00405404
mov bl, 1
mov eax, dword [ebp - 8]
call fcn.0040557c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x44143e
test al, 0x10
je 0x44143e
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0040deb4
lea eax, [ebp - 0x34]
mov ecx, 0x44156c
mov edx, dword [ebp - 0xc]
call fcn.00405404
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov dl, 1
call fcn.00441354
mov ebx, eax
jmp 0x44149d
test bl, bl
je 0x44149d
cmp dword [ebp - 0x18], 0
je 0x44146c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 8]
call fcn.00409f68
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 4]
call fcn.00408fac
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x4414a5
mov eax, dword [ebp - 8]
call fcn.00434c1c
push 0x80
mov eax, dword [ebp - 8]
call fcn.0040557c
push eax
call sub.kernel32.dll_SetFileAttributesA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x44149d
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.004407a0
mov ebx, eax
test bl, bl
jne 0x4414a5
mov byte [ebp - 0x19], 0
inc dword [ebp - 0x24]
dec dword [ebp - 0x28]
jne 0x4413d1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4414ce
lea eax, [ebp - 0x20]
call fcn.0040ef8c
ret
Function at 0x441864
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x40c], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4419e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, dword [ebp + 0xc]
call fcn.00405124
xor edx, edx
push ebp
push 0x4419be
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x40c]
mov eax, edi
call fcn.004417a0
mov edx, dword [ebp - 0x40c]
lea eax, [ebp - 0x110]
mov ecx, 0xff
call fcn.0040a11c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x110]
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyA
xor edx, edx
push ebp
push 0x4419ad
push dword fs:[edx]
mov dword fs:[edx], esp
test eax, eax
je 0x441900
call fcn.00404af4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4419c8
lea eax, [ebp - 0x210]
mov ecx, 0xff
mov edx, dword [ebp - 4]
call fcn.0040a11c
lea ebx, [ebp - 0x405]
mov dword [ebp - 8], 0x1f4
mov byte [ebx], 0
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44194d
mov edx, esi
mov eax, ebx
call fcn.0040a1e8
jmp 0x441990
cmp eax, 0xea
jne 0x441990
mov eax, dword [ebp - 8]
call fcn.00402ecc
mov ebx, eax
mov byte [ebx], 0
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x441989
mov edx, esi
mov eax, ebx
call fcn.0040a1e8
mov eax, ebx
call fcn.00402f00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4419b4
cmp dword [ebp - 0xc], 0
je 0x4419ac
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4419e8
lea eax, [ebp - 0x40c]
call fcn.004050d0
ret
Function at 0x4419f4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc00
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x400], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 0x14]
xor eax, eax
push ebp
push 0x441be2
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x441bbf
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x400]
mov eax, dword [ebp - 4]
call fcn.004417a0
mov edx, dword [ebp - 0x400]
lea eax, [ebp - 0x205]
call fcn.0040a0f4
cmp byte [ebp + 0x10], 0
je 0x441a69
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x205]
push eax
push ebx
call sub.advapi32.dll_RegCreateKeyA
mov dword [ebp - 0xc], eax
jmp 0x441a7d
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x205]
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyA
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x441bae
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [ebp - 0xc], 0
je 0x441aa3
call fcn.00404af4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x441bc9
xor edx, edx
push ebp
push 0x441b7b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, edi
test eax, eax
je 0x441abc
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
lea eax, [ebx + 1]
cmp eax, 0x1f4
jge 0x441ad3
lea eax, [ebp - 0x205]
mov dword [ebp - 0x10], eax
jmp 0x441adb
call fcn.00402ecc
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x441b4c
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, edi
mov eax, dword [ebp - 0x10]
call fcn.0040a0f4
mov byte [ebp - 0x3fa], 0
lea eax, [ebp - 0x3fa]
mov edx, esi
call fcn.0040a0f4
test esi, esi
jne 0x441b0f
xor eax, eax
jmp 0x441b15
lea eax, [ebp - 0x3fa]
push ebx
mov edx, dword [ebp - 0x10]
push edx
push 1
push 0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441b53
lea eax, [ebp - 0x205]
cmp eax, dword [ebp - 0x10]
je 0x441b4b
mov eax, dword [ebp - 0x10]
call fcn.00402f00
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441be9
lea eax, [ebp - 0x400]
call fcn.004050d0
ret