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

Disassembly:
push 0xffffffffffffffff
push 0x656a78
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x1c]
call fcn.004024f0
mov dword [esp + 0x30], 1
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x20], edi
test ebp, ebp
jne 0x4fbe1d
xor eax, eax
jmp 0x4fbe2b
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4fbe22
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x24]
call fcn.00402950
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 8]
push ecx
push eax
mov ecx, esi
call fcn.004fbae0
lea ecx, [esp + 0x10]
call fcn.004024f0
mov byte [esp + 0x30], 2
cmp edi, 1
jne 0x4fbe68
mov eax, 0x679010
jmp 0x4fbe9a
cmp edi, 4
jne 0x4fbe74
mov eax, 0x679008
jmp 0x4fbe9a
cmp edi, 5
jne 0x4fbe80
mov eax, 0x678ffc
jmp 0x4fbe9a
cmp edi, 2
jne 0x4fbe8c
mov eax, 0x678ff0
jmp 0x4fbe9a
mov eax, 0x679430
test edi, edi
je 0x4fbe9a
mov eax, 0x678fe8
push ebp
push eax
lea edx, [esp + 0x18]
push str.SoftwareDownloadManagerMCN_s_s
push edx
call fcn.00402f60
mov edx, dword [esp + 0x20]
add esp, 0x10
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push 0xf003f
push 0
push 0x67997c
push 0
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4fbeec
mov byte [esp + 0x30], 1
lea ecx, [esp + 0x10]
call fcn.00402560
jmp 0x4fbf20
mov ecx, dword [esp + 0x14]
push 4
lea eax, [esp + 0x44]
push eax
push 4
push 0
push str.number
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x30], 1
lea ecx, [esp + 0x10]
call fcn.00402560
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00402560
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret 0xc

Function at 0x4fd020
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x656c0b
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
mov edx, dword [0x75dbe4]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 8]
push ecx
push 0
push 0
push str.bShTtRIT
push edx
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4fd0d0
mov ecx, dword [0x75dbe4]
push 4
lea eax, [esp + 8]
push eax
push 4
push 0
push str.bShTtRIT
push ecx
mov dword [esp + 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4fd0d0
push eax
lea ecx, [esp + 0x10]
call fcn.00549020
mov dword [esp + 0xe4], 0
lea ecx, [esp + 0xc]
call fcn.005f6e33
mov dword [esp + 0xe4], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.004fcb80
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
pop ecx
add esp, 0xe4
ret
Function at 0x500e20
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x646198
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xf0]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push pe_nt_image_headers32
push eax
call edi
test eax, eax
je 0x500eb3
lea ecx, [esp + 0xc]
call fcn.004024f0
mov dword [esp + 0x18], 0
mov ecx, dword [esi + 0x74]
mov edx, dword [0x75e200]
mov eax, dword [edx + 4]
push ecx
push eax
lea ecx, [esp + 0x14]
push 0x67acc0
push ecx
call fcn.00402f60
mov edx, dword [esp + 0x1c]
mov ecx, dword [0x75e200]
add esp, 0x10
push edx
call fcn.004acb10
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00402560
mov eax, dword [esi + 0x100]
push 0
push 0
push pe_nt_image_headers32
push eax
call edi
test eax, eax
je 0x500ed8
mov ecx, dword [esi + 0x78]
push ecx
mov ecx, dword [0x75e1fc]
call fcn.00423dc0
mov ecx, esi
call fcn.005f67d9
push 0x38
call fcn.005f4e18
add esp, 4
test eax, eax
je 0x500ef8
mov ecx, eax
call fcn.0043e2a0
mov edi, eax
jmp 0x500efa
xor edi, edi
mov edx, dword [esi + 0x94]
push edx
lea eax, [edi + 4]
push 0x678ea8
push eax
call fcn.00402f60
mov ecx, dword [esi + 0x7c]
push ecx
lea edx, [edi + 8]
push 0x678ea8
push edx
call fcn.00402f60
mov eax, dword [esi + 0x80]
push eax
lea ecx, [edi + 0xc]
push 0x678ea8
push ecx
call fcn.00402f60
mov edx, dword [esi + 0x84]
push edx
lea eax, [edi + 0x10]
push 0x678ea8
push eax
call fcn.00402f60
mov ecx, dword [esi + 0x88]
push ecx
lea edx, [edi + 0x14]
push 0x678ea8
push edx
call fcn.00402f60
mov eax, dword [esi + 0x8c]
push eax
lea ecx, [edi + 0x18]
push 0x678ea8
push ecx
call fcn.00402f60
mov edx, dword [esi + 0x90]
add esp, 0x48
push edx
lea eax, [edi + 0x1c]
push 0x678ea8
push eax
call fcn.00402f60
mov ecx, dword [esi + 0x98]
mov dword [edi + 0x20], ecx
mov edx, dword [esi + 0x9c]
mov dword [edi + 0x24], edx
mov eax, dword [esi + 0xa0]
add esp, 0xc
mov dword [edi + 0x28], eax
mov ecx, dword [esi + 0xa4]
push edi
mov dword [edi + 0x2c], ecx
mov edx, dword [esi + 0xa8]
push 0x1461
mov dword [edi + 0x30], edx
mov eax, dword [0x75e284]
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x501010
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x75dbe4]
push esi
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
xor esi, esi
push esi
push esi
push str.FSPSSettingsChecked
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov eax, dword [esp + 8]
je 0x501046
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x501050
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x75dbe4]
push esi
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
xor esi, esi
push esi
push esi
push str.FSSettingsChecked
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov eax, dword [esp + 8]
je 0x501086
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x504a40
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x657ec8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x10]
call fcn.004024f0
mov dword [esp + 0x20], 0
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + 0xdc]
call fcn.005fae1b
push 0x67997c
push 0x679010
lea ecx, [esp + 0x18]
call fcn.00402c00
push 0x67997c
push 0x679430
lea ecx, [esp + 0x18]
call fcn.00402c00
push 0x67997c
push 0x678ff0
lea ecx, [esp + 0x18]
call fcn.00402c00
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [edi + 0x144]
call fcn.004acb10
lea ecx, [esp + 0xc]
call fcn.004024f0
mov byte [esp + 0x20], 1
lea edx, [esp + 0xc]
push edx
lea ecx, [edi + 0x88]
call fcn.005fae1b
push 0x678e14
push 0x6a2870
lea ecx, [esp + 0x14]
call fcn.00402c00
mov eax, dword [esp + 0xc]
push 0x20
push eax
call fcn.00623330
mov esi, eax
add esp, 8
test esi, esi
je 0x504b4b
mov edx, 0x6a286c
mov ecx, esi
mov edi, edi
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x504b40
test al, al
je 0x504b3c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x504b40
add ecx, 2
add edx, 2
test al, al
jne 0x504b20
xor eax, eax
jmp 0x504b45
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x504b4b
mov byte [esi], al
mov ecx, dword [esp + 0xc]
push 2
push 0x6a2868
push ecx
call fcn.006222eb
add esp, 0xc
test eax, eax
jne 0x504bad
lea ecx, [esp + 0x14]
call fcn.004024f0
mov byte [esp + 0x20], 2
mov edx, dword [esp + 0xc]
add edx, 2
push edx
lea eax, [esp + 0x18]
push 0x678ea8
push eax
call fcn.00402f60
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push 0x678ea8
push edx
call fcn.00402f60
add esp, 0x18
mov byte [esp + 0x20], 1
lea ecx, [esp + 0x14]
call fcn.00402560
mov edx, dword [esp + 0xc]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x504bb6
sub eax, esi
inc eax
push eax
mov eax, dword [0x75dbe4]
push edx
push 1
push 0
push str.Extensions
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x504bf0
push 0x80004005
call fcn.00401090
mov eax, dword [edi + 0x148]
push ecx
push eax
call fcn.00623159
add esp, 8
test eax, eax
je 0x504c0b
mov byte [edi + 0x14c], 1
mov byte [esp + 0x20], 0
lea ecx, [esp + 0xc]
call fcn.00402560
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00402560
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret
Function at 0x505570
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 1
mov esi, ecx
mov eax, dword [esi + 0x154]
push 0xf1
push eax
call edi
mov eax, dword [0x75dbe4]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0
push str.LaunchOnStart
push eax
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x5055e1
xor ebx, ebx
cmp dword [esp + 0x14], ebx
push 0x420
mov ecx, esi
setne bl
call fcn.005f5a75
mov ecx, dword [eax + 0x20]
push 0
push ebx
push 0xf1
push ecx
call edi
mov ecx, dword [0x75dbe4]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push 0
push str.MonitorUrlClipboard
push ecx
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x50562c
xor ebx, ebx
cmp dword [esp + 0x14], ebx
push 0x425
mov ecx, esi
setne bl
call fcn.005f5a75
mov edx, dword [eax + 0x20]
push 0
push ebx
push 0xf1
push edx
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x5069a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
mov esi, ecx
mov eax, dword [esi + 0x174]
push 0xf1
push eax
call edi
mov ecx, dword [esi + 0x94]
call fcn.004107b0
test eax, eax
je 0x5069dd
lea ecx, [esp + 0x18]
push ecx
call fcn.00410a60
add esp, 4
mov ecx, dword [0x75dbe4]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push 0
push str.LaunchOnStart
push ecx
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x506a2e
xor ebx, ebx
cmp dword [esp + 0x14], ebx
push 0x420
mov ecx, esi
setne bl
call fcn.005f5a75
mov edx, dword [eax + 0x20]
push 0
push ebx
push 0xf1
push edx
call edi
mov edx, dword [0x75dbe4]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push str.MonitorUrlClipboard
push edx
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x506a79
xor ebx, ebx
cmp dword [esp + 0x14], ebx
push 0x425
mov ecx, esi
setne bl
call fcn.005f5a75
mov eax, dword [eax + 0x20]
push 0
push ebx
push 0xf1
push eax
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x507f30
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x75dbe4]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
push edi
lea eax, [esp + 0xc]
push eax
mov esi, ecx
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push str.nHttpPrChbSt
push edx
mov dword [esp + 0x24], 4
call ebx
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x507f85
cmp dword [esp + 0x10], 0
je 0x507f85
mov eax, dword [esi + 0x29c]
push 0
push 1
push 0xf1
push eax
call edi
mov eax, dword [0x75dbe4]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0
push str.nFtpPrChbSt
push eax
mov dword [esp + 0x24], 4
call ebx
test eax, eax
jne 0x507fc3
cmp dword [esp + 0x10], eax
je 0x507fc3
mov ecx, dword [esi + 0x2ac]
push eax
push 1
push 0xf1
push ecx
call edi
mov ecx, dword [0x75dbe4]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0
push str.nHttpsPrChbSt
push ecx
mov dword [esp + 0x24], 4
call ebx
test eax, eax
jne 0x508002
cmp dword [esp + 0x10], eax
je 0x508002
mov edx, dword [esi + 0x28c]
push eax
push 1
push 0xf1
push edx
call edi
pop edi
pop esi
pop ebx
add esp, 8
ret

Function at 0x508010
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
mov esi, ecx
mov eax, dword [esi + 0x29c]
push pe_nt_image_headers32
push eax
call edi
mov ecx, dword [esi + 0x28c]
push 0
neg eax
push 0
sbb eax, eax
push pe_nt_image_headers32
neg eax
push ecx
mov dword [esp + 0x18], eax
call edi
mov edx, dword [esi + 0x2ac]
push 0
neg eax
push 0
sbb eax, eax
push pe_nt_image_headers32
neg eax
push edx
mov dword [esp + 0x20], eax
call edi
mov ecx, dword [0x75dbe4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
neg eax
push 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push 4
push 0
push str.nHttpPrChbSt
push ecx
call esi
mov eax, dword [0x75dbe4]
push 4
lea edx, [esp + 0x10]
push edx
push 4
push 0
push str.nFtpPrChbSt
push eax
call esi
mov edx, dword [0x75dbe4]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.nHttpsPrChbSt
push edx
call esi
pop edi
pop esi
add esp, 0xc
ret
Function at 0x50d900
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x659130
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
xor eax, eax
mov esi, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov word [esp + 0x1c], ax
mov dword [esp + 0x30], ebx
mov edx, dword [esi + 0x1a4]
lea ecx, [esp + 0x18]
push ecx
push ebx
push ebx
push 0x147
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
lea ecx, [esi + 0x1a0]
call fcn.00424670
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x50d979
lea eax, [esp + 0x1c]
mov ecx, dword [0x75f37c]
push ecx
push eax
call fcn.004248a0
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add esp, 8
push 4
test eax, eax
jne 0x50d9b1
mov eax, dword [0x75dbe4]
lea edx, [esp + 0x14]
push edx
push 4
push ebx
push str.RememberDuplLinksA
mov dword [esp + 0x24], ebx
push eax
jmp 0x50da38
mov edx, dword [0x75dbe4]
lea ecx, [esp + 0x14]
push ecx
push 4
push ebx
push str.RememberDuplLinksA
push edx
mov dword [esp + 0x28], 1
call edi
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x50d9db
lea eax, [esp + 0x1c]
mov ecx, dword [0x75f380]
push ecx
push eax
call fcn.004248a0
add esp, 8
test eax, eax
jne 0x50d9f9
mov dword [esp + 0x10], 1
jmp 0x50da22
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x50da05
lea eax, [esp + 0x1c]
mov edx, dword [0x75f384]
push edx
push eax
call fcn.004248a0
add esp, 8
neg eax
sbb eax, eax
neg eax
add eax, 2
mov dword [esp + 0x10], eax
mov ecx, dword [0x75dbe4]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push ebx
push str.DuplLinksA
push ecx
call edi
lea ecx, [esp + 0x14]
call fcn.004024f0
mov byte [esp + 0x30], 1
lea edx, [esp + 0x14]
push edx
lea ecx, [esi + 0x88]
call fcn.005fae1b
mov esi, dword [esp + 0x14]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x50da61
sub eax, edx
je 0x50daca
mov ecx, dword [0x75da08]
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x50da94
cmp dl, bl
je 0x50da90
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x50da94
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x50da74
xor eax, eax
jmp 0x50da99
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x50daca
push esi
push 0x678ea8
push 0x75da08
call fcn.00402f60
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 0xc]
add esp, 0xc
inc ecx
push ecx
push eax
mov eax, dword [0x75dbe4]
push 1
push ebx
push str.szCustomUserAgent
push eax
call edi
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x14]
call fcn.00402560
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00401210
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00620b8d
add esp, 0x24
ret
Function at 0x511c40
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x659938
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
push esi
call fcn.00510f00
push str.SoftwareDownloadManagerPasswords_
lea ecx, [esp + 0xc]
call fcn.004030a0
mov dword [esp + 0x18], 0
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push 0xf003f
push 0
push 0x67997c
push 0
push str.SoftwareDownloadManagerPasswords
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x511cc9
mov edx, dword [esp + 0x20]
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 8]
call fcn.00402560
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 4
Function at 0x512ee0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x659be0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x1c]
call fcn.004c2300
mov dword [esp + 0x2c], 0
mov edi, dword [esp + 0x38]
test edi, edi
jne 0x512f25
xor eax, eax
jmp 0x512f39
mov eax, edi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x512f30
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x24]
call fcn.00402950
mov ebp, dword [esp + 0x3c]
test ebp, ebp
jne 0x512f50
xor eax, eax
jmp 0x512f5e
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x512f55
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x28]
call fcn.00402950
mov edi, dword [esp + 0x34]
push edi
mov ecx, esi
call fcn.00512a60
mov esi, eax
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00405900
lea edx, [esp + 0x20]
lea ecx, [esi + 4]
push edx
call fcn.00405900
push str.SoftwareDownloadManagerPasswords_
lea ecx, [esp + 0x14]
call fcn.004030a0
mov byte [esp + 0x2c], 1
test edi, edi
jne 0x512fab
xor eax, eax
jmp 0x512fb9
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x512fb0
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.00402e00
mov ecx, dword [esp + 0x10]
mov eax, ecx
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x512fd0
sub eax, esi
cmp eax, 0x125
jbe 0x51302e
mov esi, dword [ecx - 0xc]
cmp esi, 0x124
jg 0x512ff5
push 0x80070057
call fcn.00401090
cmp dword [ecx - 4], 1
jle 0x51300b
mov eax, esi
push eax
lea ecx, [esp + 0x14]
call fcn.00401710
mov ecx, dword [esp + 0x10]
mov byte [ecx + 0x124], 0
test esi, esi
jl 0x512feb
mov eax, dword [esp + 0x10]
cmp esi, dword [eax - 8]
jg 0x512feb
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x10]
mov byte [esi + ecx], 0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push 0xf003f
push 0
push 0x67997c
push 0
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, dword [esp + 0x38]
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x513060
mov ecx, dword [esp + 0x14]
sub eax, edx
inc eax
push eax
push esi
push 0
push 0
push 0x68cbf4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x14]
push 0
push ebp
push str.EncPassword
push 0x69b5ec
push edx
call fcn.005ba700
mov eax, dword [esp + 0x28]
add esp, 0x14
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x2c], 0
lea ecx, [esp + 0x10]
call fcn.00402560
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.004c2360
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x20
ret 0xc
Function at 0x513320
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
movzx eax, word [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x10]
push 0x6a4020
push eax
push edi
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x513349
pop edi
pop esi
pop ecx
ret 8
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x513378
push ebp
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x513381
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebp
pop edi
xor eax, eax
pop esi
pop ecx
ret 8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x5133ff
test ebx, ebx
je 0x5133ff
push ebp
push eax
push ebx
call fcn.00622730
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [esp + 0x1c]
push ecx
push 0
push esi
mov dword [esp + 0x28], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
je 0x5133de
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop ebp
pop edi
xor eax, eax
pop esi
pop ecx
ret 8
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push edx
call fcn.005131b0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop ebp
mov eax, edi
pop edi
pop esi
pop ecx
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop ebp
pop edi
xor eax, eax
pop esi
pop ecx
ret 8
Function at 0x514030
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x659e88
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4c]
push ebp
call fcn.005f9a38
xor ebx, ebx
push ebx
push ebx
mov esi, eax
mov eax, dword [esi + 0x20]
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.005fe202
push esi
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.005fdfdc
mov dword [esp + 0x44], ebx
push edi
lea ecx, [esp + 0x2c]
call fcn.005fe301
push ebp
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
cmp esi, ebx
jle 0x514131
add esi, 3
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005f4e47
mov edi, eax
add esp, 4
test edi, edi
je 0x514131
push esi
push edi
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x514128
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x20], eax
mov eax, edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x514100
push 0x2418
sub eax, edx
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x1c]
push ecx
sar eax, 1
push eax
push edi
push edx
call dword [sym.imp.USER32.dll_DrawTextW]
mov ebx, eax
push edi
call fcn.005f4e52
add esp, 4
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
call fcn.005fe301
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.005fe030
mov eax, ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret