joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a8c0b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.004a803d
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004a7ff2
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.004a802d
xor byte [edx + 0x40], 0x8d
and byte [ebp - 0x514], 0
invalid
movsd dword es:[edi], dword [esi]
in eax, dx

Function at 0x4a8c83
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.004a803d
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004a7ff2
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.004a802d
outsb dx, byte [esi]
jns 0x4a8cca
invalid
mov eax, dword [0x10468]
add byte [ebp - 0x3337b], cl
call dword [eax - 1]
jne 0x4a8cf6
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x4a8d21
push 0xc6fffffc
test dword [edx + edi*8 - 0x7cfe0001], edi
mov ebp, 0xfffffc68
add byte [edi + edx - 0x7d], dh
mov ebp, 0xfffffc68
add byte [edi], cl
test ah, dl
add dword [eax], eax
add byte [ebx + 0xf010c7d], al
test dl, cl
add dword [eax], eax
add byte [ebx + 0xf080c7d], al
test dword [eax - 0x7fffffff], ecx
movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x398], 0
je 0x4a8eeb
cmp dword [ebp + 0xc], 1
je 0x4a8eeb
cmp dword [ebp + 0xc], 8
jne 0x4a8eb3
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
stc
invalid
inc dword [ecx]
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
invalid
inc dword [ecx]
call fcn.004a802d
sub ch, dl
invalid
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
Function at 0x4a8f42
Capabilities:
Contain obfuscated stackstrings

Disassembly:
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.004a800b
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
test dword [ebp + 0x26fffffc], ebx
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
invalid
invalid

Function at 0x4acbaa
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.0049a2fb
and dword [ebp - 4], 0
cmp dword [0x4f01e0], 0
mov ebx, eax
jne 0x4acc5b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4acd0c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4acd0c
push eax
call fcn.0049a289
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4f01e0], eax
call esi
push eax
call fcn.0049a289
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4f01e4], eax
call esi
push eax
call fcn.0049a289
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4f01e8], eax
call esi
push eax
call fcn.0049a289
pop ecx
mov dword [0x4f01f0], eax
test eax, eax
je 0x4acc5b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0049a289
pop ecx
mov dword [0x4f01ec], eax
mov eax, dword [0x4f01ec]
cmp eax, ebx
je 0x4accb3
cmp dword [0x4f01f0], ebx
je 0x4accb3
push eax
call fcn.0049a304
push dword [0x4f01f0]
mov esi, eax
call fcn.0049a304
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4accb3
test edi, edi
je 0x4accb3
call esi
test eax, eax
je 0x4accaa
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4accaa
test byte [ebp - 0xc], 1
jne 0x4accb3
or dword [ebp + 0x10], 0x200000
jmp 0x4accec
mov eax, dword [0x4f01e4]
cmp eax, ebx
je 0x4accec
push eax
call fcn.0049a304
pop ecx
test eax, eax
je 0x4accec
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4accec
mov eax, dword [0x4f01e8]
cmp eax, ebx
je 0x4accec
push eax
call fcn.0049a304
pop ecx
test eax, eax
je 0x4accec
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4f01e0]
call fcn.0049a304
pop ecx
test eax, eax
je 0x4acd0c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4acd0e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4b11a0
Capabilities:
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x4b4b28
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4e9688]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
push 0x4b0a90
push 0x4f0208
call fcn.004b0cc0
mov eax, dword [0x4f0210]
add esp, 8
test eax, eax
je 0x4b11fa
mov ecx, dword [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
add esp, 0x1c
ret
lea ecx, [esp + 4]
call fcn.00492823
mov dword [esp + 0x10], 0
mov dword [esp + 4], vtable.boost::thread_resource_error.0
lea edx, [esp + 4]
push edx
mov dword [esp + 0x20], 0
call fcn.00439330
int3

Function at 0x4b1230
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x4b4b58
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e9688]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [0x4f0210]
test eax, eax
jne 0x4b1262
xor esi, esi
jmp 0x4b126b
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov dword [esp + 0x14], esi
mov ebp, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esp + 0x20], 0
test esi, esi
je 0x4b1297
cmp dword [esi + 0x14], 0
jne 0x4b12d9
cmp dword [esi + 0x10], 0
jne 0x4b12e0
push 0
call fcn.004b11a0
add esp, 4
mov dword [esp + 0x20], 0xffffffff
test esi, esi
je 0x4b12c5
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4b12c5
mov edx, dword [esi]
mov eax, dword [edx]
push 0
mov ecx, esi
call eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
cmp dword [esi + 0x10], 0
je 0x4b1320
nop
mov ebx, dword [esi + 0x10]
mov eax, dword [ebx + 4]
mov dword [esi + 0x10], eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x4b130e
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebx]
mov edx, dword [edi]
mov eax, dword [edx]
push 0
mov ecx, edi
call eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
cmp dword [esi + 0x10], 0
jne 0x4b12e0
cmp dword [esi + 0x14], 0
je 0x4b1287
mov edi, dword [esi + 0x14]
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x14], ecx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4b1345
mov edx, dword [ecx]
mov eax, dword [edi + 0xc]
mov edx, dword [edx + 4]
push eax
call edx
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x4b1376
lea eax, [ebx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4b1376
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
lea ecx, [ebx + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4b1376
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
cmp dword [esi + 0x14], 0
jne 0x4b132a
jmp 0x4b1281
Function at 0x4b3410
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x290
mov eax, dword [0x4e9688]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push esi
push 0x80
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00497780
push 0x80
lea ebx, [esp + 0x20]
mov ecx, edi
call fcn.004b2340
lea eax, [esp + 0x1a0]
mov edx, edi
mov ecx, eax
add esp, 0x10
mov esi, 0x104
sub edx, ecx
lea esp, [esp]
lea ecx, [esi + 0x7ffffefa]
test ecx, ecx
je 0x4b347b
mov cl, byte [edx + eax]
test cl, cl
je 0x4b347b
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x4b3460
jmp 0x4b347f
test esi, esi
jne 0x4b3480
dec eax
lea edx, [esp + 0x10]
push edx
mov byte [eax], 0
push 0x104
lea eax, [esp + 0x198]
push eax
call fcn.004b2250
push 0xff
lea ecx, [esp + 0x95]
push 0
push ecx
mov dword [esp + 0x18], 1
mov byte [esp + 0x9c], 0
call fcn.00497780
add esp, 0xc
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x4c3464
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0x100
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x4b355b
mov ecx, edi
lea eax, [esp + 0x90]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b3523
test dl, dl
je 0x4b351f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b3523
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b3503
xor eax, eax
jmp 0x4b3528
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4b355b
lea eax, [esp + 0x90]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b3536
sub eax, edx
push eax
lea edx, [esp + 0x94]
push edx
push 1
push str.mid_old
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea eax, [esp + 0x190]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b3565
sub eax, edx
push eax
lea eax, [esp + 0x194]
push eax
push 1
push 0x4c3464
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov ecx, dword [esp + 0x294]
pop esi
pop ebx
xor ecx, esp
call fcn.00491281
add esp, 0x290
ret
Function at 0x421850
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c470
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x138
mov eax, dword [0x458ac0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov al, byte [0x44e4c3]
mov byte [ebp - 0x120], al
push 0x105
push 0
lea ecx, [ebp - 0x11f]
push ecx
call fcn.0043b2d0
add esp, 0xc
push 0x104
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x120]
push eax
call fcn.0043b930
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
call fcn.00421ad0
add esp, 4
cmp eax, 1
jne 0x4218e1
push 0x10000000
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
jmp 0x421967
push 0x1e
push 0
lea edx, [ebp - 0x140]
push edx
call fcn.0043b2d0
add esp, 0xc
lea eax, [ebp - 0x120]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x13c], 3
mov ecx, 0x694
mov word [ebp - 0x130], cx
mov dword [ebp - 0x144], 0xffffffff
mov dword [ebp - 4], 0
lea edx, [ebp - 0x140]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov dword [ebp - 0x144], eax
jmp 0x421954
mov dword [ebp - 4], 0xffffffff
xor eax, eax
cmp dword [ebp - 0x144], 0
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043b34a
mov esp, ebp
pop ebp
ret

Function at 0x421990
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x458ac0]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x44e4c3]
mov byte [ebp - 0x218], al
push 0x105
push 0
lea ecx, [ebp - 0x217]
push ecx
call fcn.0043b2d0
add esp, 0xc
mov dl, byte [0x44e4c3]
mov byte [ebp - 0x110], dl
push 0x105
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.0043b2d0
add esp, 0xc
push 0x104
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x218]
push edx
call fcn.0043b930
add esp, 0xc
push 0x104
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x110]
push ecx
call fcn.0043b930
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
call fcn.00421ad0
add esp, 4
cmp eax, 1
jne 0x421a39
push 0x10000000
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
jmp 0x421aa2
push 0x1e
push 0
lea eax, [ebp - 0x238]
push eax
call fcn.0043b2d0
add esp, 0xc
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x230], ecx
lea edx, [ebp - 0x110]
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x234], 4
mov eax, 0x80
mov word [ebp - 0x228], ax
movzx ecx, word [ebp - 0x228]
or ecx, 0x614
mov word [ebp - 0x228], cx
lea edx, [ebp - 0x238]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
sbb eax, eax
add eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b34a
mov esp, ebp
pop ebp
ret
Function at 0x421ad0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x458ac0]
xor eax, ebp
mov dword [ebp - 8], eax
push 0x140
push 0
lea eax, [ebp - 0x148]
push eax
call fcn.0043b2d0
add esp, 0xc
lea ecx, [ebp - 0x148]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x421b17
xor eax, eax
jmp 0x421b83
mov eax, dword [ebp - 0x148]
or eax, 0x10
cmp dword [ebp - 0x148], eax
jne 0x421b74
lea ecx, [ebp - 0x148]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
je 0x421b61
mov eax, dword [ebp - 0x148]
or eax, 0x10
cmp dword [ebp - 0x148], eax
je 0x421b5f
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, 2
jmp 0x421b83
jmp 0x421b28
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, 1
jmp 0x421b83
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, 2
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0043b34a
mov esp, ebp
pop ebp
ret

Function at 0x421ffa
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
xor edi, edi
mov esi, ecx
mov dword [ebp - 4], edi
call fcn.00421e03
mov ebx, eax
cmp ebx, edi
jbe 0x422075
cmp dword [ebp + 0xc], edi
je 0x422060
push edi
push 0x8000000
push 2
push edi
push edi
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x422075
push edi
lea ecx, [ebp + 0xc]
push ecx
push ebx
push dword [esi + 4]
mov dword [ebp + 0xc], edi
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp + 0xc], ebx
jne 0x422075
mov eax, dword [esi + 4]
cmp eax, edi
je 0x422071
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov dword [esi + 4], edi
mov al, 1
jmp 0x422077
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4222e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x14]
add edx, 4
push edx
push 0x20019
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x422380
mov dword [ebp - 8], 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x14]
add eax, 0x10
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42236b
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x18], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
jmp 0x422386
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x14]
jmp 0x422386
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
mov esp, ebp
pop ebp
ret

Function at 0x422390
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
add eax, 4
push eax
push 0
push 0x20006
push 0
push 0x44e4c3
push 0
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4223d3
jmp 0x422415
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
mov dword [ebp - 0xc], edx
push 4
mov eax, dword [ebp - 0x10]
add eax, 0x10
push eax
push 4
push 0
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x422408
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], 1
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x422a30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x18]
add eax, 4
push eax
push 0
push 0x20006
push 0
push 0x44e4c3
push 0
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x422a73
jmp 0x422acc
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0xc]
add edx, 1
push edx
mov eax, dword [ebp - 0x10]
push eax
push 1
push 0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x422abf
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x18], 1
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x424b90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c750
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x142c
call fcn.0043b360
mov eax, dword [0x458ac0]
xor eax, ebp
mov dword [ebp - 0x438], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x428], 0xedb88310
mov eax, dword [ebp - 0x428]
add eax, 0x10
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x41c], 0
mov byte [ebp - 0x421], 0
mov dword [ebp - 0x414], 0
jmp 0x424c0e
mov ecx, dword [ebp - 0x414]
add ecx, 1
mov dword [ebp - 0x414], ecx
cmp dword [ebp - 0x414], 0x100
jge 0x424c93
mov edx, dword [ebp - 0x414]
mov dword [ebp - 0x420], edx
mov dword [ebp - 0x42c], 8
jmp 0x424c41
mov eax, dword [ebp - 0x42c]
sub eax, 1
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
jle 0x424c7b
mov ecx, dword [ebp - 0x420]
and ecx, 1
je 0x424c6b
mov edx, dword [ebp - 0x420]
shr edx, 1
xor edx, dword [ebp - 0x428]
mov dword [ebp - 0x420], edx
jmp 0x424c79
mov eax, dword [ebp - 0x420]
shr eax, 1
mov dword [ebp - 0x420], eax
jmp 0x424c32
mov ecx, dword [ebp - 0x414]
mov edx, dword [ebp - 0x420]
mov dword [ebp + ecx*4 - 0x410], edx
jmp 0x424bff
mov dword [ebp - 0x418], 0xffffffff
mov dword [ebp - 4], 0
push 0
push 0x8000027
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0xffffffff
je 0x424d95
push 0
lea ecx, [ebp - 0x143c]
push ecx
push 0x1000
lea edx, [ebp - 0x1438]
push edx
mov eax, dword [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
je 0x424d95
cmp dword [ebp - 0x143c], 0
je 0x424d95
mov dword [ebp - 0x434], 0
jmp 0x424d30
mov ecx, dword [ebp - 0x434]
add ecx, 1
mov dword [ebp - 0x434], ecx
mov edx, dword [ebp - 0x434]
cmp edx, dword [ebp - 0x143c]
jae 0x424d68
mov eax, dword [ebp - 0x418]
shr eax, 8
mov ecx, dword [ebp - 0x418]
and ecx, 0xff
xor ecx, dword [ebp - 0x434]
xor eax, dword [ebp + ecx*4 - 0x410]
mov dword [ebp - 0x418], eax
jmp 0x424d21
push 0
lea edx, [ebp - 0x143c]
push edx
push 0x1000
lea eax, [ebp - 0x1438]
push eax
mov ecx, dword [ebp - 0x41c]
push ecx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov dword [ebp - 0x430], eax
jmp 0x424cfb
jmp 0x424da4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x41c], 0
je 0x424dc1
mov edx, dword [ebp - 0x41c]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x418]
not eax
mov dword [ebp - 0x418], eax
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0x418]
jne 0x424de1
mov byte [ebp - 0x421], 1
mov al, byte [ebp - 0x421]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x438]
xor ecx, ebp
call fcn.0043b34a
mov esp, ebp
pop ebp
ret
Function at 0x42a2ee
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push esi
push dword [ebp + 8]
xor ebx, ebx
xor esi, esi
inc ebx
mov byte [ebp - 0x80], 0x30
mov dword [ebp - 0x7c], esi
mov byte [ebp - 0x78], 0x31
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x70], 0x32
mov dword [ebp - 0x6c], 2
mov byte [ebp - 0x68], 0x33
mov dword [ebp - 0x64], 3
mov byte [ebp - 0x60], 0x34
mov dword [ebp - 0x5c], 4
mov byte [ebp - 0x58], 0x35
mov dword [ebp - 0x54], 5
mov byte [ebp - 0x50], 0x36
mov dword [ebp - 0x4c], 6
mov byte [ebp - 0x48], 0x37
mov dword [ebp - 0x44], 7
mov byte [ebp - 0x40], 0x38
mov dword [ebp - 0x3c], 8
mov byte [ebp - 0x38], 0x39
mov dword [ebp - 0x34], 9
mov byte [ebp - 0x30], 0x41
mov dword [ebp - 0x2c], 0xa
mov byte [ebp - 0x28], 0x42
mov dword [ebp - 0x24], 0xb
mov byte [ebp - 0x20], 0x43
mov dword [ebp - 0x1c], 0xc
mov byte [ebp - 0x18], 0x44
mov dword [ebp - 0x14], 0xd
mov byte [ebp - 0x10], 0x45
mov dword [ebp - 0xc], 0xe
mov byte [ebp - 8], 0x46
mov dword [ebp - 4], 0xf
call fcn.0043e2c4
push eax
call fcn.0043e25f
cmp byte [eax], 0x30
pop ecx
pop ecx
mov edx, eax
jne 0x42a3c6
cmp byte [eax + 1], 0x58
jne 0x42a3c6
lea edx, [eax + 2]
mov cl, byte [edx]
test cl, cl
je 0x42a3f2
push edi
xor edi, edi
cmp cl, byte [ebp + edi*8 - 0x80]
je 0x42a3dd
inc edi
cmp edi, 0x10
jl 0x42a3cf
jmp 0x42a3f1
test bl, bl
jne 0x42a3e4
shl esi, 4
or esi, dword [ebp + edi*8 - 0x7c]
inc edx
mov cl, byte [edx]
xor bl, bl
test cl, cl
jne 0x42a3cd
pop edi
push eax
call fcn.0043bbdf
pop ecx
mov eax, esi
pop esi
pop ebx
leave
ret