joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10072f65
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1007a330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.100649ec
mov dword [ebp - 0x14], eax
cmp dword [0x10666e5c], esi
jne 0x10073058
push 0x800
push esi
push 0x1000784c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10072fe5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10073138
push esi
push esi
push 0x1000784c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10073138
push 0x10007864
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10073138
push eax
call ebx
push 0x10007870
push edi
mov dword [0x10666e5c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007880
push edi
mov dword [0x10666e60], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007894
push edi
mov dword [0x10666e64], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10666e6c], eax
test eax, eax
je 0x10073055
push 0x100078b0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10666e68], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007307d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10073070
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10073092
push 4
pop eax
jmp 0x1007313a
cmp dword [ebp - 0x14], esi
je 0x10073092
push dword [0x10666e5c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10073077
mov eax, dword [0x10666e68]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x100730f0
cmp dword [0x10666e6c], edi
je 0x100730f0
push eax
call ebx
push dword [0x10666e6c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x100730f0
test eax, eax
je 0x100730f0
call ecx
test eax, eax
je 0x100730e5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x100730e5
test byte [ebp - 8], 1
jne 0x100730f0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10073120
mov eax, dword [0x10666e60]
cmp eax, edi
je 0x1007311d
push eax
call ebx
test eax, eax
je 0x1007311d
call eax
mov esi, eax
test esi, esi
je 0x1007311d
mov eax, dword [0x10666e64]
cmp eax, edi
je 0x1007311d
push eax
call ebx
test eax, eax
je 0x1007311d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10666e5c]
call ebx
test eax, eax
je 0x10073138
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007313a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10060a52
mov esp, ebp
pop ebp
ret
Function at 0x994cdc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x994d03
call fcn.00937288
mov dword [eax], esi
call fcn.00937275
push 0x16
pop esi
mov dword [eax], esi
call fcn.00937eca
mov eax, esi
jmp 0x994d58
test dword [ebp + 0xc], 0xfffffff9
jne 0x994ce9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x994d30
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0093729b
pop ecx
call fcn.00937275
mov eax, dword [eax]
jmp 0x994d58
test al, 0x10
jne 0x994d56
test al, 1
je 0x994d56
test byte [ebp + 0xc], 2
je 0x994d56
call fcn.00937288
mov dword [eax], 5
call fcn.00937275
mov dword [eax], 0xd
jmp 0x994d27
xor eax, eax
pop esi
pop ebp
ret

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408e84
nop
nop
mov ecx, 0x307705aa
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x667e64b5
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x402c20
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fa4
call fcn.00447fc0
mov eax, dword [0x732694]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x804]
push esi
push edi
push 0x800
push 0
push eax
call fcn.00517830
push 0x800
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.00517830
add esp, 0x18
lea eax, [ebp - 0x1fa4]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ecx, 0x17
lea edi, [ebp - 0x1fa0]
mov esi, str.Program_FilesInternet_Exploreriexplore.exe
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
nop
movzx ecx, word [ebp + eax - 0x1fa4]
lea eax, [eax + 2]
mov word [ebp + eax - 0x1006], cx
test cx, cx
jne 0x402c90
lea edx, [ebp - 0x804]
mov ecx, ebx
sub edx, ebx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x402cb2
mov edx, ebx
mov esi, ebx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x402cc6
lea edi, [ebp - 0x1fa4]
sub edx, esi
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x402ce0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 1
push 0
push 0
push ebx
mov ecx, edx
and ecx, 3
push str.open
rep movsb byte es:[edi], byte [esi]
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
pop ebx
cmp eax, 0x20
ja 0x402d30
push 0
push 0
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x1004]
push eax
call fcn.004e5695
add esp, 0x10
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.00447f77
mov esp, ebp
pop ebp
ret 4

Function at 0x4031b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 0x568]
mov dword [esi], vtable.DuiLib::CCefBrowserUI.0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40320a
push 0
push dword [esi + 0x568]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x568]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x4031f8
push 0
push dword [esi + 0x568]
call dword [sym.imp.USER32.dll_SetParent]
push 0
push 0
push 0x10
push dword [esi + 0x568]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [esi + 0x578]
call fcn.0044b320
mov dword [esi], vtable.CNativeCtrl.0
mov ecx, esi
mov dword [esi + 0x568], 0
call fcn.0045ac50
test byte [ebp + 8], 1
je 0x403240
push 0x618
push esi
call fcn.00447f19
add esp, 8
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x403340
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68541b
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x732694]
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 eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x18]
push esi
mov dword [ebp - 0xb0], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x403396
xor al, al
jmp 0x4034ed
cmp dword [edi + 0x54], 0
je 0x40338f
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x58]
call eax
mov ecx, 0xa1
mov edx, 0x32
movups xmm0, xmmword [eax]
movd eax, xmm0
movups xmmword [ebp - 0xa4], xmm0
test eax, eax
cmovle eax, ecx
mov ecx, dword [ebp - 0xa0]
test ecx, ecx
mov dword [ebp - 0xa4], eax
cmovle ecx, edx
cmp dword [ebp - 0x9c], 0
mov dword [ebp - 0xa0], ecx
jg 0x4033ed
add eax, 0x350
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x98], 0
jg 0x403402
lea eax, [ecx + 0x27f]
mov dword [ebp - 0x98], eax
mov ecx, dword [edi + 0x54]
lea eax, [ebp - 0xa4]
push eax
call fcn.00450680
mov ecx, eax
call fcn.0044d3a0
push 0x84
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.00517830
movups xmm0, xmmword [ebp - 0xa4]
push ecx
mov ecx, dword [edi + 0x54]
mov eax, esp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
movups xmmword [eax], xmm0
call fcn.004514e0
mov ecx, dword [edi + 0x54]
push eax
call fcn.004514e0
push eax
push dword [ebp - 0xac]
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call fcn.004037d0
mov edi, dword [ebp - 0xb0]
mov dword [ebp - 4], 0
test edi, edi
je 0x403491
push 0x692f10
lea ecx, [ebp - 0x94]
call fcn.0044b870
push edi
lea ecx, [ebp - 0x94]
call fcn.0044b870
push 0
push 0
lea ecx, [ebp - 0x94]
call fcn.0044b550
push eax
push esi
call fcn.004e5695
add esp, 0x10
test eax, eax
jne 0x4034d5
push 0x3e8
push 1
lea ecx, [ebp - 0x94]
call fcn.0044b550
push eax
push esi
call fcn.004e5695
add esp, 0x10
mov byte [ebp - 0xa5], 0
test eax, eax
je 0x4034dc
mov byte [ebp - 0xa5], 1
lea ecx, [ebp - 0x94]
call fcn.0044b320
mov al, byte [ebp - 0xa5]
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.00447f77
mov esp, ebp
pop ebp
ret 0x14

Function at 0x403d50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x568]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
cmp byte [ebp + 8], 0
je 0x403db7
test eax, eax
jne 0x403d8e
mov ecx, dword [esi + 0x54]
push eax
push eax
push eax
push 0x692ef0
push esi
call fcn.00458b90
push dword [esi + 0x568]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x403dc9
push 0xa
push dword [esi + 0x568]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x568]
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x190]
pop esi
pop ebp
ret 4
test eax, eax
je 0x403dc9
push 0
push dword [esi + 0x568]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 4
Function at 0x406b50
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6857d1
mov eax, dword fs:[0]
push eax
sub esp, 0x108
push esi
mov eax, dword [0x732694]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0044b320
mov ecx, dword [esi + 0x54]
call fcn.004514e0
push eax
push dword [esi + 0x590]
call dword [0x73f570]
lea eax, [ebp - 0x90]
push eax
call fcn.004511e0
add esp, 0xc
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0044b550
push eax
push dword [esi + 0x590]
call dword [0x73f6a0]
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.0044b320
lea eax, [ebp - 0x90]
push eax
call fcn.004511e0
add esp, 4
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.0044b550
push eax
push dword [esi + 0x590]
call dword [0x73f698]
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.0044b320
push str.WkeBrowser
push dword [esi + 0x590]
call dword [0x73f56c]
push 1
push dword [esi + 0x590]
call dword [0x73f53c]
push 0
push dword [esi + 0x590]
call dword [0x73f54c]
push 0
push dword [esi + 0x590]
call dword [0x73f550]
lea eax, [ebp - 0x114]
push eax
call fcn.004511e0
add esp, 0x24
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.0044b550
push eax
push dword [esi + 0x590]
call dword [0x73f694]
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.0044b320
mov ecx, dword [esi + 0x54]
call fcn.004519c0
movzx eax, al
push eax
push dword [esi + 0x590]
call dword [0x73f57c]
push 0
push dword [esi + 0x590]
call dword [0x73f538]
push esi
push 0x407680
push dword [esi + 0x590]
call dword [0x73f758]
push esi
push 0x4076c0
push dword [esi + 0x590]
call dword [0x73f75c]
push esi
push 0x4075b0
push dword [esi + 0x590]
call dword [0x73f778]
push esi
push 0x407460
push dword [esi + 0x590]
call dword [0x73f77c]
add esp, 0x40
push esi
push 0x4074a0
push dword [esi + 0x590]
call dword [0x73f780]
push esi
push 0x407d80
push dword [esi + 0x590]
call dword [0x73f79c]
push esi
push 0x407510
push dword [esi + 0x590]
call dword [0x73f788]
push esi
push 0x4074d0
push dword [esi + 0x590]
call dword [0x73f78c]
push esi
push 0x407660
push dword [esi + 0x590]
call dword [0x73f764]
push esi
push 0x407420
push dword [esi + 0x590]
call dword [0x73f76c]
add esp, 0x48
push esi
push 0x407dc0
push dword [esi + 0x590]
call dword [0x73f7b8]
push esi
push 0x407d40
push dword [esi + 0x590]
call dword [0x73f794]
push str.Mozilla_5.0__Windows_NT_6.1__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_69.0.2228.0_Safari_537.36
push dword [esi + 0x590]
call dword [0x73f580]
mov eax, dword [esi + 0x56c]
lea ecx, [esi + 0x56c]
add esp, 0x20
push esi
call dword [eax]
mov ecx, dword [esi + 0x54]
lea eax, [esi + 0x568]
push eax
call fcn.0044ffa0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x407000
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x685811
mov eax, dword fs:[0]
push eax
sub esp, 0x31c
mov eax, dword [0x732694]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x73f500]
mov esi, dword [ebp + 8]
test eax, eax
je 0x407046
call eax
test eax, eax
je 0x407046
mov al, 1
jmp 0x4071e4
push 0x84
lea eax, [ebp - 0x324]
push 0
push eax
call fcn.00517830
add esp, 0xc
lea ecx, [ebp - 0x324]
push 0xffffffffffffffff
push esi
call fcn.0044b130
lea ecx, [ebp - 0x324]
mov dword [ebp - 4], 0
call fcn.0044c2f0
test al, al
je 0x407090
push 0x73fa48
lea ecx, [ebp - 0x324]
call fcn.0044b430
push 0x84
lea eax, [ebp - 0x2a0]
push 0
push eax
call fcn.00517830
add esp, 0xc
lea eax, [ebp - 0x324]
lea ecx, [ebp - 0x2a0]
push eax
call fcn.0044b0f0
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 1
call fcn.0044b550
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
jne 0x40715b
push 0x20a
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00517830
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push 0x5c
push eax
call fcn.00517c37
add esp, 8
test eax, eax
je 0x40711c
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x2a0]
call fcn.0044b460
lea ecx, [ebp - 0x324]
call fcn.0044b550
push eax
lea ecx, [ebp - 0x2a0]
call fcn.0044b870
lea ecx, [ebp - 0x2a0]
call fcn.0044b550
push eax
call esi
test eax, eax
jne 0x40715b
xor bl, bl
jmp 0x4071cc
lea ecx, [ebp - 0x2a0]
call fcn.0044b550
push 0
mov dword [section..data], eax
call fcn.00407f40
push 2
push 0
push 0x407360
push str.jsExternal
call dword [0x73f92c]
add esp, 0x14
push 0x406690
sub esp, 0x84
mov ecx, esp
mov dword [ebp - 0x328], esp
push 0xffffffffffffffff
push str.CWkeWebkitUI
call fcn.0044b130
mov byte [ebp - 4], 2
call fcn.00469240
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00469310
mov eax, dword [0x73f500]
test eax, eax
je 0x4071c7
call eax
test eax, eax
setne bl
lea ecx, [ebp - 0x2a0]
call fcn.0044b320
lea ecx, [ebp - 0x324]
call fcn.0044b320
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.00447f77
mov esp, ebp
pop ebp
ret
Function at 0x40baf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
setne al
mov ecx, 0x73facc
mov byte [esi], al
call fcn.0040cb60
cmp dword [esi + 4], 0
jne 0x40bb33
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push 0
push 0x40ad80
mov dword [esi + 8], eax
call fcn.0051f0bf
add esp, 0xc
mov dword [esi + 4], eax
pop esi
pop ebp
ret 4

Function at 0x40c870
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x732694]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dl, 1
lea eax, [esi + 0xc]
xchg byte [eax], dl
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 4]
test eax, eax
je 0x40c8d4
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40c8cd
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp - 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 4], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00447f77
mov esp, ebp
pop ebp
ret
Function at 0x415fb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x686578
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x732694]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.00447ee9
mov edi, eax
add esp, 4
test edi, edi
je 0x416054
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0044591c
add esp, 4
mov dword [edi + 4], eax
jmp 0x416056
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov ecx, dword [edi + 4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.0040d110
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov bl, al
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x4160b7
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x4160b7
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0x40], bl
jne 0x4160da
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x4160fd
cmp byte [ebp + 0xc], 0
je 0x4160e9
push esi
call fcn.00445dc2
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x416109
mov esi, str.ios_base::badbit_set
jmp 0x416119
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.0040f8c0
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.0040d670
push 0x722174
lea eax, [ebp - 0x30]
push eax
call fcn.0051690b
int3
Function at 0x41d3f0
Capabilities:
Delete registry key
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x732694]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.ole32.dll_StringFromGUID2]
lea eax, [ebp - 0x61c]
push edi
push 0x104
push eax
push 0x696054
call esi
lea eax, [ebp - 0x61c]
push eax
push str.CLSID_s
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0041ec50
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov edi, eax
add esp, 0x10
test edi, edi
js 0x41d473
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call ebx
mov edi, eax
test edi, edi
jle 0x41d468
movzx edi, di
or edi, 0x80070000
xor eax, eax
cmp edi, 0x80070002
cmove edi, eax
push str.FolderViewSampleType
push SysReAllocString
call ebx
test eax, eax
jle 0x41d48b
movzx eax, ax
or eax, 0x80070000
xor ecx, ecx
cmp eax, 0x80070002
push 0x104
cmovne ecx, eax
lea eax, [ebp - 0x414]
push eax
push 0x696044
mov dword [ebp - 0x624], ecx
call esi
lea eax, [ebp - 0x414]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerMyComputerNameSpace_s
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0041ec50
mov esi, eax
add esp, 0x10
test esi, esi
js 0x41d58a
lea eax, [ebp - 0x20c]
push eax
push reloc.gdiplus.dll_Ordinal_1
call ebx
test eax, eax
jle 0x41d4f2
movzx eax, ax
or eax, 0x80070000
xor esi, esi
cmp eax, 0x80070002
cmovne esi, eax
test esi, esi
js 0x41d58a
lea eax, [ebp - 0x414]
push eax
push str.CLSID_s
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0041ec50
mov esi, eax
add esp, 0x10
test esi, esi
js 0x41d58a
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call ebx
test eax, eax
jle 0x41d544
movzx eax, ax
or eax, 0x80070000
xor esi, esi
cmp eax, 0x80070002
cmovne esi, eax
mov ebx, esi
test ebx, ebx
js 0x41d58a
lea eax, [ebp - 0x620]
push eax
push 0x11
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x41d58a
push 0
push dword [ebp - 0x620]
push 0
push 0x1000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
push dword [ebp - 0x620]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test edi, edi
js 0x41d5ae
test esi, esi
js 0x41d5ae
cmp dword [ebp - 0x624], 0
jl 0x41d5ae
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00447f77
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x80040201
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00447f77
mov esp, ebp
pop ebp
ret
Function at 0x4244c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x424519
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x424519
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x42450a
cmp esi, edx
jae 0x424519
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x4244f8
cmp esi, edx
jae 0x424519
cmp word [esi], 0
je 0x424519
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x429df0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], 0x10
push ebx
mov ebx, dword [eax + 0x18]
push esi
lea esi, [eax + 8]
mov dword [ebp - 4], ecx
push edi
jb 0x429e13
mov esi, dword [esi]
xor edx, edx
mov edi, 0x811c9dc5
test ebx, ebx
je 0x429e31
nop
movzx ecx, byte [edx + esi]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, ebx
jb 0x429e20
mov ebx, dword [ebp - 4]
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0xc]
and ecx, edi
lea esi, [ecx*8]
mov ecx, dword [edx + esi]
add edx, esi
cmp dword [edx + 4], eax
jne 0x429e6a
cmp ecx, eax
jne 0x429e62
mov ecx, dword [ebx + 4]
mov dword [edx], ecx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
mov dword [esi + edx + 4], ecx
jmp 0x429e72
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x429e72
cmp ecx, eax
jne 0x429e72
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax + 4]
lea ecx, [ebx + 4]
mov edi, dword [eax]
push eax
mov dword [edx], edi
mov esi, dword [eax]
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
dec dword [ecx + 4]
call fcn.0042e300
mov eax, dword [ebp - 8]
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8