joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43dcc8
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x486637
call fcn.0046694c
sub esp, 0x48
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0xd]
push ebx
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 3
mov dword [ebp - 0x54], 0x48a6a8
mov dword [ebp - 0x34], 0x48a6a0
call fcn.00403cd9
mov dword [ebp - 0x14], ebx
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 5
call fcn.004042dd
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push ecx
push dword [ebp + 0x88]
push ebx
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x43dd37
lea ecx, [ebp - 0x14]
call fcn.0041153d
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
cmp eax, ebx
push edi
mov esi, eax
jne 0x43ddb9
mov esi, dword [ebp - 0x14]
lea eax, [ebp + 0x88]
push eax
lea eax, [ebp - 0x20]
push ebx
push eax
push ebx
lea ecx, [ebp + 0x38]
call fcn.004042dd
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push esi
call edi
mov esi, eax
cmp esi, ebx
jne 0x43ddb9
push dword [ebp + 0x88]
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x54]
push eax
call fcn.00402f01
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 6
call fcn.004042dd
lea ecx, [ebp + 0x38]
mov dword [ebp + 0xc], eax
mov dword [esi + 8], eax
call fcn.004042dd
lea ecx, [ebp + 0x88]
mov dword [ebp - 0x18], ebx
push ecx
lea ecx, [ebp - 0x18]
push dword [ebp + 0xc]
push ecx
push ebx
push eax
push dword [ebp - 0x14]
call edi
lea ecx, [ebp - 0x2c]
mov esi, eax
mov byte [ebp - 4], 5
call fcn.00403013
cmp esi, ebx
mov dword [0x4aad24], esi
pop edi
lea eax, [ebp - 0x54]
je 0x43ddca
lea eax, [ebp + 0x60]
mov esi, dword [ebp + 8]
push ebx
push eax
mov ecx, esi
mov dword [esi], 0x48a6a8
mov dword [esi + 0x20], 0x48a6a0
call fcn.00403d4e
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x14], ebx
je 0x43ddfb
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.00402438
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 2
call fcn.00402438
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 1
call fcn.00402438
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], bl
call fcn.00402438
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x43e57e
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x43e5a6
xor al, al
leave
ret
cmp dword [ebp - 0x84], 2
jne 0x43e5bd
cmp dword [ebp - 0x90], 5
jb 0x43e5bd
push 1
pop eax
leave
ret
xor eax, eax
leave
ret
Function at 0x441e72
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call fcn.00441eeb
test al, al
je 0x441ed7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 4]
push ecx
push 0x28
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x441ed7
lea eax, [ebp - 0xc]
push esi
push eax
xor esi, esi
push 0x4a3db0
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [ebp - 0xc]
push esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push esi
lea eax, [ebp - 0x1c]
push esi
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
pop esi
push 0xffff
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
inc eax
leave
ret

Function at 0x443faa
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
cmp dword [ebp + 0xc], 0xffffffff
push esi
mov esi, ecx
jne 0x443fc0
mov dword [ebp + 0xc], 1
lea eax, [ebp + 0xc]
push 0
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x443ff5
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004385db
lea eax, [ebp - 0x48]
push 0x497a08
push eax
call fcn.004681d7
mov eax, dword [ebp + 0xc]
pop esi
leave
ret 8

Function at 0x443ffd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
cmp dword [ebp + 0xc], 0xffffffff
push esi
mov esi, ecx
jne 0x444013
mov dword [ebp + 0xc], 1
lea eax, [ebp + 0xc]
push 0
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x444048
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004385db
lea eax, [ebp - 0x48]
push 0x497a08
push eax
call fcn.004681d7
mov eax, dword [ebp + 0xc]
pop esi
leave
ret 8

Function at 0x444050
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x444064
push 1
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x444098
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.0044ad16
test al, al
jne 0x4440cb
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00438510
lea eax, [ebp - 0x4c]
push 0x497bc8
push eax
call fcn.004681d7
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4440cb
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004385db
lea eax, [ebp - 0x48]
push 0x497a08
push eax
call fcn.004681d7
mov eax, dword [ebp + 8]
pop esi
leave
ret 8
Function at 0x4440d3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x4440e7
push 1
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x44411b
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.0044ad16
test al, al
jne 0x44414e
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00438510
lea eax, [ebp - 0x4c]
push 0x497bc8
push eax
call fcn.004681d7
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44414e
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004385db
lea eax, [ebp - 0x48]
push 0x497a08
push eax
call fcn.004681d7
mov eax, dword [ebp + 8]
pop esi
leave
ret 8

Function at 0x444156
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x44416c
mov eax, 0x1ed
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4441a0
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.0044ad16
test al, al
jne 0x4441d3
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00438510
lea eax, [ebp - 0x4c]
push 0x497bc8
push eax
call fcn.004681d7
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4441d3
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004385db
lea eax, [ebp - 0x48]
push 0x497a08
push eax
call fcn.004681d7
mov eax, dword [ebp + 8]
pop esi
leave
ret 8

