joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4332c0
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4332ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.delete__s_failed__error_d
call fcn.00428660
add esp, 0xc
mov eax, 1
pop esi
pop ebp
ret
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4332e7
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x433315
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4332d2
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
pop esi
pop ebp
ret
Function at 0x433330
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ddf6
mov eax, dword fs:[0]
push eax
sub esp, 0x880
mov eax, dword [0x55a2d4]
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 + 8]
test ebx, ebx
jne 0x43336c
xor eax, eax
jmp 0x433572
cmp word [ebx], 0
je 0x433365
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433377
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
jge 0x433365
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004814e0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x520324
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4333d2
test al, 1
je 0x4333d2
and eax, 0xfffffffe
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, 0x5c
mov dword [ebp - 0x428], 0
mov word [ebp - 0x42c], ax
mov dword [ebp - 0x424], 0
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x884]
call fcn.00423990
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x433522
cmp dword [ebp - 0x424], 0
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
je 0x433481
mov eax, dword [ebp - 0x884]
shr eax, 4
and eax, 1
je 0x433481
cmp word [ebp - 0x858], 0x2e
jne 0x433481
mov ax, word [ebp - 0x856]
test ax, ax
je 0x43345c
cmp ax, 0x2e
jne 0x433481
cmp word [ebp - 0x854], 0
jne 0x433481
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x43358e
lea ecx, [ebp - 0x884]
push ecx
push eax
call edi
mov edi, eax
mov dword [ebp - 0x424], edi
jmp 0x433514
lea eax, [ebp - 0x888]
push eax
lea ecx, [ebp - 0x884]
call fcn.00423d00
cmp dword [ebp - 0x424], 0
mov byte [ebp - 4], 1
je 0x4334bc
mov eax, dword [ebp - 0x884]
shr eax, 4
and eax, 1
je 0x4334bc
mov esi, dword [ebp - 0x888]
push esi
call fcn.00433330
jmp 0x4334c8
mov esi, dword [ebp - 0x888]
push esi
call fcn.004332c0
mov eax, dword [ebp - 0x428]
add esp, 4
test eax, eax
jne 0x4334d9
xor edi, edi
jmp 0x4334f8
cmp dword [ebp - 0x424], 0
jne 0x4334e6
xor edi, edi
jmp 0x4334f8
lea ecx, [ebp - 0x884]
push ecx
push eax
call edi
mov edi, eax
mov dword [ebp - 0x424], edi
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x433514
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x433419
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x428]
mov dword [ebp - 0x424], 0
test eax, eax
je 0x433548
cmp eax, 0xffffffff
je 0x433548
push eax
call esi
mov dword [ebp - 0x428], 0
push ebx
call fcn.00432c80
mov eax, dword [ebp - 0x428]
add esp, 4
mov dword [ebp - 0x424], 0
test eax, eax
je 0x43356d
cmp eax, 0xffffffff
je 0x43356d
push eax
call esi
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.00445e3a
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x424], 0
jmp 0x433548
Function at 0x4336d0
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
mov eax, dword [0x55a2d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0
jne 0x433791
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.004814e0
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x43377b
push edi
push 0x104
lea edi, [ebx + 4]
push 0
push edi
call fcn.004814e0
add esp, 0xc
lea eax, [ebp - 0x108]
push edi
push 0
push 0x521878
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str..bat
push edi
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionA]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x80
push 4
push 0
push 7
push 0xc01200a0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebx], eax
pop edi
cmp dword [ebx], 0
jne 0x433791
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445e3a
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.004814e0
add esp, 0xc
mov dword [ebp - 0x314], 0
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x310]
push 0x207
push eax
call fcn.00405100
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.0049c8ee
or ecx, 0xffffffff
add esp, 0x1c
test eax, eax
cmovs eax, ecx
test eax, eax
js 0x4337f1
cmp eax, 0x207
ja 0x4337f1
jne 0x4337f8
mov byte [ebp - 0x109], 0
lea ecx, [ebp - 0x310]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x433801
push 0
lea eax, [ebp - 0x314]
sub ecx, edx
push eax
push ecx
lea eax, [ebp - 0x310]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00445e3a
mov esp, ebp
pop ebp
ret
Function at 0x4339f0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1318
call fcn.00445e50
mov eax, dword [0x55a2d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x800
mov dword [ebp - 0x1318], eax
lea eax, [ebp - 0x1304]
push 0
push eax
call fcn.004814e0
push 0x800
lea eax, [ebp - 0xb04]
push 0
push eax
call fcn.004814e0
add esp, 0x18
lea eax, [ebp - 0x1304]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xfe
lea eax, [ebp - 0x102]
push 0
push eax
call fcn.004814e0
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor esi, esi
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x104], ax
lea eax, [ebp - 0x1314]
push eax
movups xmmword [ebp - 0x1314], xmm0
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x200
lea eax, [ebp - 0x304]
push 0
push eax
call fcn.004814e0
movzx eax, byte [ebp - 0x1305]
push eax
movzx eax, byte [ebp - 0x1306]
push eax
movzx eax, byte [ebp - 0x1307]
push eax
movzx eax, byte [ebp - 0x1308]
push eax
movzx eax, byte [ebp - 0x1309]
push eax
movzx eax, byte [ebp - 0x130a]
push eax
movzx eax, byte [ebp - 0x130b]
push eax
movzx eax, byte [ebp - 0x130c]
push eax
movzx eax, word [ebp - 0x130e]
push eax
movzx eax, word [ebp - 0x1310]
push eax
push dword [ebp - 0x1314]
lea eax, [ebp - 0x304]
push str._08X__04X__04x__02X_02X__02X_02X_02X_02X_02X_02X
push eax
call fcn.0042de00
lea eax, [ebp - 0x304]
add esp, 0x40
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x433b20
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x304]
push eax
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.004aa4ea
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x1304]
push eax
lea eax, [ebp - 0xb04]
push eax
call edi
push str..tmp
lea eax, [ebp - 0xb04]
push 0x400
push eax
call fcn.004b004d
add esp, 0xc
lea eax, [ebp - 0xb04]
push eax
call ebx
test eax, eax
je 0x433ba5
inc esi
cmp esi, 0xa
jl 0x433a72
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445e3a
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0xb04]
lea esi, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x433bb0
mov ecx, dword [ebp - 0x1318]
lea eax, [ebp - 0xb04]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.0040b6d0
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00445e3a
mov esp, ebp
pop ebp
ret
Function at 0x433c30
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00445e50
mov eax, dword [0x55a2d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x80
push 1
push 0
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x433c8b
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445e3a
mov esp, ebp
pop ebp
ret 4
mov esi, dword [edi + 4]
test esi, esi
je 0x433d5c
mov ecx, dword [edi + 8]
test ecx, ecx
jle 0x433d5c
mov eax, ecx
cdq
and edx, 0xfff
add eax, edx
sar eax, 0xc
mov dword [ebp - 0x1010], eax
and ecx, 0x80000fff
jns 0x433cc5
dec ecx
or ecx, 0xfffff000
inc ecx
xor edi, edi
mov dword [ebp - 0x100c], ecx
mov dword [ebp - 0x1008], 0
test eax, eax
jle 0x433d2a
nop dword [eax + eax]
push 0x1000
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00480f60
add esp, 0xc
lea eax, [ebp - 0x1008]
push 0
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x433d5c
inc edi
add esi, 0x1000
cmp edi, dword [ebp - 0x1010]
jl 0x433ce0
mov ecx, dword [ebp - 0x100c]
test ecx, ecx
jle 0x433d5c
push ecx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00480f60
add esp, 0xc
lea eax, [ebp - 0x1008]
push 0
push eax
push dword [ebp - 0x100c]
lea eax, [ebp - 0x1004]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00445e3a
mov esp, ebp
pop ebp
ret 4
Function at 0x436100
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
mov eax, dword [0x55a2d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push edi
mov eax, dword [edi]
call dword [eax + 0x20]
test eax, eax
jle 0x436311
push esi
lea esi, [ebx + 0x63]
nop dword [eax]
push 0x1a0
lea eax, [ebp - 0x1a4]
push 0
push eax
call fcn.004814e0
mov eax, dword [edi]
lea ecx, [ebp - 0x1a4]
add esp, 0xc
push ecx
push ebx
push edi
call dword [eax + 0x24]
push 0
lea eax, [ebp - 0x1a4]
push eax
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x436301
lea ecx, [ebp - 0x1fc]
mov dword [ebp - 0x1fc], 0
push ecx
push dword [ebp - 8]
push 0
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov dword [ebp - 0x1f8], 0x750051
mov dword [ebp - 0x1f4], 0x630069
mov dword [ebp - 0x1f0], 0x53006b
mov dword [ebp - 0x1ec], 0x650065
mov dword [ebp - 0x1e8], 0x61004d
mov dword [ebp - 0x1e4], 0x6e0069
mov dword [ebp - 0x1e0], 0x720046
mov dword [ebp - 0x1dc], 0x6d0061
mov dword [ebp - 0x1d8], 0x430065
mov dword [ebp - 0x1d4], 0x61006c
mov dword [ebp - 0x1d0], 0x730073
mov dword [ebp - 0x1cc], 0x62002d
mov dword [ebp - 0x1c8], 0x660031
mov dword [ebp - 0x1c4], 0x380037
mov dword [ebp - 0x1c0], 0x330062
mov dword [ebp - 0x1bc], 0x630063
mov dword [ebp - 0x1b8], 0x620034
mov dword [ebp - 0x1b4], 0x370064
mov dword [ebp - 0x1b0], 0x340036
mov dword [ebp - 0x1ac], 0x63
call fcn.00408290
test eax, eax
je 0x436321
mov edx, dword [eax]
mov ecx, eax
push 2
push 0x27
call dword [edx]
test eax, eax
je 0x436335
cmp dword [eax + 8], 0x27
lea esi, [eax + 0x10]
jl 0x43632b
xor eax, eax
mov dword [esi - 0xc], 0x27
mov word [esi + 0x4e], ax
lea eax, [ebp - 0x1f8]
push 0x27
push eax
push 0x27
push esi
call fcn.00407fd0
lea eax, [ebp - 0x1a4]
push esi
push eax
call fcn.004aa4f5
add esp, 0x18
test eax, eax
sete byte [ebp - 0x1a5]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4362d4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x1a5], 0
je 0x4362e8
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x1a4]
push eax
push str.Send_msg_to__s_wnd
call fcn.00428660
add esp, 8
mov esi, 0x63
mov eax, dword [edi]
inc ebx
push edi
call dword [eax + 0x20]
cmp ebx, eax
jl 0x436130
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00445e3a
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404ae0
push 0x80070057
call fcn.00404ae0
call fcn.004050d0
int3
Function at 0x436830
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x436847
mov eax, 0x8000ffff
pop esi
mov esp, ebp
pop ebp
ret
push edi
push 0
push 0
lea edi, [esi + 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionEx]
test eax, eax
jne 0x436874
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x43686e
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x43698d
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
mov byte [edi + 0x18], 1
call ebx
mov dword [esi + 0x40], eax
test eax, eax
jne 0x4368ab
cmp byte [edi + 0x18], al
je 0x43689f
push edi
mov byte [edi + 0x18], al
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call fcn.0041c020
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
call ebx
mov edi, eax
test edi, edi
jne 0x4368e4
call fcn.0041c020
push 0x2710
mov ecx, esi
mov edi, eax
call fcn.004369c0
test eax, eax
jns 0x43698a
test edi, edi
pop ebx
cmovns edi, eax
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push edi
mov ecx, esi
call fcn.00436460
mov dword [ebp - 4], eax
test eax, eax
jns 0x436914
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x2710
mov ecx, esi
call fcn.004369c0
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
call ebx
mov ebx, eax
test ebx, ebx
je 0x4368bb
push 0
push 0
push ebx
mov ecx, esi
call fcn.00436460
mov edi, eax
test edi, edi
jns 0x436952
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x2710
mov ecx, esi
call fcn.004369c0
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x436cd0
push 0
push 0
call fcn.004aba4a
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x4368bb
push 0xffffffffffffffff
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x43698a
call fcn.0041c020
mov edi, eax
mov eax, edi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x436e00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
xor eax, eax
mov dword [ebp - 0x24], 0x750051
mov dword [ebp - 0x20], 0x630069
mov dword [ebp - 0x1c], 0x53006b
mov dword [ebp - 0x18], 0x650065
mov dword [ebp - 0x14], 0x720054
mov dword [ebp - 0x10], 0x790061
mov dword [ebp - 0xc], 0x65002e
mov dword [ebp - 8], 0x650078
mov word [ebp - 4], ax
call fcn.00408290
mov ecx, eax
test ecx, ecx
je 0x436e9e
mov eax, dword [ecx]
push 2
push 0x10
call dword [eax]
test eax, eax
je 0x436ea8
push esi
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0x10
jl 0x436e94
mov dword [eax - 0xc], 0x10
xor eax, eax
mov ecx, dword [esi]
push 0x10
mov word [ecx + 0x20], ax
lea eax, [ebp - 0x24]
push eax
push 0x10
push dword [esi]
call fcn.00407fd0
add esp, 0x10
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00404ae0
push 0x80004005
call fcn.00404ae0
call fcn.004050d0
int3
Function at 0x436eb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
xor eax, eax
mov dword [ebp - 0x2c], 0x61002f
push edi
mov dword [ebp - 0x28], 0x740075
mov dword [ebp - 0x24], 0x72006f
mov dword [ebp - 0x20], 0x6e0075
mov dword [ebp - 0x1c], 0x2d0020
mov dword [ebp - 0x18], 0x66002d
mov dword [ebp - 0x14], 0x6f0072
mov dword [ebp - 0x10], 0x3d006d
mov dword [ebp - 0xc], 0x610074
mov dword [ebp - 8], 0x6b0073
mov word [ebp - 4], ax
call fcn.00408290
mov ecx, eax
test ecx, ecx
je 0x436f5e
mov eax, dword [ecx]
push 2
push 0x14
call dword [eax]
test eax, eax
je 0x436f68
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0x14
jl 0x436f54
mov dword [eax - 0xc], 0x14
xor eax, eax
mov ecx, dword [esi]
push 0x14
mov word [ecx + 0x28], ax
lea eax, [ebp - 0x2c]
push eax
push 0x14
push dword [esi]
call fcn.00407fd0
add esp, 0x10
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00404ae0
push 0x80004005
call fcn.00404ae0
call fcn.004050d0
int3

