joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5df1f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6543a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x83c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
test ebx, ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
je 0x5df2a4
mov eax, dword [esi + 0xa8]
cmp ebx, eax
je 0x5df2a4
test eax, eax
je 0x5df23e
push eax
call fcn.00622af4
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00622acb
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 0xa8], edx
jne 0x5df282
push str.URL::set_lastResult__:_Not_enough_memory__n
mov ecx, esi
call fcn.005df030
mov eax, 0x753b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x5df3da
push eax
lea edx, [ebp - 0x48]
push str.SoftwareDownloadManager_ld
push edx
call fcn.0060a593
mov eax, dword [ebp + 0x14]
add esp, 0xc
test eax, eax
je 0x5df313
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x48]
push eax
push 0xf003f
push 0
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x5df33a
lea edx, [ebp - 0x18]
lea eax, [ebp + 0xc]
push edx
push eax
push 0
push 0xf003f
push 0
push 0x6fc418
lea ecx, [ebp - 0x48]
push 0
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x5df3da
test ebx, ebx
je 0x5df3b1
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x7ff
jbe 0x5df38c
push 0x7ff
lea edx, [ebp - 0x848]
push ebx
push edx
call fcn.00609f00
mov ecx, dword [ebp + 0xc]
add esp, 0xc
lea eax, [ebp - 0x848]
mov byte [ebp - 0x49], 0
push 0x801
push eax
push 1
push 0
push str.lastResult
push ecx
jmp 0x5df3ab
mov edx, dword [esi + 0xa8]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [ebp + 0xc]
push 1
push eax
push str.lastResult
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0x10]
push 4
push ecx
push 4
push 0
push str.dwnlrs
push edx
mov dword [ebp + 0x10], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5e1ad0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
push edi
mov esi, ecx
je 0x5e1b81
mov ecx, dword [esi + 0x43c]
test ecx, ecx
jne 0x5e1afa
push eax
mov ecx, esi
call fcn.005e6030
test al, al
je 0x5e1b81
mov al, byte [esi + 0x30c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test al, al
je 0x5e1b2b
mov ecx, dword [esi + 0x43c]
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push str.bPHSBU
push ecx
mov dword [esp + 0x24], 1
call edi
mov al, byte [esi + 0x30d]
test al, al
je 0x5e1b56
mov eax, dword [esi + 0x43c]
lea edx, [esp + 0xc]
push 4
push edx
push 4
push 0
push str.bFLSBU
push eax
mov dword [esp + 0x24], 1
call edi
mov al, byte [esi + 0x16e]
test al, al
je 0x5e1b81
mov edx, dword [esi + 0x43c]
lea ecx, [esp + 0xc]
push 4
push ecx
push 4
push 0
push str.bRPCHK
push edx
mov dword [esp + 0x24], 1
call edi
pop edi
pop esi
ret 4

Function at 0x5e1c60
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0x43c]
test eax, eax
je 0x5e1cde
mov eax, dword [esi + 0x34]
lea ecx, [esp + 4]
push eax
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0
mov word [esp + 0xc], 0
call fcn.00401f20
mov eax, dword [esp + 4]
test eax, eax
jne 0x5e1ca0
lea eax, [esp + 8]
push eax
call fcn.005de310
mov eax, dword [esp + 8]
add esp, 4
test eax, eax
jne 0x5e1cb5
lea eax, [esp + 8]
mov ecx, dword [esp + 0xc]
lea edx, [ecx + ecx + 2]
push edx
push eax
mov eax, dword [esi + 0x43c]
push 0
push 0
push str.EncLNFSW
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 4]
call fcn.00401070
pop esi
add esp, 0xc
ret
Function at 0x5e31e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6545b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov al, byte [ebp + 0x10]
push ebx
mov bl, byte [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov byte [esi + 0x163], al
mov eax, dword [ebp + 8]
test eax, eax
mov byte [esi + 0x164], bl
je 0x5e33e7
mov ecx, dword [esi + 0x43c]
test ecx, ecx
jne 0x5e323f
push eax
mov ecx, esi
call fcn.005e6030
test al, al
je 0x5e33e7
mov eax, dword [esi + 0x43c]
lea edx, [ebp + 0xc]
push 4
xor ecx, ecx
push edx
push 4
test bl, bl
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
setne cl
push str.bGICompl
push eax
mov dword [ebp + 0xc], ecx
call ebx
mov al, byte [ebp + 0x10]
lea edx, [ebp + 0xc]
push 4
xor ecx, ecx
push edx
push 4
test al, al
mov eax, dword [esi + 0x43c]
push 0
setne cl
push str.bRetAfFR
push eax
mov dword [ebp + 0xc], ecx
call ebx
mov al, byte [esi + 0x44]
lea edx, [esi + 0x44]
test al, al
je 0x5e32b4
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esi + 0x43c]
push edx
push 1
push eax
push str.lastTryDate
push ecx
call ebx
mov al, byte [esi + 0x164]
test al, al
je 0x5e33e7
mov al, byte [esi + 0x321]
test al, al
je 0x5e32fc
mov edi, dword [esi + 0x350]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x5e32fc
lea edx, [ebp + 0xc]
push 4
push edx
push 4
push eax
mov eax, dword [esi + 0x43c]
push str.bUseCstmHdrs
push eax
mov dword [ebp + 0xc], 1
call ebx
mov al, byte [esi + 0x164]
test al, al
je 0x5e33e7
mov al, byte [esi + 0x322]
test al, al
je 0x5e3333
mov edx, dword [esi + 0x43c]
lea ecx, [ebp + 0xc]
push 4
push ecx
push 4
push 0
push str.bFGzHdr
push edx
mov dword [ebp + 0xc], 1
call ebx
mov al, byte [esi + 0x164]
test al, al
je 0x5e33e7
mov al, byte [esi + 0x324]
test al, al
je 0x5e336a
mov ecx, dword [esi + 0x43c]
lea eax, [ebp + 0xc]
push 4
push eax
push 4
push 0
push str.bIPV4SsCn
push ecx
mov dword [ebp + 0xc], 1
call ebx
mov al, byte [esi + 0x164]
test al, al
je 0x5e33e7
mov bl, byte [esi + 0x321]
test bl, bl
je 0x5e3390
mov edi, dword [esi + 0x350]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x5e33a4
mov al, byte [esi + 0x322]
test al, al
jne 0x5e33a4
mov al, byte [esi + 0x324]
test al, al
je 0x5e33e7
mov al, byte [esi + 0x322]
xor edx, edx
test al, al
je 0x5e33b5
mov edx, 1
test bl, bl
je 0x5e33ce
mov edi, dword [esi + 0x350]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x5e33ce
or edx, 2
mov al, byte [esi + 0x324]
test al, al
je 0x5e33db
or edx, 4
push edx
mov edx, dword [esi]
push edx
call fcn.005de330
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5e3400
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6545c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x20]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], edi
je 0x5e343b
push eax
call fcn.00622af4
add esp, 4
mov esi, dword [ebp + 8]
cmp esi, edi
jne 0x5e345a
mov dword [ebx + 0x20], edi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x5e347e
mov dword [ebx + 0x20], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00622acb
mov edx, eax
add esp, 4
test edx, edx
mov dword [ebx + 0x20], edx
jne 0x5e34bf
push str.URL::set_LastModified__:_Not_enough_memory__n
mov ecx, ebx
call fcn.005df030
mov eax, 0x753b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0xc]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jne 0x5e34f8
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 [ebx + 0x43c]
test ecx, ecx
jne 0x5e3526
push eax
mov ecx, ebx
call fcn.005e6030
test al, al
jne 0x5e3526
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 edx, dword [ebx + 0x20]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [ebx + 0x43c]
push edx
push 1
push eax
push str.LastModified
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor eax, eax
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 0x5e3b60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x654630
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x43c]
mov dword [ebp - 4], 0
test eax, eax
jne 0x5e3bbf
mov eax, dword [ebp + 8]
push eax
call fcn.005e6030
test al, al
jne 0x5e3bbf
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 4
mov eax, dword [esi + 0x43c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp + 8]
lea edx, [ebp - 0x21c]
push ecx
push edx
push 0
push 0
mov ebx, 0x208
push str.LocalPath
push eax
mov dword [ebp + 8], ebx
call edi
test eax, eax
je 0x5e3c06
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 4
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0060b2c8
add esp, 4
test eax, eax
je 0x5e3c31
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 4
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x5e3c41
push eax
call fcn.00622af4
add esp, 4
lea edx, [ebp - 0x21c]
push edx
call fcn.00609a4e
lea eax, [eax + eax + 2]
push eax
call fcn.00622acb
add esp, 8
mov dword [esi + 0x2c], eax
test eax, eax
jne 0x5e3c85
push str.URL::set_localPath__:_Not_enough_memory__n
mov ecx, esi
call fcn.005df030
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 4
lea ecx, [ebp - 0x21c]
push ecx
push eax
call fcn.00609a95
mov ecx, dword [esi + 0x43c]
add esp, 8
lea edx, [ebp + 8]
lea eax, [ebp - 0x21c]
push edx
push eax
push 0
push 0
push 0x6d10ac
push ecx
mov dword [ebp + 8], ebx
call edi
test eax, eax
je 0x5e3cd1
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 4
lea edx, [ebp - 0x21c]
mov ecx, esi
push edx
call fcn.005e43c0
test eax, eax
je 0x5e3cfb
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 4
mov edx, dword [esi + 0x43c]
lea eax, [ebp + 8]
lea ecx, [ebp - 0x21c]
push eax
push ecx
push 0
push 0
push str.LogFileName
push edx
mov dword [ebp + 8], ebx
call edi
test eax, eax
je 0x5e3d37
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 4
mov ecx, dword [esi + 0x434]
lea eax, [ebp - 0x21c]
add ecx, 4
push eax
push ecx
call fcn.00609a95
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5e3da0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x654648
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
mov eax, dword [0x6f7b78]
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
lea eax, [ebp - 0x14]
push str.SoftwareDownloadManagerGrabberStsProjects_ld_ld_
push eax
mov byte [ebp - 4], 1
call fcn.0061fae1
add esp, 0x10
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
lea edx, [ebp + 0xc]
push ecx
push edx
push ebx
push 0xf003f
push ebx
push 0x6fc418
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x5e3f4c
mov eax, dword [ebp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp + 8]
lea edx, [ebp - 0x224]
push ecx
push edx
push ebx
push ebx
push str.LocalPath
push eax
mov dword [ebp + 8], 0x208
call edi
test eax, eax
je 0x5e3e51
mov ecx, dword [ebp + 0xc]
push ecx
jmp 0x5e3f46
lea edx, [ebp - 0x224]
push edx
call fcn.0060b2c8
add esp, 4
test eax, eax
jne 0x5e3f42
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x5e3e78
push eax
call fcn.00622af4
add esp, 4
lea ecx, [ebp - 0x224]
push ecx
call fcn.00609a4e
lea edx, [eax + eax + 2]
push edx
call fcn.00622acb
add esp, 8
cmp eax, ebx
mov dword [esi + 0x2c], eax
jne 0x5e3ead
push str.URL::set_localPath__:_Not_enough_memory__n
mov ecx, esi
call fcn.005df030
mov edx, dword [ebp + 0xc]
push edx
jmp 0x5e3f46
lea ecx, [ebp - 0x224]
push ecx
push eax
call fcn.00609a95
mov edx, dword [ebp + 0xc]
add esp, 8
lea eax, [ebp + 8]
lea ecx, [ebp - 0x224]
push eax
push ecx
push ebx
push ebx
push 0x6d10ac
push edx
mov dword [ebp + 8], 0x208
call edi
test eax, eax
jne 0x5e3f42
lea ecx, [ebp - 0x224]
push ecx
mov ecx, esi
call fcn.005e43c0
cmp eax, ebx
je 0x5e3f1f
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00622d8a
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 edx, dword [ebp + 0xc]
lea eax, [ebp + 8]
lea ecx, [ebp - 0x224]
push eax
push ecx
push ebx
push ebx
push str.LogFileName
push edx
mov dword [ebp + 8], 0x208
call edi
test eax, eax
je 0x5e3f6f
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00622d8a
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 edx, dword [esi + 0x434]
lea ecx, [ebp - 0x224]
add edx, 4
push ecx
push edx
call fcn.00609a95
mov eax, dword [ebp + 0xc]
add esp, 8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00622d8a
xor eax, eax
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 0x5e4600
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x6fdff8]
sub esp, 0x20c
test eax, eax
jne 0x5e46be
mov eax, dword [0x6fdff4]
test eax, eax
jne 0x5e4696
mov edx, dword [0x6fcafc]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.ExePath
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5e468d
lea eax, [esp + 4]
push 0x5c
push eax
call fcn.0060ab40
add esp, 8
test eax, eax
je 0x5e468d
lea ecx, [esp + 4]
lea edx, [esp + 0x108]
push ecx
push str._sidmftype.dll
push edx
mov byte [eax], 0
call fcn.0060a593
add esp, 0xc
lea eax, [esp + 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x6fdff4], eax
jmp 0x5e4692
mov eax, dword [0x6fdff4]
test eax, eax
je 0x5e46be
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IDMFileType
push eax
call esi
mov ecx, dword [0x6fdff4]
push str.IDMExtensionForMimeType
push ecx
mov dword [0x6fdff8], eax
call esi
mov dword [0x6fdffc], eax
pop esi
add esp, 0x20c
ret
Function at 0x5e6160
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov dword [esi + 0x2dc], eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5e61b9
mov ecx, dword [esi + 0x43c]
test ecx, ecx
jne 0x5e618b
push eax
mov ecx, esi
call fcn.005e6030
test al, al
je 0x5e61b9
mov edx, dword [esi + 0x2dc]
mov eax, dword [esi + 0x43c]
xor ecx, ecx
push 4
test edx, edx
lea edx, [esp + 0xc]
push edx
push 4
push 0
push str.needER
setne cl
push eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
ret 8
Function at 0x5e6480
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x29c
lea eax, [esp]
push esi
mov esi, ecx
push eax
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x5e660a
mov eax, dword [esp + 0x14]
cmp eax, 2
jne 0x5e64bc
lea ecx, [esp + 0x98]
push str.security.dll
push ecx
jmp 0x5e64d2
cmp eax, 1
jne 0x5e660a
lea edx, [esp + 0x98]
push str.secur32.dll
push edx
call fcn.00609a95
mov eax, dword [esi + 0x198]
add esp, 8
test eax, eax
jne 0x5e64fa
lea eax, [esp + 0x98]
push eax
call fcn.0044abc0
add esp, 4
mov dword [esi + 0x198], eax
mov eax, dword [esi + 0x198]
test eax, eax
je 0x5e660a
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.FreeCredentialsHandle
push eax
call edi
mov ecx, dword [esi + 0x198]
push str.QuerySecurityPackageInfoA
push ecx
mov dword [esi + 0x19c], eax
call edi
mov edx, dword [esi + 0x198]
push str.AcquireCredentialsHandleA
push edx
mov dword [esi + 0x1a4], eax
call edi
mov dword [esi + 0x1a0], eax
mov eax, dword [esi + 0x198]
push str.FreeContextBuffer
push eax
call edi
mov ecx, dword [esi + 0x198]
push str.InitializeSecurityContextA
push ecx
mov dword [esi + 0x1a8], eax
call edi
mov edx, dword [esi + 0x198]
push str.CompleteAuthToken
push edx
mov dword [esi + 0x1ac], eax
call edi
mov dword [esi + 0x1b0], eax
mov eax, dword [esi + 0x198]
push str.EnumerateSecurityPackagesA
push eax
call edi
mov ecx, dword [esi + 0x198]
push str.DeleteSecurityContext
push ecx
mov dword [esi + 0x1b4], eax
call edi
mov dword [esi + 0x1b8], eax
mov eax, dword [esi + 0x19c]
test eax, eax
pop edi
je 0x5e65f3
mov eax, dword [esi + 0x1a4]
test eax, eax
je 0x5e65f3
mov eax, dword [esi + 0x1a0]
test eax, eax
je 0x5e65f3
mov eax, dword [esi + 0x1a8]
test eax, eax
je 0x5e65f3
mov eax, dword [esi + 0x1ac]
test eax, eax
je 0x5e65f3
mov eax, dword [esi + 0x1b4]
test eax, eax
je 0x5e65f3
mov eax, 1
pop esi
add esp, 0x29c
ret
mov edx, dword [esi + 0x198]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x198], 0
xor eax, eax
pop esi
add esp, 0x29c
ret
Function at 0x5e7560
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
mov eax, 0xaaaaaaab
push esi
lea ecx, [ebp + 3]
mov esi, dword [esp + 0x14]
mul ecx
shr edx, 1
lea edx, [edx + ebp + 4]
push edx
push esi
call fcn.0057ff50
add esp, 8
test eax, eax
jne 0x5e758d
pop esi
pop ebp
ret 0xc
push esi
call fcn.0055c0c0
mov ecx, eax
add esp, 4
xor eax, eax
test ebp, ebp
jbe 0x5e7618
lea edx, [ebp + 2]
mov eax, 0xaaaaaaab
mul edx
mov esi, dword [esp + 0xc]
push ebx
push edi
mov edi, edx
shr edi, 1
lea eax, [edi + edi*2]
xor edx, edx
xor ebx, ebx
mov dl, byte [esi]
add esi, 3
shr edx, 2
inc ecx
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_http:__www.internetdownloadmanager.com_support_data_corruption.html]
mov byte [ecx - 1], dl
mov dl, byte [esi - 3]
mov bl, byte [esi - 2]
and edx, 3
shl edx, 4
shr ebx, 4
or edx, ebx
xor ebx, ebx
inc ecx
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_http:__www.internetdownloadmanager.com_support_data_corruption.html]
mov byte [ecx - 1], dl
mov dl, byte [esi - 2]
mov bl, byte [esi - 1]
and edx, 0xf
shl edx, 2
shr ebx, 6
or edx, ebx
inc ecx
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_http:__www.internetdownloadmanager.com_support_data_corruption.html]
mov byte [ecx - 1], dl
mov dl, byte [esi - 1]
and edx, 0x3f
inc ecx
dec edi
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_http:__www.internetdownloadmanager.com_support_data_corruption.html]
mov byte [ecx - 1], dl
jne 0x5e75b5
pop edi
pop ebx
lea edx, [ebp + 1]
cmp eax, edx
jne 0x5e7630
mov byte [ecx - 1], 0x3d
pop esi
mov byte [ecx], 0
mov eax, 1
pop ebp
ret 0xc
add ebp, 2
cmp eax, ebp
jne 0x5e763f
mov al, 0x3d
mov byte [ecx - 1], al
mov byte [ecx - 2], al
pop esi
mov byte [ecx], 0
mov eax, 1
pop ebp
ret 0xc
Function at 0x5e82d0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x654960
push eax
mov dword fs:[0], esp
sub esp, 0x8c
mov eax, dword [esp + 0x9c]
push ebx
push esi
xor esi, esi
push esi
push esi
push 3
push esi
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x5e831d
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x5e8400
push edi
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push esi
push ecx
lea edx, [esp + 0x18]
push 0x80
push edx
push ebx
mov dword [esp + 0x20], esi
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
pop edi
je 0x5e83f7
cmp dword [esp + 8], esi
je 0x5e83f7
lea eax, [esp + 0xc]
push eax
call fcn.0060cf4d
lea ecx, [esp + 0x10]
push str._HTML
push ecx
call fcn.00609cc0
add esp, 0xc
test eax, eax
jne 0x5e8390
lea edx, [esp + 0xc]
push str.__HTML
push edx
call fcn.00609cc0
add esp, 8
test eax, eax
je 0x5e8395
mov esi, 1
lea eax, [esp + 0xc]
push str._BODY
push eax
call fcn.00609cc0
add esp, 8
test eax, eax
jne 0x5e83c1
lea ecx, [esp + 0xc]
push str.__BODY
push ecx
call fcn.00609cc0
add esp, 8
test eax, eax
je 0x5e83c6
mov esi, 1
lea edx, [esp + 0xc]
push str._HEAD
push edx
call fcn.00609cc0
add esp, 8
test eax, eax
jne 0x5e83f2
lea eax, [esp + 0xc]
push str.__HEAD
push eax
call fcn.00609cc0
add esp, 8
test eax, eax
je 0x5e83f7
mov esi, 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [esp + 0x94]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x98
ret 4

Function at 0x5e8900
Capabilities:
Get file size

Disassembly:
push esi
push edi
mov edi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x5e893b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x5e893b
push eax
push str.GetFileSize___error_in_CFormatParsing::GetFSize____errcode___ld._r_n
mov ecx, edi
call fcn.005ea960
xor eax, eax
pop edi
xor edx, edx
pop esi
ret 4
mov edx, dword [esp + 0xc]
push 1
push 0
push 0
push edx
call fcn.0060c730
xor ecx, ecx
add eax, esi
pop edi
pop esi
adc edx, ecx
ret 4
Function at 0x5e9ee0
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push 0
push 3
push 0
push 3
push 0x80000000
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esi + 0x10], eax
jne 0x5e9f23
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x5e9f1d
push eax
push str.CreateFile___error__ld_in_CFormatParsing::Initialize___r_n
mov ecx, esi
call fcn.005ea960
xor al, al
pop esi
ret 8
push eax
mov ecx, esi
call fcn.005e8900
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
mov dword [esi + 0x14], ecx
mov al, 1
pop esi
ret 8