joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e4e0
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x509010
push eax
mov eax, dword [0x543220]
mov dword fs:[0], esp
sub esp, 0x20
test eax, eax
je 0x41e766
mov al, byte [0x558018]
test al, 1
jne 0x41e531
or al, 1
push 0x556998
mov ecx, 0x558014
mov byte [0x558018], al
call fcn.004ea7b5
push 0x41e780
call fcn.004351dc
add esp, 4
mov eax, dword [0x558068]
test eax, eax
jne 0x41e6d5
mov dword [0x558068], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x55801c
lea ecx, [esp + 4]
mov dword [0x55806c], eax
mov dword [0x558078], 3
mov dword [0x558074], 1
call fcn.004ea4ae
mov eax, dword [esp]
mov dword [esp + 0x28], 0
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41e5de
push 0x104
lea ecx, [esp + 4]
call fcn.004eab86
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [esp + 4]
call fcn.004eabd6
push 0x53d42c
lea ecx, [esp + 4]
call fcn.004e3dac
mov ecx, dword [esp]
push str.Installation.log
push str.AgentInstall
push ecx
push str._s_s_s
push 0x558014
call fcn.004e3c81
add esp, 0x14
jmp 0x41e608
push 0x53d42c
lea ecx, [esp + 4]
call fcn.004e3dac
mov edx, dword [esp]
push str.Installation.log
push edx
push 0x540d30
push 0x558014
call fcn.004e3c81
add esp, 0x10
mov eax, dword [0x558014]
push eax
call fcn.00421920
add esp, 4
mov ecx, 0x558014
push 0x53d42c
call fcn.004e3dac
mov ecx, dword [0x558014]
push ecx
call fcn.00422ed0
add esp, 4
cmp eax, 0x100000
jbe 0x41e64a
mov edx, dword [0x558014]
push edx
call fcn.00420fc0
add esp, 4
mov eax, dword [0x558014]
push eax
call fcn.00420db0
add esp, 4
test eax, eax
jne 0x41e6b4
lea ecx, [esp + 0x10]
call fcn.004efb49
mov ecx, dword [0x558014]
push 0
push 0x1001
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.004efcfb
test eax, eax
je 0x41e6a6
lea edx, [esp + 8]
push 2
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xfeff
call fcn.004efe52
lea ecx, [esp + 0x10]
call fcn.004eff16
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.004efc3e
mov eax, dword [0x558014]
mov ecx, 0x558070
push eax
call fcn.00425bf0
lea ecx, [esp]
mov dword [esp + 0x28], 0xffffffff
call fcn.004ea741
lea ecx, [esp + 0xc]
push ecx
call fcn.004e4218
push 0x556998
lea ecx, [esp + 8]
call fcn.004ea7b5
lea edx, [esp + 8]
push str._Y__m__d__H:_M:_S
push edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 2
call fcn.004e44a2
mov ecx, dword [esp + 0x30]
mov edx, dword [0x55806c]
mov eax, dword [eax]
push ecx
push edx
push eax
lea ecx, [esp + 0x10]
push str._s___4d___s
push ecx
mov byte [esp + 0x3c], 3
call fcn.004e3c81
add esp, 0x14
lea ecx, [esp + 8]
mov byte [esp + 0x28], 2
call fcn.004ea741
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
mov ecx, 0x558070
call fcn.00425cd0
lea ecx, [esp + 4]
mov dword [esp + 0x28], 0xffffffff
call fcn.004ea741
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x420db0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x509458
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
lea ecx, [esp + 4]
call fcn.0042d590
mov eax, dword [esp + 0x30]
push 0
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call fcn.0042d655
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.0042d5cf
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x4216e0
Capabilities:
Delete directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x509608
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
mov esi, dword [esp + 0x48]
test esi, esi
je 0x4218d4
push esi
call fcn.0043533b
add esp, 4
test eax, eax
je 0x4218d4
lea ecx, [esp + 0x1c]
call fcn.0042d590
push esi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], 0
call fcn.004ea7b5
push 0x5c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], 1
call fcn.004e3dfc
lea eax, [esp + 0x48]
push 0x542d54
lea ecx, [esp + 8]
push eax
push ecx
call fcn.004ea9e6
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 2
call fcn.0042d655
lea ecx, [esp + 4]
mov esi, eax
mov byte [esp + 0x40], 1
call fcn.004ea741
test esi, esi
je 0x42189d
push ebx
mov bl, 5
lea ecx, [esp + 0x20]
call fcn.0042d87b
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.0042d83e
test eax, eax
jne 0x421894
lea edx, [esp + 0xc]
lea ecx, [esp + 0x20]
push edx
call fcn.0042da76
push 0x104
mov ecx, eax
mov byte [esp + 0x48], 3
call fcn.004eab86
push eax
lea ecx, [esp + 0xc]
call fcn.004ea7b5
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], bl
call fcn.004ea741
mov eax, dword [esp + 0x20]
push 0x10
lea ecx, [esp + 0x24]
call dword [eax + 0x38]
test eax, eax
push 0x53d42c
je 0x421837
lea ecx, [esp + 0x50]
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.004ea9e6
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
push eax
push edx
mov byte [esp + 0x50], 6
call fcn.004ea980
mov eax, dword [eax]
mov byte [esp + 0x44], 7
push eax
call fcn.004216e0
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 6
call fcn.004ea741
mov byte [esp + 0x44], bl
lea ecx, [esp + 0x14]
jmp 0x421881
lea eax, [esp + 0x50]
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.004ea9e6
lea edx, [esp + 8]
mov byte [esp + 0x44], 8
push edx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004ea980
mov eax, dword [eax]
mov byte [esp + 0x44], 9
push eax
call fcn.00420fc0
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 8
call fcn.004ea741
mov byte [esp + 0x44], bl
lea ecx, [esp + 0x1c]
call fcn.004ea741
lea ecx, [esp + 8]
mov byte [esp + 0x44], 1
call fcn.004ea741
test esi, esi
jne 0x421783
pop ebx
lea ecx, [esp + 0x1c]
call fcn.0042d60b
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
mov byte [esp + 0x40], 0
lea ecx, [esp + 0x48]
jne 0x4218e6
call fcn.004ea741
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 0xffffffff
call fcn.0042d5cf
xor eax, eax
pop esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
call fcn.004ea741
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 0xffffffff
call fcn.0042d5cf
mov ecx, dword [esp + 0x38]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x421920
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x509630
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, dword [esp + 0x1c]
xor ebx, ebx
cmp esi, ebx
push edi
je 0x421a3f
push esi
call fcn.0043533b
add esp, 4
test eax, eax
je 0x421a3f
push esi
lea ecx, [esp + 0x24]
call fcn.004ea7b5
cmp word [esi], 0x5c
mov dword [esp + 0x18], ebx
jne 0x42198f
cmp word [esi + 2], 0x5c
jne 0x42198f
push 3
push 0x5c
lea ecx, [esp + 0x28]
call fcn.004eac8b
inc eax
lea ecx, [esp + 0x20]
push eax
push 0x5c
call fcn.004eac8b
jmp 0x42199a
push 0x5c
lea ecx, [esp + 0x24]
call fcn.004eac7d
mov esi, eax
cmp esi, 0xffffffff
je 0x4219f9
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [esp + 0xc]
push esi
push eax
lea ecx, [esp + 0x28]
call fcn.004e381f
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x18], 1
push ecx
call fcn.00420ed0
add esp, 4
test eax, eax
jne 0x4219d8
mov edx, dword [esp + 0xc]
push ebx
push edx
call edi
test eax, eax
je 0x421a21
inc esi
lea ecx, [esp + 0x20]
push esi
push 0x5c
call fcn.004eac8b
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x18], bl
call fcn.004ea741
cmp esi, 0xffffffff
jne 0x4219a7
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.004ea741
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], bl
call fcn.004ea741
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.004ea741
mov ecx, dword [esp + 0x10]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x421c20
Capabilities:
Copy file

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
test edi, edi
je 0x421ca9
push edi
call fcn.0043533b
add esp, 4
test eax, eax
je 0x421ca9
mov esi, dword [esp + 0x10]
test esi, esi
je 0x421ca9
push esi
call fcn.0043533b
add esp, 4
test eax, eax
je 0x421ca9
push edi
call fcn.00420db0
add esp, 4
test eax, eax
je 0x421ca9
push esi
push edi
call fcn.00435619
add esp, 8
test eax, eax
je 0x421ca9
push esi
call fcn.00420fc0
add esp, 4
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x421ca1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x421ca9
push 0
push 0
push 0x240
push esi
push 0
push edi
push 0
push 0
call dword [sym.imp.SETUPAPI.dll_SetupInstallFileW]
test eax, eax
je 0x421ca9
pop edi
mov eax, 1
pop esi
ret
pop edi
xor eax, eax
pop esi
ret
Function at 0x423bd0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x509ae0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
cmp esi, ebx
push edi
mov dword [esp + 0x10], ecx
je 0x423cf8
push esi
call fcn.0043533b
add esp, 4
test eax, eax
je 0x423cf8
push esi
lea ecx, [esp + 0x28]
call fcn.004ea7b5
cmp word [esi], 0x5c
mov dword [esp + 0x1c], ebx
jne 0x423c45
cmp word [esi + 2], 0x5c
jne 0x423c45
push 3
push 0x5c
lea ecx, [esp + 0x2c]
call fcn.004eac8b
inc eax
lea ecx, [esp + 0x24]
push eax
push 0x5c
call fcn.004eac8b
jmp 0x423c50
push 0x5c
lea ecx, [esp + 0x28]
call fcn.004eac7d
mov esi, eax
cmp esi, 0xffffffff
je 0x423cb0
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [esp + 0xc]
push esi
push eax
lea ecx, [esp + 0x2c]
call fcn.004e381f
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x1c], 1
push ecx
mov ecx, dword [esp + 0x14]
call fcn.00423ae0
test eax, eax
jne 0x423c8f
mov edx, dword [esp + 0xc]
push ebx
push edx
call edi
test eax, eax
je 0x423cda
inc esi
lea ecx, [esp + 0x24]
push esi
push 0x5c
call fcn.004eac8b
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x1c], bl
call fcn.004ea741
cmp esi, 0xffffffff
jne 0x423c5d
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004ea741
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], bl
call fcn.004ea741
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004ea741
mov ecx, dword [esp + 0x14]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x424500
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x509cc0
push eax
mov dword fs:[0], esp
sub esp, 0x10
xor eax, eax
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov esi, ecx
push edi
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x424580
push 0x3d
push ebp
call fcn.00435b20
add esp, 8
test eax, eax
jne 0x424580
push 0x3b
push ebp
call fcn.00435b20
add esp, 8
test eax, eax
jne 0x424580
mov eax, dword [0x51afb8]
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0
push ecx
push ebp
mov ecx, esi
call fcn.004252d0
test eax, eax
je 0x424596
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.00450090
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
mov edx, dword [esp + 0x30]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea edx, [esp + 0x20]
push edx
call fcn.00418f30
add esp, 0xc
mov edi, eax
add esi, 4
push ebp
lea eax, [esp + 0x18]
push esi
push eax
mov byte [esp + 0x30], 1
call fcn.004507d0
push 0x3d
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x30], 2
call fcn.004517e0
push edi
lea edx, [esp + 0x10]
push eax
push edx
mov byte [esp + 0x30], 3
call fcn.00450610
push 0x3b
push eax
lea eax, [esp + 0x38]
mov byte [esp + 0x2c], 4
push eax
call fcn.004517e0
push eax
mov ecx, esi
mov byte [esp + 0x28], 5
call fcn.00450230
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 4
call fcn.00450090
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 3
call fcn.00450090
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 2
call fcn.00450090
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.00450090
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 0
call fcn.00450090
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.00450090
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x424d70
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x509df8
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, dword [esp + 0x18]
mov ebx, ecx
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x424ded
push 0x3d
push esi
call fcn.00435b20
add esp, 8
test eax, eax
jne 0x424ded
push 0x3b
push esi
call fcn.00435b20
add esp, 8
test eax, eax
jne 0x424ded
mov eax, dword [0x51afb8]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0
push ecx
push esi
mov ecx, ebx
call fcn.004252d0
test eax, eax
jne 0x424e03
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.00450090
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8
mov edx, dword [esp + 0x1c]
mov eax, dword [edx - 8]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
inc esi
push esi
call fcn.004eae0a
mov ecx, esi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
push esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x28]
push eax
call fcn.00419100
mov ecx, dword [esp + 0x30]
add esp, 0x10
push ebx
call fcn.00450350
push ebx
call fcn.004eae33
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.00450090
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 8

