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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x510fc8
push eax
mov eax, 0x141c
mov dword fs:[0], esp
call fcn.004c2a90
push ebp
mov ebp, ecx
mov dword [esp + 8], ebp
call fcn.004594d0
test eax, eax
mov dword [esp + 4], eax
jne 0x4606ed
mov eax, 1
jmp 0x4608cb
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov ecx, ebp
push ebx
call fcn.00460bb0
test eax, eax
je 0x46070e
mov eax, dword [ebp + 0x6b4]
mov ebx, dword [eax + 0x10]
inc ebx
lea ecx, [esp + 0x42c]
push ecx
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push ebx
lea edx, [esp + 0x30]
push str.Cute_ccc__d
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x42c]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.004de4bb
push 0
lea eax, [esp + 0x430]
push 0x9001
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x1440], 0
call fcn.004de66d
add ebp, 0x1c
push 4
push ebp
lea ecx, [esp + 0x20]
call fcn.004de7c4
mov ebp, dword [esp + 0x143c]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
lea ecx, [esp + 0x20]
call fcn.004de7c4
lea ecx, [esp + 0x28]
push 1
xor esi, esi
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], esi
call fcn.004de7c4
mov edx, dword [esp + 0x1440]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.004de7c4
lea ecx, [esp + 0x18]
call fcn.004de888
mov edi, dword [esp + 0x10]
push ebx
push 0xc350
push 0x111
push edi
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x1c
call fcn.004dda96
add esp, 4
cmp eax, esi
je 0x46083b
mov edx, dword [0x5580c0]
mov esi, eax
mov dword [eax], edx
mov ecx, dword [0x5580c0]
mov dword [eax + 4], ecx
mov edx, dword [0x5580c0]
mov dword [eax + 8], edx
push ebp
mov ecx, esi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
call fcn.004dd5d6
mov eax, dword [esp + 0x1440]
lea ecx, [esi + 4]
push eax
call fcn.004dd5d6
mov ecx, dword [esp + 0x1444]
push ecx
lea ecx, [esi + 8]
call fcn.004dd5d6
push 0x98
call fcn.004dda96
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x1434], 1
je 0x46089a
mov edi, dword [esp + 0x14]
mov ecx, eax
mov edx, dword [edi + 0x4b0]
push edx
call fcn.00478760
jmp 0x4608a0
mov edi, dword [esp + 0x14]
xor eax, eax
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x6b4]
mov dword [esi + 0x18], eax
lea ecx, [esp + 0x18]
mov dword [edi + 0x6b4], esi
mov dword [esp + 0x1434], 0xffffffff
call fcn.004de5b0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1420]
pop ebp
mov dword fs:[0], ecx
add esp, 0x1428
ret 0xc
Function at 0x460c00
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x511020
push eax
mov dword fs:[0], esp
sub esp, 0x78
lea eax, [esp]
push esi
push 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareGlobalSCAPE
push reloc.WSOCK32.dll_accept
call esi
test eax, eax
je 0x460c58
xor eax, eax
pop esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
add esp, 0x84
ret
lea ecx, [esp + 0xc]
push 0x10
push ecx
call fcn.0042e2e0
add esp, 8
mov eax, dword [eax]
lea edx, [esp + 8]
push 0
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x24]
push eax
call esi
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.004dd44d
test esi, esi
je 0x460cb4
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
add esp, 0x84
ret
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004ddcd1
test eax, eax
je 0x460cd1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x460cd3
xor eax, eax
push ebp
push edi
push 1
push 0
lea ecx, [eax + 0x81c]
call fcn.004e6e12
mov eax, dword [eax + 0x424]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea esi, [eax + eax*4]
shl esi, 4
add esi, 0x2328
push esi
call fcn.004dda96
add esp, 4
mov edi, eax
lea ecx, [esp + 0x18]
push 0
push esi
push edi
call fcn.004e9510
push 0
push 0x1000
lea eax, [esp + 0x20]
push 0
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x9c], 0
call fcn.004e1bcc
push 4
mov byte [esp + 0x90], 1
call fcn.004dda96
add esp, 4
test eax, eax
je 0x460d56
mov dword [eax], 0x523d70
mov esi, eax
jmp 0x460d58
xor esi, esi
push esi
lea ecx, [esp + 0x44]
call fcn.004e151c
lea ecx, [esp + 0x40]
call fcn.004e1d30
lea ecx, [esp + 0x18]
call fcn.004e9626
lea ecx, [esp + 0x18]
mov ebp, eax
call fcn.004e9577
mov ecx, dword [esp + 0x10]
push ebp
push eax
push 3
push 0
push 0x5568d8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.004ddabf
add esp, 4
test esi, esi
pop edi
pop ebp
je 0x460db8
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
lea ecx, [esp + 0x38]
mov byte [esp + 0x84], 0
call fcn.004e1ca8
lea ecx, [esp + 0x10]
mov dword [esp + 0x84], 0xffffffff
call fcn.004e9589
mov ecx, dword [esp + 0x7c]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x84
ret
Function at 0x4611b0
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5110a3
push eax
mov eax, 0x2788
mov dword fs:[0], esp
call fcn.004c2a90
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x454]
test ecx, ecx
je 0x4611e5
mov eax, dword [ecx]
push 1
call dword [eax + 4]
push 0x98
call fcn.004dda96
add esp, 4
mov dword [esp + 0x14], eax
mov ebp, dword [esp + 0x27a4]
mov dword [esp + 0x279c], 0
test eax, eax
je 0x461216
push ebp
mov ecx, eax
call fcn.00478760
jmp 0x461218
xor eax, eax
lea ecx, [esp + 0xc]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
mov dword [esi + 0x454], eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push str.SoftwareGlobalSCAPE
push reloc.WSOCK32.dll_accept
mov dword [esp + 0x27c0], 0xffffffff
call esi
test eax, eax
je 0x46125a
xor eax, eax
jmp 0x461399
lea edx, [esp + 0x14]
push 0x10
push edx
call fcn.0042e2e0
add esp, 8
mov eax, dword [eax]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push edx
call esi
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004dd44d
test esi, esi
je 0x4612a8
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x461399
mov ecx, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call edi
push 0
lea edx, [esp + 0x88]
push 0x2710
push edx
lea ecx, [esp + 0x24]
call fcn.004e9510
push 0
push 0x3e8
lea eax, [esp + 0x20]
push 0
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x27ac], 1
call fcn.004e1bcc
push ebp
lea ecx, [esp + 0x44]
mov byte [esp + 0x27a0], 2
call fcn.004e151c
lea ecx, [esp + 0x40]
call fcn.004e1d30
lea ecx, [esp + 0x18]
call fcn.004e9626
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.004e9577
mov ecx, dword [esp + 0x10]
push esi
push eax
push 3
push 0
push str.LastHost
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x461368
mov edx, dword [esp + 0x10]
push edx
call edi
lea ecx, [esp + 0x40]
mov byte [esp + 0x279c], 1
call fcn.004e1ca8
lea ecx, [esp + 0x18]
mov dword [esp + 0x279c], 0xffffffff
call fcn.004e9589
xor eax, eax
jmp 0x461399
mov eax, dword [esp + 0x10]
push eax
call edi
lea ecx, [esp + 0x40]
mov byte [esp + 0x279c], 1
call fcn.004e1ca8
lea ecx, [esp + 0x18]
mov dword [esp + 0x279c], 0xffffffff
call fcn.004e9589
mov eax, 1
mov ecx, dword [esp + 0x2794]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x2794
ret 4
Function at 0x4613c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5110d3
push eax
mov eax, 0x28b8
mov dword fs:[0], esp
call fcn.004c2a90
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 5
mov esi, str.SoftwareGlobalSCAPE_
lea edi, [esp + 0x88]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x45
lea edi, [esp + 0x9e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebx + 0x454]
test eax, eax
je 0x461467
mov esi, dword [esp + 0x28d4]
mov ecx, dword [esi]
test ecx, ecx
je 0x461429
mov eax, dword [ecx]
push 1
call dword [eax + 4]
push 0x98
call fcn.004dda96
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x28cc], 0
je 0x46145e
mov ecx, dword [ebx + 0x454]
push ecx
mov ecx, eax
call fcn.00478760
mov dword [esi], eax
jmp 0x4615a8
xor eax, eax
mov dword [esi], eax
jmp 0x4615a8
lea edx, [esp + 0x10]
push 0x10
push edx
call fcn.0042e2e0
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
add esp, 8
lea edx, [esp + 0x88]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.004dd44d
lea eax, [esp + 0xc]
lea ecx, [esp + 0x88]
push eax
push 0x20019
push 0
push ecx
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4614d9
xor eax, eax
jmp 0x4615ad
lea edx, [esp + 0x14]
lea eax, [esp + 0x1b4]
push edx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push str.LastHost
push edx
mov dword [esp + 0x2c], 0x2710
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x46151b
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4615ad
push 0
lea ecx, [esp + 0x1b8]
push 0x2710
push ecx
lea ecx, [esp + 0x28]
call fcn.004e9510
push 0
push 0x1000
lea edx, [esp + 0x24]
push 1
push edx
lea ecx, [esp + 0x54]
mov dword [esp + 0x28dc], 1
call fcn.004e1bcc
mov eax, dword [esp + 0x28d4]
lea ecx, [esp + 0x44]
push eax
push ecx
mov byte [esp + 0x28d4], 2
call fcn.00478030
lea ecx, [esp + 0x44]
call fcn.004e1d30
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x44]
mov byte [esp + 0x28cc], 1
call fcn.004e1ca8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28cc], 0xffffffff
call fcn.004e9589
mov eax, 1
mov ecx, dword [esp + 0x28c4]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28c4
ret 4
Function at 0x461f30
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5111d0
push eax
mov dword fs:[0], esp
sub esp, 0x78
lea eax, [esp]
push esi
push edi
push 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareGlobalSCAPE
mov edi, ecx
push reloc.WSOCK32.dll_accept
call esi
test eax, eax
je 0x461f8c
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
add esp, 0x84
ret
lea ecx, [esp + 0x10]
push 0x10
push ecx
call fcn.0042e2e0
add esp, 8
mov eax, dword [eax]
lea edx, [esp + 0xc]
push 0
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x28]
push eax
call esi
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.004dd44d
test esi, esi
je 0x461fe9
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
add esp, 0x84
ret
mov edx, dword [esp + 8]
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [edi + 0x5e8]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea esi, [eax + eax*4]
shl esi, 4
add esi, 0x2328
push esi
call fcn.004dda96
add esp, 4
mov ebp, eax
lea ecx, [esp + 0x18]
push 0
push esi
push ebp
call fcn.004e9510
push 0
push 0x1000
lea eax, [esp + 0x20]
push 0
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x9c], 0
call fcn.004e1bcc
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov esi, dword [edi + 0x5e8]
add ecx, 4
cmp ecx, eax
mov byte [esp + 0x8c], 1
jbe 0x46206d
lea ecx, [esp + 0x40]
call fcn.004e1edd
mov edx, dword [esp + 0x64]
mov dword [edx], esi
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
add eax, 4
mov dword [esp + 0x64], eax
add eax, 4
cmp eax, ecx
jbe 0x462092
lea ecx, [esp + 0x40]
call fcn.004e1edd
mov eax, dword [esp + 0x64]
xor esi, esi
mov dword [eax], 0
mov ecx, dword [esp + 0x64]
mov eax, dword [edi + 0x5e8]
add ecx, 4
test eax, eax
mov dword [esp + 0x64], ecx
jle 0x4620df
push ebx
lea ebx, [edi + 0x5dc]
push esi
mov ecx, ebx
call fcn.004d70eb
test eax, eax
je 0x4620d3
mov eax, dword [eax + 8]
lea ecx, [esp + 0x44]
push eax
call fcn.004e151c
mov eax, dword [edi + 0x5e8]
inc esi
cmp esi, eax
jl 0x4620ba
pop ebx
lea ecx, [esp + 0x40]
call fcn.004e1d30
lea ecx, [esp + 0x18]
call fcn.004e9626
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.004e9577
mov ecx, dword [esp + 0x10]
push esi
push eax
push 3
push 0
push str.QConHist
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call fcn.004ddabf
add esp, 4
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c], 0
call fcn.004e1ca8
lea ecx, [esp + 0x18]
mov dword [esp + 0x8c], 0xffffffff
call fcn.004e9589
mov ecx, dword [esp + 0x84]
pop ebp
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x84
ret
Function at 0x463c90
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5115b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x1c]
call fcn.004df69a
mov eax, dword [0x5580c0]
mov dword [esp + 0x244], 0
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x668]
mov ebx, 1
xor edi, edi
mov byte [esp + 0x244], bl
test eax, eax
jle 0x463d03
mov ecx, dword [esi + 0x664]
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x463cf8
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov eax, dword [esi + 0x668]
inc edi
cmp edi, eax
jl 0x463ce5
lea edi, [esi + 0x660]
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.004d72d5
lea eax, [esp + 0x138]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edx, dword [esp + 0x24c]
lea ecx, [esp + 0x34]
push ecx
push edx
lea eax, [esp + 0x140]
push 0x556988
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x463ed9
push 0
lea ecx, [esp + 0x38]
push 0
push ecx
lea ecx, [esp + 0x28]
call fcn.004df70f
test eax, eax
je 0x463ed9
lea edx, [esp + 0xc]
lea ecx, [esp + 0x1c]
push edx
call fcn.004df8f2
test eax, eax
je 0x463ec5
push 0x3c
call fcn.004dda96
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov byte [esp + 0x244], 2
je 0x463da4
mov ecx, eax
call fcn.0042a010
mov esi, eax
jmp 0x463da6
xor esi, esi
push str.Dir:
lea ecx, [esp + 0x10]
mov byte [esp + 0x248], bl
call fcn.004d3e42
test eax, eax
jne 0x463df6
mov dword [esi + 0x30], eax
lea eax, [esp + 0x14]
push 4
push eax
lea ecx, [esp + 0x14]
call fcn.004d3c48
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x248], 3
call fcn.004dd586
lea ecx, [esp + 0x14]
mov byte [esp + 0x244], bl
call fcn.004dd44d
jmp 0x463dfd
mov dword [esi + 0x30], 3
push str.Size:
lea ecx, [esp + 0x10]
call fcn.004d3e42
cmp eax, 0xffffffff
je 0x463e96
push str.Size:
lea ecx, [esp + 0x10]
call fcn.004d3e42
dec eax
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.004d3d7d
push eax
lea ecx, [esi + 0xc]
mov byte [esp + 0x248], 4
call fcn.004dd586
lea ecx, [esp + 0x18]
mov byte [esp + 0x244], bl
call fcn.004dd44d
push str.Size:
lea ecx, [esp + 0x10]
call fcn.004d3e42
add eax, 5
lea edx, [esp + 0x10]
push eax
push edx
lea ecx, [esp + 0x14]
call fcn.004d3c48
push eax
lea ecx, [esi + 0x10]
mov byte [esp + 0x248], 5
call fcn.004dd586
lea ecx, [esp + 0x10]
mov byte [esp + 0x244], bl
call fcn.004dd44d
jmp 0x463ea3
lea eax, [esp + 0xc]
lea ecx, [esi + 0xc]
push eax
call fcn.004dd586
mov eax, dword [edi + 8]
push esi
push eax
mov ecx, edi
call fcn.004d71f9
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x20]
call fcn.004df8f2
test eax, eax
jne 0x463d7f
lea ecx, [esp + 0x1c]
call fcn.004dfa3f
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x244], 0
call fcn.004dd44d
lea ecx, [esp + 0x1c]
mov dword [esp + 0x244], 0xffffffff
call fcn.004df6cc
mov ecx, dword [esp + 0x23c]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x23c
ret 4
Function at 0x465970
Capabilities:
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x511893
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x5580c0]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x28]
xor ebx, ebx
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], ebx
call fcn.004dd5d6
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 8]
cmp byte [ecx + eax - 1], 0xa
je 0x4659c6
push 0x5526b0
lea ecx, [esp + 0x10]
call fcn.004dd829
lea edx, [esp + 0x10]
push 0xac
push edx
call fcn.0042e2e0
add esp, 8
mov eax, dword [eax]
push 1
push eax
mov ecx, esi
mov byte [esp + 0x28], 1
call fcn.00452980
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], bl
call fcn.004dd44d
mov eax, dword [esp + 0xc]
push 1
push eax
mov ecx, esi
call fcn.004528e0
mov eax, dword [esp + 0xc]
xor edi, edi
cmp dword [eax - 8], ebx
jle 0x465a3c
mov edx, dword [esi + 0x458]
mov al, byte [edi + eax]
push ebx
lea ecx, [esp + 0x2c]
push 1
push ecx
push edx
mov byte [esp + 0x38], al
call sub.WSOCK32.dll_send
test eax, eax
jle 0x465acf
mov eax, dword [esp + 0xc]
inc edi
cmp edi, dword [eax - 8]
jl 0x465a0f
lea ecx, [esp + 0x14]
push ebp
push ecx
mov ecx, esi
call fcn.0046ab30
mov edi, eax
cmp edi, ebx
jle 0x465a7f
mov eax, dword [esp + 0x18]
mov ebp, eax
cmp eax, ebx
mov dword [esp + 0x14], ebp
je 0x465a7f
lea ecx, [eax + 8]
mov byte [esp + 0x24], 3
call fcn.004dd44d
lea ecx, [ebp + 4]
mov byte [esp + 0x24], bl
call fcn.004dd44d
push ebp
call fcn.004ddabf
add esp, 4
mov eax, 0x51eb851f
mov dword [esi + 0x4a8], edi
imul edi
sar edx, 5
mov eax, edx
pop ebp
shr eax, 0x1f
lea eax, [edx + eax - 1]
cmp eax, 4
ja case.default.0x465a9e
jmp dword [eax*4 + 0x465b50]
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.004dd44d
pop edi
pop esi
mov eax, 2
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 4
lea eax, [esp + 0x10]
push 0xd1
push eax
call fcn.0042e2e0
add esp, 8
mov eax, dword [eax]
push ebx
push eax
mov ecx, esi
mov byte [esp + 0x28], 2
call fcn.00452980
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], bl
call fcn.004dd44d
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.004dd44d
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.004dd44d
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov eax, 5
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x467690
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x511ba1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call fcn.004df69a
mov eax, dword [0x5580c0]
mov dword [esp + 0x234], 0
mov dword [esp + 8], eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x234], 1
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x128]
lea eax, [esp + 0x24]
push edx
push 0
push 0x556988
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov edi, eax
test edi, edi
je 0x4677d1
push 0
lea ecx, [esp + 0x12c]
push 0x1011
push ecx
lea ecx, [esp + 0x1c]
call fcn.004df70f
test eax, eax
je 0x4677d1
mov edx, dword [esi + 0x4b0]
push 0xa
add edx, 8
lea eax, [esp + 0x10]
push edx
push eax
call fcn.004d3802
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x238], 2
call fcn.004df882
lea ecx, [esp + 0xc]
mov byte [esp + 0x234], 1
call fcn.004dd44d
mov ecx, dword [esi + 0x290]
lea edx, [esp + 8]
push ecx
push 0x556a08
push edx
call fcn.004d41c8
mov eax, dword [esp + 0x14]
add esp, 0xc
lea ecx, [esp + 0x10]
push eax
call fcn.004df882
lea ecx, [esp + 0x10]
call fcn.004dfa3f
lea ecx, [esp + 8]
mov byte [esp + 0x234], 0
call fcn.004dd44d
lea ecx, [esp + 0x10]
mov dword [esp + 0x234], 0xffffffff
call fcn.004df6cc
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
add esp, 0x230
ret
lea ecx, [esp + 8]
mov byte [esp + 0x234], 0
call fcn.004dd44d
lea ecx, [esp + 0x10]
mov dword [esp + 0x234], 0xffffffff
call fcn.004df6cc
mov ecx, dword [esp + 0x22c]
pop edi
or eax, 0xffffffff
pop esi
mov dword fs:[0], ecx
add esp, 0x230
ret
Function at 0x467810
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511bc3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b0
push ebx
push esi
push edi
mov ecx, 5
mov esi, str.SoftwareGlobalSCAPE_
lea edi, [ebp - 0x1bc]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x45
xor eax, eax
lea edi, [ebp - 0x1a6]
mov dword [ebp - 0x10], esp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x1c]
push 0x10
push eax
call fcn.0042e2e0
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
add esp, 8
lea edx, [ebp - 0x1bc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x1c]
call fcn.004dd44d
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x1bc]
push eax
push 0x20019
push 0
push ecx
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4678d2
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
mov ecx, dword [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x20]
push edx
push 0
push eax
push 0
push str.GlobalFilter
push ecx
call edi
test eax, eax
je 0x467910
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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
mov eax, dword [ebp - 0x18]
add eax, 0xa
push eax
call fcn.004dda96
add esp, 4
lea ecx, [ebp - 0x18]
mov esi, eax
mov eax, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x20]
push esi
push edx
push 0
push str.GlobalFilter
push eax
mov dword [ebp - 0x1c], esi
call edi
mov ecx, dword [ebp - 0x18]
push 0
push ecx
push esi
lea ecx, [ebp - 0x90]
call fcn.004e9510
push 0
push 0x1000
lea edx, [ebp - 0x90]
push 1
push edx
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0
call fcn.004e1bcc
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 4], 2
lea edx, [eax + 4]
cmp edx, ecx
jbe 0x46798d
sub eax, ecx
lea ecx, [ebp - 0x68]
add eax, 4
push eax
call fcn.004e1f59
mov eax, dword [ebp - 0x44]
add eax, 4
mov dword [ebp - 0x44], eax
call fcn.004f80f4
mov eax, dword [eax + 4]
lea edx, [ebp - 0x68]
push edx
mov ecx, dword [eax + 0x934]
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x4679bd
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 1
call fcn.004e1d30
lea ecx, [ebp - 0x90]
call fcn.004e9577
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.004ddabf
add esp, 4
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0
call fcn.004e1ca8
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], 0xffffffff
call fcn.004e9589
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret