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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ddf91
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x515854]
xor eax, esp
mov dword [esp + 0x2c0], eax
push ebx
push esi
push edi
mov eax, dword [0x515854]
xor eax, esp
push eax
lea eax, [esp + 0x2d8]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0x4f27e0
xor ebx, ebx
push 0x206
lea eax, [esp + 0xca]
push ebx
push eax
mov word [esp + 0xd0], bx
call fcn.004b9920
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
add esp, 0xc
cmp eax, 0xff
mov dword [esp + 0x10], eax
jge 0x4366b7
push ebx
push eax
lea eax, [esp + 0xcc]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4367c1
lea edx, [esp + 0xc4]
lea eax, [esp + 0xa8]
call fcn.004074b0
mov esi, eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x2e4], ebx
call fcn.0043bc0a
push 0xffffffffffffffff
push ebx
push esi
call fcn.00401690
lea esi, [esp + 0xa8]
jmp 0x4367b4
sub eax, 0x101
je 0x436760
dec eax
je 0x436710
dec eax
jne 0x4367ed
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x28
call fcn.0043bc0a
push eax
lea edi, [esp + 0x58]
call fcn.0043eabf
pop ecx
mov esi, eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x2e4], 5
call fcn.0043bc0a
push 0xffffffffffffffff
push ebx
push esi
call fcn.00401690
mov esi, edi
jmp 0x4367b4
mov edx, str._HOMEDRIVE_
lea eax, [esp + 0x38]
call fcn.004074b0
lea edi, [esp + 0x38]
lea ecx, [esp + 0x70]
mov dword [esp + 0x2e0], 3
call fcn.0043051d
mov esi, eax
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x2e4], 4
call fcn.0043bc0a
push 0xffffffffffffffff
push ebx
push esi
call fcn.00401690
lea esi, [esp + 0x70]
call fcn.00401650
mov esi, edi
jmp 0x4367b4
mov edx, str._ALLUSERSPROFILE_
lea eax, [esp + 0x1c]
call fcn.004074b0
lea edi, [esp + 0x1c]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x2e0], 1
call fcn.0043051d
mov esi, eax
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x2e4], 2
call fcn.0043bc0a
push 0xffffffffffffffff
push ebx
push esi
call fcn.00401690
lea esi, [esp + 0x8c]
call fcn.00401650
mov esi, edi
or dword [esp + 0x2e0], 0xffffffff
call fcn.00401650
push 0x40000024
push ecx
lea eax, [esp + 0x18]
push eax
call fcn.0043bc0a
pop ecx
push eax
call fcn.0043e888
add dword [esp + 0x1c], 4
cmp dword [esp + 0x1c], 0x4f2888
pop ecx
pop ecx
jl 0x436634
mov ecx, dword [esp + 0x2d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c0]
xor ecx, esp
call fcn.004b6e9f
mov esp, ebp
pop ebp
ret
Function at 0x436a9b
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dc0d2
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x515854]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x515854]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
and dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
push eax
lea esi, [esp + 0x28]
call fcn.00401620
and dword [esp + 0x50], 0
mov eax, esi
push eax
call fcn.0042f63c
pop ecx
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x18]
push eax
lea esi, [ebx + 0xc]
push esi
call fcn.0043bb97
mov eax, dword [esi + 4]
mov dword [esp + 0x1c], esi
lea edi, [esp + 0x1c]
lea esi, [esp + 0x14]
mov dword [esp + 0x20], eax
call fcn.0043bd2b
test al, al
je 0x436b70
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.0043bb97
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 4]
lea edi, [esp + 0x1c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebx
call fcn.0043bd2b
test al, al
je 0x436b70
mov eax, dword [esp + 0x10]
mov edx, 0x4ec52c
call fcn.004074b0
jmp 0x436b98
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x436b7d
call fcn.004b7b58
mov esi, dword [esp + 0x18]
cmp esi, dword [edi + 4]
jne 0x436b8b
call fcn.004b7b58
add esi, 0x28
push esi
mov esi, dword [esp + 0x14]
call fcn.00401620
lea esi, [esp + 0x24]
call fcn.00401650
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004b6e9f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43a513
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4df6e6
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x515854]
xor eax, esp
mov dword [esp + 0x274], eax
push ebx
push esi
mov eax, dword [0x515854]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov edx, 0x4f3274
lea eax, [esp + 0xc]
call fcn.004074b0
lea eax, [esp + 0xc]
push eax
lea eax, [edi + 0x18c]
xor ebx, ebx
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x298], ebx
call fcn.0043e96d
pop ecx
pop ecx
lea esi, [esp + 0xc]
call fcn.00401650
push 7
pop esi
xor ecx, ecx
lea eax, [esp + 0x60]
mov dword [esp + 0x78], esi
call fcn.00401870
xor ecx, ecx
lea eax, [esp + 0x28]
mov dword [esp + 0x40], esi
call fcn.00401870
mov byte [esp + 0x290], 4
cmp dword [str.gmexe], ebx
mov esi, 0x5190b4
je 0x43a636
cmp dword [esp + 0x5c], 8
mov eax, dword [esp + 0x48]
jae 0x43a5ce
lea eax, [esp + 0x48]
push eax
push 0x400
lea eax, [esp + 0x84]
push eax
push 0x4ec52c
push dword [esi]
push str.gmmeta
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x80]
call fcn.004074f0
cmp dword [esp + 0x3c], ebx
je 0x43a62f
mov edx, dword [esi]
lea eax, [esp + 0x60]
push eax
call fcn.004074f0
lea eax, [esp + 0x60]
push eax
lea eax, [edi + 0x1fc]
push eax
call fcn.0043ba00
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x30]
push ecx
call fcn.00401690
add esi, 4
cmp dword [esi], ebx
jne 0x43a5bf
lea esi, [esp + 0x28]
call fcn.00401650
lea esi, [esp + 0x60]
call fcn.00401650
lea esi, [esp + 0x44]
call fcn.00401650
mov al, 1
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x274]
xor ecx, esp
call fcn.004b6e9f
mov esp, ebp
pop ebp
ret

