joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ac34
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, ecx
push dword [esi + 4]
call edi
xor ecx, ecx
cmp eax, ecx
je 0x40ac57
mov eax, dword [eax]
mov dword [ebp - 4], eax
jmp 0x40ac5a
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], ecx
jne 0x40ac84
push ecx
push 0xffffffffffffffff
push str.must_own_monitor_prior_to_calling_wait__
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], vtable.RSException.0
call fcn.00408d63
push 0x493cfc
lea eax, [ebp - 0x20]
push eax
call sub.MSVCR100.dll__CxxThrowException
lea ebx, [esi + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [esi + 4]
call edi
push eax
mov ecx, esi
call fcn.0040aa68
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.0040a968
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp - 4]
mov ecx, esi
call fcn.0040ab6f
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x40ae1e
Capabilities:
Create thread

Disassembly:
push esi
push 4
mov esi, ecx
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
xor ecx, ecx
cmp eax, ecx
je 0x40ae33
mov dword [eax], ecx
jmp 0x40ae35
xor eax, eax
push ecx
push ecx
push esi
push 0x40ae0c
push ecx
push ecx
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 0x10]
mov dword [ecx], eax
pop esi
ret

Function at 0x40bda7
Capabilities:
Create tcp socket
Initialize winsock library

Disassembly:
push 0x1a0
mov eax, 0x473a2d
call fcn.0043eed3
mov esi, ecx
mov dword [ebp - 0x1a8], esi
call fcn.0040b855
lea eax, [esi + 0x18]
xor edi, edi
mov dword [esi], vtable.CNetWatcher.0
push eax
mov dword [ebp - 4], edi
mov dword [eax], vtable.RSMonitor.0
mov dword [eax + 4], edi
call fcn.0040aaf2
push 8
mov byte [ebp - 4], 1
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
pop ecx
mov dword [esi + 0x20], eax
or dword [eax], 0xffffffff
mov eax, dword [esi + 0x20]
or dword [eax + 4], 0xffffffff
lea eax, [ebp - 0x1a0]
push eax
push 0x202
mov byte [ebp - 4], 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x40be6b
cmp byte [ebp - 0x1a0], 2
jne 0x40be71
mov eax, dword [ebp - 0x1a0]
shr eax, 8
cmp al, 2
jne 0x40be71
push 1
push edi
push edi
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
push edi
push edi
lea ecx, [ebp - 0x1ac]
push ecx
push edi
push edi
push 4
lea ecx, [ebp - 0x1a4]
push ecx
push 0x8004667e
push eax
mov dword [esi + 0x14], eax
mov dword [ebp - 0x1a4], 1
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x40be71
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov eax, esi
call fcn.0043ef56
ret
Function at 0x40c061
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [0x4ac71c], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
jne 0x40c0a5
call ebx
test eax, eax
jns 0x40c09b
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x4ac718], eax
mov dword [0x4ac71c], 1
mov eax, dword [0x4ac718]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c0c1
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
test eax, eax
jne 0x40c0f1
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
test eax, eax
jne 0x40c0e7
call ebx
test eax, eax
mov eax, dword [ebp + 8]
jns 0x40c0dc
push dword [eax + 0xc]
call dword [eax + 8]
jmp 0x40c0e1
push dword [eax + 4]
call dword [eax]
test eax, eax
je 0x40c0f0
mov dword [edi], eax
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0xc

