joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402830
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ed970
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x6baac0]
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 edi, ecx
call dword [sym.imp.mfc140.dll_Ordinal_10421]
push 0
push 0xd
push 0
lea ecx, [edi + 0xd0]
call dword [sym.imp.mfc140.dll_Ordinal_8732]
push 0x20
push 0
push 0x1036
push dword [edi + 0xf0]
call dword [sym.imp.USER32.dll_SendMessageA]
push str.ID_50_Fecha_80_Evento_105_Nombres_170_Apellidos_170_Ocultar_50
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140.dll_Ordinal_310]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 0xd0]
call fcn.00406260
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140.dll_Ordinal_1044]
call dword [sym.imp.mfc140.dll_Ordinal_2251]
test eax, eax
je 0x4028d3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
mov esi, eax
jmp 0x4028d5
xor esi, esi
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140.dll_Ordinal_316]
mov dword [ebp - 4], 1
lea eax, [ebp - 0x18]
mov ebx, dword [sym.imp.mfc140.dll_Ordinal_4807]
push str.SELECT__FROM_datesData
push eax
mov dword [ebp - 0x1c], 0
mov dword [0x6c09a0], 0
call ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [edi + 0xd0]
push eax
push 0x4026f0
push dword [ebp - 0x18]
push dword [esi + 0x22f0]
call fcn.00543f60
add esp, 0x1c
test eax, eax
je 0x40296d
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_316]
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
push dword [ebp - 0x1c]
push str.SQL_error:__s_n
push eax
call ebx
add esp, 0xc
push 0
push 0
push dword [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_2298]
push dword [ebp - 0x1c]
call fcn.00545740
add esp, 4
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
jmp 0x402982
push 0
push 0
push 0x1043
push dword [edi + 0xf0]
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov eax, 1
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.005ebe04
mov esp, ebp
pop ebp
ret
Function at 0x402ee0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eda68
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x6baac0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x228], 0
call dword [sym.imp.mfc140.dll_Ordinal_10421]
call dword [sym.imp.mfc140.dll_Ordinal_2251]
test eax, eax
je 0x402f30
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
push dword [0x6c0a00]
lea ecx, [ebp - 0x218]
call dword [sym.imp.mfc140.dll_Ordinal_310]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140.dll_Ordinal_316]
push str..ini
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140.dll_Ordinal_1696]
lea eax, [ebp - 0x224]
push eax
call fcn.00404960
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 3
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x220]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [ebp - 0x218]
mov ecx, dword [esi]
mov dword [ebp - 0x228], 1
push dword [eax - 0xc]
push eax
push dword [ecx - 0xc]
lea eax, [ebp - 0x220]
push ecx
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x218]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_1526]
lea ecx, [ebp - 0x220]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140.dll_Ordinal_1044]
push dword [ebp - 0x218]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x214]
push 0x200
push eax
push 0x68aadc
push 0x68b118
push str.General
call esi
lea eax, [ebp - 0x214]
push eax
lea ecx, [edi + 0xd0]
call dword [sym.imp.mfc140.dll_Ordinal_1529]
push dword [ebp - 0x218]
lea eax, [ebp - 0x214]
push 0x200
push eax
push 0x68aadc
push str.User
push str.General
call esi
lea eax, [ebp - 0x214]
push eax
lea ecx, [edi + 0xd4]
call dword [sym.imp.mfc140.dll_Ordinal_1529]
push dword [ebp - 0x218]
lea eax, [ebp - 0x214]
push 0x200
push eax
push 0x68aadc
push str.Pass
push str.General
call esi
lea eax, [ebp - 0x214]
push 0
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00404a20
push eax
lea ecx, [edi + 0xd8]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc140.dll_Ordinal_1526]
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140.dll_Ordinal_1044]
push dword [ebp - 0x218]
lea eax, [ebp - 0x214]
push 0x200
push eax
push 0x68aadc
push str.DataB
push str.General
call esi
lea eax, [ebp - 0x214]
push eax
lea ecx, [edi + 0xdc]
call dword [sym.imp.mfc140.dll_Ordinal_1529]
push dword [ebp - 0x218]
push 0xcea
push str.Port
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0
mov ecx, edi
mov dword [edi + 0xe0], eax
call dword [sym.imp.mfc140.dll_Ordinal_14421]
lea ecx, [ebp - 0x21c]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x218]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret
Function at 0x4145b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [ebx + 8]
cmp eax, dword [edx + 8]
je 0x4145cd
pop edi
xor al, al
pop ebx
pop ebp
ret 8
test eax, eax
jne 0x4145ea
mov dword [edi + 8], eax
cmp byte [edi + 0x11], al
je 0x41464c
mov dword [edi + 0x14], eax
mov dword [edi + 0xc], eax
mov byte [edi + 0x11], al
mov al, 1
pop edi
pop ebx
pop ebp
ret 8
cmp byte [edi + 0x10], 0xdb
je 0x414602
push 0
call fcn.0040c4e0
add esp, 4
xor al, al
pop edi
pop ebx
pop ebp
ret 8
cmp dword [edi + 0xc], eax
jae 0x414614
push eax
call fcn.004158a0
test al, al
je 0x4145c5
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 8]
mov eax, dword [edi + 0xc]
cmp ecx, eax
cmova ecx, eax
cmp dword [edi + 0x14], 0
mov dword [edi + 8], ecx
je 0x4145c5
push esi
xor esi, esi
cmp dword [ebx + 8], esi
jbe 0x41464b
mov eax, dword [ebx + 0x14]
mov ecx, dword [edx + 0x14]
mov dl, byte [eax + esi]
xor dl, byte [ecx + esi]
mov eax, dword [edi + 0x14]
mov byte [esi + eax], dl
inc esi
mov edx, dword [ebp + 0xc]
cmp esi, dword [ebx + 8]
jb 0x414630
pop esi
pop edi
mov al, 1
pop ebx
pop ebp
ret 8
Function at 0x421bd0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
xor edx, edx
xor ebx, ebx
mov dword [ebp - 8], edi
mov esi, dword [edi + 0x6c]
test esi, esi
je 0x421daf
mov edi, dword [edi + 0xc]
mov cl, byte [edi + edx]
movzx eax, cl
movzx eax, byte [eax + 0x6051e8]
test eax, eax
jne 0x421c4f
cmp cl, 0x41
jb 0x421c0b
cmp cl, 0x5a
jbe 0x421c54
cmp cl, 0x61
jb 0x421c15
cmp cl, 0x7a
jbe 0x421c54
cmp cl, 0x30
jb 0x421c1f
cmp cl, 0x39
jbe 0x421c54
cmp cl, 0x3d
je 0x421c54
cmp cl, 0x3f
je 0x421c54
cmp cl, 0x26
je 0x421c54
cmp cl, 0x2f
je 0x421c54
cmp cl, 0x2d
je 0x421c54
cmp cl, 0x5f
je 0x421c54
cmp cl, 0x25
je 0x421c54
cmp cl, 0x2e
je 0x421c54
cmp cl, 0x7e
je 0x421c54
inc ebx
jmp 0x421c54
inc ebx
add ebx, eax
add edx, eax
inc edx
cmp edx, esi
jb 0x421bf0
mov edi, dword [ebp - 8]
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x421daf
lea eax, [esi + 4]
lea eax, [eax + ebx*2]
push eax
call fcn.0040f690
mov edx, eax
add esp, 4
mov dword [ebp - 4], edx
test edx, edx
jne 0x421c88
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
xor esi, esi
cmp dword [edi + 0x6c], ebx
jbe 0x421d55
mov eax, dword [edi + 0xc]
mov al, byte [ebx + eax]
movzx ecx, al
movzx ecx, byte [ecx + 0x6051e8]
mov dword [ebp - 0x10], ecx
test ecx, ecx
jne 0x421d0b
cmp al, 0x41
jb 0x421cb4
cmp al, 0x5a
jbe 0x421d05
cmp al, 0x61
jb 0x421cbc
cmp al, 0x7a
jbe 0x421d05
cmp al, 0x30
jb 0x421cc4
cmp al, 0x39
jbe 0x421d05
cmp al, 0x3d
je 0x421d05
cmp al, 0x3f
je 0x421d05
cmp al, 0x26
je 0x421d05
cmp al, 0x2f
je 0x421d05
cmp al, 0x2d
je 0x421d05
cmp al, 0x5f
je 0x421d05
cmp al, 0x25
je 0x421d05
cmp al, 0x2e
je 0x421d05
cmp al, 0x7e
je 0x421d05
mov byte [esi + edx], 0x25
inc esi
movzx eax, al
lea ecx, [esi + edx]
push ecx
push eax
call fcn.0040fd70
mov edx, dword [ebp - 4]
add esp, 8
add esi, 2
jmp 0x421d4b
mov byte [esi + edx], al
inc esi
jmp 0x421d4b
lea eax, [ecx + 1]
xor edi, edi
test eax, eax
je 0x421d46
mov eax, dword [ebp - 8]
lea ecx, [edi + ebx]
mov eax, dword [eax + 0xc]
mov cl, byte [ecx + eax]
mov byte [esi + edx], 0x25
inc esi
lea eax, [esi + edx]
push eax
movzx eax, cl
push eax
call fcn.0040fd70
mov ecx, dword [ebp - 0x10]
inc edi
mov edx, dword [ebp - 4]
add esp, 8
add esi, 2
lea eax, [ecx + 1]
cmp edi, eax
jb 0x421d14
mov edi, dword [ebp - 8]
add ebx, ecx
inc ebx
cmp ebx, dword [edi + 0x6c]
jb 0x421c95
mov byte [esi + edx], 0
cmp byte [edi + 9], 0
mov dword [edi + 0x6c], esi
je 0x421d79
test esi, esi
je 0x421d79
mov eax, dword [edi + 0xc]
test eax, eax
je 0x421d79
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [edi + 0x64]
test eax, eax
je 0x421d97
push eax
call sub.mfc140.dll_Ordinal_266
add esp, 4
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x64], eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x6c]
lea eax, [eax + ecx*2]
add eax, 4
mov dword [edi + 0x68], eax
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426e10
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f05d6
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x6baac0]
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 ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, eax
mov edi, dword [ebp + 0x14]
mov dword [ebx], 0
mov dword [ebp - 0x244], eax
mov dword [esi], 0xffffffff
call fcn.0040a680
test al, al
je 0x426e7e
test edi, edi
je 0x426e77
mov eax, dword [edi]
mov ecx, edi
push str.GetAttributes:_filename_is_empty
call dword [eax + 0x14]
xor al, al
jmp 0x426f66
push 0x118
lea eax, [ebp - 0x128]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x128]
call fcn.00407810
push dword [ebp - 0x244]
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0
call fcn.00408200
push 0x5c
push 0x2f
lea ecx, [ebp - 0x128]
call fcn.0040a880
lea ecx, [ebp - 0x128]
call fcn.00409a50
test eax, eax
jle 0x426f32
push 0x118
lea eax, [ebp - 0x240]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x240]
call fcn.00407810
push edi
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.004271a0
add esp, 0xc
lea ecx, [ebp - 0x240]
call fcn.0040a500
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ebp - 0x240]
mov dword [esi], eax
call fcn.004078a0
jmp 0x426f46
lea ecx, [ebp - 0x128]
call fcn.0040a500
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esi], eax
cmp dword [esi], 0xffffffff
jne 0x426f56
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
cmp dword [esi], 0xffffffff
lea ecx, [ebp - 0x128]
setne bl
call fcn.004078a0
mov al, bl
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.005ebe04
mov esp, ebp
pop ebp
ret
Function at 0x427cb0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f06c1
mov eax, dword fs:[0]
push eax
mov eax, 0x1354
call fcn.005ec690
mov eax, dword [0x6baac0]
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x112c]
mov edi, dword [ebp + 0xc]
push 0x118
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x112c]
call fcn.00407810
push esi
lea ecx, [ebp - 0x112c]
mov dword [ebp - 4], 0
call fcn.00408200
push 0x5c
push 0x2f
lea ecx, [ebp - 0x112c]
call fcn.0040a880
lea ecx, [ebp - 0x112c]
call fcn.00409a50
cmp eax, 0x104
jle 0x427e4f
push 0x118
lea eax, [ebp - 0x1244]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x1244]
call fcn.00407810
lea ecx, [ebp - 0x1244]
mov byte [ebp - 4], 1
call fcn.0040b480
lea eax, [ebp - 0x1360]
push eax
lea eax, [ebp - 0x1014]
push eax
push 0x800
lea ecx, [ebp - 0x112c]
call fcn.0040a500
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea ecx, [ebp - 0x1244]
test eax, eax
je 0x427db0
lea eax, [ebp - 0x1014]
push eax
call fcn.0040ad90
mov bl, 1
jmp 0x427dbe
lea eax, [ebp - 0x112c]
push eax
call fcn.00408760
xor bl, bl
push 0x118
lea eax, [ebp - 0x135c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x135c]
call fcn.00407810
mov byte [ebp - 4], 2
test bl, bl
je 0x427df7
push 0x6054f4
lea ecx, [ebp - 0x135c]
call fcn.004080d0
lea ecx, [ebp - 0x1244]
call fcn.0040a120
push eax
lea ecx, [ebp - 0x135c]
call fcn.004080d0
lea ecx, [ebp - 0x135c]
call fcn.0040a500
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
test esi, esi
jne 0x427e37
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
mov ecx, 1
cmove esi, ecx
lea ecx, [ebp - 0x135c]
call fcn.004078a0
lea ecx, [ebp - 0x1244]
call fcn.004078a0
jmp 0x427e99
lea ecx, [ebp - 0x112c]
call fcn.0040a500
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
test esi, esi
jne 0x427e9b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test edi, edi
je 0x427e8e
push ebx
mov ecx, edi
call fcn.00431ed0
lea eax, [ebp - 0x112c]
mov ecx, edi
push eax
push str.failedToDeleteFilepath
call fcn.00431a00
cmp ebx, 2
mov eax, 1
cmove esi, eax
test esi, esi
lea ecx, [ebp - 0x112c]
setne bl
call fcn.004078a0
mov al, bl
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.005ebe04
mov esp, ebp
pop ebp
ret