Function at 0x43ec38
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x20
mov eax, 0x4dd1a2
call fcn.004bf1fc
mov eax, dword [ebp + 8]
push eax
lea esi, [ebp - 0x2c]
call fcn.00401620
mov eax, esi
push 0x24
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0043e888
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
pop ecx
pop ecx
jae 0x43ec6d
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43ec7b
mov bl, 1
lea esi, [ebp - 0x2c]
call fcn.00401650
mov al, bl
call fcn.004bf27f
ret

Function at 0x43ec8b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x20
mov eax, 0x4dd1a2
call fcn.004bf1fc
mov eax, dword [ebp + 8]
push eax
lea esi, [ebp - 0x2c]
call fcn.00401620
mov eax, esi
push 0x24
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0043e888
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
pop ecx
pop ecx
jae 0x43ecc0
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43ecd2
test al, 0x10
jne 0x43ecd2
mov bl, 1
lea esi, [ebp - 0x2c]
call fcn.00401650
mov al, bl
call fcn.004bf27f
ret
Function at 0x43ece2
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x20
mov eax, 0x4dd1a2
call fcn.004bf1fc
mov eax, dword [ebp + 8]
push eax
lea esi, [ebp - 0x2c]
call fcn.00401620
mov eax, esi
push 0x24
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0043e888
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
pop ecx
pop ecx
jae 0x43ed17
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43ed29
test al, 0x10
je 0x43ed29
mov bl, 1
lea esi, [ebp - 0x2c]
call fcn.00401650
mov al, bl
call fcn.004bf27f
ret

Function at 0x43ed39
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
cmp dword [esi + 0x18], 8
push edi
lea edi, [esi + 4]
jb 0x43ed47
mov eax, dword [edi]
jmp 0x43ed49
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
cmp dword [esi + 0x18], 8
jb 0x43ed5d
mov ecx, dword [edi]
jmp 0x43ed5f
mov ecx, edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esi + 0x18], 8
jb 0x43ed6f
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
dec eax
neg eax
sbb eax, eax
inc eax
pop edi
ret
Function at 0x44001c
Capabilities:
Set registry value

