joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421677
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
xor eax, eax
xor esi, esi
mov byte [ebp - 4], al
mov byte [ebp - 3], al
mov byte [ebp - 2], al
mov byte [ebp - 8], al
mov byte [ebp - 7], al
mov byte [ebp - 6], al
mov byte [ebp - 5], al
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
dec eax
test ecx, ecx
je 0x4217f6
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
inc esi
inc dword [ebp + 8]
cmp esi, 3
mov al, byte [eax]
mov byte [ebp + esi - 5], al
mov dl, byte [ebp - 2]
mov al, byte [ebp - 3]
mov cl, byte [ebp - 4]
jne 0x42173c
mov dl, cl
mov bl, al
shr dl, 2
mov byte [ebp - 8], dl
mov dl, cl
and dl, 3
shl dl, 4
shr bl, 4
add dl, bl
mov bl, byte [ebp - 2]
mov byte [ebp - 7], dl
mov dl, al
and dl, 0xf
shl dl, 2
shr bl, 6
add dl, bl
mov byte [ebp - 6], dl
mov dl, byte [ebp - 2]
mov bl, dl
and bl, 0x3f
and dword [ebp + 0xc], 0
mov byte [ebp - 5], bl
mov ebx, dword [0x655f04]
test ebx, ebx
jne 0x421718
mov esi, 0x5858c0
jmp 0x421722
mov esi, dword [ebp + 0xc]
movzx esi, byte [ebp + esi - 8]
add esi, ebx
mov bl, byte [esi]
mov edi, dword [edi]
mov esi, dword [ebp + 0x10]
mov byte [edi + esi], bl
mov edi, dword [ebp + 0x14]
inc dword [edi]
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 4
jl 0x421707
xor esi, esi
dec dword [ebp - 0xc]
jne 0x4216b0
test esi, esi
je 0x4217f6
cmp esi, 3
jge 0x421777
push 3
lea edi, [ebp + esi - 4]
pop ecx
xor eax, eax
sub ecx, esi
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dl, byte [ebp - 2]
mov al, byte [ebp - 3]
mov cl, byte [ebp - 4]
mov edi, dword [ebp + 0x14]
mov bl, cl
and cl, 3
shr bl, 2
mov byte [ebp - 8], bl
mov bl, al
shl cl, 4
shr bl, 4
add cl, bl
and dword [ebp + 8], 0
mov byte [ebp - 7], cl
and al, 0xf
mov cl, dl
and dl, 0x3f
shl al, 2
shr cl, 6
add al, cl
lea ecx, [esi + 1]
test ecx, ecx
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
jle 0x4217de
mov edx, dword [0x655f04]
test edx, edx
jne 0x4217c0
mov eax, 0x5858c0
jmp 0x4217ca
mov eax, dword [ebp + 8]
movzx eax, byte [ebp + eax - 8]
add eax, edx
mov edx, dword [edi]
mov ebx, dword [ebp + 0x10]
mov al, byte [eax]
mov byte [edx + ebx], al
inc dword [edi]
inc dword [ebp + 8]
cmp dword [ebp + 8], ecx
jl 0x4217af
cmp esi, 3
jge 0x4217f6
push 4
pop eax
sub eax, ecx
mov ecx, dword [edi]
mov edx, dword [ebp + 0x10]
mov byte [ecx + edx], 0x3d
inc dword [edi]
dec eax
jne 0x4217e8
mov eax, dword [edi]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x422356
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x423475
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x56ba14
call fcn.004f8f84
push ecx
mov eax, dword [0x64d578]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x18], eax
mov eax, dword [0x64d578]
and dword [ebp - 4], 0
mov dword [esi + 0x20], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x24], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x28], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x2c], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x30], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x34], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 7
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esi], 0x5858fc
mov dword [esi + 0xc], eax
call fcn.00424cb1
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 8

Function at 0x426acf
Capabilities:
Get common file path