Function at 0x428410
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00428200
Function at 0x428be0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f0866
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x6baac0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x128]
push 0x118
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x128]
call fcn.00407810
push esi
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0
call fcn.00408200
push 0x5c
push 0x2f
lea ecx, [ebp - 0x128]
call fcn.0040a880
push 0
lea eax, [ebp - 0x128]
push 1
push eax
call fcn.00427300
add esp, 0xc
lea ecx, [ebp - 0x128]
call fcn.0040a680
test al, al
jne 0x428cd5
push 0x118
lea eax, [ebp - 0x240]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x240]
call fcn.00407810
push 0
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.004271a0
add esp, 0xc
lea ecx, [ebp - 0x240]
push dword [ebp + 0xc]
call fcn.0040a500
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x240]
mov esi, eax
call fcn.004078a0
jmp 0x428cec
push dword [ebp + 0xc]
lea ecx, [ebp - 0x128]
call fcn.0040a500
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, eax
lea ecx, [ebp - 0x128]
call fcn.004078a0
test esi, esi
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret

Function at 0x428d20
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f089b
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x6baac0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x128]
push 0x118
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x128]
call fcn.00407810
push esi
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0
call fcn.0040abf0
lea ecx, [ebp - 0x128]
call fcn.0040a500
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ebp - 0x128]
mov esi, eax
call fcn.004078a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret
Function at 0x428dc0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ef42b
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x6baac0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x128]
push 0x118
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x128]
call fcn.00407810
push esi
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0
call fcn.0040abf0
push dword [ebp + 0xc]
lea ecx, [ebp - 0x128]
call fcn.0040a500
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
lea ecx, [ebp - 0x128]
setne bl
call fcn.004078a0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret
Function at 0x42b5d0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jne 0x42b5e7
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebx], 0
test esi, esi
je 0x42b771
cmp dword [ebp + 8], 0
je 0x42b771
lea ecx, [esi + esi*4]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
add edx, 4
push edx
mov dword [ebx], edx
call fcn.0040f690
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x42b771
mov eax, 0xaaaaaaab
xor ecx, ecx
mul esi
push edi
xor edi, edi
mov eax, edx
shr eax, 1
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], eax
je 0x42b6bb
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edi, dword [ebp + 8]
movzx edx, byte [eax + edi]
movzx esi, byte [eax + edi + 1]
movzx edi, byte [eax + edi + 2]
add eax, 3
mov dword [ebp - 4], eax
mov eax, edx
shr eax, 2
and edx, 3
shl edx, 4
movzx eax, byte [eax + 0x606458]
mov byte [ecx + ebx], al
mov eax, esi
shr eax, 4
and esi, 0xf
or eax, edx
shl esi, 2
movzx eax, byte [eax + 0x606458]
mov byte [ecx + ebx + 1], al
mov eax, edi
shr eax, 6
and edi, 0x3f
or eax, esi
movzx eax, byte [eax + 0x606458]
mov byte [ecx + ebx + 2], al
movzx eax, byte [edi + 0x606458]
mov byte [ecx + ebx + 3], al
add ecx, 4
sub dword [ebp - 8], 1
jne 0x42b642
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*2]
sub esi, eax
sub esi, 1
je 0x42b72c
sub esi, 1
jne 0x42b75d
mov eax, dword [ebp + 8]
movzx edx, byte [edi + eax]
movzx esi, byte [edi + eax + 1]
mov eax, edx
shr eax, 2
and edx, 3
shl edx, 4
pop edi
movzx eax, byte [eax + 0x606458]
mov byte [ecx + ebx], al
mov eax, esi
shr eax, 4
and esi, 0xf
or eax, edx
movzx eax, byte [eax + 0x606458]
mov byte [ecx + ebx + 1], al
movzx eax, byte [esi*4 + 0x606458]
mov byte [ecx + ebx + 2], al
mov eax, dword [ebp + 0x10]
mov byte [ecx + ebx + 3], 0x3d
add ecx, 4
pop esi
mov byte [ecx + ebx], 0
mov dword [eax], ecx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
movzx edx, byte [edi + eax]
mov eax, edx
and edx, 3
shr eax, 2
shl edx, 4
movzx eax, byte [eax + 0x606458]
mov byte [ecx + ebx], al
movzx eax, byte [edx + 0x606458]
mov byte [ecx + ebx + 1], al
mov word [ecx + ebx + 2], 0x3d3d
add ecx, 4
mov eax, dword [ebp + 0x10]
pop edi
mov byte [ecx + ebx], 0
pop esi
mov dword [eax], ecx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42d460
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x42d614
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x42d614
xor eax, eax
mov dword [ebp - 0x68], 0x250024
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], eax
mov eax, 0x23
mov dword [ebp - 0x60], 0x270026
mov dword [ebp - 0x5c], 0x290028
mov dword [ebp - 0x58], 0x10000
mov dword [ebp - 0x54], 0x30002
mov dword [ebp - 0x50], 0x50004
mov dword [ebp - 0x4c], 0x70006
mov dword [ebp - 0x48], 0x90008
mov dword [ebp - 0x40], 0x2a0000
mov dword [ebp - 0x38], 0xa0000
mov dword [ebp - 0x34], 0xc000b
mov dword [ebp - 0x30], 0xe000d
mov dword [ebp - 0x2c], 0x10000f
mov dword [ebp - 0x28], 0x120011
mov dword [ebp - 0x24], 0x140013
mov dword [ebp - 0x20], 0x160015
mov dword [ebp - 0x1c], 0x180017
mov dword [ebp - 0x18], 0x1a0019
mov dword [ebp - 0x14], 0x1c001b
mov dword [ebp - 0x10], 0x1e001d
mov dword [ebp - 0xc], 0x20001f
mov dword [ebp - 8], 0x220021
mov word [ebp - 4], ax
cmp edi, 2
jb 0x42d614
push ebx
mov ebx, dword [ebp + 0x10]
nop dword [eax]
movzx eax, byte [esi]
cmp edi, 3
jb 0x42d5b9
cmp eax, 0x28
jb 0x42d552
cmp eax, 0x5a
jbe 0x42d557
mov eax, 0x28
add eax, 0xffffffd8
movzx eax, ax
movzx eax, word [ebp + eax*2 - 0x68]
mov dword [ebp + 8], eax
movzx eax, byte [esi + 1]
cmp eax, 0x28
jb 0x42d573
cmp eax, 0x5a
jbe 0x42d578
mov eax, 0x28
add eax, 0xffffffd8
add esi, 2
movzx eax, ax
movzx edx, word [ebp + eax*2 - 0x68]
movzx eax, byte [esi]
cmp eax, 0x28
jb 0x42d593
cmp eax, 0x5a
jbe 0x42d598
mov eax, 0x28
add eax, 0xffffffd8
movzx ecx, ax
imul eax, dword [ebp + 8], 0x2b
add eax, edx
imul eax, eax, 0x2b
add ax, word [ebp + ecx*2 - 0x68]
mov ecx, ebx
movzx eax, ax
push eax
call fcn.00412f20
jmp 0x42d601
cmp eax, 0x28
jb 0x42d5c3
cmp eax, 0x5a
jbe 0x42d5c8
mov eax, 0x28
add eax, 0xffffffd8
inc esi
movzx eax, ax
movzx edx, word [ebp + eax*2 - 0x68]
movzx eax, byte [esi]
cmp eax, 0x28
jb 0x42d5e1
cmp eax, 0x5a
jbe 0x42d5e6
mov eax, 0x28
add eax, 0xffffffd8
movzx ecx, ax
movzx eax, dl
imul eax, eax, 0x2b
add al, byte [ebp + ecx*2 - 0x68]
mov ecx, ebx
movzx eax, al
push eax
call fcn.00412270
cmp edi, 3
jbe 0x42d613
sub edi, 3
inc esi
cmp edi, 2
jae 0x42d540
pop ebx
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x430750
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f0d9b
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x6baac0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00422240
cmp byte [0x6bd269], 0
jne 0x4307e0
push 0x200
push 0
push 0x6bd428
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x14], 0x100
lea eax, [ebp - 0x14]
push eax
push 0x6bd428
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x4307d9
movq xmm0, qword [str.Win32]
mov ax, word [0x606830]
movq qword [0x6bd428], xmm0
mov word [0x6bd430], ax
mov byte [0x6bd269], 1
push 0x118
lea eax, [ebp - 0x12c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x12c]
call fcn.00407810
push 0x6bd428
lea ecx, [ebp - 0x12c]
mov dword [ebp - 4], 0
call fcn.004081d0
lea ecx, [ebp - 0x12c]
call fcn.0040a120
push eax
mov ecx, esi
call fcn.00421120
lea ecx, [ebp - 0x12c]
call fcn.004078a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret