joyce8/EMBER2024-capa huggingface dataset:
Function at 0x494078
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
mov byte [ebp - 1], 0
mov ebx, 0x14
mov dword [ebp - 0x1c], 0x14
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x34], 2
mov eax, 0x494140
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x494144
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
push 0x494140
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x494137
xor eax, eax
push ebp
push 0x494130
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x4b
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494137
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
mov al, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4943b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4945c4
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 0x105
mov eax, dword [ebp - 0x18]
call fcn.004027b0
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x49442e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
je 0x494418
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.0040440c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494435
mov eax, dword [ebp - 8]
call fcn.004027d0
ret

Function at 0x495990
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov bl, 2
lea eax, [ebp - 0xa]
xor ecx, ecx
mov edx, 0xa
call fcn.00402df4
push 0xa
lea eax, [ebp - 0xa]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
je 0x4959ca
cmp byte [ebp - 0xa], 0x31
jne 0x4959c8
mov bl, 1
jmp 0x4959ca
xor ebx, ebx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4970f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.0044b06c
test al, al
je 0x4971ae
mov byte [ebp - 9], 0
xor ebx, ebx
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 8], eax
jmp 0x49718c
cmp word [esi + 0x5f2], 0
je 0x497141
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [esi + 0x5f4]
call dword [esi + 0x5f0]
mov al, byte [esi + 0x5e8]
or al, byte [ebp - 9]
jne 0x497163
cmp dword [ebp - 4], 0
jbe 0x49715f
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
ja 0x497163
xor ebx, ebx
jmp 0x497165
mov bl, 1
test bl, bl
jne 0x4971ae
mov eax, dword [0x4dadb0]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x4971ae
mov eax, dword [0x4dadb0]
mov eax, dword [eax]
call fcn.00463cc4
push 1
call sub.kernel32.dll_Sleep_1
test esi, esi
je 0x4971ae
cmp byte [esi + 0x588], 0
jne 0x4971ae
mov edx, 0xfffffdf3
mov eax, esi
call fcn.004761b8
cmp eax, 4
jne 0x49711e
mov byte [esi + 0x5e8], 0
test bl, bl
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49bb50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00422f4c
cmp ebx, dword [ebp - 8]
jge 0x49bbb3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00423398
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00423398
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004233c4
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x49bb79
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x49bbbc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00422f4c
cmp ebx, dword [ebp - 8]
jge 0x49bc1f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00423398
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00423398
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004233c4
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x49bbe5
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4af89c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x4af8d4]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4af8b2
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4af8c1
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4af8d0
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x4b0c70
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4dadb0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4b0c96
push 0
mov eax, dword [0x4dadb0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x4bcfe8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004046c4
xor eax, eax
push ebp
push 0x4bd09c
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x4bd057
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004046d4
mov ebx, eax
push ebx
push 0x4bd0a8
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
ja 0x4bd081
push 1
push 0
push ebx
lea eax, [ebp - 8]
call fcn.004bd70c
mov eax, dword [ebp - 8]
call fcn.004046d4
push eax
push 0x4bd0a8
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x4bd081
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.004046d4
push eax
lea eax, [ebp - 0xc]
call fcn.004bd70c
mov eax, dword [ebp - 0xc]
call fcn.004046d4
push eax
push 0x4bd0a8
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd0a3
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404238
ret

Function at 0x4bd70c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, eax
mov dword [esp + 4], 1
push esp
push 0xf003f
push 0
push 0x4bd790
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [esp + 8], pe_nt_image_headers32
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x4bd7d4
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4bd772
mov eax, ebx
lea edx, [esp + 0xc]
mov ecx, pe_nt_image_headers32
call fcn.00404484
jmp 0x4bd77e
mov eax, ebx
mov edx, 0x4bd7e0
call fcn.00404268
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
add esp, 0x10c
pop ebx
ret

Function at 0x4be0a4
Capabilities:
Suspend thread

Disassembly:
mov byte [eax + 0xd], 1
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
ret

Function at 0x4be0b4
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x4be0c9
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x4be1cc
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov ebx, eax
push 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, ebx
call fcn.004be138
mov esi, eax
mov eax, ebx
call fcn.00403420
mov eax, esi
pop esi
pop ebx
ret
Function at 0x4c1424
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004046c4
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4c15c8
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4c1598
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [edi], 0x128
push edi
push esi
call sub.kernel32.dll_Process32First
mov ebx, eax
lea eax, [ebp - 0x130]
push eax
mov ecx, 0x4c15e0
mov edx, 0x4c15f0
mov eax, 0x4c15fc
call fcn.00430c64
jmp 0x4c1586
lea eax, [ebp - 0x13c]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404484
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.0040903c
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.004c04dc
mov eax, dword [ebp - 0x134]
push eax
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 4]
call fcn.004c04dc
mov edx, dword [ebp - 0x140]
pop eax
call fcn.00404620
je 0x4c1568
lea eax, [ebp - 0x148]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404484
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.004c04dc
mov eax, dword [ebp - 0x144]
push eax
lea edx, [ebp - 0x14c]
mov eax, dword [ebp - 4]
call fcn.004c04dc
mov edx, dword [ebp - 0x14c]
pop eax
call fcn.00404620
jne 0x4c157d
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
push edi
push esi
call sub.kernel32.dll_Process32Next
mov ebx, eax
test ebx, ebx
jne 0x4c14c9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c15a2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c15cf
lea eax, [ebp - 0x14c]
mov edx, 8
call fcn.00404238
lea eax, [ebp - 4]
call fcn.00404214
ret
Function at 0x4c1624
Capabilities:
Create process on windows
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.004046c4
mov eax, dword [ebp - 8]
call fcn.004046c4
xor eax, eax
push ebp
push 0x4c1831
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4c180c
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x130], 0x128
lea eax, [ebp - 0x130]
push eax
push esi
call sub.kernel32.dll_Process32First
cmp eax, 1
sbb ebx, ebx
inc ebx
mov edx, 0x4c184c
mov eax, 0x4c187c
call fcn.0040d7b4
jmp 0x4c17e5
cmp edi, dword [ebp - 0x128]
jne 0x4c17d2
call fcn.0040ac28
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004b34d4
cmp eax, 0x1f4
jge 0x4c17ed
cmp eax, 0xa
jge 0x4c16e0
mov edx, 0xa
sub edx, eax
push edx
call sub.kernel32.dll_Sleep
mov eax, dword [ebp - 8]
mov edx, 0x4c18ac
call fcn.00404620
jne 0x4c16f9
mov eax, dword [ebp - 8]
call fcn.004c1424
jmp 0x4c1711
push 0
mov eax, dword [ebp - 0x128]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
push 0x1f4
call sub.kernel32.dll_Sleep
mov eax, dword [ebp - 8]
mov edx, 0x4c18c4
call fcn.00404620
je 0x4c1739
mov eax, dword [ebp - 8]
mov edx, 0x4c18dc
call fcn.00404620
jne 0x4c1764
push 1
push 0
mov eax, dword [0x4daa58]
mov eax, dword [eax]
call fcn.004046d4
push eax
mov eax, dword [ebp - 4]
call fcn.004046d4
push eax
push 0x4c18f0
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x4c17ed
mov eax, dword [ebp - 8]
mov edx, 0x4c1900
call fcn.00404620
je 0x4c1782
mov eax, dword [ebp - 8]
mov edx, 0x4c191c
call fcn.00404620
jne 0x4c17aa
push 1
push 0
mov eax, dword [0x4daa78]
mov eax, dword [eax]
call fcn.004046d4
push eax
mov eax, dword [ebp - 4]
call fcn.004046d4
push eax
push 0x4c18f0
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x4c17ed
push 1
push 0
mov eax, dword [0x4daa34]
mov eax, dword [eax]
call fcn.004046d4
push eax
mov eax, dword [ebp - 4]
call fcn.004046d4
push eax
push 0x4c18f0
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x4c17ed
lea eax, [ebp - 0x130]
push eax
push esi
call sub.kernel32.dll_Process32Next
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x4c16a0
push esi
call sub.kernel32.dll_CloseHandle
mov edx, 0x4c1930
mov eax, 0x4c1960
call fcn.0040d7b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c1816
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c1838
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404238
ret
Function at 0x4c7740
Capabilities:
Link many functions at runtime

Disassembly:
mov byte [0x4da860], 0
mov eax, dword [0x4db010]
cmp dword [eax], 2
jne 0x4c7919
mov eax, dword [0x4dab38]
cmp dword [eax], 5
jl 0x4c7919
call fcn.004c48dc
test al, al
jne 0x4c7771
call fcn.004c48e8
call fcn.004c48d4
mov dword [0x4da868], eax
push 0x4c791c
mov eax, dword [0x4da868]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4da82c], eax
cmp dword [0x4da82c], 0
jne 0x4c77cc
mov edx, 0x8000
mov eax, 0x4c7930
call fcn.0040e710
mov dword [0x4da864], eax
mov eax, dword [0x4da864]
mov dword [0x4da868], eax
push 0x4c791c
mov eax, dword [0x4da868]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4da82c], eax
cmp dword [0x4da82c], 0
je 0x4c7914
push 0x4c793c
mov eax, dword [0x4da868]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4da830], eax
cmp dword [0x4da830], 0
je 0x4c7914
push 0x4c7948
mov eax, dword [0x4da868]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4da834], eax
cmp dword [0x4da834], 0
je 0x4c7914
mov byte [0x4da860], 1
push 0x4c7958
mov eax, dword [0x4da868]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4da838], eax
push 0x4c7964
mov eax, dword [0x4da868]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4da83c], eax
push 0x4c7970
mov eax, dword [0x4da868]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4da840], eax
push 0x4c7980
mov eax, dword [0x4da868]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4da844], eax
push 0x4c7990
mov eax, dword [0x4da868]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4da848], eax
mov edx, 0x8000
mov eax, 0x4c79a8
call fcn.0040e710
mov dword [0x4da86c], eax
cmp dword [0x4da86c], 0
je 0x4c7919
push 0x4c79b8
mov eax, dword [0x4da86c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4da84c], eax
push 0x4c79d4
mov eax, dword [0x4da86c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4da850], eax
push 0x4c79f4
mov eax, dword [0x4da86c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4da854], eax
push 0x4c7a10
mov eax, dword [0x4da86c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4da858], eax
push 0x4c7a28
mov eax, dword [0x4da86c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4da85c], eax
ret
call fcn.004c76c0
ret
Function at 0x4ca04c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4ca174
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.004c9f38
mov eax, dword [esi]
call fcn.004052f8
add eax, 0x28
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4c3480]
call fcn.004054b4
add esp, 4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.004029b8
mov ebx, 0x1c
mov eax, dword [ebp - 8]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.004029b8
add ebx, 0x1c
mov eax, dword [esi]
call fcn.004052f8
mov dword [ebp - 0xc], eax
mov eax, dword [0x4daf18]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 8]
mov ecx, ebx
call fcn.004c3714
add ebx, 4
mov eax, dword [ebp - 8]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.00402df4
add ebx, 3
mov eax, dword [ebp - 8]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.004052f8
push eax
lea ecx, [ebp - 8]
mov eax, dword [esi]
xor edx, edx
call fcn.004c3644
mov edx, dword [ebp - 8]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov ebx, eax
mov eax, ebx
call fcn.004c3640
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.004c370c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ca17b
lea eax, [ebp - 8]
mov edx, dword [0x4c3480]
call fcn.004054c0
ret

Function at 0x4cb890
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
xor edx, edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x110], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4cb9ba
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10c]
mov edx, 5
mov eax, 0x4cb9d0
call fcn.00430d00
mov eax, dword [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x110]
xor edx, edx
mov eax, 0x4cba00
call fcn.00430d00
mov edx, dword [ebp - 0x110]
pop eax
call fcn.00404620
jne 0x4cb910
mov eax, 0x4cba10
call fcn.0042de6c
lea eax, [ebp - 0x105]
push eax
push 0x105
call sub.kernel32.dll_GetTempPathA
mov edx, 0x4cba1c
mov eax, 0x4cba4c
call fcn.0040d7b4
lea eax, [ebp - 0x114]
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.00404484
mov eax, dword [ebp - 0x114]
mov edx, ebx
call fcn.0040d73c
lea ecx, [ebp - 0x118]
mov edx, 6
mov eax, 0x4cba7c
call fcn.00430d00
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0x11c]
mov edx, 2
mov eax, 0x4cbaa8
call fcn.00430d00
mov edx, dword [ebp - 0x11c]
pop eax
call fcn.00404620
jne 0x4cb99c
mov eax, 0x4cba10
call fcn.0042de6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cb9c1
lea eax, [ebp - 0x11c]
mov edx, 5
call fcn.00404238
ret
Function at 0x406015
Capabilities:
Encode data using base64

Disassembly:
push 0x14
mov eax, 0x46d0fa
call fcn.0044ed20
xor esi, esi
mov dword [ebp - 4], esi
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], esi
call fcn.00402e36
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], 1
cmp dword [ebp + 0x10], esi
je 0x406162
mov edi, dword [ebp + 0xc]
mov al, byte [edi]
dec dword [ebp + 0x10]
mov byte [ebp + esi - 0x10], al
mov bl, byte [ebp - 0xf]
inc esi
inc edi
cmp esi, 3
jne 0x4060be
mov al, byte [ebp - 0x10]
shr al, 2
mov byte [ebp - 0x14], al
mov al, byte [ebp - 0x10]
and al, 3
shl al, 4
mov cl, bl
shr cl, 4
add al, cl
mov cl, byte [ebp - 0xe]
mov byte [ebp - 0x13], al
mov al, bl
and al, 0xf
shl al, 2
shr cl, 6
add al, cl
mov byte [ebp - 0x12], al
mov al, byte [ebp - 0xe]
and al, 0x3f
mov byte [ebp - 0x11], al
xor esi, esi
movzx eax, byte [ebp + esi - 0x14]
push eax
mov ecx, 0x49b818
call fcn.00402680
mov al, byte [eax]
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 0x1c], al
push dword [ebp - 0x1c]
push 1
call fcn.00403120
inc esi
cmp esi, 4
jl 0x406094
xor esi, esi
cmp dword [ebp + 0x10], 0
jne 0x40604a
xor edi, edi
cmp esi, edi
je 0x406162
cmp esi, 3
jge 0x4060ea
push 3
pop ecx
sub ecx, esi
push ecx
lea eax, [ebp + esi - 0x10]
push edi
push eax
call fcn.0044ef70
mov bl, byte [ebp - 0xf]
add esp, 0xc
mov al, byte [ebp - 0x10]
mov cl, al
shr cl, 2
mov byte [ebp - 0x14], cl
and al, 3
mov cl, bl
shl al, 4
shr cl, 4
add al, cl
mov byte [ebp - 0x13], al
mov al, byte [ebp - 0xe]
and bl, 0xf
mov cl, al
shl bl, 2
shr cl, 6
add bl, cl
mov byte [ebp - 0x12], bl
and al, 0x3f
lea ebx, [esi + 1]
mov byte [ebp - 0x11], al
test ebx, ebx
jle 0x40614a
movzx eax, byte [ebp + edi - 0x14]
push eax
mov ecx, 0x49b818
call fcn.00402680
mov al, byte [eax]
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 0x1c], al
push dword [ebp - 0x1c]
push 1
call fcn.00403120
inc edi
cmp edi, ebx
jl 0x406123
push 3
pop edi
cmp esi, edi
jge 0x406162
sub edi, esi
mov ecx, dword [ebp - 0x18]
push 0x3d
push 1
call fcn.00403120
dec edi
jne 0x406153
mov eax, dword [ebp - 0x18]
call fcn.0044edf8
ret
Function at 0x407a5e
Capabilities:
Create process memory minidump
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d5ac
mov eax, dword fs:[0]
push eax
mov eax, 0x10c8
call fcn.00450f60
mov eax, dword [0x49a3a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1028], eax
xor eax, eax
mov esi, 0x7fe
push esi
mov word [ebp - 0x810], ax
xor ebx, ebx
lea eax, [ebp - 0x80e]
push ebx
push eax
call fcn.0044ef70
xor eax, eax
push esi
mov word [ebp - 0x1010], ax
lea eax, [ebp - 0x100e]
push ebx
push eax
call fcn.0044ef70
xor eax, eax
mov word [ebp - 0x1024], ax
lea edi, [ebp - 0x1022]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 0x18
lea eax, [ebp - 0x1024]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push ebx
push 0x1a
lea eax, [ebp - 0x1010]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.make_minidump:
call fcn.0041d692
movzx eax, word [ebp - 0x1018]
push eax
movzx eax, word [ebp - 0x101a]
push eax
movzx eax, word [ebp - 0x101c]
push eax
movzx eax, word [ebp - 0x101e]
push eax
movzx eax, word [ebp - 0x1022]
push eax
movzx eax, word [ebp - 0x1024]
push eax
push str.CrashDump
lea eax, [ebp - 0x1010]
push eax
push str._s_s___4d_02d_02d__02d_02d_02d.dmp
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.00407429
add esp, 0x30
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x1014]
call fcn.00403cf5
mov dword [ebp - 4], ebx
push dword [ebp - 0x1014]
lea ecx, [ebp - 0x10d4]
call fcn.004023df
mov byte [ebp - 4], 1
push dword [eax]
lea ecx, [ebp - 0x1050]
call fcn.004038ab
mov byte [ebp - 4], 2
cmp dword [eax + 0x18], 0x10
jb 0x407ba8
mov eax, dword [eax + 4]
jmp 0x407bab
add eax, 4
push eax
call fcn.0041d692
pop ecx
mov byte [ebp - 4], 1
push ebx
push 1
lea ecx, [ebp - 0x1050]
call fcn.00402a7d
mov byte [ebp - 4], bl
lea eax, [ebp - 0x10d0]
cmp dword [ebp - 0x10d4], eax
je 0x407be1
push dword [ebp - 0x10d4]
call fcn.0044e653
pop ecx
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x407c53
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x1034], eax
mov eax, dword [ebp - 0x1028]
mov dword [ebp - 0x1030], eax
push ebx
neg eax
push ebx
sbb eax, eax
lea ecx, [ebp - 0x1034]
and eax, ecx
push eax
push 0x52
push esi
mov dword [ebp - 0x102c], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.dbghelp.dll_MiniDumpWriteDump
cmp esi, ebx
je 0x407c53
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1014]
call fcn.004028d3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044ed11
leave
ret
Function at 0x40c799
Capabilities:
Create process on windows

Disassembly:
push 0x2b4
mov eax, 0x46e5c7
call fcn.0044edbf
xor esi, esi
mov dword [ebp - 4], esi
push str.openUrlOnDefaultBrowser
mov ecx, 0x49baa0
call fcn.004034df
mov byte [ebp - 4], 1
push 1
push esi
push esi
push dword [ebp + 8]
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004028d3
call fcn.0044ee1b
ret 4