joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4031f4
Capabilities:
Link many functions at runtime
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
mov edi, dword [ebp + 8]
push 0x40c8d8
push edi
call esi
push 0x40cdf4
push edi
mov dword [ebp + 8], eax
call esi
push 0x40c8a4
push edi
mov dword [ebp - 4], eax
call esi
push 0x40c8b8
push edi
mov dword [ebp - 8], eax
call esi
push 0x40ca3c
push edi
mov dword [ebp - 0xc], eax
call esi
push 0x40ca4c
push edi
mov ebx, eax
call esi
push 0x40ca28
push edi
mov dword [ebp - 0x14], eax
call esi
push 0x40ca18
push edi
mov dword [ebp - 0x10], eax
call esi
xor ecx, ecx
cmp dword [ebp + 8], ecx
je 0x40336b
cmp dword [ebp - 4], ecx
je 0x40336b
cmp dword [ebp - 8], ecx
je 0x40336b
cmp dword [ebp - 0xc], ecx
je 0x40336b
cmp ebx, ecx
je 0x40336b
cmp dword [ebp - 0x10], ecx
je 0x40336b
cmp eax, ecx
je 0x40336b
cmp dword [ebp - 0x14], ecx
je 0x40336b
mov esi, dword [ebp + 0xc]
cmp esi, ecx
je 0x403367
cmp byte [esi], cl
je 0x403367
push ecx
push esi
call dword [sym.imp.MSVCR71.dll__open]
mov ebx, eax
pop ecx
cmp ebx, 0xffffffff
pop ecx
jne 0x4032e5
mov eax, dword [sym.imp.MSVCR71.dll__iob]
push esi
add eax, 0x40
push 0x40cdcc
push eax
call dword [sym.imp.MSVCR71.dll_fprintf]
add esp, 0xc
push 3
jmp 0x40336d
push 0x40cdb8
push 0x3ec
push dword [0x40e930]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
call dword [ebp + 8]
push edi
call fcn.00402a99
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [ebp - 4]
push 3
lea eax, [ebp - 0x38]
pop esi
push eax
push ebx
mov dword [ebp + 8], esi
call dword [sym.imp.MSVCR71.dll__fstat]
add esp, 0x14
test eax, eax
jne 0x403357
mov edi, dword [ebp - 0x24]
lea eax, [edi + 5]
add eax, esi
and al, 0xfc
call fcn.00406cb0
mov esi, esp
push edi
push esi
push ebx
call dword [sym.imp.MSVCR71.dll__read]
add esp, 0xc
test eax, eax
jle 0x403357
add eax, esi
push esi
mov byte [eax], 0xa
and byte [eax + 1], 0
call dword [ebp - 8]
pop ecx
mov dword [ebp + 8], eax
call dword [ebp - 0xc]
push ebx
call dword [sym.imp.MSVCR71.dll__close]
mov eax, dword [ebp + 8]
pop ecx
jmp 0x40336e
push 2
jmp 0x40336d
push 1
pop eax
lea esp, [ebp - 0x44]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403590
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push 1
push 0
push 0x40d454
push 0x40d480
push 0x40ce88
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jg 0x4035df
push eax
lea eax, [ebp - 0x80]
push 0x40ce4c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x80]
push 0x10
push 0x40ce44
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
leave
ret
Function at 0x4035e1
Capabilities:
Delete file
Read .ini file

Disassembly:
mov eax, 0x1000
call fcn.00406cb0
push ebx
push ebp
push esi
push edi
push dword [0x40ea48]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebp, 0x1000
lea eax, [esp + 0x14]
push ebp
mov ebx, 0x40d454
push eax
push ebx
mov esi, 0x40ce44
push 0x40cf4c
push esi
call edi
lea eax, [esp + 0x10]
push 0x50
push eax
push 0x40d5a0
call fcn.004037d6
add esp, 0xc
lea eax, [esp + 0x10]
push dword [0x40ea48]
push ebp
push eax
push ebx
push 0x40cf44
push esi
call edi
lea eax, [esp + 0x10]
push ebp
push eax
push 0x40d720
call fcn.004037d6
add esp, 0xc
push dword [0x40ea48]
push 0x50
push 0x40e8c0
push ebx
push 0x40cf38
push esi
call edi
push dword [0x40ea48]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 1
push 0x40cf28
push esi
call ebp
push dword [0x40ea48]
mov dword [0x40d468], eax
push 1
push 0x40cf18
push esi
call ebp
push dword [0x40ea48]
mov dword [0x40e8b8], eax
push 0xa
push 0x40e910
push ebx
push 0x40cf08
push esi
call edi
push dword [0x40ea48]
push 0x50
push 0x40e860
push ebx
push 0x40cf00
push 0x40cef4
call edi
push dword [0x40ea48]
push 0x104
push 0x40d600
push ebx
push 0x40cee4
push esi
call edi
push dword [0x40ea48]
push 0xa
mov ebp, 0x40ea60
push ebp
push ebx
push 0x40ced0
push esi
call edi
push 0x40cec8
push ebp
call sub.MSVCR71.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x403720
call fcn.00403552
test eax, eax
je 0x403786
call fcn.004034d3
test eax, eax
jne 0x403786
jmp 0x40374c
push 0x40cec0
push ebp
call sub.MSVCR71.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x403753
call fcn.00403552
test eax, eax
je 0x403786
call fcn.004034d3
test eax, eax
jne 0x403786
call fcn.004034fc
test eax, eax
je 0x403786
call fcn.00403590
jmp 0x4037c9
cmp byte [0x40ea60], 0
je 0x403786
push 0x40ceb8
push ebp
call sub.MSVCR71.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x403786
push 0
push 0x40ceb0
push 0x40ce90
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x40d5a0
call fcn.0040385b
push eax
mov dword [0x40e920], eax
call fcn.004033de
pop ecx
pop ecx
push dword [0x40d584]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [0x40ea48]
test eax, eax
je 0x4037b9
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [0x40ea6c]
test eax, eax
je 0x4037c9
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1000
ret
Function at 0x403938
Capabilities:
Create process on windows
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
push ebx
push esi
push edi
lea eax, [ebp - 0x15c]
push 0x104
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x260]
push 0x40cfd8
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
lea eax, [ebp - 0x260]
push 0x40cfd4
push eax
call dword [sym.imp.MSVCR71.dll_fopen]
mov esi, dword [sym.imp.MSVCR71.dll_fprintf]
push 0x40cfc8
push eax
mov dword [ebp - 4], eax
call esi
lea eax, [ebp - 0x15c]
mov edi, 0x40cfbc
push eax
push edi
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x15c]
push eax
push 0x40cfa0
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x260]
push eax
push edi
push dword [ebp - 4]
call esi
add esp, 0x40
push dword [ebp - 4]
call dword [sym.imp.MSVCR71.dll_fclose]
push 0x44
lea eax, [ebp - 0x58]
pop esi
push esi
push ebx
push eax
call sub.MSVCR71.dll_memset
add esp, 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x2c], 1
push eax
lea eax, [ebp - 0x58]
push eax
push 0x40c5c8
push ebx
push esi
push ebx
push ebx
lea eax, [ebp - 0x260]
push ebx
push eax
push ebx
mov word [ebp - 0x28], bx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x403a57
mov esi, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0xfffffffffffffff1
push dword [ebp - 0x10]
call esi
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push 0x80
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp - 0x10]
call esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403a5c
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.MSVCR71.dll__strdup]
mov esi, dword [sym.imp.MSVCR71.dll_strchr]
push 0x5b
push eax
mov dword [ebp - 8], eax
call esi
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x403b1d
inc ebx
push 0x5d
push ebx
call esi
mov edi, eax
pop ecx
test edi, edi
pop ecx
je 0x403b1d
and byte [edi], 0
inc edi
push 0xa
push edi
call esi
xor esi, esi
pop ecx
cmp eax, esi
pop ecx
je 0x403aae
and byte [eax], 0
lea eax, [ebp - 4]
push eax
push 0x20006
push esi
push ebx
push dword [0x40c010]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x403ae1
push esi
push 0x40cbe8
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x403b13
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp eax, esi
je 0x403b0a
cmp eax, 2
je 0x403b0a
push esi
push 0x40cfe0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
call dword [sym.imp.MSVCR71.dll_free]
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403b22
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.MSVCR71.dll__strdup]
mov esi, dword [sym.imp.MSVCR71.dll_strchr]
push 0x5b
push eax
mov dword [ebp - 8], eax
call esi
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x403be3
inc ebx
push 0x5d
push ebx
call esi
mov edi, eax
pop ecx
test edi, edi
pop ecx
je 0x403be3
and byte [edi], 0
inc edi
push 0x3d
push edi
call esi
xor esi, esi
pop ecx
cmp eax, esi
pop ecx
je 0x403be3
and byte [eax], 0
lea eax, [ebp - 4]
push eax
push 0x20006
push esi
push ebx
push dword [0x40c010]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x403ba7
push esi
push 0x40cbe8
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x403bd9
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, esi
je 0x403bd0
cmp eax, 2
je 0x403bd0
push esi
push 0x40cff8
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
call dword [sym.imp.MSVCR71.dll_free]
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403be8
Capabilities:
Delete file

Disassembly:
push esi
push 0x3a
push dword [esp + 0xc]
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
pop ecx
test esi, esi
pop ecx
jne 0x403bff
pop esi
ret
mov eax, dword [sym.imp.MSVCR71.dll___mb_cur_max]
inc esi
cmp dword [eax], 1
jle 0x403c1a
movsx eax, byte [esi]
push 8
push eax
call dword [sym.imp.MSVCR71.dll__isctype]
pop ecx
pop ecx
jmp 0x403c2b
mov ecx, dword [sym.imp.MSVCR71.dll__pctype]
movsx eax, byte [esi]
mov ecx, dword [ecx]
mov al, byte [ecx + eax*2]
and eax, 8
test eax, eax
jne 0x403bff
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
ret

Function at 0x403c38
Capabilities:
Delete directory

Disassembly:
push esi
push 0x3a
push dword [esp + 0xc]
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
pop ecx
test esi, esi
pop ecx
jne 0x403c4f
pop esi
ret
mov eax, dword [sym.imp.MSVCR71.dll___mb_cur_max]
inc esi
cmp dword [eax], 1
jle 0x403c6a
movsx eax, byte [esi]
push 8
push eax
call dword [sym.imp.MSVCR71.dll__isctype]
pop ecx
pop ecx
jmp 0x403c7b
mov ecx, dword [sym.imp.MSVCR71.dll__pctype]
movsx eax, byte [esi]
mov ecx, dword [ecx]
mov al, byte [ecx + eax*2]
and eax, 8
test eax, eax
jne 0x403c4f
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop esi
ret
Function at 0x403c88
Capabilities:
Delete file
Read file on windows