Function at 0x40c128
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40c177
push edi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov edi, eax
test edi, edi
je 0x40c170
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x40c176
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
leave
ret
Function at 0x40c59a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, 0x4acd44
lea esi, [eax + 0x105]
push ebx
push esi
mov dword [ebp - 0xc], eax
call fcn.0043edf4
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x40c5d5
mov eax, 0x8000ffff
jmp 0x40c6ad
push 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [ebp - 8], eax
test eax, eax
jne 0x40c5f1
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
pop ecx
jmp 0x40c5cb
cmp eax, 0x104
jbe 0x40c624
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
lea esi, [eax + ecx + 1]
push ebx
push esi
call fcn.0043edf4
mov edi, eax
add esp, 0xc
test edi, edi
je 0x40c5cb
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x40c5e8
push str.Shell32.dll
push esi
push edi
xor ebx, ebx
call fcn.0040c48d
test eax, eax
jne 0x40c63e
push edi
call fcn.0040c512
mov ebx, eax
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
xor esi, esi
pop ecx
mov edi, 0x80004001
mov dword [ebp - 4], esi
cmp ebx, esi
je 0x40c6ab
push str.SHGetKnownFolderPath
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x40c672
lea ecx, [ebp - 4]
push ecx
push esi
push esi
push 0x4a6a1c
call eax
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp + 8], esi
je 0x40c6ab
cmp dword [ebp - 4], esi
je 0x40c6ab
cmp edi, esi
jne 0x40c6ab
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
test eax, eax
je 0x40c6a2
mov edi, 0x80070057
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40d9e9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp byte [0x4ac770], 0
je 0x40da07
mov eax, dword [ebp + 8]
mov ecx, dword [0x4ac76c]
mov dword [eax], ecx
jmp 0x40dae9
cmp dword [ebp + 0xc], 0
je 0x40dae2
push ebx
push esi
push edi
push dword [0x4a6a4c]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, 0x4acd44
lea edi, [eax + 0x105]
push ebx
push edi
mov dword [ebp - 8], eax
call fcn.0043edf4
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x40dadf
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [ebp - 4], eax
test eax, eax
je 0x40da87
cmp eax, 0x104
jbe 0x40da90
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
lea edi, [eax + ecx + 1]
push ebx
push edi
call fcn.0043edf4
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40dadf
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x40da90
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
pop ecx
jmp 0x40dadf
push dword [0x4a6a4c]
xor ebx, ebx
push edi
push esi
call fcn.0040c48d
test eax, eax
jne 0x40daab
push esi
call fcn.0040c512
mov ebx, eax
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
pop ecx
test ebx, ebx
je 0x40dadf
push str.IEIsProtectedModeProcess
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40dad8
mov esi, dword [ebp + 8]
push esi
call eax
mov dword [0x4a6a50], eax
mov eax, dword [esi]
mov dword [0x4ac76c], eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebx
mov byte [0x4ac770], 1
mov eax, dword [0x4a6a50]
leave
ret
Function at 0x40dda1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x44
mov eax, 0x473e68
call fcn.0043ee6a
mov esi, ecx
push 4
pop ebx
xor edi, edi
push edi
push 0xffffffffffffffff
push 0x485200
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x14], ebx
call fcn.00408d63
push dword [ebp + 8]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 4], edi
call fcn.0041ebf4
add esp, 0xc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.004035af
lea ecx, [ebp - 0x48]
call fcn.004035af
push esi
lea ecx, [ebp - 0x20]
call fcn.00403368
mov byte [ebp - 4], 3
cmp dword [esi + 8], edi
je 0x40deab
push 1
mov ecx, esi
call fcn.0040daf0
test eax, eax
je 0x40de83
cmp dword [esi + 0xc], edi
je 0x40deab
lea ecx, [ebp - 0x38]
call fcn.00408157
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea edx, [ebp - 0x10]
push edx
mov ebx, eax
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
push ebx
push dword [esi + 8]
push eax
call dword [ecx + 0x80]
push ebx
test eax, eax
jne 0x40de7b
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], edi
je 0x40de61
mov ecx, dword [ebp - 0x20]
call fcn.0040acc8
lea ecx, [ebp - 0x28]
call fcn.004035af
lea ecx, [ebp - 0x30]
call fcn.004035af
mov eax, esi
call fcn.0043ef42
ret 8
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x40deab
lea ecx, [ebp - 0x38]
call fcn.00408157
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push edi
push eax
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40deab
cmp dword [ebp - 0x18], ebx
je 0x40de4d
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], edi
je 0x40debc
mov ecx, dword [ebp - 0x20]
call fcn.0040acc8
mov esi, dword [ebp + 0xc]
jmp 0x40de61
Function at 0x40e370
Capabilities:
Set registry value