Function at 0x4441db
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x4441f1
mov eax, 0x28e
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x444225
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.0044ad16
test al, al
jne 0x444258
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00438510
lea eax, [ebp - 0x4c]
push 0x497bc8
push eax
call fcn.004681d7
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x444258
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004385db
lea eax, [ebp - 0x48]
push 0x497a08
push eax
call fcn.004681d7
mov eax, dword [ebp + 8]
pop esi
leave
ret 8
Function at 0x444260
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x444273
xor eax, eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4442a7
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.0044ad16
test al, al
jne 0x4442da
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00438510
lea eax, [ebp - 0x4c]
push 0x497bc8
push eax
call fcn.004681d7
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4442da
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004385db
lea eax, [ebp - 0x48]
push 0x497a08
push eax
call fcn.004681d7
mov eax, dword [ebp + 8]
pop esi
leave
ret 8
Function at 0x445769
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4873c7
call fcn.0046694c
sub esp, 0x138
and byte [ebp - 0x144], 0
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x143]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
stosb byte es:[edi], al
push 1
lea eax, [ebp - 0x10]
pop ebx
push eax
push 0x4a4110
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x445846
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0x18], 0x104
mov eax, 0x4a4100
je 0x4457d3
mov eax, 0x4a40f0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x144]
push ecx
push esi
push esi
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp + 0xf]
push 0
push eax
lea eax, [ebp - 0x144]
mov edi, 0x48bd0c
mov esi, 0x48bd04
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x20], esi
call fcn.00402d70
push 0x4a0c7c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0043b779
lea ecx, [ebp - 0x40]
call fcn.004453ae
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x40]
push 0
push eax
mov dword [ecx], edi
mov dword [ecx + 0x20], esi
call fcn.00403d4e
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x40]
jmp 0x445895
lea eax, [ebp + 0xf]
push 0
push eax
lea eax, [ebp - 0x144]
mov edi, 0x48bd0c
mov esi, 0x48bd04
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x20], esi
call fcn.00402d70
push 0x4a0c7c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.0043b779
mov ecx, dword [ebp + 8]
push 0
push eax
mov dword [ecx], edi
mov dword [ecx + 0x20], esi
call fcn.00403d4e
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x40]
call fcn.00402438
cmp dword [ebp - 0x10], 0
je 0x4458ae
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x4458ae
push dword [ebp - 0x10]
call eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4463de
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
cmp dword [ebp + 0xc], 0xffffffff
push esi
mov esi, ecx
jne 0x4463f4
mov dword [ebp + 0xc], 4
lea eax, [ebp + 0xc]
push 0
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x446429
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004385db
lea eax, [ebp - 0x48]
push 0x497a08
push eax
call fcn.004681d7
mov eax, dword [ebp + 0xc]
pop esi
leave
ret 8
Function at 0x446431
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
cmp dword [ebp + 0xc], 0xffffffff
push esi
mov esi, ecx
jne 0x446447
mov dword [ebp + 0xc], 1
lea eax, [ebp + 0xc]
push 0
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x44647c
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004385db
lea eax, [ebp - 0x48]
push 0x497a08
push eax
call fcn.004681d7
mov eax, dword [ebp + 0xc]
pop esi
leave
ret 8

