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

Disassembly:
push 0xffffffffffffffff
push 0x653058
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x1c]
call fcn.00402500
mov dword [esp + 0x30], 1
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x20], edi
test ebp, ebp
jne 0x4fa5ad
xor eax, eax
jmp 0x4fa5bb
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4fa5b2
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x24]
call fcn.00402960
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.004fa270
lea ecx, [esp + 0x10]
call fcn.00402500
mov byte [esp + 0x30], 2
cmp edi, 1
jne 0x4fa5f8
mov eax, 0x676008
jmp 0x4fa62a
cmp edi, 4
jne 0x4fa604
mov eax, 0x676000
jmp 0x4fa62a
cmp edi, 5
jne 0x4fa610
mov eax, 0x675ff4
jmp 0x4fa62a
cmp edi, 2
jne 0x4fa61c
mov eax, 0x675fe8
jmp 0x4fa62a
mov eax, 0x676428
test edi, edi
je 0x4fa62a
mov eax, 0x675fe0
push ebp
push eax
lea edx, [esp + 0x18]
push str.SoftwareDownloadManagerMCN_s_s
push edx
call fcn.00402f70
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 0x676974
push 0
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4fa67c
mov byte [esp + 0x30], 1
lea ecx, [esp + 0x10]
call fcn.00402570
jmp 0x4fa6b0
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.00402570
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00402570
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 0x4fb7b0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6531eb
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
mov edx, dword [0x75abd8]
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 0x4fb860
mov ecx, dword [0x75abd8]
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 0x4fb860
push eax
lea ecx, [esp + 0x10]
call fcn.005479d0
mov dword [esp + 0xe4], 0
lea ecx, [esp + 0xc]
call fcn.005f3511
mov dword [esp + 0xe4], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.004fb310
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
pop ecx
add esp, 0xe4
ret
Function at 0x4ff7a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x75abd8]
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 0x4ff7d6
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x4ff7e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x75abd8]
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 0x4ff816
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x503640
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6545b8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x10]
call fcn.00402500
mov dword [esp + 0x20], 0
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + 0xdc]
call fcn.005f74f2
push 0x676974
push 0x676008
lea ecx, [esp + 0x18]
call fcn.00402c10
push 0x676974
push 0x676428
lea ecx, [esp + 0x18]
call fcn.00402c10
push 0x676974
push 0x675fe8
lea ecx, [esp + 0x18]
call fcn.00402c10
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [edi + 0x144]
call fcn.004ab530
lea ecx, [esp + 0xc]
call fcn.00402500
mov byte [esp + 0x20], 1
lea edx, [esp + 0xc]
push edx
lea ecx, [edi + 0x88]
call fcn.005f74f2
push 0x675e0c
push 0x69f338
lea ecx, [esp + 0x14]
call fcn.00402c10
mov eax, dword [esp + 0xc]
push 0x20
push eax
call fcn.0061faa0
mov esi, eax
add esp, 8
test esi, esi
je 0x50374b
mov edx, 0x69f334
mov ecx, esi
mov edi, edi
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x503740
test al, al
je 0x50373c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x503740
add ecx, 2
add edx, 2
test al, al
jne 0x503720
xor eax, eax
jmp 0x503745
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x50374b
mov byte [esi], al
mov ecx, dword [esp + 0xc]
push 2
push 0x69f330
push ecx
call fcn.0061ea5b
add esp, 0xc
test eax, eax
jne 0x5037ad
lea ecx, [esp + 0x14]
call fcn.00402500
mov byte [esp + 0x20], 2
mov edx, dword [esp + 0xc]
add edx, 2
push edx
lea eax, [esp + 0x18]
push 0x675ea0
push eax
call fcn.00402f70
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push 0x675ea0
push edx
call fcn.00402f70
add esp, 0x18
mov byte [esp + 0x20], 1
lea ecx, [esp + 0x14]
call fcn.00402570
mov edx, dword [esp + 0xc]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5037b6
sub eax, esi
inc eax
push eax
mov eax, dword [0x75abd8]
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 0x5037f0
push 0x80004005
call fcn.00401090
mov eax, dword [edi + 0x148]
push ecx
push eax
call fcn.0061f8c9
add esp, 8
test eax, eax
je 0x50380b
mov byte [edi + 0x14c], 1
mov byte [esp + 0x20], 0
lea ecx, [esp + 0xc]
call fcn.00402570
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00402570
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret
Function at 0x5041d0
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 [0x75abd8]
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 0x504241
xor ebx, ebx
cmp dword [esp + 0x14], ebx
push 0x420
mov ecx, esi
setne bl
call fcn.005f21e5
mov ecx, dword [eax + 0x20]
push 0
push ebx
push 0xf1
push ecx
call edi
mov ecx, dword [0x75abd8]
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 0x50428c
xor ebx, ebx
cmp dword [esp + 0x14], ebx
push 0x425
mov ecx, esi
setne bl
call fcn.005f21e5
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 0x505470
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.00410780
test eax, eax
je 0x5054ad
lea ecx, [esp + 0x18]
push ecx
call fcn.00410a30
add esp, 4
mov ecx, dword [0x75abd8]
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 0x5054fe
xor ebx, ebx
cmp dword [esp + 0x14], ebx
push 0x420
mov ecx, esi
setne bl
call fcn.005f21e5
mov edx, dword [eax + 0x20]
push 0
push ebx
push 0xf1
push edx
call edi
mov edx, dword [0x75abd8]
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 0x505549
xor ebx, ebx
cmp dword [esp + 0x14], ebx
push 0x425
mov ecx, esi
setne bl
call fcn.005f21e5
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 0x506a70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x75abd8]
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 0x506ac5
cmp dword [esp + 0x10], 0
je 0x506ac5
mov eax, dword [esi + 0x29c]
push 0
push 1
push 0xf1
push eax
call edi
mov eax, dword [0x75abd8]
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 0x506b03
cmp dword [esp + 0x10], eax
je 0x506b03
mov ecx, dword [esi + 0x2ac]
push eax
push 1
push 0xf1
push ecx
call edi
mov ecx, dword [0x75abd8]
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 0x506b42
cmp dword [esp + 0x10], eax
je 0x506b42
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 0x506b50
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 [0x75abd8]
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 [0x75abd8]
push 4
lea edx, [esp + 0x10]
push edx
push 4
push 0
push str.nFtpPrChbSt
push eax
call esi
mov edx, dword [0x75abd8]
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 0x50c440
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x655820
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push esi
push edi
mov eax, dword [0x755898]
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.00424680
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x50c4b9
lea eax, [esp + 0x1c]
mov ecx, dword [0x75c33c]
push ecx
push eax
call fcn.004248b0
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add esp, 8
push 4
test eax, eax
jne 0x50c4f1
mov eax, dword [0x75abd8]
lea edx, [esp + 0x14]
push edx
push 4
push ebx
push str.RememberDuplLinksA
mov dword [esp + 0x24], ebx
push eax
jmp 0x50c578
mov edx, dword [0x75abd8]
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 0x50c51b
lea eax, [esp + 0x1c]
mov ecx, dword [0x75c340]
push ecx
push eax
call fcn.004248b0
add esp, 8
test eax, eax
jne 0x50c539
mov dword [esp + 0x10], 1
jmp 0x50c562
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x50c545
lea eax, [esp + 0x1c]
mov edx, dword [0x75c344]
push edx
push eax
call fcn.004248b0
add esp, 8
neg eax
sbb eax, eax
neg eax
add eax, 2
mov dword [esp + 0x10], eax
mov ecx, dword [0x75abd8]
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.00402500
mov byte [esp + 0x30], 1
lea edx, [esp + 0x14]
push edx
lea ecx, [esi + 0x88]
call fcn.005f74f2
mov esi, dword [esp + 0x14]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x50c5a1
sub eax, edx
je 0x50c60a
mov ecx, dword [0x75aa08]
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x50c5d4
cmp dl, bl
je 0x50c5d0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x50c5d4
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x50c5b4
xor eax, eax
jmp 0x50c5d9
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x50c60a
push esi
push 0x675ea0
push 0x75aa08
call fcn.00402f70
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 0xc]
add esp, 0xc
inc ecx
push ecx
push eax
mov eax, dword [0x75abd8]
push 1
push ebx
push str.szCustomUserAgent
push eax
call edi
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x14]
call fcn.00402570
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.0061d2ff
add esp, 0x24
ret
Function at 0x5106d0
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x656028
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
push esi
call fcn.0050f980
push str.SoftwareDownloadManagerPasswords_
lea ecx, [esp + 0xc]
call fcn.004030b0
mov dword [esp + 0x18], 0
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push 0xf003f
push 0
push 0x676974
push 0
push str.SoftwareDownloadManagerPasswords
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x510759
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.00402570
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 4
Function at 0x511970
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6562d0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebp
push esi
push edi
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x1c]
call fcn.0040e0a0
mov dword [esp + 0x2c], 0
mov edi, dword [esp + 0x38]
test edi, edi
jne 0x5119b5
xor eax, eax
jmp 0x5119c9
mov eax, edi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5119c0
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x24]
call fcn.00402960
mov ebp, dword [esp + 0x3c]
test ebp, ebp
jne 0x5119e0
xor eax, eax
jmp 0x5119ee
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5119e5
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x28]
call fcn.00402960
mov edi, dword [esp + 0x34]
push edi
mov ecx, esi
call fcn.005114f0
mov esi, eax
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.004058f0
lea edx, [esp + 0x20]
lea ecx, [esi + 4]
push edx
call fcn.004058f0
push str.SoftwareDownloadManagerPasswords_
lea ecx, [esp + 0x14]
call fcn.004030b0
mov byte [esp + 0x2c], 1
test edi, edi
jne 0x511a3b
xor eax, eax
jmp 0x511a49
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x511a40
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.00402e10
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 0x511a60
sub eax, esi
cmp eax, 0x125
jbe 0x511abe
mov esi, dword [ecx - 0xc]
cmp esi, 0x124
jg 0x511a85
push 0x80070057
call fcn.00401090
cmp dword [ecx - 4], 1
jle 0x511a9b
mov eax, esi
push eax
lea ecx, [esp + 0x14]
call fcn.00401720
mov ecx, dword [esp + 0x10]
mov byte [ecx + 0x124], 0
test esi, esi
jl 0x511a7b
mov eax, dword [esp + 0x10]
cmp esi, dword [eax - 8]
jg 0x511a7b
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 0x676974
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 0x511af0
mov ecx, dword [esp + 0x14]
sub eax, edx
inc eax
push eax
push esi
push 0
push 0
push 0x68976c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x14]
push 0
push ebp
push str.EncPassword
push 0x69809c
push edx
call fcn.005b7490
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.00402570
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.0040e100
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 0x511db0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
movzx eax, word [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x10]
push 0x6a0ae8
push eax
push edi
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x511dd9
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 0x511e08
push ebp
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x511e11
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 0x511e8f
test ebx, ebx
je 0x511e8f
push ebp
push eax
push ebx
call fcn.0061eea0
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 0x511e6e
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.00511c40
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 0x512ac0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x656608
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4c]
push ebp
call fcn.005f610f
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.005fa8ec
push esi
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.005fa6c6
mov dword [esp + 0x44], ebx
push edi
lea ecx, [esp + 0x2c]
call fcn.005fa9eb
push ebp
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
cmp esi, ebx
jle 0x512bc1
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.005f15c2
mov edi, eax
add esp, 4
test edi, edi
je 0x512bc1
push esi
push edi
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x512bb8
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 0x512b90
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.005f15b7
add esp, 4
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
call fcn.005fa9eb
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.005fa71a
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
Function at 0x5164a4
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
cmp eax, 0x13fa
je 0x5164bf
mov ecx, dword [esp + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.00606f3c
pop esi
ret 8
cmp dword [esi + 0x145c], 0
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push edi
mov edi, dword [esp + 0x14]
je 0x5165eb
cmp edi, 1
jne 0x516522
mov ecx, dword [esi + 0xc0]
test ecx, ecx
je 0x516522
call fcn.0041a8a0
test eax, eax
je 0x516522
push 0
lea ecx, [esi + 0xb18]
call fcn.00405440
mov edx, dword [0x75c608]
mov eax, dword [esi + 0x20]
push 0x50040
push 0x675d88
push edx
push eax
call fcn.00472580
add esp, 0x10
mov eax, edi
pop edi
pop ebx
pop esi
ret 8
mov ecx, dword [0x75b264]
push 8
push 0x1436
push 0x111
push ecx
call ebx
mov ecx, dword [esi + 0x20]
mov dword [0x75b67c], ecx
mov ecx, dword [esi + 0xc0]
cmp edi, 1
jne 0x5166ca
push edi
call fcn.0041e810
cmp dword [esi + 0x145c], 0
je 0x516719
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi + 0xc0]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], 0
call fcn.00410630
test eax, eax
jne 0x5166d1
push eax
mov eax, dword [0x75b264]
push 0x1437
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [esi + 0xb1c]
push 0
push 0
push 0xf1
push ecx
call ebx
cmp dword [0x75aba4], 0
je 0x5166a2
call fcn.00515cd0
test eax, eax
je 0x5166a2
push 0x50041
push 0x675d88
cmp eax, edi
jne 0x516655
mov edx, dword [0x75c5c0]
mov eax, dword [esi + 0x20]
push edx
push eax
jmp 0x516660
mov edx, dword [0x75c02c]
mov eax, dword [esi + 0x20]
push 0x50004
push 0x675d88
push edx
push eax
call fcn.00472580
add esp, 0x10
cmp eax, 6
je 0x516537
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x516719
cmp dword [eax + 0x1c], 0
je 0x51663d
push 1
lea ecx, [esi + 0x910]
call fcn.00405440
pop edi
pop ebx
mov eax, 1
pop esi
ret 8
push 0
lea ecx, [esi + 0xb18]
call fcn.00405440
pop edi
pop ebx
mov eax, 1
pop esi
ret 8
mov ecx, dword [0x75c5c4]
mov edx, dword [esi + 0x20]
push ecx
push edx
call fcn.00472580
add esp, 0x10
cmp eax, 1
jne 0x516719
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.005f610f
mov eax, dword [eax + 0x20]
push 1
push 0
push 0
push str.https:__www.internetdownloadmanager.com_register_new_faq_enableBFE.html
push 0x675dbc
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop ebx
mov eax, 1
pop esi
ret 8
mov ecx, dword [0x75c57c]
mov edx, dword [esi + 0x20]
push 0x50040
push 0x675d88
push ecx
push edx
call fcn.00472580
add esp, 0x10
pop edi
pop ebx
mov eax, 1
pop esi
ret 8
push 0
call fcn.0041e810
cmp dword [esi + 0x145c], 0
je 0x516719
mov eax, dword [0x75b264]
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 0x1437
push 0x111
push eax
call edi
mov ecx, esi
call fcn.005160a0
push 0
mov ecx, esi
call fcn.00606ec4
mov ecx, dword [0x75b264]
push 0
push 0x146e
push 0x111
push ecx
call edi
pop edi
pop ebx
mov eax, 1
pop esi
ret 8