Disassembly:
push 0x88
mov eax, 0x473e32
call fcn.0043ee6a
mov esi, ecx
xor edi, edi
push edi
push 0xffffffffffffffff
push 0x485240
lea ecx, [ebp - 0x2c]
call fcn.00408d63
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 4], edi
call fcn.0041ebf4
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.004035af
lea ecx, [ebp - 0x24]
call fcn.004035af
push esi
lea ecx, [ebp - 0x14]
call fcn.00403368
mov byte [ebp - 4], 3
cmp dword [esi + 8], edi
jne 0x40e418
push edi
push 0xffffffffffffffff
push str.error_setting_key
lea ecx, [ebp - 0x2c]
call fcn.00408d63
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 4
call fcn.0041ebf4
add esp, 0xc
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x48], vtable.RSException.0
call fcn.00403a4f
push 0x493cfc
lea eax, [ebp - 0x48]
push eax
call sub.MSVCR100.dll__CxxThrowException
push 1
mov ecx, esi
call fcn.0040daf0
test eax, eax
je 0x40e4b9
cmp dword [esi + 0xc], edi
je 0x40e490
lea ecx, [ebp - 0x60]
call fcn.00408157
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push dword [ebp + 0xc]
mov ebx, eax
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
push ebx
push dword [esi + 8]
push eax
call dword [ecx + 0x78]
push ebx
test eax, eax
je 0x40e48a
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edi
push 0xffffffffffffffff
push str.error_setting_key
lea ecx, [ebp - 0x2c]
call fcn.00408d63
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 6
call fcn.0041ebf4
add esp, 0xc
mov byte [ebp - 4], 7
jmp 0x40e3fa
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x10], edi
je 0x40e4a1
mov ecx, dword [ebp - 0x14]
call fcn.0040acc8
lea ecx, [ebp - 0x50]
call fcn.004035af
lea ecx, [ebp - 0x58]
call fcn.004035af
call fcn.0043ef42
ret 8
lea ecx, [ebp - 0x60]
call fcn.00408157
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push edi
push eax
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x40e490
push edi
push 0xffffffffffffffff
push str.error_setting_key
lea ecx, [ebp - 0x78]
call fcn.00408d63
push dword [ebp + 8]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 8
call fcn.0041ebf4
add esp, 0xc
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 9
mov dword [ebp - 0x94], vtable.RSException.0
call fcn.00403a4f
push 0x493cfc
lea eax, [ebp - 0x94]
jmp 0x40e412
Function at 0x40e529
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x44
mov eax, 0x473e68
call fcn.0043ee6a
mov esi, ecx
push 4
pop ebx
xor edi, edi
push edi
push 0xffffffffffffffff
push 0x485240
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x14], ebx
call fcn.00408d63
push dword [ebp + 8]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 4], edi
call fcn.0041ebf4
add esp, 0xc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.004035af
lea ecx, [ebp - 0x48]
call fcn.004035af
cmp dword [esi + 8], edi
jne 0x40e59b
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
call fcn.004035af
lea ecx, [ebp - 0x30]
call fcn.004035af
mov eax, esi
call fcn.0043ef42
ret 8
push esi
lea ecx, [ebp - 0x20]
call fcn.00403368
push 1
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0040daf0
test eax, eax
je 0x40e616
cmp dword [esi + 0xc], edi
je 0x40e63e
lea ecx, [ebp - 0x38]
call fcn.00408157
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea edx, [ebp - 0x10]
push edx
mov ebx, eax
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
push ebx
push dword [esi + 8]
push eax
call dword [ecx + 0x80]
push ebx
test eax, eax
jne 0x40e60e
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor eax, eax
cmp dword [ebp - 0x10], edi
mov byte [ebp - 4], 2
setne al
mov esi, eax
cmp dword [ebp - 0x1c], edi
je 0x40e581
mov ecx, dword [ebp - 0x20]
call fcn.0040acc8
jmp 0x40e581
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x40e63e
lea ecx, [ebp - 0x38]
call fcn.00408157
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push edi
push eax
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40e63e
cmp dword [ebp - 0x18], ebx
je 0x40e5ee
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], edi
je 0x40e57e
mov ecx, dword [ebp - 0x20]
call fcn.0040acc8
jmp 0x40e57e
Function at 0x413750
Capabilities:
Authenticate hmac
Contain obfuscated stackstrings
Encode data using xor
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call fcn.00413711
lea ecx, [eax + 0x94]
call fcn.0041137a
call fcn.00413711
mov ecx, eax
pop ebp
jmp fcn.00411922

Function at 0x417c24
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x840
mov eax, dword [0x4a806c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x823
lea eax, [ebp - 0x837]
mov esi, ecx
mov edi, edx
push ebx
push eax
mov dword [ebp - 0x840], esi
mov dword [ebp - 0x83c], edi
mov byte [ebp - 0x838], bl
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp esi, ebx
je 0x417d19
cmp dword [ebp + 8], ebx
je 0x417d19
cmp edi, ebx
je 0x417d19
push edi
mov edi, dword [sym.imp.MSVCR100.dll_strcpy_s]
lea eax, [ebp - 0x838]
push 0x824
push eax
call edi
add esp, 0xc
test eax, eax
jne 0x417d19
mov dword [ebp - 0x14], 0x23223e3c
mov dword [ebp - 0x10], 0x5c7c7d7b
mov dword [ebp - 0xc], 0x275d5b5e
mov byte [ebp - 8], 0x20
xor esi, esi
movsx eax, byte [ebp + esi - 0x14]
push eax
push dword [ebp - 0x83c]
call dword [sym.imp.MSVCR100.dll__mbschr]
pop ecx
pop ecx
test eax, eax
jne 0x417cd5
inc esi
cmp esi, 0xd
jl 0x417cb7
cmp esi, 0xd
je 0x417cfb
push 0x60001000
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x840]
push dword [ebp - 0x83c]
call dword [sym.imp.SHLWAPI.dll_UrlCanonicalizeA]
test eax, eax
js 0x417d15
jmp 0x417d13
push dword [ebp - 0x83c]
push dword [ebp + 8]
push dword [ebp - 0x840]
call edi
add esp, 0xc
test eax, eax
jne 0x417d15
mov bl, 1
mov al, bl
jmp 0x417d1b
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043edd8
leave
ret

Function at 0x41bc67
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret
Function at 0x41cd3e
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push edi
mov edi, eax
mov eax, dword [ebp + 8]
mov ebx, ecx
cmp eax, 3
jb 0x41cdb0
push 3
xor edx, edx
pop ecx
div ecx
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x12
movzx ecx, byte [eax + ebx]
mov edx, dword [ebp - 4]
shl edx, 8
or ecx, edx
inc eax
mov dword [ebp - 4], ecx
cmp eax, 3
jl 0x41cd6f
xor edx, edx
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
sub dword [ebp - 8], 6
shr eax, cl
and eax, 0x3f
mov al, byte [eax + esi]
mov byte [edx + edi], al
inc edx
cmp edx, 4
jl 0x41cd86
sub dword [ebp + 8], 3
add ebx, 3
add edi, 4
dec dword [ebp - 0xc]
jne 0x41cd63
mov eax, dword [ebp + 8]
dec eax
je 0x41cdef
dec eax
jne 0x41ce0e
movzx eax, byte [ebx]
shr eax, 2
mov al, byte [eax + esi]
mov byte [edi], al
movzx eax, byte [ebx]
movzx ecx, byte [ebx + 1]
and eax, 3
shl eax, 4
shr ecx, 4
or eax, ecx
mov al, byte [eax + esi]
mov byte [edi + 1], al
movzx eax, byte [ebx + 1]
and eax, 0xf
mov al, byte [esi + eax*4]
mov byte [edi + 2], al
mov byte [edi + 3], 0x3d
jmp 0x41ce0e
movzx eax, byte [ebx]
shr eax, 2
mov al, byte [eax + esi]
mov byte [edi], al
movzx eax, byte [ebx]
and eax, 3
add eax, eax
mov al, byte [esi + eax*8]
mov byte [edi + 1], al
mov word [edi + 2], 0x3d3d
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41d682
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
cmp dword [edi + 4], esi
jne 0x41d69d
push 1
mov ecx, edi
call fcn.0045207b
push edi
push esi
push esi
push esi
push dword [ebp + 0x10]
push esi
push dword [ebp + 8]
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x41d6d7
push esi
push 0xffffffffffffffff
push str.Unable_to_decrypt_data
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], vtable.RSException.0
call fcn.00408d63
push 0x493cfc
lea eax, [ebp - 0x1c]
push eax
call sub.MSVCR100.dll__CxxThrowException
pop edi
pop esi
leave
ret 0xc

Function at 0x41d6dd
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
cmp dword [esi + 4], edi
jne 0x41d6f8
push 1
mov ecx, esi
call fcn.0045207b
push esi
push edi
push edi
push edi
push dword [ebp + 0x10]
push str.Acrobat_Credential
push dword [ebp + 8]
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
jne 0x41d736
push edi
push 0xffffffffffffffff
push str.Unable_to_encrypt_data
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], vtable.RSException.0
call fcn.00408d63
push 0x493cfc
lea eax, [ebp - 0x1c]
push eax
call sub.MSVCR100.dll__CxxThrowException
pop edi
pop esi
leave
ret 0xc
Function at 0x42d2d9
Capabilities:
Read file on windows

Disassembly:
push 0x90
mov eax, 0x477fff
call fcn.0043ee6a
mov edi, ecx
xor esi, esi
push 0x14
lea eax, [ebp - 0x64]
push esi
push eax
mov dword [ebp - 0x10], esi
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ebx, eax
mov dword [ebp - 0x38], ebx
mov eax, dword [edi + 8]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x34], ebx
mov eax, dword [eax + 4]
mov dword [ebp - 4], esi
mov dword [ebp - 0x30], eax
cmp ebx, 0xffffffff
jne 0x42d360
push esi
push ebx
push str.Failed_to_create_connection
lea ecx, [ebp - 0x50]
call fcn.00408d63
mov byte [ebp - 4], 1
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.RSException.0
call fcn.00403a4f
mov dword [ebp - 0x2c], vtable.CMessageException.0
push 0x49a128
lea eax, [ebp - 0x2c]
push eax
call sub.MSVCR100.dll__CxxThrowException
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, esi
jne 0x42d3d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x42d41d
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x34]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
sub eax, esi
je 0x42d3ba
dec eax
jne 0x42d360
lea ecx, [ebp - 0x9c]
call fcn.0042d265
push 0x49a118
lea eax, [ebp - 0x9c]
jmp 0x42d35a
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x64]
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x42d3e4
or dword [ebp - 4], 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0043ef42
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x42d404
lea ecx, [ebp - 0x80]
call fcn.0042d265
push 0x49a118
lea eax, [ebp - 0x80]
jmp 0x42d35a
push esi
push 0xffffffffffffffff
push str.unexpected_error
lea ecx, [ebp - 0x50]
call fcn.00408d63
mov byte [ebp - 4], 2
jmp 0x42d338
cmp eax, 0x6d
je 0x42d3ef
push esi
push 0xffffffffffffffff
push str.Read_Error
lea ecx, [ebp - 0x50]
call fcn.00408d63
mov byte [ebp - 4], 3
jmp 0x42d338
Function at 0x42d456
Capabilities:
Write file on windows

Disassembly:
push 0x74
mov eax, 0x478035
call fcn.0043ee6a
mov edi, ecx
cmp dword [edi + 4], 0xffffffff
jne 0x42d480
lea ecx, [ebp - 0x80]
call fcn.0042d265
push 0x49a118
lea eax, [ebp - 0x80]
push eax
call sub.MSVCR100.dll__CxxThrowException
xor esi, esi
push 0x14
lea eax, [ebp - 0x30]
push esi
push eax
mov dword [ebp - 0x10], esi
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ebx, eax
mov dword [ebp - 0x14], ebx
mov eax, dword [edi + 8]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [eax + 4]
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], eax
cmp ebx, 0xffffffff
jne 0x42d4f2
push esi
push ebx
push str.Failed_to_create_connection
lea ecx, [ebp - 0x48]
call fcn.00408d63
mov byte [ebp - 4], 1
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x64], vtable.RSException.0
call fcn.00403a4f
mov dword [ebp - 0x64], vtable.CMessageException.0
push 0x49a128
lea eax, [ebp - 0x64]
jmp 0x42d47a
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, esi
jne 0x42d548
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x42d55b
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x1c]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
sub eax, esi
je 0x42d535
dec eax
jne 0x42d4f2
jmp 0x42d46a
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
or dword [ebp - 4], 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0043ef42
ret 8
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0xe8
je 0x42d46a
call edi
cmp eax, 0xe9
je 0x42d46a
push esi
push 0xffffffffffffffff
push str.Connection_Closed
lea ecx, [ebp - 0x48]
call fcn.00408d63
mov byte [ebp - 4], 2
jmp 0x42d4ce
Function at 0x43edd8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a806c]
jne 0x43ede2
repz ret
jmp fcn.0043f678