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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x510c88
push eax
mov eax, 0x141c
mov dword fs:[0], esp
call fcn.004c27a0
push ebp
mov ebp, ecx
mov dword [esp + 8], ebp
call fcn.004591e0
test eax, eax
mov dword [esp + 4], eax
jne 0x46043d
mov eax, 1
jmp 0x46061b
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov ecx, ebp
push ebx
call fcn.00460900
test eax, eax
je 0x46045e
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.004de1bf
push 0
lea eax, [esp + 0x430]
push 0x9001
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x1440], 0
call fcn.004de371
add ebp, 0x1c
push 4
push ebp
lea ecx, [esp + 0x20]
call fcn.004de4c8
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.004de4c8
lea ecx, [esp + 0x28]
push 1
xor esi, esi
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], esi
call fcn.004de4c8
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.004de4c8
lea ecx, [esp + 0x18]
call fcn.004de58c
mov edi, dword [esp + 0x10]
push ebx
push 0xc350
push 0x111
push edi
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x1c
call fcn.004dd79a
add esp, 4
cmp eax, esi
je 0x46058b
mov edx, dword [0x5581a0]
mov esi, eax
mov dword [eax], edx
mov ecx, dword [0x5581a0]
mov dword [eax + 4], ecx
mov edx, dword [0x5581a0]
mov dword [eax + 8], edx
push ebp
mov ecx, esi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
call fcn.004dd2da
mov eax, dword [esp + 0x1440]
lea ecx, [esi + 4]
push eax
call fcn.004dd2da
mov ecx, dword [esp + 0x1444]
push ecx
lea ecx, [esi + 8]
call fcn.004dd2da
push 0x98
call fcn.004dd79a
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x1434], 1
je 0x4605ea
mov edi, dword [esp + 0x14]
mov ecx, eax
mov edx, dword [edi + 0x4b0]
push edx
call fcn.00478450
jmp 0x4605f0
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.004de2b4
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 0x460950
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x510ce0
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 0x4609a8
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.0042e0a0
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.004dd151
test esi, esi
je 0x460a04
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.004dd9d5
test eax, eax
je 0x460a21
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x460a23
xor eax, eax
push ebp
push edi
push 1
push 0
lea ecx, [eax + 0x81c]
call fcn.004e6b1b
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.004dd79a
add esp, 4
mov edi, eax
lea ecx, [esp + 0x18]
push 0
push esi
push edi
call fcn.004e9219
push 0
push 0x1000
lea eax, [esp + 0x20]
push 0
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x9c], 0
call fcn.004e18d0
push 4
mov byte [esp + 0x90], 1
call fcn.004dd79a
add esp, 4
test eax, eax
je 0x460aa6
mov dword [eax], 0x523d70
mov esi, eax
jmp 0x460aa8
xor esi, esi
push esi
lea ecx, [esp + 0x44]
call fcn.004e1220
lea ecx, [esp + 0x40]
call fcn.004e1a34
lea ecx, [esp + 0x18]
call fcn.004e932f
lea ecx, [esp + 0x18]
mov ebp, eax
call fcn.004e9280
mov ecx, dword [esp + 0x10]
push ebp
push eax
push 3
push 0
push str.Queue
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.004dd7c3
add esp, 4
test esi, esi
pop edi
pop ebp
je 0x460b08
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
lea ecx, [esp + 0x38]
mov byte [esp + 0x84], 0
call fcn.004e19ac
lea ecx, [esp + 0x10]
mov dword [esp + 0x84], 0xffffffff
call fcn.004e9292
mov ecx, dword [esp + 0x7c]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x84
ret
Function at 0x460f00
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x510d63
push eax
mov eax, 0x2788
mov dword fs:[0], esp
call fcn.004c27a0
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x454]
test ecx, ecx
je 0x460f35
mov eax, dword [ecx]
push 1
call dword [eax + 4]
push 0x98
call fcn.004dd79a
add esp, 4
mov dword [esp + 0x14], eax
mov ebp, dword [esp + 0x27a4]
mov dword [esp + 0x279c], 0
test eax, eax
je 0x460f66
push ebp
mov ecx, eax
call fcn.00478450
jmp 0x460f68
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 0x460faa
xor eax, eax
jmp 0x4610e9
lea edx, [esp + 0x14]
push 0x10
push edx
call fcn.0042e0a0
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.004dd151
test esi, esi
je 0x460ff8
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4610e9
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.004e9219
push 0
push 0x3e8
lea eax, [esp + 0x20]
push 0
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x27ac], 1
call fcn.004e18d0
push ebp
lea ecx, [esp + 0x44]
mov byte [esp + 0x27a0], 2
call fcn.004e1220
lea ecx, [esp + 0x40]
call fcn.004e1a34
lea ecx, [esp + 0x18]
call fcn.004e932f
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.004e9280
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 0x4610b8
mov edx, dword [esp + 0x10]
push edx
call edi
lea ecx, [esp + 0x40]
mov byte [esp + 0x279c], 1
call fcn.004e19ac
lea ecx, [esp + 0x18]
mov dword [esp + 0x279c], 0xffffffff
call fcn.004e9292
xor eax, eax
jmp 0x4610e9
mov eax, dword [esp + 0x10]
push eax
call edi
lea ecx, [esp + 0x40]
mov byte [esp + 0x279c], 1
call fcn.004e19ac
lea ecx, [esp + 0x18]
mov dword [esp + 0x279c], 0xffffffff
call fcn.004e9292
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 0x461110
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x510d93
push eax
mov eax, 0x28b8
mov dword fs:[0], esp
call fcn.004c27a0
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 0x4611b7
mov esi, dword [esp + 0x28d4]
mov ecx, dword [esi]
test ecx, ecx
je 0x461179
mov eax, dword [ecx]
push 1
call dword [eax + 4]
push 0x98
call fcn.004dd79a
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x28cc], 0
je 0x4611ae
mov ecx, dword [ebx + 0x454]
push ecx
mov ecx, eax
call fcn.00478450
mov dword [esi], eax
jmp 0x4612f8
xor eax, eax
mov dword [esi], eax
jmp 0x4612f8
lea edx, [esp + 0x10]
push 0x10
push edx
call fcn.0042e0a0
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.004dd151
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 0x461229
xor eax, eax
jmp 0x4612fd
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 0x46126b
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4612fd
push 0
lea ecx, [esp + 0x1b8]
push 0x2710
push ecx
lea ecx, [esp + 0x28]
call fcn.004e9219
push 0
push 0x1000
lea edx, [esp + 0x24]
push 1
push edx
lea ecx, [esp + 0x54]
mov dword [esp + 0x28dc], 1
call fcn.004e18d0
mov eax, dword [esp + 0x28d4]
lea ecx, [esp + 0x44]
push eax
push ecx
mov byte [esp + 0x28d4], 2
call fcn.00477d20
lea ecx, [esp + 0x44]
call fcn.004e1a34
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.004e19ac
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28cc], 0xffffffff
call fcn.004e9292
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 0x461c80
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x510e90
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 0x461cdc
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.0042e0a0
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.004dd151
test esi, esi
je 0x461d39
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.004dd79a
add esp, 4
mov ebp, eax
lea ecx, [esp + 0x18]
push 0
push esi
push ebp
call fcn.004e9219
push 0
push 0x1000
lea eax, [esp + 0x20]
push 0
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x9c], 0
call fcn.004e18d0
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 0x461dbd
lea ecx, [esp + 0x40]
call fcn.004e1be1
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 0x461de2
lea ecx, [esp + 0x40]
call fcn.004e1be1
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 0x461e2f
push ebx
lea ebx, [edi + 0x5dc]
push esi
mov ecx, ebx
call fcn.004d6e05
test eax, eax
je 0x461e23
mov eax, dword [eax + 8]
lea ecx, [esp + 0x44]
push eax
call fcn.004e1220
mov eax, dword [edi + 0x5e8]
inc esi
cmp esi, eax
jl 0x461e0a
pop ebx
lea ecx, [esp + 0x40]
call fcn.004e1a34
lea ecx, [esp + 0x18]
call fcn.004e932f
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.004e9280
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.004dd7c3
add esp, 4
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c], 0
call fcn.004e19ac
lea ecx, [esp + 0x18]
mov dword [esp + 0x8c], 0xffffffff
call fcn.004e9292
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 0x4639e0
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x511274
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.004df39e
mov eax, dword [0x5581a0]
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 0x463a53
mov ecx, dword [esi + 0x664]
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x463a48
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov eax, dword [esi + 0x668]
inc edi
cmp edi, eax
jl 0x463a35
lea edi, [esi + 0x660]
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.004d6fef
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 0x556a88
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x463c29
push 0
lea ecx, [esp + 0x38]
push 0
push ecx
lea ecx, [esp + 0x28]
call fcn.004df413
test eax, eax
je 0x463c29
lea edx, [esp + 0xc]
lea ecx, [esp + 0x1c]
push edx
call fcn.004df5f6
test eax, eax
je 0x463c15
push 0x3c
call fcn.004dd79a
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov byte [esp + 0x244], 2
je 0x463af4
mov ecx, eax
call fcn.00429d90
mov esi, eax
jmp 0x463af6
xor esi, esi
push str.Dir:
lea ecx, [esp + 0x10]
mov byte [esp + 0x248], bl
call fcn.004d3b46
test eax, eax
jne 0x463b46
mov dword [esi + 0x30], eax
lea eax, [esp + 0x14]
push 4
push eax
lea ecx, [esp + 0x14]
call fcn.004d394c
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x248], 3
call fcn.004dd28a
lea ecx, [esp + 0x14]
mov byte [esp + 0x244], bl
call fcn.004dd151
jmp 0x463b4d
mov dword [esi + 0x30], 3
push str.Size:
lea ecx, [esp + 0x10]
call fcn.004d3b46
cmp eax, 0xffffffff
je 0x463be6
push str.Size:
lea ecx, [esp + 0x10]
call fcn.004d3b46
dec eax
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.004d3a81
push eax
lea ecx, [esi + 0xc]
mov byte [esp + 0x248], 4
call fcn.004dd28a
lea ecx, [esp + 0x18]
mov byte [esp + 0x244], bl
call fcn.004dd151
push str.Size:
lea ecx, [esp + 0x10]
call fcn.004d3b46
add eax, 5
lea edx, [esp + 0x10]
push eax
push edx
lea ecx, [esp + 0x14]
call fcn.004d394c
push eax
lea ecx, [esi + 0x10]
mov byte [esp + 0x248], 5
call fcn.004dd28a
lea ecx, [esp + 0x10]
mov byte [esp + 0x244], bl
call fcn.004dd151
jmp 0x463bf3
lea eax, [esp + 0xc]
lea ecx, [esi + 0xc]
push eax
call fcn.004dd28a
mov eax, dword [edi + 8]
push esi
push eax
mov ecx, edi
call fcn.004d6f13
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x20]
call fcn.004df5f6
test eax, eax
jne 0x463acf
lea ecx, [esp + 0x1c]
call fcn.004df743
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x244], 0
call fcn.004dd151
lea ecx, [esp + 0x1c]
mov dword [esp + 0x244], 0xffffffff
call fcn.004df3d0
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 0x4656c0
Capabilities:
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x511553
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x5581a0]
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.004dd2da
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 8]
cmp byte [ecx + eax - 1], 0xa
je 0x465716
push 0x5526b0
lea ecx, [esp + 0x10]
call fcn.004dd52d
lea edx, [esp + 0x10]
push 0xac
push edx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 1
push eax
mov ecx, esi
mov byte [esp + 0x28], 1
call fcn.00452680
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], bl
call fcn.004dd151
mov eax, dword [esp + 0xc]
push 1
push eax
mov ecx, esi
call fcn.004525e0
mov eax, dword [esp + 0xc]
xor edi, edi
cmp dword [eax - 8], ebx
jle 0x46578c
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 0x46581f
mov eax, dword [esp + 0xc]
inc edi
cmp edi, dword [eax - 8]
jl 0x46575f
lea ecx, [esp + 0x14]
push ebp
push ecx
mov ecx, esi
call fcn.0046a880
mov edi, eax
cmp edi, ebx
jle 0x4657cf
mov eax, dword [esp + 0x18]
mov ebp, eax
cmp eax, ebx
mov dword [esp + 0x14], ebp
je 0x4657cf
lea ecx, [eax + 8]
mov byte [esp + 0x24], 3
call fcn.004dd151
lea ecx, [ebp + 4]
mov byte [esp + 0x24], bl
call fcn.004dd151
push ebp
call fcn.004dd7c3
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.0x4657ee
jmp dword [eax*4 + 0x4658a0]
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.004dd151
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.0042e0a0
add esp, 8
mov eax, dword [eax]
push ebx
push eax
mov ecx, esi
mov byte [esp + 0x28], 2
call fcn.00452680
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], bl
call fcn.004dd151
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.004dd151
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.004dd151
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 0x4673e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x511861
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.004df39e
mov eax, dword [0x5581a0]
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 0x556a88
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov edi, eax
test edi, edi
je 0x467521
push 0
lea ecx, [esp + 0x12c]
push 0x1011
push ecx
lea ecx, [esp + 0x1c]
call fcn.004df413
test eax, eax
je 0x467521
mov edx, dword [esi + 0x4b0]
push 0xa
add edx, 8
lea eax, [esp + 0x10]
push edx
push eax
call fcn.004d3506
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x238], 2
call fcn.004df586
lea ecx, [esp + 0xc]
mov byte [esp + 0x234], 1
call fcn.004dd151
mov ecx, dword [esi + 0x290]
lea edx, [esp + 8]
push ecx
push 0x556b08
push edx
call fcn.004d3ecc
mov eax, dword [esp + 0x14]
add esp, 0xc
lea ecx, [esp + 0x10]
push eax
call fcn.004df586
lea ecx, [esp + 0x10]
call fcn.004df743
lea ecx, [esp + 8]
mov byte [esp + 0x234], 0
call fcn.004dd151
lea ecx, [esp + 0x10]
mov dword [esp + 0x234], 0xffffffff
call fcn.004df3d0
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.004dd151
lea ecx, [esp + 0x10]
mov dword [esp + 0x234], 0xffffffff
call fcn.004df3d0
mov ecx, dword [esp + 0x22c]
pop edi
or eax, 0xffffffff
pop esi
mov dword fs:[0], ecx
add esp, 0x230
ret
Function at 0x467560
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511883
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.0042e0a0
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.004dd151
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 0x467622
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 0x467660
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.004dd79a
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.004e9219
push 0
push 0x1000
lea edx, [ebp - 0x90]
push 1
push edx
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0
call fcn.004e18d0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 4], 2
lea edx, [eax + 4]
cmp edx, ecx
jbe 0x4676dd
sub eax, ecx
lea ecx, [ebp - 0x68]
add eax, 4
push eax
call fcn.004e1c5d
mov eax, dword [ebp - 0x44]
add eax, 4
mov dword [ebp - 0x44], eax
call fcn.004f7df8
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 0x46770d
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 1
call fcn.004e1a34
lea ecx, [ebp - 0x90]
call fcn.004e9280
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.004dd7c3
add esp, 4
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0
call fcn.004e19ac
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], 0xffffffff
call fcn.004e9292
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