Disassembly:
mov eax, 0x56c08f
call fcn.004f8f84
sub esp, 0x808
push ebx
push edi
xor ebx, ebx
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x812]
mov word [ebp - 0x814], bx
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x814]
push 0x1a
push eax
push ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, ebx
jge 0x426b21
push dword [ebp + 8]
call fcn.004269aa
pop ecx
mov eax, dword [ebp + 8]
jmp 0x426b83
push esi
push 0x65535c
lea ecx, [ebp - 0x10]
call fcn.00554548
push 1
pop esi
mov dword [ebp - 4], esi
call fcn.00565826
mov eax, dword [eax + 4]
push dword [eax + 0x78]
lea eax, [ebp - 0x814]
push 0x5bd650
push eax
lea eax, [ebp - 0x10]
push str._s_s_s
push eax
call fcn.0054d2e9
push dword [ebp - 0x10]
call fcn.0041e740
mov ecx, dword [ebp + 8]
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
call fcn.00554241
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], bl
call fcn.005544d4
mov eax, dword [ebp + 8]
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x426b91
Capabilities:
Get common file path

Disassembly:
mov eax, 0x56c0bb
call fcn.004f8f84
sub esp, 0x808
push ebx
push edi
xor ebx, ebx
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x812]
mov word [ebp - 0x814], bx
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x814]
push 0x1a
push eax
push ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, ebx
jge 0x426be3
push dword [ebp + 8]
call fcn.004269aa
pop ecx
mov eax, dword [ebp + 8]
jmp 0x426c3a
push esi
push 0x65535c
lea ecx, [ebp - 0x10]
call fcn.00554548
push 1
lea eax, [ebp - 0x814]
pop esi
push 0x5bd650
push eax
lea eax, [ebp - 0x10]
push str._s_sCommon
push eax
mov dword [ebp - 4], esi
call fcn.0054d2e9
push dword [ebp - 0x10]
call fcn.0041e740
mov ecx, dword [ebp + 8]
add esp, 0x14
lea eax, [ebp - 0x10]
push eax
call fcn.00554241
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], bl
call fcn.005544d4
mov eax, dword [ebp + 8]
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x426c48
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x56c0f7
call fcn.004f8f84
sub esp, 0x10
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.004269aa
push 1
lea eax, [ebp - 0x14]
pop ebx
mov dword [ebp - 4], ebx
mov dword [esp], str.Components
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00554779
push dword [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x426cb9
lea eax, [ebp - 0x14]
push str.Modules
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00554779
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0055461b
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.005544d4
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00554241
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.005544d4
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.005544d4
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x426cef
Capabilities:
Get common file path

Disassembly:
mov eax, 0x56c12b
call fcn.004f8f84
sub esp, 0x80c
and word [ebp - 0x818], 0
push ebx
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x816]
rep stosd dword es:[edi], eax
and dword [ebp - 0x18], 0
stosw word es:[edi], ax
lea eax, [ebp - 0x818]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [0x64d578]
mov dword [ebp - 0x10], eax
push 1
lea eax, [ebp - 0x10]
pop ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0041e459
mov eax, dword [0x64d578]
pop ecx
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x818]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x14]
push str._s_s
push eax
call fcn.0054d2e9
mov ecx, dword [ebp + 8]
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
call fcn.00554241
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.005544d4
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.005544d4
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x428da6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.004f9e40
push ebx
push edi
xor edi, edi
push 0x1001
lea eax, [ebp - 0x1010]
push edi
mov ebx, ecx
push eax
call fcn.004f9090
add esp, 0xc
lea eax, [ebp - 8]
mov ecx, ebx
mov dword [ebp - 8], 0x1001
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.00428e6a
test eax, eax
jne 0x428e14
lea eax, [ebp - 0xc]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 4]
push eax
push edi
push 2
push edi
push edi
push edi
push dword [ebp + 8]
mov dword [ebp - 0xc], edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x428e19
or eax, 0xffffffff
jmp 0x428e42
push dword [ebp - 8]
lea eax, [ebp - 0x1010]
push eax
push 3
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x428e37
or edi, 0xffffffff
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop ebx
leave
ret 8

Function at 0x4291c4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.004f9e40
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push 0x65535c
call fcn.0055466b
xor esi, esi
push 0x1001
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.004f9090
add esp, 0xc
lea eax, [ebp - 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 8]
push eax
push esi
push 1
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0xc], esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x429227
or eax, 0xffffffff
jmp 0x429281
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x1001
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp + 8]
push eax
push esi
push esi
mov dword [ebp + 8], 3
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
test eax, eax
je 0x42925e
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x429222
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x429222
push dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
mov ecx, ebx
push dword [ebp - 4]
push eax
call fcn.00429287
neg eax
sbb eax, eax
pop esi
pop ebx
leave
ret 8
Function at 0x42a87d
Capabilities:
Get common file path

Disassembly:
mov eax, 0x56c620
call fcn.004f8f84
sub esp, 0x830
and word [ebp - 0x83c], 0
push esi
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x83a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x83c]
push 0x3ff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x83c]
lea ecx, [ebp - 0x14]
push eax
call fcn.00554548
and dword [ebp - 4], 0
push str._bootstat.dat
lea ecx, [ebp - 0x14]
call fcn.005548c5
push 0x24
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.004f9090
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
call fcn.0054d546
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
call fcn.004fa85f
pop ecx
test eax, eax
pop ecx
jne 0x42a921
mov eax, dword [ebp - 0x20]
push ecx
mov ecx, esp
mov esi, eax
mov dword [ebp - 0x18], esp
mov dword [ecx], eax
lea ecx, [ebp - 0x10]
call fcn.0042a945
test eax, eax
je 0x42a921
mov dword [ebp - 0x10], esi
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
mov dword [esi], eax
call fcn.005544d4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x4317e3
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x56c96c
call fcn.004f8f84
push ecx
push ecx
mov eax, dword [0x655f58]
push ebx
push esi
push edi
cmp dword [eax - 8], 0
mov ebx, ecx
jne 0x431834
lea eax, [ebp - 0x14]
push eax
call fcn.00426c48
and dword [ebp - 4], 0
mov dword [esp], str.dwebp.exe
push dword [ebp - 0x14]
push 0x5be5b8
push 0x655f58
call fcn.0054d2e9
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea ecx, [ebp - 0x14]
call fcn.005544d4
push dword [0x655f58]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x4318ca
mov edi, dword [ebp + 8]
test edi, edi
je 0x4318ca
push edi
call esi
test eax, eax
je 0x4318ca
cmp dword [ebp + 0xc], 0
je 0x4318ca
mov eax, dword [0x64d578]
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x10], 0
push dword [ebp + 0xc]
mov dword [ebp - 4], 1
je 0x431893
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push edi
push dword [0x655f58]
push str.__s____s____s__o___s_
push eax
call fcn.0054d2e9
add esp, 0x18
jmp 0x4318ab
push edi
lea eax, [ebp - 0x10]
push dword [0x655f58]
push str.__s____s___o___s_
push eax
call fcn.0054d2e9
add esp, 0x14
push dword [ebp + 0x14]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x10]
call dword [eax + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.005544d4
mov eax, esi
jmp 0x4318cd
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x43279e
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x56cba5
call fcn.004f8f84
push ecx
mov eax, dword [0x64d578]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x10]
mov dword [ecx], eax
mov eax, dword [0x64d578]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x20], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x24], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x28], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x2c], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x30], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x34], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x40], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x44], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x4c], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x50], eax
mov edi, 0x65535c
mov byte [ebp - 4], 0xa
push edi
mov dword [esi], 0x5861c0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.0055466b
fldz
push edi
lea ecx, [esi + 0x20]
fstp dword [esi + 0x1c]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
call fcn.0055466b
push edi
lea ecx, [esi + 0x24]
call fcn.0055466b
push edi
lea ecx, [esi + 0x28]
call fcn.0055466b
push edi
lea ecx, [esi + 0x2c]
call fcn.0055466b
push edi
lea ecx, [esi + 0x30]
call fcn.0055466b
push edi
lea ecx, [esi + 0x34]
call fcn.0055466b
mov dword [esi + 0x38], ebx
push edi
lea ecx, [esi + 0x40]
mov dword [esi + 0x3c], ebx
call fcn.0055466b
push edi
lea ecx, [esi + 0x44]
call fcn.0055466b
mov dword [esi + 0x48], ebx
push edi
lea ecx, [esi + 0x4c]
call fcn.0055466b
push edi
lea ecx, [esi + 0x50]
call fcn.0055466b
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x435e89
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x56d19c
call fcn.004f8f84
sub esp, 0x24
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [esi + 0xa0], edi
call fcn.004366a1
cmp eax, edi
je 0x436013
or ebx, 0xffffffff
cmp eax, ebx
je 0x435eef
cmp eax, 0xfffffffe
je 0x435f24
mov eax, dword [esi + 0x9c]
cmp eax, edi
je 0x435ed8
push eax
mov ecx, esi
call fcn.00490e73
test eax, eax
jne 0x435f24
push dword [esi + 0x94]
lea ecx, [esi + 0x70]
call fcn.00436949
cmp eax, edi
je 0x435ef2
cmp eax, 0xfffffffe
je 0x435f24
push edi
jmp 0x435f2f
cmp word [esi + 0x78], 2
jne 0x436013
mov eax, esi
mov ecx, esi
cdq
mov edi, eax
lea eax, [esi + 0x8c]
push eax
lea eax, [esi + 0x88]
push eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edx
call fcn.00436735
cmp eax, ebx
jne 0x435f28
push 0x28
jmp 0x435f2f
cmp eax, 0xfffffffe
jne 0x435f3f
push 0x15
push 4
mov ecx, esi
call fcn.004361f3
mov eax, ebx
jmp 0x43601c
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.00436551
test eax, eax
je 0x435f6e
push 0x28
push 4
mov ecx, esi
call fcn.004361f3
lea eax, [ebp - 0x14]
push 0x5a09d0
push eax
mov dword [ebp - 0x14], ebx
call fcn.004fa767
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
test al, 1
jne 0x435fac
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
add eax, 2
adc ecx, 0
cmp eax, edi
jne 0x435f8f
cmp ecx, dword [ebp - 0x2c]
je 0x435fac
push 0x28
push 4
mov ecx, esi
call fcn.004361f3
or dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x18]
push 0x5a09d0
push eax
call fcn.004fa767
or dword [ebp - 4], 0xffffffff
test byte [esi + 0x10], 1
je 0x435fcb
mov ecx, esi
call fcn.00436902
cmp eax, 0xffffffff
jne 0x435fc6
push 0
jmp 0x435fee
cmp eax, 0xfffffffe
je 0x435fec
call ebx
push 3
xor edx, edx
pop ecx
div ecx
test edx, edx
jne 0x436013
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
add eax, 2
adc ecx, edx
cmp eax, edi
jne 0x435fec
cmp ecx, dword [ebp - 0x2c]
je 0x436013
push 0x28
push 4
mov ecx, esi
call fcn.004361f3
or eax, 0xffffffff
jmp 0x43601c
mov ecx, esi
call fcn.0043627b
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x43602b
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x56d1b8
call fcn.004f8f84
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
push edi
mov eax, esi
mov dword [ebp - 0x10], esp
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
cdq
mov edi, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edx
call fcn.00554548
push dword [ebp + 0xc]
xor ebx, ebx
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.00554548
lea eax, [ebp + 8]
mov ecx, esi
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.00436735
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x4360a5
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.005544d4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.005544d4
mov eax, dword [ebp + 0xc]
jmp 0x4361e2
lea eax, [ebp - 0x14]
lea ecx, [esi + 0x88]
push eax
call fcn.0055461b
lea eax, [ebp + 8]
lea ecx, [esi + 0x8c]
push eax
call fcn.0055461b
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
mov byte [ebp - 4], 2
call fcn.00436551
cmp eax, ebx
je 0x4360f3
push 0x28
push 4
mov ecx, esi
call fcn.004361f3
or dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x18]
push 0x5a09d0
push eax
call fcn.004fa767
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test al, 1
jne 0x436131
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
add eax, 2
adc ecx, ebx
cmp eax, edi
jne 0x436111
cmp ecx, dword [ebp - 0x34]
je 0x436131
push 0x28
push 4
mov ecx, esi
call fcn.004361f3
lea eax, [ebp - 0x1c]
push 0x5a09d0
push eax
mov dword [ebp - 0x1c], 0xfffffffe
call fcn.004fa767
lea eax, [ebp - 0x20]
push 0x5a09d0
push eax
mov dword [ebp - 0x20], ebx
call fcn.004fa767
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jne 0x4361c1
lea eax, [ebp - 0x28]
push eax
call fcn.0043748f
mov edi, dword [ebp - 0x24]
mov eax, dword [eax]
pop ecx
push ebx
push 2
pop esi
mov ecx, edi
push esi
mov dword [edi + 0x7c], eax
mov dword [edi + 0x80], eax
call fcn.004361f3
mov ecx, edi
call fcn.0043627b
cmp word [edi + 0x78], si
jne 0x436180
cmp word [edi + 0x7a], bx
je 0x436189
mov dword [edi + 0xa0], ebx
mov dword [ebp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
test edx, edx
jne 0x4361c1
mov ecx, dword [ebp - 0x30]
mov eax, edi
add ecx, esi
mov esi, dword [ebp - 0x2c]
cdq
adc esi, ebx
cmp ecx, eax
jne 0x4361af
cmp esi, edx
je 0x4361c1
push 0x28
push 4
mov ecx, edi
call fcn.004361f3
mov dword [ebp + 0xc], 0xfffffffe
mov eax, 0x4361c7
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x436a5b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.004f9e40
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push 0x65535c
call fcn.0055466b
xor esi, esi
push 0x1001
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.004f9090
add esp, 0xc
lea eax, [ebp - 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 8]
push eax
push esi
push 1
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0xc], esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x436abe
or eax, 0xffffffff
jmp 0x436b18
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x1001
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp + 8]
push eax
push esi
push esi
mov dword [ebp + 8], 3
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
test eax, eax
je 0x436af5
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x436ab9
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x436ab9
push dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
mov ecx, ebx
push dword [ebp - 4]
push eax
call fcn.00436bc0
neg eax
sbb eax, eax
pop esi
pop ebx
leave
ret 8

Function at 0x436b1e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.004f9e40
push ebx
push edi
xor edi, edi
push 0x1001
lea eax, [ebp - 0x1010]
push edi
mov ebx, ecx
push eax
call fcn.004f9090
add esp, 0xc
lea eax, [ebp - 8]
mov ecx, ebx
mov dword [ebp - 8], 0x1001
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.00436ccf
test eax, eax
jne 0x436b8c
lea eax, [ebp - 0xc]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 4]
push eax
push edi
push 2
push edi
push edi
push edi
push dword [ebp + 8]
mov dword [ebp - 0xc], edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x436b91
or eax, 0xffffffff
jmp 0x436bba
push dword [ebp - 8]
lea eax, [ebp - 0x1010]
push eax
push 3
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x436baf
or edi, 0xffffffff
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop ebx
leave
ret 8
Function at 0x43748f
Capabilities:
Get common file path

Disassembly:
mov eax, 0x56d2c0
call fcn.004f8f84
sub esp, 0x830
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.0054d546
and word [ebp - 0x83c], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x83a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x83c]
push 0x3ff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x83c]
lea ecx, [ebp - 0x14]
push eax
call fcn.00554548
and dword [ebp - 4], 0
push str._bootstat.dat
lea ecx, [ebp - 0x14]
call fcn.005548c5
push 0x24
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.004f9090
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
call fcn.004fa85f
add esp, 0x14
test eax, eax
jne 0x437531
mov eax, dword [ebp - 0x20]
push ecx
mov ecx, esp
mov esi, eax
mov dword [ebp - 0x18], esp
mov dword [ecx], eax
lea ecx, [ebp - 0x10]
call fcn.0042a945
test eax, eax
je 0x437531
mov dword [ebp - 0x10], esi
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
mov dword [esi], eax
call fcn.005544d4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x438299
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 0xc]
and dword [edx], 0
mov eax, dword [ecx + 4]
test eax, eax
je 0x4382ac
cmp eax, 0xffffffff
jne 0x4382b1
or eax, 0xffffffff
jmp 0x4382ca
push 0
push edx
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
neg eax
dec eax
ret 0xc