Function at 0x446484
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x446498
push 4
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4464cc
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.0044ad16
test al, al
jne 0x4464ff
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00438510
lea eax, [ebp - 0x4c]
push 0x497bc8
push eax
call fcn.004681d7
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4464ff
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004385db
lea eax, [ebp - 0x48]
push 0x497a08
push eax
call fcn.004681d7
mov eax, dword [ebp + 8]
pop esi
leave
ret 8
Function at 0x449d6c
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push eax
push ebx
push 8
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], bl
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], 5
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x449dd3
call esi
cmp eax, 0x3f0
jne 0x449dc6
lea eax, [ebp - 4]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call esi
cmp eax, 0x78
jne 0x449dcf
push 1
jmp 0x449df2
cmp eax, ebx
je 0x449df1
lea eax, [ebp - 8]
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push eax
push ebx
push ebx
push 2
push dword [ebp - 4]
call edi
test eax, eax
jne 0x449df1
call esi
cmp eax, 0x7a
je 0x449e01
push ebx
push dword [ebp - 4]
call fcn.00449d5d
pop ecx
pop ecx
jmp 0x449ef8
push dword [ebp - 8]
call fcn.00466a9e
mov esi, eax
pop ecx
lea eax, [ebp - 8]
cmp esi, ebx
push eax
push dword [ebp - 8]
setne byte [ebp - 0x20]
push esi
push 2
push dword [ebp - 4]
call edi
test eax, eax
jne 0x449e47
push ebx
push dword [ebp - 4]
call fcn.00449d5d
cmp byte [ebp - 0x20], bl
pop ecx
pop ecx
mov byte [ebp + 0xb], al
je 0x449e3f
push esi
call fcn.0043797a
pop ecx
mov al, byte [ebp + 0xb]
jmp 0x449ef8
lea eax, [ebp - 0x10]
push eax
mov al, byte [ebp + 8]
neg al
push ebx
push ebx
sbb eax, eax
push ebx
and al, 0xfd
push ebx
push ebx
add eax, 0x223
push ebx
push eax
push 0x20
lea eax, [ebp - 0x18]
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x449e91
push ebx
push dword [ebp - 4]
call fcn.00449d5d
cmp byte [ebp - 0x20], bl
pop ecx
pop ecx
mov byte [ebp + 0xb], al
je 0x449e8c
push esi
call fcn.0043797a
pop ecx
mov al, byte [ebp + 0xb]
jmp 0x449ef8
xor edi, edi
cmp dword [esi], ebx
mov byte [ebp - 0xc], bl
jbe 0x449ed0
lea eax, [esi + 4]
mov dword [ebp + 8], eax
push dword [ebp - 0x10]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x449ebd
add dword [ebp + 8], 8
inc edi
cmp edi, dword [esi]
jb 0x449ea0
jmp 0x449ed0
cmp byte [ebp + 0xc], bl
je 0x449ecc
test byte [esi + edi*8 + 8], 0x10
mov byte [ebp - 0xc], bl
jne 0x449ed0
mov byte [ebp - 0xc], 1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push dword [ebp - 0xc]
push dword [ebp - 4]
call fcn.00449d5d
cmp byte [ebp - 0x20], bl
pop ecx
pop ecx
mov byte [ebp + 0xb], al
je 0x449ef5
push esi
call fcn.0043797a
pop ecx
mov al, byte [ebp + 0xb]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44a7f4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
push ebx
push edi
mov edi, ecx
call fcn.0040ddde
xor ebx, ebx
cmp eax, 1
jne 0x44a891
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push 0x4a4628
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x44a87e
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push ebx
push ebx
push 0x4a461c
mov dword [ebp - 8], 4
push dword [ebp - 4]
call esi
test eax, eax
je 0x44a855
mov dword [ebp - 0xc], ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x824
push eax
lea eax, [ebp - 0x830]
push eax
push ebx
push ebx
push 0x4a460c
push dword [ebp - 4]
call esi
test eax, eax
pop esi
je 0x44a87e
mov byte [ebp - 0x830], bl
cmp dword [ebp - 4], ebx
je 0x44a891
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
je 0x44a891
push dword [ebp - 4]
call eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044a2d0
add esp, 0x14
xor ecx, ecx
cmp eax, ebx
mov dword [edi + 4], eax
setne cl
pop edi
mov al, cl
pop ebx
leave
ret 0x14
Function at 0x44afb6
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, ecx
call edi
sub eax, dword [esi + 0x74]
cmp eax, 0x7530
jbe 0x44afee
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x5c], eax
mov dword [esi + 0x64], ecx
mov ecx, dword [esi + 0x6c]
xor eax, eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x60], ecx
mov dword [esi + 0x6c], eax
call edi
mov dword [esi + 0x74], eax
mov edi, dword [esi + 0x64]
test edi, edi
jne 0x44affa
mov eax, dword [esi + 0x5c]
jmp 0x44b043
push ebx
push ebp
push 0xa
xor eax, eax
pop ecx
xor ebp, ebp
test eax, eax
jne 0x44b041
or eax, 0xffffffff
xor edx, edx
div ecx
mov ebx, dword [esi + 0x5c]
cmp ebx, eax
jbe 0x44b01f
shr ebx, 1
shr edi, 1
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], edi
mov eax, dword [esi + 0x5c]
mov edi, dword [esi + 0x64]
imul eax, ecx
xor edx, edx
div edi
xor edx, edx
imul eax, eax, 0x3e8
div ecx
lea ecx, [ecx + ecx*4]
inc ebp
shl ecx, 1
cmp ebp, 3
jb 0x44b003
pop ebp
pop ebx
pop edi
pop esi
ret

