joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405dd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x248]
push eax
push 0xf003f
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftInternet_ExplorerTypedUrls
push SysReAllocString
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x248], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405eda
mov eax, dword [ebp - 0x248]
push esi
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x44]
push edx
push ebx
push eax
xor esi, esi
mov byte [ebp - 0x44], bl
mov dword [ebp - 0x24c], 0x40
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x405ed9
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x244]
push edx
mov edx, dword [ebp - 0x248]
lea eax, [ebp - 0x254]
push eax
push ebx
lea ecx, [ebp - 0x44]
push ecx
push edx
inc esi
mov byte [ebp - 0x244], bl
mov dword [ebp - 0x24c], 0x200
call edi
test eax, eax
jne 0x405e9e
lea eax, [ebp - 0x244]
push eax
call fcn.00405760
add esp, 4
test eax, eax
jne 0x405ece
mov eax, dword [ebp - 0x248]
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x44]
push edx
push esi
push eax
mov byte [ebp - 0x44], bl
mov dword [ebp - 0x24c], 0x40
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x405e53
jmp 0x405ed8
mov dword [ebp - 0x250], 1
pop edi
pop esi
mov eax, dword [ebp - 0x248]
cmp eax, ebx
pop ebx
je 0x405eec
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x250]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
Function at 0x406b00
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x406b5f
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret

Function at 0x406b70
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
test edi, edi
je 0x406c47
test esi, esi
je 0x406c47
cmp edi, 0xff
je 0x406c34
push 0x104
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.004ff6f0
add esp, 0xc
lea ecx, [ebp - 0x108]
push ecx
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push esi
push ebx
push 0x54f16c
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x406c34
mov eax, edi
mov dword [ebp - 0x10c], ebx
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406c10
push 0
lea ecx, [ebp - 0x10c]
push ecx
sub eax, edx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret

Function at 0x406cd0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push 0
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
ret
Function at 0x406d80
Capabilities:
Get common file path
Get disk information
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10c], 0
test edi, edi
jne 0x406db6
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
cmp byte [0x5c19c0], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
je 0x406dee
mov eax, 0x5c19c0
mov edx, edi
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x406dd0
push 0x5c
push edi
call fcn.004ff460
add esp, 8
test eax, eax
je 0x406e14
mov byte [eax], 0
jmp 0x406e14
cmp byte [0x5c1cf8], 0
je 0x406e0c
mov eax, 0x5c1cf8
mov edx, edi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x406e00
jmp 0x406e14
push edi
push 0x104
call esi
push ebx
lea eax, [ebp - 0x108]
push eax
push 0x104
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push edi
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
lea ecx, [ebp - 0x108]
push ecx
mov esi, eax
call ebx
pop ebx
cmp esi, 5
je 0x406e49
test esi, esi
jne 0x406eba
push 0x47
push 4
push str.shell32.dll
call fcn.004c3eb0
add esp, 0xc
cmp eax, 1
jne 0x406ea8
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x406ea8
push str.SHGetSpecialFolderPathA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x406e98
mov edx, dword [0x5c0a44]
push 0
push 0x10
push edi
push edx
call eax
mov dword [ebp - 0x10c], 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x10c], 0
jne 0x406eba
mov ax, word [0x54f1ac]
mov word [edi], ax
mov cl, byte [0x54f1ae]
mov byte [edi + 2], cl
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10c]
pop esi
xor ecx, ebp
pop edi
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
Function at 0x4090e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53177b
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x5bc684]
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
xor edi, edi
mov dword [ebp - 0x120], edi
cmp dword [ebp + 8], edi
jne 0x409125
xor eax, eax
jmp 0x4092f4
mov dword [ebp - 4], edi
push 4
mov eax, dword [0x5c0834]
push eax
call fcn.004cbc30
add esp, 8
mov esi, eax
cmp esi, edi
je 0x4092e7
cmp dword [esi], edi
je 0x4092e7
cmp dword [esi + 4], edi
je 0x4092e7
lea ecx, [ebp - 0x138]
call fcn.00406150
mov byte [ebp - 4], 1
mov byte [ebp - 0x118], 0
push 0x103
push edi
lea ecx, [ebp - 0x117]
push ecx
call fcn.004ff6f0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x118]
push edx
mov eax, dword [0x5c0834]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push edi
push edi
push 3
push edi
push 1
push SysReAllocString
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
mov dword [ebp - 0x124], ebx
cmp ebx, 0xffffffff
je 0x4092d8
mov edx, dword [esi + 4]
push edx
call fcn.004fc6be
add esp, 4
mov edi, eax
mov dword [ebp - 0x11c], edi
push 0
push 0
mov eax, dword [esi]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [esi + 4]
push edx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4092c8
mov esi, dword [esi + 4]
cmp dword [ebp - 0x130], esi
jne 0x4092c8
mov ebx, esi
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x12c], edi
lea esp, [esp]
cmp ebx, 8
jb 0x4092bc
mov eax, 8
mov ecx, 0x54f100
mov edx, edi
cmp eax, 4
jb 0x409283
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x40924b
sub eax, 4
add ecx, 4
add edx, 4
jmp 0x409235
movzx esi, byte [ecx]
movzx eax, byte [edx]
sub eax, esi
jne 0x409277
movzx eax, byte [edx + 1]
movzx esi, byte [ecx + 1]
sub eax, esi
jne 0x409277
movzx eax, byte [edx + 2]
movzx esi, byte [ecx + 2]
sub eax, esi
jne 0x409277
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
jne 0x409310
add edi, 8
mov dword [ebp - 0x12c], edi
sub ebx, 8
mov dword [ebp - 0x128], ebx
lea edx, [ebx + 1]
push edx
call fcn.004fc6be
add esp, 4
mov esi, eax
mov dword [ebp - 0x120], esi
test esi, esi
je 0x4092bc
push ebx
push edi
push esi
call fcn.004fe210
add esp, 0xc
mov byte [esi + ebx], 0
mov edi, dword [ebp - 0x11c]
mov ebx, dword [ebp - 0x124]
push edi
call fcn.004fedfc
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.00406180
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x120]
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.004fe1f5
mov esp, ebp
pop ebp
ret
inc edi
mov dword [ebp - 0x12c], edi
dec ebx
mov dword [ebp - 0x128], ebx
jmp 0x409220
Function at 0x40a4f0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531950
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x5bc684]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x324], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x118], bl
push 0x103
push ebx
lea ecx, [ebp - 0x117]
push ecx
call fcn.004ff6f0
add esp, 0xc
mov esi, 0x104
push esi
lea edx, [ebp - 0x118]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea eax, [ebp - 0x118]
push eax
call fcn.004ff460
add esp, 8
mov edi, eax
cmp edi, ebx
je 0x40a578
inc edi
jmp 0x40a57e
lea edi, [ebp - 0x118]
lea ecx, [ebp - 0x328]
push ecx
push 0xf003f
push ebx
mov edx, dword [ebp - 0x324]
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x40a679
mov byte [ebp - 0x320], bl
push 0x103
push ebx
lea eax, [ebp - 0x31f]
push eax
call fcn.004ff6f0
mov byte [ebp - 0x21c], bl
push 0x103
push ebx
lea ecx, [ebp - 0x21b]
push ecx
call fcn.004ff6f0
add esp, 0x18
mov dword [ebp - 0x330], esi
mov dword [ebp - 0x324], esi
xor esi, esi
mov dword [ebp - 0x334], esi
mov dword [ebp - 0x32c], ebx
lea edx, [ebp - 0x324]
push edx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x32c]
push ecx
push ebx
lea edx, [ebp - 0x330]
push edx
lea eax, [ebp - 0x320]
push eax
push esi
mov ecx, dword [ebp - 0x328]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x40a66c
lea edx, [ebp - 0x21c]
push edx
call fcn.00530199
add esp, 4
cmp dword [ebp - 0x32c], 1
jne 0x40a69c
push edi
lea eax, [ebp - 0x21c]
push eax
call fcn.004fee10
add esp, 8
test eax, eax
je 0x40a69c
lea ecx, [ebp - 0x320]
push ecx
mov edx, dword [ebp - 0x328]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x40a6a3
mov eax, dword [ebp - 0x328]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
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.004fe1f5
mov esp, ebp
pop ebp
ret
inc esi
mov dword [ebp - 0x334], esi
mov eax, 0x104
mov dword [ebp - 0x330], eax
mov dword [ebp - 0x324], eax
jmp 0x40a5f2
Function at 0x40adf0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x110], 0
test eax, eax
je 0x40af79
test ebx, ebx
je 0x40af79
lea edx, [ebp - 0x10c]
push edi
push edx
mov dword [ebp - 0x10c], 1
call fcn.0040aa50
mov edi, eax
add esp, 4
mov dword [ebp - 0x118], edi
test edi, edi
je 0x40af63
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.004ff6f0
lea ecx, [ebp - 0x108]
push ecx
push edi
call fcn.00406b70
add esp, 0x14
test eax, eax
je 0x40af51
push esi
lea edx, [ebp - 0x108]
push edx
push 0x54f0f4
push 4
call fcn.0046f040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40af3a
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push 0x40
mov ecx, esi
call edx
mov edx, dword [esi + 0x60]
lea eax, [edx + 0x66a4]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40aec7
sub eax, edi
cmp eax, 0x10
jne 0x40af2a
lea ecx, [edx + 0x67b9]
mov edx, ebx
lea ecx, [ecx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x40aee0
mov eax, dword [esi + 0x60]
mov edx, dword [ebp - 0x114]
add eax, 0x66b5
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x40aef8
mov eax, dword [esi + 0x60]
mov edi, dword [ebp - 0x11c]
push 0x10
add eax, 0x66a4
push eax
push edi
call fcn.004ff0c0
add esp, 0xc
mov byte [edi + 0x10], 0
mov dword [ebp - 0x110], 1
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov edi, dword [ebp - 0x118]
cmp dword [ebp - 0x10c], 0
pop esi
je 0x40af63
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0x10c], 0
je 0x40af63
push edi
call fcn.004808a0
add esp, 4
mov eax, dword [ebp - 0x110]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
Function at 0x40af90
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
test edi, edi
jne 0x40afc0
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10c]
push esi
push eax
mov dword [ebp - 0x10c], 1
call fcn.0040aa50
mov esi, eax
add esp, 4
mov dword [ebp - 0x110], esi
test esi, esi
je 0x40b08e
push 0x103
lea ecx, [ebp - 0x107]
push 0
push ecx
mov byte [ebp - 0x108], bl
call fcn.004ff6f0
lea edx, [ebp - 0x108]
push edx
push esi
call fcn.00406b70
add esp, 0x14
test eax, eax
je 0x40b07c
lea eax, [ebp - 0x108]
push eax
push 0x54f0f4
push 4
call fcn.0046f040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40b060
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push 1
mov ecx, esi
call eax
mov eax, dword [esi + 0x60]
add eax, 0x1440
mov edx, edi
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x40b048
mov edx, dword [esi]
mov eax, dword [edx]
mov ebx, 1
push ebx
mov ecx, esi
call eax
cmp dword [ebp - 0x10c], 0
je 0x40b08e
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [ebp - 0x110]
cmp dword [ebp - 0x10c], 0
je 0x40b08e
push esi
call fcn.004808a0
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
pop edi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
Function at 0x40b0b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
lea eax, [ebp - 0x10c]
push eax
xor edi, edi
mov dword [ebp - 0x10c], 1
call fcn.0040aa50
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40b29d
push 0x103
lea ecx, [ebp - 0x107]
push edi
push ecx
mov byte [ebp - 0x108], 0
call fcn.004ff6f0
lea edx, [ebp - 0x108]
push edx
push ebx
call fcn.00406b70
add esp, 0x14
test eax, eax
je 0x40b28b
push esi
lea eax, [ebp - 0x108]
push eax
push 0x54f0f4
push 4
call fcn.0046f040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40b274
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push 0x401
mov ecx, esi
call eax
cmp dword [0x5c1ac4], edi
jne 0x40b161
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx + 0x6908]
mov dword [0x5c1ac4], edx
cmp dword [0x5c159c], edi
jne 0x40b178
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + 0x6934]
mov dword [0x5c159c], ecx
cmp dword [0x5c16a4], edi
jne 0x40b18e
mov edx, dword [esi + 0x60]
mov eax, dword [edx + 0x6938]
mov dword [0x5c16a4], eax
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx + 0x6910]
mov dword [0x5bbaac], edx
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + 0x6914]
mov dword [0x5bbab0], ecx
mov edx, dword [esi + 0x60]
mov eax, dword [edx + 0x6918]
mov dword [0x5bbab4], eax
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx + 0x691c]
mov dword [0x5bbab8], edx
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + 0x6924]
mov dword [0x5c1284], ecx
mov edx, dword [esi + 0x60]
mov eax, dword [edx + 0x6928]
mov dword [0x5bbac4], eax
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx + 0x692c]
mov dword [0x5bbac8], edx
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + 0x6930]
mov dword [0x5c1494], ecx
mov edx, dword [esi + 0x60]
mov eax, dword [edx + 0x6950]
mov dword [0x5c1dfc], eax
mov ecx, dword [esi + 0x60]
add ecx, 0x6954
mov edx, 0x5c1e00
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x40b220
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx + 0x6904]
mov dword [0x5c1bd4], edx
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + 0x9bec]
mov dword [0x5bbaa4], ecx
mov edx, dword [esi + 0x60]
mov eax, dword [edx + 0x9bf0]
mov dword [0x5bbaa8], eax
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx + 0x9be8]
mov dword [0x5bbac0], edx
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov edi, 1
cmp dword [ebp - 0x10c], 0
pop esi
je 0x40b29d
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0x10c], 0
je 0x40b29d
push ebx
call fcn.004808a0
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
Function at 0x40e3d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
lea edx, [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push esi
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0xc]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40e433
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x40e40f
cmp eax, 2
jne 0x40e421
mov eax, dword [ebp + 0x10]
test esi, esi
je 0x40e42f
test eax, eax
je 0x40e42c
cmp byte [eax + esi - 1], 0
je 0x40e42f
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
mov byte [esi], 0
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4108a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea ecx, [ebp - 0x124]
push ecx
xor esi, esi
lea edx, [ebp - 0x110]
push edx
push esi
push 1
push esi
push esi
push esi
push str.SOFTWARENetscapeNetscape_NavigatorUsers
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x118], esi
call edi
test eax, eax
jne 0x410a11
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebp - 0x110]
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x10c]
push edx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push str.CurrentUser
push eax
mov dword [ebp - 0x10c], 1
mov dword [ebp - 0x114], 0x104
call esi
test eax, eax
jne 0x4109ee
lea ecx, [ebp - 0x124]
push ecx
mov ecx, dword [ebp - 0x110]
lea edx, [ebp - 0x11c]
push edx
push eax
push 1
push eax
push eax
push eax
lea eax, [ebp - 0x108]
push eax
push ecx
call edi
test eax, eax
jne 0x4109ee
lea edx, [ebp - 0x114]
push edx
mov edx, dword [ebp - 0x11c]
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 0
push str.DirRoot
mov edi, 1
push edx
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x114], 0x104
call esi
test eax, eax
jne 0x4109e1
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4109b3
sub eax, edx
je 0x4109e1
mov edx, dword [ebp - 0x120]
lea eax, [ebp - 0x108]
mov ecx, eax
sub edx, ecx
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, edi
test cl, cl
jne 0x4109d0
mov dword [ebp - 0x118], edi
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x118]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
Function at 0x410ac0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532350
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x5bc684]
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, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x230], esi
mov dword [ebp - 4], esi
mov byte [edi], 0
mov byte [ebx], 0
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x228]
push ecx
push esi
push 1
push esi
push esi
push esi
push str.SoftwareMicrosoftInternet_Account_Manager
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x410c59
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x224], 0x104
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x220]
push ecx
push esi
push str.Default_Mail_Account
mov edx, dword [ebp - 0x228]
push edx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call esi
test eax, eax
jne 0x410c4c
lea eax, [ebp - 0x118]
push eax
push str.Accounts_s
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x22c]
push eax
push 0
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x410c4c
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x224], 0x104
lea eax, [ebp - 0x224]
push eax
push edi
lea ecx, [ebp - 0x220]
push ecx
push 0
push str.SMTP_Server
mov edx, dword [ebp - 0x22c]
push edx
call esi
test eax, eax
jne 0x410c3f
mov edi, 1
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], 0x104
lea eax, [ebp - 0x224]
push eax
push ebx
lea ecx, [ebp - 0x220]
push ecx
push 0
push str.SMTP_Email_Address
mov edx, dword [ebp - 0x22c]
push edx
call esi
test eax, eax
jne 0x410c3f
mov dword [ebp - 0x230], edi
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x228]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x230]
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.004fe1f5
mov esp, ebp
pop ebp
ret