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

Disassembly:
push 0xffffffffffffffff
push 0x6574b8
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.00402510
mov dword [esp + 0x20], 0
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + 0xdc]
call fcn.005fa470
push 0x67997c
push 0x679010
lea ecx, [esp + 0x18]
call fcn.00402c20
push 0x67997c
push 0x679430
lea ecx, [esp + 0x18]
call fcn.00402c20
push 0x67997c
push 0x678ff0
lea ecx, [esp + 0x18]
call fcn.00402c20
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [edi + 0x144]
call fcn.004ac260
lea ecx, [esp + 0xc]
call fcn.00402510
mov byte [esp + 0x20], 1
lea edx, [esp + 0xc]
push edx
lea ecx, [edi + 0x88]
call fcn.005fa470
push 0x678e14
push 0x6a2818
lea ecx, [esp + 0x14]
call fcn.00402c20
mov eax, dword [esp + 0xc]
push 0x20
push eax
call fcn.006229e0
mov esi, eax
add esp, 8
test esi, esi
je 0x50467b
mov edx, 0x6a2814
mov ecx, esi
mov edi, edi
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x504670
test al, al
je 0x50466c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x504670
add ecx, 2
add edx, 2
test al, al
jne 0x504650
xor eax, eax
jmp 0x504675
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x50467b
mov byte [esi], al
mov ecx, dword [esp + 0xc]
push 2
push 0x6a2810
push ecx
call fcn.0062199b
add esp, 0xc
test eax, eax
jne 0x5046dd
lea ecx, [esp + 0x14]
call fcn.00402510
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.00402f80
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push 0x678ea8
push edx
call fcn.00402f80
add esp, 0x18
mov byte [esp + 0x20], 1
lea ecx, [esp + 0x14]
call fcn.00402580
mov edx, dword [esp + 0xc]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5046e6
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 0x504720
push 0x80004005
call fcn.00401090
mov eax, dword [edi + 0x148]
push ecx
push eax
call fcn.00622809
add esp, 8
test eax, eax
je 0x50473b
mov byte [edi + 0x14c], 1
mov byte [esp + 0x20], 0
lea ecx, [esp + 0xc]
call fcn.00402580
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00402580
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret
Function at 0x505130
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 0x5051a1
xor ebx, ebx
cmp dword [esp + 0x14], ebx
push 0x420
mov ecx, esi
setne bl
call fcn.005f5145
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 0x5051ec
xor ebx, ebx
cmp dword [esp + 0x14], ebx
push 0x425
mov ecx, esi
setne bl
call fcn.005f5145
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 0x5064f0
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.00410320
test eax, eax
je 0x50652d
lea ecx, [esp + 0x18]
push ecx
call fcn.004105d0
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 0x50657e
xor ebx, ebx
cmp dword [esp + 0x14], ebx
push 0x420
mov ecx, esi
setne bl
call fcn.005f5145
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 0x5065c9
xor ebx, ebx
cmp dword [esp + 0x14], ebx
push 0x425
mov ecx, esi
setne bl
call fcn.005f5145
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 0x507a70
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 0x507ac5
cmp dword [esp + 0x10], 0
je 0x507ac5
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 0x507b03
cmp dword [esp + 0x10], eax
je 0x507b03
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 0x507b42
cmp dword [esp + 0x10], eax
je 0x507b42
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 0x507b50
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 0x50d560
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6587a0
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.00423df0
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x50d5d9
lea eax, [esp + 0x1c]
mov ecx, dword [0x75f37c]
push ecx
push eax
call fcn.00424020
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add esp, 8
push 4
test eax, eax
jne 0x50d611
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 0x50d698
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 0x50d63b
lea eax, [esp + 0x1c]
mov ecx, dword [0x75f380]
push ecx
push eax
call fcn.00424020
add esp, 8
test eax, eax
jne 0x50d659
mov dword [esp + 0x10], 1
jmp 0x50d682
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x50d665
lea eax, [esp + 0x1c]
mov edx, dword [0x75f384]
push edx
push eax
call fcn.00424020
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.00402510
mov byte [esp + 0x30], 1
lea edx, [esp + 0x14]
push edx
lea ecx, [esi + 0x88]
call fcn.005fa470
mov esi, dword [esp + 0x14]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x50d6c1
sub eax, edx
je 0x50d72a
mov ecx, dword [0x75da08]
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x50d6f4
cmp dl, bl
je 0x50d6f0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x50d6f4
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x50d6d4
xor eax, eax
jmp 0x50d6f9
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x50d72a
push esi
push 0x678ea8
push 0x75da08
call fcn.00402f80
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.00402580
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.0062023e
add esp, 0x24
ret
Function at 0x511980
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x659038
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.00510c40
push str.SoftwareDownloadManagerPasswords_
lea ecx, [esp + 0xc]
call fcn.004030c0
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 0x511a09
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.00402580
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 4
Function at 0x512c20
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6592e0
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.00461a20
mov dword [esp + 0x2c], 0
mov edi, dword [esp + 0x38]
test edi, edi
jne 0x512c65
xor eax, eax
jmp 0x512c79
mov eax, edi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x512c70
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x24]
call fcn.00402970
mov ebp, dword [esp + 0x3c]
test ebp, ebp
jne 0x512c90
xor eax, eax
jmp 0x512c9e
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x512c95
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x28]
call fcn.00402970
mov edi, dword [esp + 0x34]
push edi
mov ecx, esi
call fcn.005127a0
mov esi, eax
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00405920
lea edx, [esp + 0x20]
lea ecx, [esi + 4]
push edx
call fcn.00405920
push str.SoftwareDownloadManagerPasswords_
lea ecx, [esp + 0x14]
call fcn.004030c0
mov byte [esp + 0x2c], 1
test edi, edi
jne 0x512ceb
xor eax, eax
jmp 0x512cf9
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x512cf0
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.00402e20
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 0x512d10
sub eax, esi
cmp eax, 0x125
jbe 0x512d6e
mov esi, dword [ecx - 0xc]
cmp esi, 0x124
jg 0x512d35
push 0x80070057
call fcn.00401090
cmp dword [ecx - 4], 1
jle 0x512d4b
mov eax, esi
push eax
lea ecx, [esp + 0x14]
call fcn.00401730
mov ecx, dword [esp + 0x10]
mov byte [ecx + 0x124], 0
test esi, esi
jl 0x512d2b
mov eax, dword [esp + 0x10]
cmp esi, dword [eax - 8]
jg 0x512d2b
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 0x512da0
mov ecx, dword [esp + 0x14]
sub eax, edx
inc eax
push eax
push esi
push 0
push 0
push 0x68cb9c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x14]
push 0
push ebp
push str.EncPassword
push 0x69b594
push edx
call fcn.005ba240
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.00402580
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.004c1bc0
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 0x513070
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
movzx eax, word [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x10]
push 0x6a3fc8
push eax
push edi
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x513099
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 0x5130c8
push ebp
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x5130d1
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 0x51314f
test ebx, ebx
je 0x51314f
push ebp
push eax
push ebx
call fcn.00621de0
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 0x51312e
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.00512f00
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 0x513d80
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x659558
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.005f908d
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.005fd857
push esi
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.005fd631
mov dword [esp + 0x44], ebx
push edi
lea ecx, [esp + 0x2c]
call fcn.005fd956
push ebp
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
cmp esi, ebx
jle 0x513e81
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.005f4522
mov edi, eax
add esp, 4
test edi, edi
je 0x513e81
push esi
push edi
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x513e78
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 0x513e50
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.005f4517
add esp, 4
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
call fcn.005fd956
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.005fd685
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 0x517714
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
cmp eax, 0x13fa
je 0x51772f
mov ecx, dword [esp + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.00609d60
pop esi
ret 8
cmp dword [esi + 0x13ec], 0
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push edi
mov edi, dword [esp + 0x14]
je 0x51785b
cmp edi, 1
jne 0x517792
mov ecx, dword [esi + 0xc0]
test ecx, ecx
je 0x517792
call fcn.0041a2a0
test eax, eax
je 0x517792
push 0
lea ecx, [esi + 0xb18]
call fcn.00405470
mov edx, dword [0x75f648]
mov eax, dword [esi + 0x20]
push 0x50040
push 0x678d88
push edx
push eax
call fcn.00472fb0
add esp, 0x10
mov eax, edi
pop edi
pop ebx
pop esi
ret 8
mov ecx, dword [0x75e284]
push 8
push 0x1436
push 0x111
push ecx
call ebx
mov ecx, dword [esi + 0x20]
mov dword [0x75e6b8], ecx
mov ecx, dword [esi + 0xc0]
cmp edi, 1
jne 0x51794b
push edi
call fcn.0041e320
cmp dword [esi + 0x13ec], 0
je 0x51799a
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.004101d0
test eax, eax
jne 0x517952
push eax
mov eax, dword [0x75e284]
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 [0x75dbac], 0
je 0x517912
call fcn.00516f90
test eax, eax
je 0x517912
push 0x50041
push 0x678d88
cmp eax, edi
jne 0x5178c5
mov edx, dword [0x75f600]
mov eax, dword [esi + 0x20]
push edx
push eax
jmp 0x5178d0
mov edx, dword [0x75f06c]
mov eax, dword [esi + 0x20]
push 0x50004
push 0x678d88
push edx
push eax
call fcn.00472fb0
add esp, 0x10
cmp eax, 6
je 0x5177a7
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x51799a
cmp dword [eax + 0x1c], 0
je 0x5178ad
push 1
lea ecx, [esi + 0x910]
call fcn.00405470
pop edi
pop ebx
mov eax, 1
pop esi
ret 8
push 0
lea ecx, [esi + 0xb18]
call fcn.00405470
pop edi
pop ebx
mov eax, 1
pop esi
ret 8
mov ecx, dword [0x75f604]
mov edx, dword [esi + 0x20]
push ecx
push edx
call fcn.00472fb0
add esp, 0x10
cmp eax, 1
jne 0x51799a
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.005f908d
mov eax, dword [eax + 0x20]
push 1
push 0
push 0
push str.https:__www.internetdownloadmanager.com_register_new_faq_enableBFE.html
push 0x678dbc
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop ebx
mov eax, 1
pop esi
ret 8
mov ecx, dword [esi + 0xc0]
push 0
call fcn.004112e0
test eax, eax
jne 0x51799a
mov ecx, dword [0x75f5bc]
mov edx, dword [esi + 0x20]
push 0x50040
push 0x678d88
push ecx
push edx
call fcn.00472fb0
add esp, 0x10
pop edi
pop ebx
mov eax, 1
pop esi
ret 8
push 0
call fcn.0041e320
cmp dword [esi + 0x13ec], 0
je 0x51799a
mov eax, dword [0x75e284]
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 0x1437
push 0x111
push eax
call edi
mov ecx, esi
call fcn.00517360
push 0
mov ecx, esi
call fcn.00609ce8
mov ecx, dword [0x75e284]
push 0
push 0x146e
push 0x111
push ecx
call edi
pop edi
pop ebx
mov eax, 1
pop esi
ret 8
Function at 0x518840
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x659c3b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
xor eax, eax
mov word [ebp - 0x1c], ax
mov byte [ebp - 4], 1
mov eax, dword [0x75dc38]
cmp eax, ebx
jne 0x518896
mov eax, 0x75dc3c
push ebx
push eax
push str._sScheduler_
lea ecx, [ebp - 0x20]
call fcn.004021c0
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x5188af
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x51895b
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x5188c9
lea eax, [ebp - 0x1c]
push 0x5c
add eax, 6
push eax
call fcn.00621db0
add esp, 8
mov esi, eax
lea esp, [esp]
cmp esi, ebx
je 0x51895b
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x5188ee
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402190
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov ecx, eax
jne 0x518907
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x518911
lea eax, [ebp - 0x1c]
mov edx, esi
sub edx, eax
sar edx, 1
xor eax, eax
mov word [ecx + edx*2], ax
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x518927
lea eax, [ebp - 0x28]
push 1
push eax
call fcn.004ab030
add esp, 8
test eax, eax
jne 0x51898a
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x518940
lea eax, [ebp - 0x28]
push 1
push eax
call fcn.004ab210
add esp, 8
test eax, eax
jne 0x51898a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00401210
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x518965
lea eax, [ebp - 0x1c]
push ebx
push eax
push 0x678ea8
lea ecx, [edi + 8]
call fcn.004021c0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.00401210
mov dword [ebp - 4], 0xffffffff
xor eax, eax
jmp 0x5189eb
push 0x5c
add esi, 2
push esi
call fcn.00621db0
add esp, 8
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00401210
jmp 0x5188e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0062023e
mov esp, ebp
pop ebp
ret 4