Disassembly:
push dword [esp + 8]
call fcn.004b98fb
pop ecx
add eax, eax
push eax
push dword [esp + 0xc]
push 1
push 0
push dword [esp + 0x14]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x440049
mov dword [esi + 4], eax
xor al, al
ret 8
mov al, 1
jmp 0x440046

Function at 0x44004d
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x440070
mov dword [esi + 4], eax
xor al, al
ret 8
mov al, 1
jmp 0x44006d

Function at 0x4400da
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, 0x400
push esi
mov dword [ebp - 0xc], 1
mov byte [ebp - 1], 0
call fcn.004b8888
push esi
mov ebx, eax
push 0
push ebx
call fcn.004b9920
add esp, 0x10
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 8]
mov dword [ebp - 8], esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x44013e
mov dword [edi + 4], eax
mov eax, dword [ebp + 0xc]
call fcn.00420680
push ebx
call fcn.004b7fad
mov al, byte [ebp - 1]
pop ecx
pop esi
pop ebx
leave
ret 8
push dword [ebp + 0xc]
mov edx, ebx
mov byte [ebp - 1], 1
call fcn.004074f0
jmp 0x44012e

Function at 0x440188
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e1b0a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x515854]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edi, edi
lea eax, [esp + 0x14]
push eax
push edi
lea eax, [esp + 0x20]
push eax
push edi
push dword [ebp + 0xc]
mov dword [esp + 0x2c], edi
push dword [ebx]
mov dword [esp + 0x2c], edi
call esi
cmp eax, edi
je 0x4401f8
mov dword [ebx + 4], eax
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x1c]
call fcn.00401080
and dword [esp + 0x38], 0
mov eax, dword [esp + 0x18]
mov edi, dword [ebp + 0x10]
mov dword [edi], eax
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x20]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebx]
call esi
test eax, eax
je 0x440233
mov dword [ebx + 4], eax
jmp 0x440245
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
push edi
call fcn.0044097a
test al, al
jne 0x440254
xor bl, bl
lea ecx, [esp + 0x1c]
call fcn.004010a0
mov al, bl
jmp 0x4401e3
mov bl, 1
jmp 0x440247
Function at 0x440650
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
mov eax, dword [0x515854]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push edi
lea ecx, [ebp - 0x78]
push ecx
push 0x40
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x88], eax
mov eax, dword [esi]
push ecx
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 0x78], ebx
call dword [eax + 4]
test al, al
jne 0x440690
or eax, 0xffffffff
jmp 0x44077a
cmp dword [ebp - 0x78], 0x40
jne 0x440688
cmp word [ebp - 0x74], 0x5a4d
jne 0x440688
mov edi, dword [esi]
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x38]
cdq
push ebx
push edx
push eax
mov ecx, esi
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
call dword [edi + 0x18]
test al, al
je 0x440688
mov eax, dword [esi]
lea ecx, [ebp - 0x78]
push ecx
mov edi, 0xf8
push edi
lea ecx, [ebp - 0x184]
push ecx
mov ecx, esi
call dword [eax + 4]
test al, al
je 0x440688
cmp dword [ebp - 0x78], edi
jne 0x440688
cmp dword [ebp - 0x184], 0x4550
jne 0x440688
movzx eax, word [ebp - 0x17e]
mov edx, dword [esi]
dec eax
imul eax, eax, 0x28
lea ecx, [ebp - 0x84]
push ecx
push 1
push ebx
push eax
mov ecx, esi
call dword [edx + 0x18]
test al, al
je 0x440688
mov eax, dword [esi]
lea ecx, [ebp - 0x78]
push ecx
push 0x28
lea ecx, [ebp - 0x30]
push ecx
mov ecx, esi
call dword [eax + 4]
test al, al
je 0x440688
cmp dword [ebp - 0x78], 0x28
jne 0x440688
mov eax, dword [ebp - 0x20]
xor edx, edx
div dword [ebp - 0x148]
cmp edx, ebx
jne 0x440749
mov eax, dword [ebp - 0x20]
jmp 0x440751
inc eax
imul eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x1c]
add eax, ecx
mov ecx, dword [ebp - 0x88]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xe8]
cmp ecx, ebx
je 0x44077a
mov edx, dword [ebp - 0xec]
cmp edx, ebx
je 0x44077a
add ecx, edx
cmp ecx, eax
jb 0x44077a
mov eax, ecx
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop ebx
call fcn.004b6e9f
leave
ret
Function at 0x4424b2
Capabilities:
Create http request

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
cmp esi, ebx
jne 0x4424d2
xor al, al
pop esi
pop ebp
pop ebx
ret
push edi
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
push 0x519124
push 2
push esi
call edi
push 4
push 0x519128
push 3
push esi
call edi
cmp dword [ebp + 0x18], 0x10
jb 0x4424fc
mov ebp, dword [ebp + 4]
jmp 0x4424ff
add ebp, 4
push ebx
push 0x84000000
push ebx
push ebx
push ebp
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
cmp eax, ebx
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
jne 0x442521
push esi
call edi
mov al, bl
pop edi
jmp 0x4424ce
push eax
call edi
mov bl, 1
jmp 0x442519
Function at 0x442528
Capabilities:
Check http status code

Disassembly:
push 0x50
mov eax, 0x4da35f
call fcn.004bf193
mov ebx, dword [ebp + 0xc]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esi + 0x18], 8
jb 0x44254a
mov esi, dword [esi + 4]
jmp 0x44254d
add esi, 4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push 0x80400000
push esi
push eax
lea esi, [ebp - 0x28]
call fcn.0044ea6a
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ebp - 0x28], esi
jne 0x44257b
lea esi, [ebp - 0x28]
call fcn.0044ea91
xor al, al
call fcn.004bf26b
ret
lea eax, [ebp - 0x28]
push eax
push 0x13
lea ecx, [ebp - 0x1c]
pop eax
call fcn.0044eaba
cmp dword [ebp - 0x1c], 0xc8
jne 0x44256b
lea eax, [ebp - 0x28]
push eax
push 5
lea ecx, [ebp - 0x14]
pop eax
mov byte [ebp + 0xb], 0
mov dword [ebp - 0x14], esi
call fcn.0044eaba
test al, al
jne 0x4425c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f76
jne 0x44256b
mov byte [ebp + 0xb], 1
mov dword [ebp - 0x14], 0xa00000
jmp 0x4425cc
cmp dword [ebp - 0x14], esi
je 0x44256b
mov edi, dword [ebp - 0x14]
inc edi
mov esi, ebx
call fcn.00401140
mov eax, dword [ebp - 0x14]
lea esi, [ebp - 0x5c]
call fcn.00441dbd
mov eax, dword [ebp - 0x14]
inc eax
push eax
push 0
push dword [ebx + 8]
call fcn.004b9920
mov eax, dword [ebp - 0x50]
and dword [ebp - 0x18], 0
add esp, 0xc
cmp eax, dword [ebp - 0x14]
jae 0x442655
mov edi, 0x1000
cmp byte [ebp + 0xb], 0
mov edx, edi
jne 0x442618
mov ecx, dword [ebp - 0x14]
sub ecx, eax
cmp ecx, edi
jae 0x442618
mov edx, ecx
mov ecx, dword [ebx + 8]
add eax, ecx
push edx
push eax
lea esi, [ebp - 0x5c]
lea eax, [ebp - 0x28]
call fcn.0044eb0b
cmp eax, 0xffffffff
je 0x442652
test eax, eax
jne 0x442648
cmp byte [ebp + 0xb], al
jne 0x442652
push 0xa
call sub.KERNEL32.dll_Sleep
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 3
ja 0x442652
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x14]
jb 0x442605
jmp 0x442655
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
je 0x442673
cmp byte [ebp + 0xb], 0
jne 0x442679
xor bl, bl
lea esi, [ebp - 0x28]
call fcn.0044ea91
mov al, bl
jmp 0x442575
cmp byte [ebp + 0xb], 0
je 0x442699
cmp eax, 0xa00000
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jae 0x44269e
mov ecx, dword [ebx + 8]
push 1
add ecx, eax
push 0
push ecx
call fcn.004b9920
add esp, 0xc
jmp 0x44269e
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
mov bl, 1
jmp 0x442664

Function at 0x442d9e
Capabilities:
Set file attributes

Disassembly:
cmp dword [eax + 0x18], 8
jb 0x442da9
mov eax, dword [eax + 4]
jmp 0x442dac
add eax, 4
push dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret
Function at 0x442dbd
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x18], 8
jb 0x442dd4
add edi, 4
mov edx, dword [edi]
jmp 0x442dd9
add edi, 4
mov edx, edi
push ebx
push esi
lea eax, [ebp - 0x1c]
call fcn.004074b0
push 0
lea eax, [ebp - 0x1c]
call fcn.00442d9e
mov bl, al
neg bl
sbb bl, bl
pop ecx
lea esi, [ebp - 0x1c]
inc bl
call fcn.00401650
pop esi
test bl, bl
pop ebx
je 0x442e08
xor al, al
jmp 0x442e1f
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x442e13
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
pop edi
leave
ret

Function at 0x442e22
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x515854]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
xor edi, edi
cmp dword [0x518594], edi
je 0x442e5a
push 0xffffffffffffffff
push edi
push 0x518580
mov eax, ebx
call fcn.00401690
mov al, 1
jmp 0x442ef7
push 0x20a
lea eax, [ebp - 0x20e]
push edi
push eax
mov word [ebp - 0x210], di
call fcn.004b9920
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x442ef5
push esi
push 0x410
lea eax, [ebp - 0x622]
push edi
push eax
mov word [ebp - 6], di
mov word [ebp - 0x624], di
call fcn.004b9920
add esp, 0xc
mov esi, 0x208
push esi
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, esi
pop esi
ja 0x442ee4
cmp eax, edi
je 0x442ee4
mov word [ebp + eax*2 - 0x624], di
lea edx, [ebp - 0x624]
jmp 0x442eea
lea edx, [ebp - 0x210]
push ebx
call fcn.004074f0
jmp 0x442e53
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004b6e9f
leave
ret

Function at 0x442f05
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x515854]
xor eax, ebp
mov dword [ebp + 0x190], eax
mov eax, dword [ebp + 0x19c]
and word [ebp - 0x7c], 0
push esi
push edi
push 0x20a
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x7a]
push 0
push eax
mov edi, ecx
mov esi, edx
call fcn.004b9920
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x442f52
mov esi, dword [esi + 4]
jmp 0x442f55
add esi, 4
cmp dword [edi + 0x18], 8
jb 0x442f60
mov edi, dword [edi + 4]
jmp 0x442f63
add edi, 4
lea eax, [ebp - 0x7c]
push eax
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
pop edi
pop esi
jbe 0x442f8e
push dword [ebp - 0x80]
and word [ebp + 0x18e], 0
lea edx, [ebp - 0x7c]
call fcn.004074f0
mov al, 1
jmp 0x442f90
xor al, al
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
call fcn.004b6e9f
add ebp, 0x194
leave
ret
Function at 0x443124
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x515854]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x424], eax
call fcn.00420680
xor edi, edi
push 0x410
lea eax, [ebp - 0x41e]
push edi
push eax
mov word [ebp - 0x420], di
call fcn.004b9920
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add esp, 0xc
push edi
push edi
call esi
cmp eax, edi
jne 0x443178
xor al, al
jmp 0x4431ae
mov ebx, 0x208
cmp eax, ebx
jae 0x443174
lea eax, [ebp - 0x420]
push eax
push 0x209
call esi
cmp eax, edi
je 0x443174
cmp eax, ebx
jae 0x443174
push dword [ebp - 0x424]
lea edx, [ebp - 0x420]
mov word [ebp - 0x10], di
call fcn.004074f0
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b6e9f
leave
ret

Function at 0x443b22
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x515854]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0x14
mov eax, 0x4dbed8
call fcn.004bf193
mov eax, dword [ebp + 0x218]
mov ebx, dword [ebp + 0x21c]
mov dword [ebp - 0x1c], ecx
xor esi, esi
mov dword [ebp - 0x18], esi
xor ecx, ecx
mov dword [ebp - 0x10], eax
mov dword [eax + 0x18], 7
call fcn.00401870
mov dword [ebp - 4], esi
mov word [ebp], si
mov esi, 0x208
push esi
xor edi, edi
lea eax, [ebp + 2]
push 0
inc edi
push eax
mov dword [ebp - 0x18], edi
call fcn.004b9920
add esp, 0xc
cmp dword [ebx + 0x18], 8
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], edi
jb 0x443b9d
mov ebx, dword [ebx + 4]
jmp 0x443ba0
add ebx, 4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x20]
push eax
xor esi, esi
push esi
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x443be0
mov eax, dword [ebp - 0x14]
cmp eax, 0x104
ja 0x443bce
mov word [ebp + eax*2], si
jmp 0x443bd5
mov word [ebp + 0x208], si
push dword [ebp - 0x10]
lea edx, [ebp]
call fcn.004074f0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.004b6e9f
add ebp, 0x210
leave
ret 8
Function at 0x4490d8
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, eax
mov eax, dword [ebp + 0xc]
xor edi, edi
cmp eax, edi
jne 0x4490f6
push esi
call fcn.004b9ec0
pop ecx
mov dword [ebp + 0xc], eax
lea ecx, [eax - 4]
cmp ecx, edi
mov dword [ebp - 4], esi
mov esi, dword [ebp + 8]
mov dword [ebp + 8], edi
jle 0x4491bb
lea eax, [ecx - 1]
shr eax, 2
inc eax
mov ecx, eax
imul ecx, ecx, 3
mov dword [ebp - 8], eax
shl eax, 2
mov dword [ebp - 0x10], ecx
mov dword [ebp + 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
shr ecx, 0x10
call fcn.00449090
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
shr ecx, 8
call fcn.00449090
mov edi, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
shr ecx, 0x18
call fcn.00449090
shl eax, 2
sar eax, 2
mov ecx, ebx
shl ecx, 6
or eax, ecx
and eax, 0xff
shl eax, 4
mov ecx, edi
and ecx, 0xf
or eax, ecx
mov ecx, dword [ebp - 4]
mov cl, byte [ecx]
and ebx, 0x3fc
shl eax, 4
shl ebx, 2
sar ebx, 4
or eax, ebx
shl eax, 6
mov dword [ebp - 0xc], eax
call fcn.00449090
mov ecx, dword [ebp - 0xc]
add dword [ebp - 4], 4
and edi, 0xff0
and eax, 0x3f
or ecx, eax
shl edi, 2
shl ecx, 2
sar edi, 6
or ecx, edi
mov dword [esi], ecx
add esi, 3
dec dword [ebp - 8]
jne 0x449122
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 8], eax
jge 0x449263
sub eax, dword [ebp + 8]
and dword [ebp + 0xc], 0
test eax, eax
jle 0x4491df
push eax
push dword [ebp - 4]
lea eax, [ebp + 0xc]
push eax
call fcn.004b9fe0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
shr ecx, 8
mov dword [ebp + 8], ecx
call fcn.00449090
mov cl, byte [ebp + 0xc]
mov ebx, eax
call fcn.00449090
mov ecx, ebx
shl ecx, 2
shl al, 2
sar ecx, 6
or al, cl
mov byte [esi], al
inc esi
inc edi
cmp byte [ebp + 8], 0x3d
je 0x44922d
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
cmp cl, 0x3d
je 0x44922d
call fcn.00449090
shl eax, 2
sar eax, 4
shl bl, 4
or al, bl
mov byte [esi], al
inc esi
inc edi
mov ecx, dword [ebp + 0xc]
mov ebx, ecx
shr ebx, 0x10
cmp bl, 0x3d
je 0x449263
shr ecx, 0x18
cmp ecx, 0x3d
je 0x449263
call fcn.00449090
shl eax, 2
sar eax, 2
mov cl, bl
mov dword [ebp + 0xc], eax
call fcn.00449090
mov ecx, dword [ebp + 0xc]
shl al, 6
or cl, al
mov byte [esi], cl
inc esi
inc edi
mov eax, edi
pop edi
mov byte [esi], 0
pop esi
pop ebx
leave
ret 8