Function at 0x424e80
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x509e18
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, dword [esp + 0x18]
mov ebx, ecx
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x424efd
push 0x3d
push esi
call fcn.00435b20
add esp, 8
test eax, eax
jne 0x424efd
push 0x3b
push esi
call fcn.00435b20
add esp, 8
test eax, eax
jne 0x424efd
mov eax, dword [0x51afb8]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0
push ecx
push esi
mov ecx, ebx
call fcn.004252d0
test eax, eax
jne 0x424f13
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.00450090
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8
mov edx, dword [esp + 0x1c]
mov eax, dword [edx - 8]
cdq
sub eax, edx
sar eax, 1
inc eax
lea ebx, [eax + eax]
push ebx
call fcn.004eae0a
mov ecx, ebx
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
push ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x28]
push eax
call fcn.00419100
mov ecx, dword [esp + 0x30]
add esp, 0x10
push esi
call fcn.00455b00
push esi
call fcn.004eae33
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.00450090
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 8
Function at 0x4253d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, ebx
push esi
je 0x425434
mov esi, dword [esp + 0x10]
test esi, esi
je 0x425434
mov edx, dword [esp + 0x14]
test edx, edx
je 0x425434
mov ecx, dword [esp + 0x1c]
xor eax, eax
test ecx, ecx
je 0x4253f6
mov dword [ecx], esi
mov ecx, dword [esp + 0x18]
cmp ecx, esi
jb 0x425436
push ebp
mov ebp, ecx
push edi
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
rep stosb byte es:[edi], al
pop edi
pop ebp
test esi, esi
jbe 0x42542a
mov ecx, ebx
mov eax, edx
sub ecx, edx
mov dl, byte [ecx + eax]
xor dl, 0x54
mov byte [eax], dl
inc eax
dec esi
jne 0x42541e
pop esi
mov eax, 1
pop ebx
ret 0x14
xor eax, eax
pop esi
pop ebx
ret 0x14

Function at 0x425440
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, ebx
push esi
je 0x4254a4
mov esi, dword [esp + 0x10]
test esi, esi
je 0x4254a4
mov edx, dword [esp + 0x14]
test edx, edx
je 0x4254a4
mov ecx, dword [esp + 0x1c]
xor eax, eax
test ecx, ecx
je 0x425466
mov dword [ecx], esi
mov ecx, dword [esp + 0x18]
cmp ecx, esi
jb 0x4254a6
push ebp
mov ebp, ecx
push edi
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
rep stosb byte es:[edi], al
pop edi
pop ebp
test esi, esi
jbe 0x42549a
mov ecx, ebx
mov eax, edx
sub ecx, edx
mov dl, byte [ecx + eax]
xor dl, 0x54
mov byte [eax], dl
inc eax
dec esi
jne 0x42548e
pop esi
mov eax, 1
pop ebx
ret 0x14
xor eax, eax
pop esi
pop ebx
ret 0x14

Function at 0x425800
Capabilities:
Get file size

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x24], 0xffffffff
jne 0x425879
mov eax, dword [esi + 0x28]
test eax, eax
je 0x42582c
push 0
push 0x80
push 4
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x24]
cmp eax, 0xffffffff
jne 0x425838
xor eax, eax
pop esi
ret
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x500000
jbe 0x425869
mov eax, dword [esi + 0x24]
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esi + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov eax, 1
pop esi
ret
mov edx, dword [esi + 0x24]
push 2
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, 1
pop esi
ret
Function at 0x449e10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c5e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
xor ebx, ebx
push eax
lea ecx, [esi + 0x20]
mov dword [ebp - 0x14], esi
mov dword [esi + 0xc], esi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x24], ebx
call fcn.004ea8d8
mov ecx, dword [ebp + 0xc]
lea edi, [esi + 0x28]
push ecx
mov ecx, edi
call fcn.004ea8d8
mov ecx, edi
call fcn.004e3f30
mov ecx, edi
call fcn.004e3e3f
mov edx, dword [ebp + 8]
push ebx
push edx
call fcn.004a8b5f
add esp, 8
test eax, eax
je 0x449ea4
mov dword [esi + 0x2c], ebx
mov dword [esi + 8], ebx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 4]
push ebx
push ebx
push eax
mov dword [esi + 0x2c], 1
mov dword [ebp - 4], ebx
call fcn.0049f110
mov ecx, dword [esi + 4]
call fcn.0049f360
mov ecx, dword [esi + 4]
push ebx
mov dword [esi + 8], eax
call fcn.0049fa90
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c5f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esp
xor eax, eax
push 0x556998
lea ecx, [esi + 0x20]
mov dword [ebp - 0x14], esi
mov dword [esi + 0xc], esi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x24], edi
call fcn.004ea8d8
mov eax, dword [ebp + 0xc]
lea ebx, [esi + 0x28]
push eax
mov ecx, ebx
call fcn.004ea8d8
mov ecx, ebx
call fcn.004e3f30
mov ecx, ebx
call fcn.004e3e3f
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x30]
test eax, eax
jne 0x449fc2
mov dword [esi + 0x2c], eax
mov dword [esi + 8], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 4]
push 0
push edi
mov dword [esi + 0x2c], 1
mov dword [ebp - 4], 0
call fcn.0049f170
mov ecx, dword [esi + 4]
call fcn.0049f360
mov ecx, dword [esi + 4]
push 0
mov dword [esi + 8], eax
call fcn.0049fa90
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x44cbb0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov eax, dword [ecx + 4]
push ebx
push ebp
push esi
push edi
mov edi, dword [ecx]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 0
test ecx, ecx
je 0x44cbf1
lea edx, [esp + 0x14]
or eax, 0x20019
push edx
push eax
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov eax, dword [esp + 0x14]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x44cbf3
mov esi, edi
test esi, esi
je 0x44cc68
mov ebx, dword [esp + 0x20]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push 0
push ecx
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x44cc5d
mov ecx, dword [esp + 0x20]
mov eax, 4
cmp ecx, eax
jne 0x44cc5d
cmp dword [esp + 0x1c], eax
jbe 0x44cc2e
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x1c]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x44cc5d
cmp esi, edi
je 0x44cc4f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
cmp esi, edi
je 0x44cc68
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc

Function at 0x44cc80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [ecx]
push edi
test esi, esi
mov dword [esp + 0xc], 0
je 0x44cce5
mov edi, dword [esp + 0x18]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push 0
push ecx
push 0
push edi
push esi
call ebx
test eax, eax
jne 0x44cce5
mov ecx, dword [esp + 0x10]
mov eax, 4
cmp ecx, eax
jne 0x44cce5
cmp dword [esp + 0x18], eax
jbe 0x44cccb
mov dword [esp + 0x18], eax
lea edx, [esp + 0x18]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push 0
push edi
push esi
call ebx
test eax, eax
mov eax, dword [esp + 0xc]
je 0x44cce9
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
add esp, 8
ret 8

Function at 0x44cf00
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [ecx]
test esi, esi
push edi
je 0x44cf74
mov ebx, dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push 0
push ecx
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x44cf74
cmp dword [esp + 0x10], 3
jne 0x44cf74
mov edx, dword [esp + 0x18]
push edx
call fcn.004eae0a
mov edi, eax
add esp, 4
test edi, edi
je 0x44cf74
lea eax, [esp + 0x18]
push eax
push edi
push 0
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x44cf6b
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword [ecx], edx
pop ebx
pop ecx
ret 8
push edi
call fcn.004eae33
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8