Function at 0x44c4f9
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push ebx
push eax
mov ebx, ecx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [ebp - 4], eax
je 0x44c54b
push eax
call fcn.00466a9e
pop ecx
mov dword [ebx + 0x40], eax
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x44c54b
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4a1310
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x44c54f
xor al, al
jmp 0x44c5b0
push esi
push edi
mov edi, ebx
lea eax, [ebx + 4]
neg edi
sbb edi, edi
mov esi, dword [ebp - 0xc]
push 0xd
and edi, eax
pop ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4a2eec
rep movsd dword es:[edi], dword [esi]
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueA
pop edi
pop esi
test eax, eax
je 0x44c5ae
mov eax, dword [ebp - 4]
shr eax, 2
mov dword [ebx + 0x3c], eax
shl eax, 2
push eax
call fcn.00466a9e
mov dword [ebx + 0x38], eax
xor eax, eax
cmp dword [ebx + 0x3c], eax
pop ecx
jbe 0x44c5ae
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x38]
mov edx, dword [edx + eax*4]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [ebx + 0x3c]
jb 0x44c59c
mov al, 1
pop ebx
leave
ret 4
Function at 0x44cc80
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push dword [ebp + 8]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x44cd52
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea eax, [ebx + 1]
push eax
call fcn.00466a9e
pop ecx
mov dword [ebp - 4], eax
lea ecx, [ebp + 8]
push 0
push ecx
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp ebx, dword [ebp + 8]
jne 0x44cd52
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi + 0x30]
lea ecx, [esi + 0x28]
push dword [ecx + 4]
call fcn.0044d410
push dword [esi + 0x20]
lea ecx, [esi + 0x18]
push dword [ecx + 4]
call fcn.0044d3ba
mov edi, 0x4a8be4
push edi
call fcn.00466ce0
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00404325
mov edi, dword [ebp - 4]
mov ecx, esi
and byte [edi + ebx], 0
mov dword [esi + 0x38], edi
call fcn.0044c7a4
push eax
push 0
mov ecx, esi
call fcn.0044c919
test eax, eax
je 0x44cd52
mov ecx, esi
call fcn.0044c7a4
push eax
push 9
mov ecx, esi
call fcn.0044c919
test eax, eax
je 0x44cd52
push esi
mov ecx, esi
call fcn.0044cbf4
test eax, eax
jne 0x44cd56
xor eax, eax
jmp 0x44cd60
push edi
call fcn.0043797a
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x44ce85
Capabilities:
Delete registry key

Disassembly:
mov eax, 0x487e18
call fcn.0046694c
sub esp, 0x5c
mov eax, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], ecx
mov edi, dword [eax + 0x2c]
mov eax, dword [eax + 0x30]
cmp edi, eax
je 0x44cf76
push ebx
push esi
and dword [ebp - 0x14], 0
mov eax, dword [edi + 4]
and dword [ebp - 4], 0
test eax, eax
jne 0x44cebd
mov eax, 0x48a6b4
lea ecx, [ebp - 0xd]
push 1
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00401884
mov ecx, dword [ebp + 0xc]
push 0xf003f
mov byte [ebp - 4], 1
mov esi, dword [ecx]
mov ecx, eax
call fcn.00401a14
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.00416dc7
test eax, eax
setne bl
and byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00401093
test bl, bl
jne 0x44cf52
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.0044ce85
cmp dword [edi + 0x14], 0
jne 0x44cf52
mov eax, dword [edi + 4]
test eax, eax
jne 0x44cf1f
mov eax, 0x48a6b4
lea ecx, [ebp - 0xe]
push 1
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.00401884
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 4], 2
mov esi, dword [ecx]
mov ecx, eax
call fcn.00401a14
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00401093
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0
je 0x44cf65
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
add edi, 0x38
cmp edi, dword [eax + 0x30]
jne 0x44cea9
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x44f009
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov esi, ecx
cmp edi, ebx
je 0x44f02c
push 1
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [edi], eax
lea edi, [esi + 0x4c]
push edi
push ebx
push ebx
push ebx
push 2
push dword [esi + 0x10]
call fcn.0044e31b
add esp, 0x18
test eax, eax
je 0x44f0d1
push dword [edi]
call fcn.00466a9e
pop ecx
cmp eax, ebx
setne cl
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
mov byte [ebp - 0xc], cl
push eax
lea ecx, [esi + 0x44]
call fcn.004426cf
cmp byte [ebp - 0xc], bl
je 0x44f075
push dword [ebp - 8]
call fcn.0043797a
pop ecx
mov eax, dword [esi + 0x48]
push edi
push eax
push ebx
push ebx
push 2
push dword [esi + 0x10]
call fcn.0044e31b
add esp, 0x18
test eax, eax
je 0x44f0d1
lea eax, [ebp - 4]
push ebx
push eax
push 4
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
push edi
push dword [edi]
push dword [esi + 0x48]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test byte [ebp + 0x10], 1
jne 0x44f0de
mov eax, dword [esi + 0xc]
push ebx
push dword [ebp + 8]
push 1
push 1
push 0x10001
push eax
call fcn.0044e56b
add esp, 0x18
test eax, eax
jne 0x44f0de
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x54], eax
xor al, al
jmp 0x44f0f8
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x44f0f6
push 1
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub eax, dword [esi]
mov dword [esi], eax
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 0xc