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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x510c48
push eax
mov eax, 0x141c
mov dword fs:[0], esp
call fcn.004c2760
push ebp
mov ebp, ecx
mov dword [esp + 8], ebp
call fcn.004591a0
test eax, eax
mov dword [esp + 4], eax
jne 0x4603fd
mov eax, 1
jmp 0x4605db
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov ecx, ebp
push ebx
call fcn.004608c0
test eax, eax
je 0x46041e
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.004de17f
push 0
lea eax, [esp + 0x430]
push 0x9001
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x1440], 0
call fcn.004de331
add ebp, 0x1c
push 4
push ebp
lea ecx, [esp + 0x20]
call fcn.004de488
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.004de488
lea ecx, [esp + 0x28]
push 1
xor esi, esi
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], esi
call fcn.004de488
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.004de488
lea ecx, [esp + 0x18]
call fcn.004de54c
mov edi, dword [esp + 0x10]
push ebx
push 0xc350
push 0x111
push edi
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x1c
call fcn.004dd75a
add esp, 4
cmp eax, esi
je 0x46054b
mov edx, dword [0x5580a0]
mov esi, eax
mov dword [eax], edx
mov ecx, dword [0x5580a0]
mov dword [eax + 4], ecx
mov edx, dword [0x5580a0]
mov dword [eax + 8], edx
push ebp
mov ecx, esi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
call fcn.004dd29a
mov eax, dword [esp + 0x1440]
lea ecx, [esi + 4]
push eax
call fcn.004dd29a
mov ecx, dword [esp + 0x1444]
push ecx
lea ecx, [esi + 8]
call fcn.004dd29a
push 0x98
call fcn.004dd75a
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x1434], 1
je 0x4605aa
mov edi, dword [esp + 0x14]
mov ecx, eax
mov edx, dword [edi + 0x4b0]
push edx
call fcn.00478410
jmp 0x4605b0
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.004de274
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 0x460910
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x510ca0
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 0x460968
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.0042e080
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.004dd111
test esi, esi
je 0x4609c4
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.004dd995
test eax, eax
je 0x4609e1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x4609e3
xor eax, eax
push ebp
push edi
push 1
push 0
lea ecx, [eax + 0x81c]
call fcn.004e6adb
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.004dd75a
add esp, 4
mov edi, eax
lea ecx, [esp + 0x18]
push 0
push esi
push edi
call fcn.004e91d9
push 0
push 0x1000
lea eax, [esp + 0x20]
push 0
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x9c], 0
call fcn.004e1890
push 4
mov byte [esp + 0x90], 1
call fcn.004dd75a
add esp, 4
test eax, eax
je 0x460a66
mov dword [eax], 0x523d70
mov esi, eax
jmp 0x460a68
xor esi, esi
push esi
lea ecx, [esp + 0x44]
call fcn.004e11e0
lea ecx, [esp + 0x40]
call fcn.004e19f4
lea ecx, [esp + 0x18]
call fcn.004e92ef
lea ecx, [esp + 0x18]
mov ebp, eax
call fcn.004e9240
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.004dd783
add esp, 4
test esi, esi
pop edi
pop ebp
je 0x460ac8
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
lea ecx, [esp + 0x38]
mov byte [esp + 0x84], 0
call fcn.004e196c
lea ecx, [esp + 0x10]
mov dword [esp + 0x84], 0xffffffff
call fcn.004e9252
mov ecx, dword [esp + 0x7c]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x84
ret
Function at 0x460ec0
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x510d23
push eax
mov eax, 0x2788
mov dword fs:[0], esp
call fcn.004c2760
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x454]
test ecx, ecx
je 0x460ef5
mov eax, dword [ecx]
push 1
call dword [eax + 4]
push 0x98
call fcn.004dd75a
add esp, 4
mov dword [esp + 0x14], eax
mov ebp, dword [esp + 0x27a4]
mov dword [esp + 0x279c], 0
test eax, eax
je 0x460f26
push ebp
mov ecx, eax
call fcn.00478410
jmp 0x460f28
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 0x460f6a
xor eax, eax
jmp 0x4610a9
lea edx, [esp + 0x14]
push 0x10
push edx
call fcn.0042e080
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.004dd111
test esi, esi
je 0x460fb8
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4610a9
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.004e91d9
push 0
push 0x3e8
lea eax, [esp + 0x20]
push 0
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x27ac], 1
call fcn.004e1890
push ebp
lea ecx, [esp + 0x44]
mov byte [esp + 0x27a0], 2
call fcn.004e11e0
lea ecx, [esp + 0x40]
call fcn.004e19f4
lea ecx, [esp + 0x18]
call fcn.004e92ef
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.004e9240
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 0x461078
mov edx, dword [esp + 0x10]
push edx
call edi
lea ecx, [esp + 0x40]
mov byte [esp + 0x279c], 1
call fcn.004e196c
lea ecx, [esp + 0x18]
mov dword [esp + 0x279c], 0xffffffff
call fcn.004e9252
xor eax, eax
jmp 0x4610a9
mov eax, dword [esp + 0x10]
push eax
call edi
lea ecx, [esp + 0x40]
mov byte [esp + 0x279c], 1
call fcn.004e196c
lea ecx, [esp + 0x18]
mov dword [esp + 0x279c], 0xffffffff
call fcn.004e9252
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 0x4610d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x510d53
push eax
mov eax, 0x28b8
mov dword fs:[0], esp
call fcn.004c2760
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 0x461177
mov esi, dword [esp + 0x28d4]
mov ecx, dword [esi]
test ecx, ecx
je 0x461139
mov eax, dword [ecx]
push 1
call dword [eax + 4]
push 0x98
call fcn.004dd75a
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x28cc], 0
je 0x46116e
mov ecx, dword [ebx + 0x454]
push ecx
mov ecx, eax
call fcn.00478410
mov dword [esi], eax
jmp 0x4612b8
xor eax, eax
mov dword [esi], eax
jmp 0x4612b8
lea edx, [esp + 0x10]
push 0x10
push edx
call fcn.0042e080
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.004dd111
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 0x4611e9
xor eax, eax
jmp 0x4612bd
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 0x46122b
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4612bd
push 0
lea ecx, [esp + 0x1b8]
push 0x2710
push ecx
lea ecx, [esp + 0x28]
call fcn.004e91d9
push 0
push 0x1000
lea edx, [esp + 0x24]
push 1
push edx
lea ecx, [esp + 0x54]
mov dword [esp + 0x28dc], 1
call fcn.004e1890
mov eax, dword [esp + 0x28d4]
lea ecx, [esp + 0x44]
push eax
push ecx
mov byte [esp + 0x28d4], 2
call fcn.00477ce0
lea ecx, [esp + 0x44]
call fcn.004e19f4
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.004e196c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28cc], 0xffffffff
call fcn.004e9252
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 0x461c40
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x510e50
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 0x461c9c
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.0042e080
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.004dd111
test esi, esi
je 0x461cf9
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.004dd75a
add esp, 4
mov ebp, eax
lea ecx, [esp + 0x18]
push 0
push esi
push ebp
call fcn.004e91d9
push 0
push 0x1000
lea eax, [esp + 0x20]
push 0
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x9c], 0
call fcn.004e1890
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 0x461d7d
lea ecx, [esp + 0x40]
call fcn.004e1ba1
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 0x461da2
lea ecx, [esp + 0x40]
call fcn.004e1ba1
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 0x461def
push ebx
lea ebx, [edi + 0x5dc]
push esi
mov ecx, ebx
call fcn.004d6dc5
test eax, eax
je 0x461de3
mov eax, dword [eax + 8]
lea ecx, [esp + 0x44]
push eax
call fcn.004e11e0
mov eax, dword [edi + 0x5e8]
inc esi
cmp esi, eax
jl 0x461dca
pop ebx
lea ecx, [esp + 0x40]
call fcn.004e19f4
lea ecx, [esp + 0x18]
call fcn.004e92ef
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.004e9240
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.004dd783
add esp, 4
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c], 0
call fcn.004e196c
lea ecx, [esp + 0x18]
mov dword [esp + 0x8c], 0xffffffff
call fcn.004e9252
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 0x4639a0
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x511234
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.004df35e
mov eax, dword [0x5580a0]
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 0x463a13
mov ecx, dword [esi + 0x664]
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x463a08
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov eax, dword [esi + 0x668]
inc edi
cmp edi, eax
jl 0x4639f5
lea edi, [esi + 0x660]
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.004d6faf
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 0x463be9
push 0
lea ecx, [esp + 0x38]
push 0
push ecx
lea ecx, [esp + 0x28]
call fcn.004df3d3
test eax, eax
je 0x463be9
lea edx, [esp + 0xc]
lea ecx, [esp + 0x1c]
push edx
call fcn.004df5b6
test eax, eax
je 0x463bd5
push 0x3c
call fcn.004dd75a
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov byte [esp + 0x244], 2
je 0x463ab4
mov ecx, eax
call fcn.00429d90
mov esi, eax
jmp 0x463ab6
xor esi, esi
push str.Dir:
lea ecx, [esp + 0x10]
mov byte [esp + 0x248], bl
call fcn.004d3b06
test eax, eax
jne 0x463b06
mov dword [esi + 0x30], eax
lea eax, [esp + 0x14]
push 4
push eax
lea ecx, [esp + 0x14]
call fcn.004d390c
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x248], 3
call fcn.004dd24a
lea ecx, [esp + 0x14]
mov byte [esp + 0x244], bl
call fcn.004dd111
jmp 0x463b0d
mov dword [esi + 0x30], 3
push str.Size:
lea ecx, [esp + 0x10]
call fcn.004d3b06
cmp eax, 0xffffffff
je 0x463ba6
push str.Size:
lea ecx, [esp + 0x10]
call fcn.004d3b06
dec eax
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.004d3a41
push eax
lea ecx, [esi + 0xc]
mov byte [esp + 0x248], 4
call fcn.004dd24a
lea ecx, [esp + 0x18]
mov byte [esp + 0x244], bl
call fcn.004dd111
push str.Size:
lea ecx, [esp + 0x10]
call fcn.004d3b06
add eax, 5
lea edx, [esp + 0x10]
push eax
push edx
lea ecx, [esp + 0x14]
call fcn.004d390c
push eax
lea ecx, [esi + 0x10]
mov byte [esp + 0x248], 5
call fcn.004dd24a
lea ecx, [esp + 0x10]
mov byte [esp + 0x244], bl
call fcn.004dd111
jmp 0x463bb3
lea eax, [esp + 0xc]
lea ecx, [esi + 0xc]
push eax
call fcn.004dd24a
mov eax, dword [edi + 8]
push esi
push eax
mov ecx, edi
call fcn.004d6ed3
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x20]
call fcn.004df5b6
test eax, eax
jne 0x463a8f
lea ecx, [esp + 0x1c]
call fcn.004df703
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x244], 0
call fcn.004dd111
lea ecx, [esp + 0x1c]
mov dword [esp + 0x244], 0xffffffff
call fcn.004df390
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 0x465680
Capabilities:
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x511513
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x5580a0]
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.004dd29a
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 8]
cmp byte [ecx + eax - 1], 0xa
je 0x4656d6
push 0x5526b0
lea ecx, [esp + 0x10]
call fcn.004dd4ed
lea edx, [esp + 0x10]
push 0xac
push edx
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push 1
push eax
mov ecx, esi
mov byte [esp + 0x28], 1
call fcn.00452660
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], bl
call fcn.004dd111
mov eax, dword [esp + 0xc]
push 1
push eax
mov ecx, esi
call fcn.004525c0
mov eax, dword [esp + 0xc]
xor edi, edi
cmp dword [eax - 8], ebx
jle 0x46574c
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 0x4657df
mov eax, dword [esp + 0xc]
inc edi
cmp edi, dword [eax - 8]
jl 0x46571f
lea ecx, [esp + 0x14]
push ebp
push ecx
mov ecx, esi
call fcn.0046a840
mov edi, eax
cmp edi, ebx
jle 0x46578f
mov eax, dword [esp + 0x18]
mov ebp, eax
cmp eax, ebx
mov dword [esp + 0x14], ebp
je 0x46578f
lea ecx, [eax + 8]
mov byte [esp + 0x24], 3
call fcn.004dd111
lea ecx, [ebp + 4]
mov byte [esp + 0x24], bl
call fcn.004dd111
push ebp
call fcn.004dd783
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.0x4657ae
jmp dword [eax*4 + 0x465860]
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.004dd111
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.0042e080
add esp, 8
mov eax, dword [eax]
push ebx
push eax
mov ecx, esi
mov byte [esp + 0x28], 2
call fcn.00452660
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], bl
call fcn.004dd111
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.004dd111
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.004dd111
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 0x4673a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x511821
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.004df35e
mov eax, dword [0x5580a0]
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 0x4674e1
push 0
lea ecx, [esp + 0x12c]
push 0x1011
push ecx
lea ecx, [esp + 0x1c]
call fcn.004df3d3
test eax, eax
je 0x4674e1
mov edx, dword [esi + 0x4b0]
push 0xa
add edx, 8
lea eax, [esp + 0x10]
push edx
push eax
call fcn.004d34c6
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x238], 2
call fcn.004df546
lea ecx, [esp + 0xc]
mov byte [esp + 0x234], 1
call fcn.004dd111
mov ecx, dword [esi + 0x290]
lea edx, [esp + 8]
push ecx
push 0x556a08
push edx
call fcn.004d3e8c
mov eax, dword [esp + 0x14]
add esp, 0xc
lea ecx, [esp + 0x10]
push eax
call fcn.004df546
lea ecx, [esp + 0x10]
call fcn.004df703
lea ecx, [esp + 8]
mov byte [esp + 0x234], 0
call fcn.004dd111
lea ecx, [esp + 0x10]
mov dword [esp + 0x234], 0xffffffff
call fcn.004df390
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.004dd111
lea ecx, [esp + 0x10]
mov dword [esp + 0x234], 0xffffffff
call fcn.004df390
mov ecx, dword [esp + 0x22c]
pop edi
or eax, 0xffffffff
pop esi
mov dword fs:[0], ecx
add esp, 0x230
ret
Function at 0x467520
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511843
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.0042e080
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.004dd111
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 0x4675e2
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 0x467620
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.004dd75a
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.004e91d9
push 0
push 0x1000
lea edx, [ebp - 0x90]
push 1
push edx
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0
call fcn.004e1890
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 4], 2
lea edx, [eax + 4]
cmp edx, ecx
jbe 0x46769d
sub eax, ecx
lea ecx, [ebp - 0x68]
add eax, 4
push eax
call fcn.004e1c1d
mov eax, dword [ebp - 0x44]
add eax, 4
mov dword [ebp - 0x44], eax
call fcn.004f7db8
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 0x4676cd
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 1
call fcn.004e19f4
lea ecx, [ebp - 0x90]
call fcn.004e9240
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.004dd783
add esp, 4
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0
call fcn.004e196c
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], 0xffffffff
call fcn.004e9252
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