Function at 0x4374f0
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e318
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x55a2d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x43752d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push eax
call fcn.004375c0
test eax, eax
jne 0x43754e
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
xor esi, esi
call fcn.004378c0
test al, al
je 0x43757d
lea ecx, [ebp + 8]
call fcn.00438720
push 1
push 0x521104
lea ecx, [ebp + 8]
mov dword [ebp - 4], esi
call fcn.00439260
lea ecx, [ebp + 8]
mov esi, eax
call fcn.00438a30
lea eax, [ebp - 0x10]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4375ac
push 0x521104
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x444f60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x444f8a
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 4], 0
push dword [ebp + 0x10]
movzx eax, word [ebp + 8]
mov ebx, dword [ebp + 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
jne 0x444faa
xor esi, esi
jmp 0x4450a0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x4450a0
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 8], eax
test eax, eax
jne 0x444fdb
xor esi, esi
jmp 0x4450a0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x444ff8
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
jmp 0x4450a0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x445018
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
jmp 0x4450a0
push esi
push dword [ebp + 8]
push eax
call fcn.00480f60
add esp, 0xc
mov dword [ebp + 0x10], 0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 0x10]
xor esi, esi
test eax, eax
je 0x445042
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp + 0x10]
push eax
push 0
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x44508c
mov eax, dword [ebp + 0x10]
push 0x10
mov dword [ebp + 0xc], eax
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x44508a
lea eax, [ebp + 8]
mov dword [esi], vtable.Gdiplus::Bitmap.0
push eax
push dword [ebp + 0xc]
mov dword [ebp + 8], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
jmp 0x44508c
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4450a0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi + 4], esi
test esi, esi
jne 0x4450b0
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 0xc
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x4450ca
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [edi + 4]
mov dword [edi + 8], eax
lea eax, [ebp + 0x10]
push eax
mov dword [ebp + 0x10], 0
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x4450ed
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov ecx, edi
mov dword [edi + 0xc], eax
call fcn.00444de0
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x447d10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
xor al, al
push edi
xor edi, edi
test esi, esi
je 0x447dd7
push ebx
mov ecx, dword [ebp + 8]
mov dl, byte [edi + ecx]
xor dl, al
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
xor al, 0x8c
and bl, 1
movzx edx, al
movzx eax, cl
cmove edx, eax
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
xor al, 0x8c
and bl, 1
movzx edx, al
movzx eax, cl
cmove edx, eax
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
xor al, 0x8c
and bl, 1
movzx edx, al
movzx eax, cl
cmove edx, eax
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
movzx ecx, cl
xor al, 0x8c
and bl, 1
movzx eax, al
cmove eax, ecx
inc edi
cmp edi, esi
jb 0x447d25
pop ebx
pop edi
pop esi
pop ebp
ret