joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d946
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push 0
mov ebx, edx
mov dword [ebp - 0xc], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
jne 0x40d968
xor al, al
jmp 0x40da0f
push edi
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
je 0x40d98f
push dword [ebp + 8]
push ebx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 8], eax
test eax, eax
jne 0x40d99c
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
xor al, al
jmp 0x40da0e
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
xor eax, eax
push eax
push eax
push esi
push dword [ebp + 8]
push ebx
push eax
push eax
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x40d9ed
imul ebx, dword [ebp + 8]
shl ebx, 2
push ebx
mov ebx, dword [ebp - 0xc]
mov ecx, ebx
call fcn.0040db98
mov eax, dword [ebx + 4]
push dword [ebx]
sub eax, dword [ebx]
mov ebx, dword [ebp - 8]
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetBitmapBits]
test eax, eax
je 0x40d9f0
mov byte [ebp - 1], 1
jmp 0x40d9f4
mov ebx, dword [ebp - 8]
mov byte [ebp - 1], 0
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40dcb9
Capabilities:
Encode data using xor
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x43f040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
lea eax, [ebp - 0x118]
mov ecx, 0x105
mov dword [ebp - 0x224], edi
push ecx
push eax
xor esi, esi
mov dword [ebp - 0x224], edi
push esi
push esi
lea eax, [ebp - 0x224]
push eax
push ecx
lea eax, [ebp - 0x220]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x40dd57
mov eax, dword [0x438eec]
mov dword [ebp - 0x22c], eax
mov al, byte [0x438ef0]
mov byte [ebp - 0x228], al
xor edx, edx
mov eax, esi
push 0x37
pop ecx
div ecx
add dl, 0x31
xor byte [ebp + esi - 0x22c], dl
inc esi
cmp esi, 5
jl 0x40dd1d
push dword [ebp - 0x224]
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x10]
push 9
push eax
call fcn.0040dc9e
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
jmp 0x40dd5c
push 0x437f86
mov ecx, edi
call fcn.00404293
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00418fad
leave
ret
Function at 0x40fb14
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x14
mov eax, 0x42ec57
call fcn.0041992a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
xor ebx, ebx
lea eax, [ebp + 0xc]
push ebx
push 0x80
push 3
push ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x20], 0xf
push 7
cmova eax, dword [ebp + 0xc]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40fbd3
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebp - 0x1c], eax
call fcn.0041eaea
mov edi, eax
pop ecx
test edi, edi
je 0x40fb87
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40fb90
push edi
call fcn.0041eacf
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40fbd3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x40fbca
mov eax, dword [ebp - 0x20]
mov dl, byte [ebx + edi]
mov ecx, dword [eax + 4]
mov byte [ebp - 0x15], dl
cmp ecx, dword [eax + 8]
je 0x40fbb6
mov byte [ecx], dl
inc dword [eax + 4]
jmp 0x40fbc5
lea edx, [ebp - 0x15]
push edx
push ecx
mov ecx, eax
call fcn.00408a88
mov eax, dword [ebp - 0x20]
inc ebx
cmp ebx, esi
jb 0x40fba1
push edi
call fcn.0041eacf
pop ecx
mov bl, 1
lea ecx, [ebp + 0xc]
call fcn.004025e6
mov al, bl
call fcn.004198d9
ret 0x1c
Function at 0x41147a
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
push 0x164
mov eax, 0x42eea2
call fcn.0041992a
mov ebx, ecx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x118], ebx
lea edi, [ebp - 0x13c]
cmp byte [0x438fd5], 0
mov esi, str.bFVUXfVLQ:
push 0x32
mov dword [ebp - 0x118], 0x100
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
je 0x4114d4
xor ecx, ecx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x31
xor byte [ebp + ecx - 0x13c], dl
inc ecx
cmp ecx, 0xa
jl 0x4114be
push 5
pop ecx
lea edi, [ebp - 0x154]
mov esi, str.bu_bweelZPK_c
rep movsd dword es:[edi], dword [esi]
push 0x32
xor ecx, ecx
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x31
xor byte [ebp + ecx - 0x154], dl
inc ecx
cmp ecx, 0x15
jl 0x4114ea
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push 0xffff
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x154]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x4115be
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x130]
call fcn.00404293
and dword [ebp - 4], 0
lea ecx, [ebp - 0x170]
push 0x437f98
call fcn.00404293
push 0x4384d0
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 1
call fcn.00404293
lea eax, [ebp - 0x170]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x154]
lea ecx, [ebp - 0x130]
call fcn.00407040
pop ecx
lea ecx, [ebp - 0x154]
call fcn.004025e6
lea ecx, [ebp - 0x170]
call fcn.004025e6
lea eax, [ebp - 0x130]
mov ecx, ebx
push eax
call fcn.0040425a
lea ecx, [ebp - 0x130]
call fcn.004025e6
jmp 0x4115ca
push str.null
mov ecx, ebx
call fcn.00404293
mov eax, ebx
call fcn.004198d9
ret
Function at 0x411875
Capabilities:
Encode data using xor
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43f040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x18]
mov esi, ecx
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x18], esi
xor edi, edi
push eax
mov dword [ebp - 0x18], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x4118af
lea eax, [ebp - 0x14]
jmp 0x4118d8
mov eax, dword [str._G_X5]
mov dword [ebp - 0x20], eax
mov al, byte [0x438f60]
mov byte [ebp - 0x1c], al
xor edx, edx
mov eax, edi
push 0x34
pop ecx
div ecx
add dl, 0x31
xor byte [ebp + edi - 0x20], dl
inc edi
cmp edi, 5
jl 0x4118bf
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.00404293
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00418fad
leave
ret

Function at 0x411916
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push esi
push edi
mov edi, ecx
xor esi, esi
push 6
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x4119b7
movaps xmm0, xmmword [0x439a50]
lea ecx, [ebp - 0x20]
push ebx
mov ebx, 0x80000000
mov edx, ebx
movups xmmword [ebp - 0x20], xmm0
call fcn.004118f0
mov eax, dword [ebp - 0x20]
push 0x40
mov dword [ebp - 8], eax
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.0041ad40
add esp, 0xc
cmp dword [ebp - 8], ebx
jb 0x4119ab
mov edx, ebx
lea ecx, [ebp - 0x20]
call fcn.004118f0
cmp ebx, 0x80000002
jne 0x411981
lea edi, [ebp - 0x60]
jmp 0x411999
cmp ebx, 0x80000003
jne 0x41198e
lea edi, [ebp - 0x50]
jmp 0x411999
cmp ebx, 0x80000004
jne 0x4119a0
lea edi, [ebp - 0x40]
lea esi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
inc ebx
cmp ebx, dword [ebp - 8]
jbe 0x41196a
mov edi, dword [ebp - 0xc]
xor esi, esi
cmp byte [ebp - 0x60], 0
pop ebx
je 0x4119b7
lea eax, [ebp - 0x60]
jmp 0x4119e0
mov eax, dword [str.___Q5]
mov dword [ebp - 8], eax
mov al, byte [0x439098]
mov byte [ebp - 4], al
xor edx, edx
mov eax, esi
push 0x34
pop ecx
div ecx
add dl, 0x31
xor byte [ebp + esi - 8], dl
inc esi
cmp esi, 5
jl 0x4119c7
lea eax, [ebp - 8]
push eax
mov ecx, edi
call fcn.00404293
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x4119ee
Capabilities:
Encode data using xor

Disassembly:
push 0x2c
mov eax, 0x42ef54
call fcn.00419960
mov dword [ebp - 0x18], ecx
mov esi, str.DAVF
lea edi, [ebp - 0x24]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ecx, ebx
push 0x34
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x31
xor byte [ebp + ecx - 0x24], dl
inc ecx
cmp ecx, 0xb
jl 0x411a14
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x411a8f
mov esi, 0x439080
lea edi, [ebp - 0x38]
push 0x34
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ebx
div esi
add dl, 0x31
xor byte [ebp + ebx - 0x38], dl
inc ebx
cmp ebx, 0x11
jl 0x411a4a
lea eax, [ebp - 0x38]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x411a86
push dword [ebp - 0x18]
call eax
push dword [ebp - 0x14]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
jmp 0x411a92
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or eax, 0xffffffff
call fcn.004198c5
ret
Function at 0x411a9d
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x43f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
mov esi, 0x100
push edi
mov dword [ebp - 0x208], eax
xor ebx, ebx
push esi
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x104]
push ebx
push eax
call fcn.0041ad40
push esi
lea eax, [ebp - 0x204]
push ebx
push eax
call fcn.0041ad40
add esp, 0x18
mov dword [ebp - 0x208], esi
mov esi, 0x439008
lea edi, [ebp - 0x260]
push 0xb
pop ecx
rep movsd dword es:[edi], dword [esi]
push 0x34
mov ecx, ebx
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x31
xor byte [ebp + ecx - 0x260], dl
inc ecx
cmp ecx, 0x2d
jl 0x411b09
lea eax, [ebp - 0x20c]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x260]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x411bf7
lea edi, [ebp - 0x21c]
mov esi, str.a_P_UCvXW_
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp byte [0x4390cb], bl
je 0x411b77
push 0x34
mov ecx, ebx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x31
xor byte [ebp + ecx - 0x21c], dl
inc ecx
cmp ecx, 0xc
jl 0x411b61
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x104]
push eax
push ebx
push 1
lea eax, [ebp - 0x21c]
push eax
push ebx
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
mov esi, str.rGAFPXCzLSWX
lea edi, [ebp - 0x21c]
push 0x34
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x31
xor byte [ebp + ecx - 0x21c], dl
inc ecx
cmp ecx, 0xd
jl 0x411bb0
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push ebx
push 1
lea eax, [ebp - 0x21c]
push eax
push ebx
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x204]
push eax
call fcn.0041ed93
pop ecx
cmp eax, 0x4e20
jl 0x411c5f
mov esi, 0x4390b4
lea edi, [ebp - 0x22c]
push 0x34
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ebx
div esi
add dl, 0x31
xor byte [ebp + ebx - 0x22c], dl
inc ebx
cmp ebx, 0xb
jl 0x411c1e
lea ecx, [ebp - 0x104]
mov eax, dword [ecx]
lea edx, [ebp - 0x22c]
cmp eax, dword [edx]
jne 0x411c5f
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 4]
jne 0x411c5f
movzx eax, word [ecx + 8]
cmp ax, word [edx + 8]
jne 0x411c5f
mov byte [ebp - 0xfb], 0x31
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x104]
push eax
call fcn.00404293
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x220]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00418fad
leave
ret
Function at 0x411c86
Capabilities:
Encode data using xor
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc60
mov eax, dword [0x43f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xd
pop ecx
xor ebx, ebx
lea edi, [ebp - 0xc60]
mov esi, str.bu_bweewR_OQL_6
mov dword [ebp - 0xc14], ebx
rep movsd dword es:[edi], dword [esi]
push 0x34
mov dword [ebp - 0xc10], ebx
mov ecx, ebx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x31
xor byte [ebp + ecx - 0xc60], dl
inc ecx
cmp ecx, esi
jl 0x411cbf
cmp dword [0x440f54], 0xf
mov eax, 0x440f40
mov dword [ebp - 0xc0c], 0xf003f
cmova eax, dword [0x440f40]
mov dword [0x440f50], ebx
mov byte [eax], bl
lea eax, [ebp - 0xc14]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0xc60]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x411d23
xor al, al
jmp 0x411ea0
mov eax, ebx
mov dword [ebp - 0xc20], ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0xc08]
mov dword [ebp - 0xc08], 0x400
push ecx
lea ecx, [ebp - 0x404]
push ecx
push eax
push dword [ebp - 0xc14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x411e90
mov eax, dword [0x438ff4]
mov dword [ebp - 0xc1c], eax
mov ax, word [0x438ff8]
mov word [ebp - 0xc18], ax
test ah, ah
je 0x411d90
mov ecx, ebx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x31
xor byte [ebp + ecx - 0xc1c], dl
inc ecx
cmp ecx, 6
jl 0x411d7a
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0xc60]
push eax
lea eax, [ebp - 0xc1c]
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.00411842
add esp, 0x10
lea eax, [ebp - 0xc10]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x804]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x411e82
lea edi, [ebp - 0xc2c]
mov esi, str.u__DYWNvXW_bu_bweewR_OQL_6
push 0x34
mov dword [ebp - 0xc08], 0x400
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
cmp byte [0x439007], bl
je 0x411e16
mov ecx, ebx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x31
xor byte [ebp + ecx - 0xc2c], dl
inc ecx
cmp ecx, 0xc
jl 0x411e00
lea eax, [ebp - 0xc08]
push eax
lea eax, [ebp - 0xc04]
push eax
lea eax, [ebp - 0xc0c]
push eax
push ebx
lea eax, [ebp - 0xc2c]
push eax
push dword [ebp - 0xc10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x411e64
lea eax, [ebp - 0xc04]
mov edi, 0x440f40
push eax
mov ecx, edi
call fcn.00404840
push 1
push 0x437f94
mov ecx, edi
call fcn.00404497
push dword [ebp - 0xc10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc20]
inc eax
mov dword [ebp - 0xc20], eax
jmp 0x411d2b
push dword [ebp - 0xc10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x411e92
mov bl, 1
push dword [ebp - 0xc14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418fad
leave
ret
Function at 0x412eef
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
push 0x164
mov eax, 0x42f2c4
call fcn.0041992a
mov ebx, ecx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x118], ebx
lea edi, [ebp - 0x13c]
cmp byte [0x43975f], 0
mov esi, str.FS_XPBhHXNS_BPSEPZQIS_ZNZ.___._8____Q
push 0x38
mov dword [ebp - 0x118], 0x100
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
je 0x412f48
xor ecx, ecx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x31
xor byte [ebp + ecx - 0x13c], dl
inc ecx
cmp ecx, 0xc
jl 0x412f32
push 9
pop ecx
lea edi, [ebp - 0x170]
mov esi, str.bu_bweeWTRXLPm10_.__3
rep movsd dword es:[edi], dword [esi]
push 0x38
xor ecx, ecx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x31
xor byte [ebp + ecx - 0x170], dl
inc ecx
cmp ecx, 0x24
jl 0x412f5d
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push 0xffff
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x170]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x413031
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x130]
call fcn.00404293
and dword [ebp - 4], 0
lea ecx, [ebp - 0x164]
push 0x437f98
call fcn.00404293
push 0x4384d0
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 1
call fcn.00404293
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x148]
lea ecx, [ebp - 0x130]
call fcn.00407040
pop ecx
lea ecx, [ebp - 0x148]
call fcn.004025e6
lea ecx, [ebp - 0x164]
call fcn.004025e6
lea eax, [ebp - 0x130]
mov ecx, ebx
push eax
call fcn.0040425a
lea ecx, [ebp - 0x130]
call fcn.004025e6
jmp 0x41303d
push str.null
mov ecx, ebx
call fcn.00404293
mov eax, ebx
call fcn.004198d9
ret
Function at 0x413419
Capabilities:
Encode data using xor

Disassembly:
push 0x54
mov eax, 0x42f3bb
call fcn.004198f7
sub esp, 0x18
xor ebx, ebx
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x437f86
call fcn.00404293
mov esi, 0x439700
mov dword [ebp - 4], ebx
lea edi, [ebp - 0x30]
push 0x38
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
cmp byte [0x439709], bl
je 0x413468
mov ecx, ebx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x31
xor byte [ebp + ecx - 0x30], dl
inc ecx
cmp ecx, 0xa
jl 0x413455
sub esp, 0x18
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.00404293
mov byte [ebp - 4], 1
cmp byte [0x43873b], 0
mov eax, dword [0x438738]
mov dword [ebp - 0x14], eax
je 0x4134a3
mov ecx, ebx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x31
xor byte [ebp + ecx - 0x14], dl
inc ecx
cmp ecx, 4
jl 0x413490
sub esp, 0x18
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.00404293
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x441408
call fcn.00405a8f
push 0x1a
pop edx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.00405d75
mov esi, str.mpZZTXT_9
mov byte [ebp - 4], 4
lea edi, [ebp - 0x30]
push 0x38
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor edx, edx
mov eax, ebx
div ecx
add dl, 0x31
xor byte [ebp + ebx - 0x30], dl
inc ebx
cmp ebx, 9
jl 0x4134eb
sub esp, 0x18
lea eax, [ebp - 0x30]
mov esi, esp
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x24], esi
push eax
call fcn.00404840
push eax
mov ecx, esi
call fcn.0040425a
xor dl, dl
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
call fcn.00408047
add esp, 0x78
mov ecx, 0x441408
push eax
call fcn.00405adb
lea ecx, [ebp - 0x3c]
call fcn.00404303
lea ecx, [ebp - 0x48]
call fcn.0040438d
lea ecx, [ebp - 0x60]
call fcn.004025e6
call fcn.004198c5
ret
Function at 0x413554
Capabilities:
Encode data using xor

Disassembly:
push 0x64
mov eax, 0x42f405
call fcn.004198f7
sub esp, 0x18
xor ebx, ebx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x437f86
call fcn.00404293
mov dword [ebp - 4], ebx
mov eax, dword [0x438738]
push 0x38
mov dword [ebp - 0x10], eax
pop esi
cmp byte [0x43873b], bl
je 0x41359f
mov ecx, ebx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x31
xor byte [ebp + ecx - 0x10], dl
inc ecx
cmp ecx, 4
jl 0x41358c
sub esp, 0x18
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00404293
mov byte [ebp - 4], 1
cmp byte [0x43873b], 0
mov eax, dword [0x438738]
mov dword [ebp - 0x10], eax
je 0x4135da
mov ecx, ebx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x31
xor byte [ebp + ecx - 0x10], dl
inc ecx
cmp ecx, 4
jl 0x4135c7
sub esp, 0x18
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.00404293
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x4411c8
call fcn.00405a8f
push 0x1a
pop edx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.00405d75
push 7
mov byte [ebp - 4], 4
lea edi, [ebp - 0x70]
cmp byte [0x4396fd], 0
mov esi, str.mSG_X_TduUX_Q
pop ecx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
je 0x413642
push 0x38
pop ecx
xor edx, edx
mov eax, ebx
div ecx
add dl, 0x31
xor byte [ebp + ebx - 0x70], dl
inc ebx
cmp ebx, 0x1e
jl 0x41362f
sub esp, 0x18
lea eax, [ebp - 0x70]
mov esi, esp
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x20], esi
push eax
call fcn.00404840
push eax
mov ecx, esi
call fcn.0040425a
xor dl, dl
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x38]
call fcn.00408047
add esp, 0x78
mov ecx, 0x4411c8
push eax
call fcn.00405adb
lea ecx, [ebp - 0x2c]
call fcn.00404303
lea ecx, [ebp - 0x38]
call fcn.0040438d
lea ecx, [ebp - 0x50]
call fcn.004025e6
call fcn.004198c5
ret
Function at 0x413698
Capabilities:
Encode data using xor

Disassembly:
push 0x5c
mov eax, 0x42f44f
call fcn.004198f7
sub esp, 0x18
xor ebx, ebx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x437f86
call fcn.00404293
mov dword [ebp - 4], ebx
mov eax, dword [0x438738]
push 0x38
mov dword [ebp - 0x10], eax
pop esi
cmp byte [0x43873b], bl
je 0x4136e3
mov ecx, ebx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x31
xor byte [ebp + ecx - 0x10], dl
inc ecx
cmp ecx, 4
jl 0x4136d0
sub esp, 0x18
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00404293
mov byte [ebp - 4], 1
cmp byte [0x43873b], 0
mov eax, dword [0x438738]
mov dword [ebp - 0x10], eax
je 0x41371e
mov ecx, ebx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x31
xor byte [ebp + ecx - 0x10], dl
inc ecx
cmp ecx, 4
jl 0x41370b
sub esp, 0x18
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.00404293
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x441180
call fcn.00405a8f
push 0x1a
pop edx
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.00405d75
push 5
mov byte [ebp - 4], 4
lea edi, [ebp - 0x38]
cmp byte [0x43939d], 0
mov esi, str.mwK_QCDdBTXHM
pop ecx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
je 0x413786
push 0x38
pop ecx
xor edx, edx
mov eax, ebx
div ecx
add dl, 0x31
xor byte [ebp + ebx - 0x38], dl
inc ebx
cmp ebx, 0x16
jl 0x413773
sub esp, 0x18
lea eax, [ebp - 0x38]
mov esi, esp
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x20], esi
push eax
call fcn.00404840
push eax
mov ecx, esi
call fcn.0040425a
xor dl, dl
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
call fcn.00408047
add esp, 0x78
mov ecx, 0x441180
push eax
call fcn.00405adb
lea ecx, [ebp - 0x44]
call fcn.00404303
lea ecx, [ebp - 0x50]
call fcn.0040438d
lea ecx, [ebp - 0x68]
call fcn.004025e6
call fcn.004198c5
ret