Disassembly:
mov eax, 0x1014
call fcn.00406cb0
push ebx
push esi
mov esi, dword [sym.imp.MSVCR71.dll_strchr]
push edi
push 0x5b
push dword [esp + 0x1028]
call esi
xor edi, edi
pop ecx
cmp eax, edi
pop ecx
je 0x403cc0
inc eax
push 0x5d
push eax
mov dword [esp + 0x18], eax
call esi
mov ebx, eax
pop ecx
cmp ebx, edi
pop ecx
jne 0x403cc7
xor eax, eax
jmp 0x403e40
and byte [ebx], 0
inc ebx
push ebx
push 0x40d340
mov dword [esp + 0x14], ebx
call sub.MSVCR71.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x403e3d
push ebp
push edi
push edi
mov dword [esp + 0x24], 0x40d024
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], ebx
call dword [sym.imp.MSVCR71.dll__tempnam]
mov esi, dword [sym.imp.MSVCR71.dll_freopen]
mov ebp, eax
mov eax, dword [sym.imp.MSVCR71.dll__iob]
mov edi, 0x40c9d4
add eax, 0x40
push eax
push edi
push ebp
call esi
add esp, 0x14
test eax, eax
jne 0x403d32
push eax
push eax
push 0x40cd30
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [sym.imp.MSVCR71.dll__iob]
add eax, 0x20
push eax
push edi
push ebp
call esi
add esp, 0xc
test eax, eax
jne 0x403d5a
push eax
push eax
push 0x40cd20
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x403d9f
lea eax, [esp + 0x18]
push eax
push 2
push ebx
push esi
call fcn.004031f4
add esp, 0x10
cmp eax, 0x80000000
jne 0x403d98
mov eax, dword [sym.imp.MSVCR71.dll__iob]
push 0x40ccd0
add eax, 0x40
push eax
call dword [sym.imp.MSVCR71.dll_fprintf]
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [sym.imp.MSVCR71.dll__iob]
mov edi, dword [sym.imp.MSVCR71.dll_fflush]
add eax, 0x40
push eax
call edi
mov eax, dword [sym.imp.MSVCR71.dll__iob]
mov esi, dword [sym.imp.MSVCR71.dll_fclose]
add eax, 0x40
push eax
call esi
mov eax, dword [sym.imp.MSVCR71.dll__iob]
add eax, 0x20
push eax
call edi
mov eax, dword [sym.imp.MSVCR71.dll__iob]
add eax, 0x20
push eax
call esi
push 0x40c970
push ebp
call dword [sym.imp.MSVCR71.dll_fopen]
mov edi, eax
lea eax, [esp + 0x3c]
push edi
push 0x1000
push 1
push eax
call dword [sym.imp.MSVCR71.dll_fread]
push edi
mov ebx, eax
call esi
push ebp
call dword [sym.imp.MSVCR71.dll_remove]
and byte [esp + ebx + 0x54], 0
add esp, 0x30
cmp byte [esp + 0x24], 0
pop ebp
je 0x403e2d
push 0
lea eax, [esp + 0x24]
push 0x40d010
push eax
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [esp + 0xc]
push 0x40d340
call sub.MSVCR71.dll_strcpy
pop ecx
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebx
add esp, 0x1014
ret
Function at 0x404328
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push edi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x40437c
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
push esi
push esi
push 2
push esi
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, eax
call edi
cmp ebx, 0xffffffff
jne 0x404380
xor eax, eax
jmp 0x40439b
push esi
push esi
push esi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push ebx
mov esi, eax
call edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4043a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
push esi
lea ecx, [edx + eax - 0x16]
push edi
mov edi, dword [ebp + 0x18]
sub eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sub eax, 0x22
lea esi, [eax + edx]
xor edx, edx
mov dword [edi], edx
mov edi, dword [ebp + 0x14]
mov dword [edi], edx
cmp dword [ecx], 0x6054b50
jne 0x4044cc
cmp dword [esi], 0x1234567b
je 0x4043f4
push 0x40d2e0
push edx
call fcn.00401a6f
pop ecx
pop ecx
jmp 0x4044ce
cmp eax, edx
jl 0x4044cc
mov ecx, dword [esi + 8]
cmp ecx, edx
je 0x404410
mov edx, esi
sub edx, dword [esi + 4]
sub edx, ecx
mov dword [0x40ea50], edx
sub eax, dword [esi + 4]
mov ecx, dword [ebp + 0x10]
mov edi, esi
push 0x104
sub eax, dword [esi + 8]
mov dword [ecx], eax
sub edi, dword [esi + 4]
call dword [sym.imp.MSVCR71.dll_malloc]
mov ebx, eax
pop ecx
test ebx, ebx
je 0x4044cc
lea eax, [ebp - 0x104]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x4044b9
push ebx
push 0
lea eax, [ebp - 0x104]
push 0x40d2dc
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x4044b9
xor eax, eax
push eax
push eax
push eax
push dword [esi + 4]
push eax
push ebx
push 2
call fcn.00401095
add esp, 0x1c
mov dword [ebp + 8], eax
test eax, eax
je 0x4044cc
push dword [esi + 4]
push edi
push eax
call dword [sym.imp.MSVCR71.dll_strncpy]
push dword [ebp + 8]
call sub.MSVCR71.dll_strlen
lea edi, [edi + eax + 1]
push edi
call dword [sym.imp.MSVCR71.dll__strdup]
mov ecx, dword [ebp + 0x18]
add esp, 0x14
push dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 1
pop eax
jmp 0x4044ce
push 0x40d2bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401a6f
pop ecx
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43f004]
jne 0x40100a
repz ret
jmp fcn.00401728

Function at 0x4064a8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00402451
and dword [ebp - 4], 0
cmp dword [0x4410e4], 0
mov ebx, eax
jne 0x406559
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40660a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40660a
push eax
call fcn.004023df
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4410e4], eax
call esi
push eax
call fcn.004023df
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4410e8], eax
call esi
push eax
call fcn.004023df
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4410ec], eax
call esi
push eax
call fcn.004023df
pop ecx
mov dword [0x4410f4], eax
test eax, eax
je 0x406559
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004023df
pop ecx
mov dword [0x4410f0], eax
mov eax, dword [0x4410f0]
cmp eax, ebx
je 0x4065b1
cmp dword [0x4410f4], ebx
je 0x4065b1
push eax
call fcn.0040245a
push dword [0x4410f4]
mov esi, eax
call fcn.0040245a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4065b1
test edi, edi
je 0x4065b1
call esi
test eax, eax
je 0x4065a8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4065a8
test byte [ebp - 0xc], 1
jne 0x4065b1
or dword [ebp + 0x10], 0x200000
jmp 0x4065ea
mov eax, dword [0x4410e8]
cmp eax, ebx
je 0x4065ea
push eax
call fcn.0040245a
pop ecx
test eax, eax
je 0x4065ea
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4065ea
mov eax, dword [0x4410ec]
cmp eax, ebx
je 0x4065ea
push eax
call fcn.0040245a
pop ecx
test eax, eax
je 0x4065ea
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4410e4]
call fcn.0040245a
pop ecx
test eax, eax
je 0x40660a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40660c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x437a60
Capabilities:
Get hostname

Disassembly:
sub esp, 0x42c
mov eax, dword [0x43f004]
xor eax, esp
mov dword [esp + 0x428], eax
cmp edi, 0x182
jne 0x437a8e
lea eax, [esp + 0xc]
push eax
push str.tuzudinuyodawiz_xivizevobikotuletife
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
jmp 0x437ac2
cmp edi, 0x19f
jne 0x437ac2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
push str.wofoyamev_wexededukocoh
push str.vazew_xajinoguwumofeforupatetonaxoc_vasufadogenanajeyu_wiwarerimefozenodav
push str.besudufawocugiforacir_nawiyay_yirideculaxabafulewasu_seyihet_zazadubavoxuyucawitiwituzunacare
push str.bemoxaxoyuguxejoxipavav_damilagorifoki_meyogupusosojezogayihasawuzerebu_moyeta
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push esi
xor esi, esi
test edi, edi
jle 0x437b32
lea esp, [esp]
lea ecx, [esp + 8]
mov dword [esp + 4], 5
mov dword [esp + 8], 0
call fcn.00437a50
mov eax, dword [esp + 8]
add eax, 0x46
mov dword [esp + 4], eax
sub dword [esp + 4], 0x46
mov cl, byte [esp + 4]
xor byte [ebx + esi], cl
cmp edi, 0xf
jne 0x437b2d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
inc esi
cmp esi, edi
jl 0x437ad0
pop esi
cmp edi, 0x2d
jne 0x437b4c
mov dword [0x2b3f300], 0xa62e7790
mov dword [0x2b3f304], 0xffffffff
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.00401000
add esp, 0x42c
ret
Function at 0x402bf9
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0x14
mov eax, 0x466026
call fcn.0043e164
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x4c961c
push 1
push 0
push 0x4ca068
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test ebx, ebx
js 0x402d14
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
and dword [ebp - 0x18], 0
push edx
push 0x4ca058
mov eax, dword [ecx]
push ecx
call dword [eax]
mov ebx, eax
test ebx, ebx
js 0x402d0b
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.0041437e
mov ecx, dword [ebp - 0x10]
xor ebx, ebx
push dword [ebp - 0x14]
mov dword [ebp - 4], ebx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x50]
cmp dword [ebp + 0x14], ebx
je 0x402c91
push dword [ebp + 0x14]
lea ecx, [ebp - 0x1c]
call fcn.0041437e
mov ecx, dword [ebp - 0x10]
push dword [ebp - 0x1c]
mov byte [ebp - 4], 1
push ecx
mov eax, dword [ecx]
call dword [eax + 0x2c]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004143e1
mov ecx, dword [ebp - 0x10]
push ebx
push dword [ebp - 0x14]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x44]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004143e1
push dword [ebp + 0x10]
lea ecx, [ebp - 0x1c]
call fcn.0041437e
mov ecx, dword [ebp - 0x10]
push dword [ebp - 0x1c]
mov dword [ebp - 4], 2
push ecx
mov eax, dword [ecx]
call dword [eax + 0x24]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004143e1
push dword [ebp + 8]
lea ecx, [ebp - 0x20]
call fcn.0041437e
mov ecx, dword [ebp - 0x18]
push 1
push dword [ebp - 0x20]
mov dword [ebp - 4], 3
mov eax, dword [ecx]
push ecx
call dword [eax + 0x18]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
mov ebx, eax
call fcn.004143e1
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
shr ebx, 0x1f
xor bl, 1
mov al, bl
call fcn.0043e132
ret

Function at 0x403094
Capabilities:
Persist via run registry key

Disassembly:
push str.Spotify_Web_Helper
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call fcn.0041442a
add esp, 0xc
ret