joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4116c2
Capabilities:
Enumerate process modules

Disassembly:
push 0x428
mov eax, 0x466163
call fcn.0044600b
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x430], edi
mov dword [ebp - 0x42c], edi
mov dword [ebp - 4], edi
push dword [eax]
push 1
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
cmp ebx, edi
mov dword [ebp - 0x42c], ebx
jne 0x411712
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.00446055
ret
lea eax, [ebp - 0x434]
push eax
push 4
lea eax, [ebp - 0x430]
push eax
push ebx
call sub.PSAPI.DLL_EnumProcessModules
cmp eax, edi
jne 0x41173f
or dword [ebp - 4], 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x42c], edi
jmp 0x41170a
mov esi, 0x104
push esi
lea eax, [ebp - 0x428]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, edi
je 0x41172c
push esi
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x430]
push ebx
call sub.PSAPI.DLL_GetModuleFileNameExW
cmp eax, edi
je 0x41172c
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x428]
push eax
call esi
test eax, eax
je 0x41172c
push edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x220]
push eax
mov word [ebp - 0x18], di
mov word [ebp - 0x16], di
mov word [ebp - 0x14], di
mov word [ebp - 0x12], di
call fcn.0041d13e
add esp, 0xc
cmp word [ebp - 0x18], di
jne 0x4117df
cmp word [ebp - 0x16], di
jne 0x4117df
cmp word [ebp - 0x14], di
jne 0x4117df
cmp word [ebp - 0x12], di
jne 0x4117df
xor esi, esi
or dword [ebp - 4], 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x42c], edi
mov eax, esi
jmp 0x41170c
cmp word [ebp - 0x12], 0x64
jb 0x4117ec
add word [ebp - 0x12], 0xff9c
push 3
pop ecx
cmp word [ebp - 0x18], cx
jae 0x4117fa
xor esi, esi
inc esi
jmp 0x4117c7
ja 0x4117c5
cmp word [ebp - 0x16], 4
jb 0x4117f5
ja 0x4117c5
cmp word [ebp - 0x14], cx
jb 0x4117f5
ja 0x4117c5
movzx eax, word [ebp - 0x12]
cmp eax, ecx
jl 0x4117f5
jg 0x4117c5
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x428]
push eax
call esi
test eax, eax
je 0x4117c5
jmp 0x4117f5

Function at 0x411b71
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x411bc7
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
mov ebx, ecx
jne 0x411bdd
push 0x80004005
call fcn.0040106a
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x411be0
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8
Function at 0x413e52
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x489190]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 4
mov eax, 0x466598
call fcn.00445fa2
xor edi, edi
push 0x206
lea eax, [ebp + 2]
push edi
push eax
mov esi, ecx
mov word [ebp], di
call fcn.004456a0
add esp, 0xc
push 0x208
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.00413e2c
mov dword [ebp - 4], edi
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x44]
push eax
call fcn.00408f06
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403f26
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.00413e2c
mov dword [ebp - 4], 1
lea eax, [ebp - 0x10]
lea ebx, [esi + 0x40]
push eax
mov ecx, ebx
call fcn.00408f06
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403f26
mov ecx, ebx
call fcn.00413dc6
push str.urlcore.dat
mov ecx, ebx
call fcn.00413d82
push 1
push 0x1a
lea eax, [ebp]
push eax
push edi
mov word [ebp], di
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, edi
je 0x414006
push str.Spiritsofturlspirit
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x413f4b
push edi
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.00413e2c
mov dword [ebp - 4], 2
lea eax, [ebp - 0x10]
lea edi, [esi + 0x3c]
push eax
mov ecx, edi
call fcn.00408f06
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403f26
push str.product.dat
mov ecx, edi
call fcn.00413d82
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.00413e2c
mov dword [ebp - 4], 3
lea eax, [ebp - 0x10]
lea ebx, [esi + 0x48]
push eax
mov ecx, ebx
call fcn.00408f06
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403f26
push str.bd.dat
mov ecx, ebx
call fcn.00413d82
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.00413e2c
mov dword [ebp - 4], 4
lea eax, [ebp - 0x10]
lea ebx, [esi + 0x4c]
push eax
mov ecx, ebx
call fcn.00408f06
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403f26
push str.tcfg.dat
mov ecx, ebx
call fcn.00413d82
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x24], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00445f93
add ebp, 0x20c
leave
ret

Function at 0x415e84
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, ecx
push 2
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
push 1
push dword [esi + 4]
call edi
push 1
push eax
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x415f90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
lea esi, [ecx + 4]
push dword [esi]
mov dword [ebp - 4], ecx
call edi
push eax
mov ecx, esi
call fcn.00401c70
push dword [esi]
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
push edi
push edi
push 0x7f
push eax
call ebx
push eax
push edi
push 0x80
push dword [esi]
call ebx
push edi
push 0x3e8
push 1
push dword [esi]
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 4]
push edi
call fcn.00415f39
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp - 4]
mov dword [ebp - 8], edi
push 0x415f11
push edi
push edi
call fcn.00445a10
add esp, 0x18
cmp eax, edi
pop edi
pop esi
pop ebx
jne 0x416012
mov ecx, dword [ebp - 4]
call fcn.00415e84
jmp 0x416019
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
leave
ret 0x10
Function at 0x416e3e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x416e49
xor eax, eax
ret
mov eax, dword [esp + 0xc]
cmp eax, 8
push ebx
push esi
mov esi, dword [esp + 0xc]
not esi
mov edx, 0xff
jl 0x416f08
push edi
mov edi, eax
shr edi, 3
mov ebx, edi
imul ebx, ebx, 0xfffffff8
add eax, ebx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x46f450]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x46f450]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x46f450]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x46f450]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x46f450]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x46f450]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x46f450]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x46f450]
inc ecx
dec edi
jne 0x416e70
pop edi
test eax, eax
je 0x416f21
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x46f450]
inc ecx
dec eax
jne 0x416f0c
mov eax, esi
pop esi
not eax
pop ebx
ret
Function at 0x4173f4
Capabilities:
Parse url

Disassembly:
push ebp
lea ebp, [esp - 0x140c]
mov eax, 0x148c
call fcn.00446480
mov eax, dword [0x489190]
xor eax, ebp
mov dword [ebp + 0x1408], eax
mov eax, dword [ebp + 0x141c]
push ebx
mov ebx, dword [ebp + 0x1418]
push esi
push edi
mov edi, dword [ebp + 0x1414]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1420]
xor esi, esi
push 0x3fe
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0xfca]
push esi
push eax
mov word [ebp + 0xfc8], si
call fcn.004456a0
push 0x3e
lea eax, [ebp + 0x13ca]
push esi
push eax
mov word [ebp + 0x13c8], si
call fcn.004456a0
push 0x1000
lea eax, [ebp - 0x3a]
push esi
push eax
mov word [ebp - 0x3c], si
call fcn.004456a0
push 0x38
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.004456a0
lea eax, [ebp + 0xfc8]
mov dword [ebp - 0x70], eax
lea eax, [ebp + 0x13c8]
mov dword [ebp - 0x7c], eax
add esp, 0x30
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push edi
mov dword [ebp - 0x80], 0x3c
mov dword [ebp - 0x6c], 0x200
mov dword [ebp - 0x78], 0x20
mov dword [ebp - 0x50], 0x800
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4174ef
push dword [ebp + 0x1424]
lea eax, [ebp - 0x3c]
push dword [ebp - 0x68]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push ebx
push eax
lea eax, [ebp + 0xfc8]
push eax
call fcn.0041739c
add esp, 0x1c
mov ecx, dword [ebp + 0x1408]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00445f93
add ebp, 0x140c
leave
ret
Function at 0x4175ba
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x3ac]
sub esp, 0x42c
mov eax, dword [0x489190]
xor eax, ebp
mov dword [ebp + 0x3a8], eax
mov eax, dword [ebp + 0x3b4]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x3b8]
mov esi, 0x206
xor ebx, ebx
push esi
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x66]
push ebx
push eax
mov dword [ebp - 0x80], edi
mov word [ebp - 0x68], bx
call fcn.004456a0
push esi
lea eax, [ebp + 0x1a2]
push ebx
push eax
mov word [ebp + 0x1a0], bx
call fcn.004456a0
add esp, 0x18
lea eax, [ebp - 0x68]
push eax
push 1
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.Spiritsofturlspirit
lea eax, [ebp - 0x68]
push eax
call esi
push str.product.dat
lea eax, [ebp - 0x68]
push eax
call esi
lea eax, [ebp - 0x68]
push eax
push 0x104
lea eax, [ebp + 0x1a0]
push eax
push 0x46d1ac
mov esi, 0x46f94c
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp edi, ebx
je 0x41766c
mov dword [edi], ebx
lea eax, [ebp + 0x1a0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x20
je 0x4176fc
xor eax, eax
mov dword [ebp - 0x78], ebx
lea edi, [ebp - 0x74]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
movzx eax, byte [ebp - 0x69]
push eax
movzx eax, byte [ebp - 0x6a]
push eax
movzx eax, byte [ebp - 0x6b]
push eax
movzx eax, byte [ebp - 0x6c]
push eax
movzx eax, byte [ebp - 0x6d]
push eax
movzx eax, byte [ebp - 0x6e]
push eax
movzx eax, byte [ebp - 0x6f]
push eax
movzx eax, byte [ebp - 0x70]
push eax
movzx eax, word [ebp - 0x72]
push eax
movzx eax, word [ebp - 0x74]
push eax
push dword [ebp - 0x78]
lea eax, [ebp + 0x1a0]
push str._08x_04x_04x_02x_02x_02x_02x_02x_02x_02x_02x
push eax
call fcn.00402295
add esp, 0x34
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x1a0]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [ebp - 0x80]
cmp eax, ebx
je 0x4176fc
mov dword [eax], 1
push 0x10
lea eax, [ebp + 0x1d0]
push ebx
push eax
call fcn.00448f05
mov esi, eax
mov word [ebp + 0x1d0], bx
call fcn.00417507
add eax, esi
push eax
lea eax, [ebp + 0x1a0]
push eax
push str._s_08x
push dword [ebp - 0x7c]
call fcn.0040907a
mov ecx, dword [ebp + 0x3a8]
add esp, 0x1c
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00445f93
add ebp, 0x3ac
leave
ret
Function at 0x417881
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x14]
cmp esi, 0xa
ja 0x417931
xor ebx, ebx
xor eax, eax
cmp esi, ebx
jle 0x4178a2
cmp dword [ebp + 0x10], ebx
setne al
jmp 0x4178a8
cmp dword [ebp + 0x10], ebx
sete al
cmp eax, ebx
je 0x417931
xor ecx, ecx
push 4
pop edx
lea eax, [esi + 3]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004451bd
cmp eax, ebx
pop ecx
je 0x417931
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
xor ecx, ecx
cmp esi, ebx
mov dword [eax + 8], esi
jle 0x4178f5
lea edx, [eax + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov edi, dword [edi + ecx*4]
mov dword [edx], edi
inc ecx
add edx, 4
cmp ecx, esi
jl 0x4178e4
pop edi
cmp byte [ebp + 0x18], bl
je 0x417903
push eax
call fcn.0041774b
pop ecx
jmp 0x417933
lea ecx, [ebp + 0x14]
push ecx
push ebx
push eax
push 0x417871
push ebx
push ebx
mov dword [ebp + 0x14], ebx
call fcn.00445a10
mov esi, eax
add esp, 0x18
cmp esi, ebx
je 0x417928
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp esi, ebx
setne al
jmp 0x417933
xor eax, eax
pop esi
pop ebx
pop ebp
ret

Function at 0x41d13e
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x41d20c
and dword [ebp - 0x10], 0
and dword [ebp - 4], 0
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebp - 0xc], eax
je 0x41d20c
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x41d1f9
push esi
push edi
push dword [ebp - 8]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41d1f9
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push 0x46fe88
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41d1f9
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
je 0x41d1da
mov dx, word [eax + 0xa]
mov word [ecx], dx
mov dx, word [eax + 8]
mov word [ecx + 2], dx
mov dx, word [eax + 0xe]
mov word [ecx + 4], dx
mov ax, word [eax + 0xc]
jmp 0x41d1f5
mov dx, word [eax + 0x12]
mov word [ecx], dx
mov dx, word [eax + 0x10]
mov word [ecx + 2], dx
mov dx, word [eax + 0x16]
mov word [ecx + 4], dx
mov ax, word [eax + 0x14]
mov word [ecx + 6], ax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
pop edi
leave
ret
Function at 0x41d215
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push 0x24
mov eax, 0x4675b5
call fcn.00445fd5
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
cmp dword [edi], esi
je 0x41d24a
mov dword [ebp - 0x20], 1
push 0x47f794
lea eax, [ebp - 0x20]
push eax
call fcn.0044553c
lea eax, [ebp - 0x18]
push eax
push 0x46fe9c
push 1
push esi
push 0x46fe8c
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jge 0x41d276
mov dword [ebp - 0x24], 2
push 0x47f794
lea eax, [ebp - 0x24]
jmp 0x41d244
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0x1c]
cmp eax, esi
jge 0x41d298
mov dword [ebp - 0x28], 3
push 0x47f794
lea eax, [ebp - 0x28]
jmp 0x41d244
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x1c]
cmp eax, esi
jge 0x41d2b7
mov dword [ebp - 0x2c], 4
push 0x47f794
lea eax, [ebp - 0x2c]
jmp 0x41d244
or dword [ebp - 4], 0xffffffff
jmp 0x41d2cf
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x41d2dc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
cmp eax, esi
je 0x41d2e9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
call fcn.00446041
ret

Function at 0x41d832
Capabilities:
Delete file
Get file size

Disassembly:
push 0x94
mov eax, 0x467621
call fcn.00445fa2
push 0x104
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
push 0x46fed0
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push dword [ebp + 8]
lea ecx, [ebp - 0xa0]
call fcn.0041d812
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [eax]
push 0x46fecc
push eax
call fcn.0045f550
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x9c]
cmp dword [ebp - 0xa0], eax
je 0x41d8a3
push dword [ebp - 0xa0]
call fcn.004454ae
pop ecx
cmp dword [ebp - 0x14], esi
jne 0x41d8af
xor al, al
jmp 0x41d953
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 2
mov ebx, 0x80
mov edi, SysReAllocString
jmp 0x41d90c
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea ecx, [eax - 1]
cmp ecx, 0x1fffff
mov dword [ebp - 0x18], eax
ja 0x41d922
push eax
call fcn.004453eb
cmp eax, esi
pop ecx
mov dword [ebp - 0x1c], eax
je 0x41d922
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
push eax
call fcn.0041d7c2
test eax, eax
jne 0x41d922
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call fcn.0045f0c0
add esp, 0xc
push esi
push esi
push ebx
push 3
push esi
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.004026fe
test eax, eax
je 0x41d8c5
push dword [ebp - 0x14]
call fcn.0045f270
cmp dword [ebp - 0x10], esi
pop ecx
je 0x41d93c
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004027b9
mov al, 1
call fcn.00446041
ret
Function at 0x41dd75
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x11c
lea ebp, [esp - 4]
mov eax, dword [0x489190]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push 0x1c
mov eax, 0x467693
call fcn.00445fa2
mov esi, ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x20], esi
call fcn.00403574
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x118
lea eax, [ebp + 4]
push ebx
push eax
mov dword [ebp], 0x11c
call fcn.004456a0
add esp, 0xc
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
call fcn.00403574
mov byte [ebp - 4], 1
lea eax, [ebp]
push eax
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x28], 0x208
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp eax, ebx
je 0x41dedd
cmp dword [ebp + 4], 6
movzx eax, byte [ebp + 0x11a]
mov dword [ebp - 0x1c], eax
jb 0x41de3d
push str.GetProductInfo
push 0x47001c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x41de3d
lea ecx, [ebp - 0x1c]
push ecx
movzx ecx, word [ebp + 0x116]
push ecx
movzx ecx, word [ebp + 0x114]
push ecx
push dword [ebp + 8]
push dword [ebp + 4]
call eax
push dword [ebp - 0x1c]
movzx eax, word [ebp + 0x114]
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push dword [ebp + 4]
push str.Win:_d._d._d._d._X_n
push eax
call fcn.0040907a
add esp, 0x1c
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.00408fc5
lea eax, [ebp - 0x14]
push eax
push 1
push ebx
push str.SoftwareMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x41dedd
push 0x105
lea ecx, [ebp - 0x18]
call fcn.00404ab9
lea ecx, [ebp - 0x28]
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push str.Version
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.00402e08
cmp esi, ebx
jne 0x41dedd
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push str.IE:_s_n
push eax
call fcn.0040907a
mov ecx, dword [ebp - 0x20]
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
call fcn.00408fc5
cmp dword [ebp - 0x14], ebx
je 0x41deee
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.0040359a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040359a
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x11c]
xor ecx, ebp
call fcn.00445f93
add ebp, 0x120
leave
ret
Function at 0x41e613
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x489190]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push ebx
push esi
push edi
xor edi, edi
push 0x206
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x72]
push edi
push eax
mov word [ebp - 0x74], di
call fcn.004456a0
add esp, 0xc
push edi
push 0x1a
lea eax, [ebp - 0x74]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.Spiritsofturlspirit
lea eax, [ebp - 0x74]
push eax
call esi
push str.dump
lea eax, [ebp - 0x74]
push eax
call esi
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41e695
push edi
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.crash_
lea eax, [ebp - 0x74]
push eax
call esi
mov ebx, 0x48ae70
push ebx
lea eax, [ebp - 0x74]
push eax
call esi
lea eax, [ebp - 0x7c]
push eax
call fcn.0041d7fc
lea ecx, [ebp - 0x7c]
call fcn.0041d6e6
push eax
lea ecx, [ebp - 0x7c]
call fcn.0041d6ca
push eax
lea ecx, [ebp - 0x7c]
call fcn.0041d6ae
push eax
lea ecx, [ebp - 0x7c]
call fcn.0041d693
push eax
lea ecx, [ebp - 0x7c]
call fcn.0041d677
push eax
lea ecx, [ebp - 0x7c]
call fcn.0041d657
push eax
push str.__04d__02d__02d__02d__02d__02d
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp + eax*2 - 0x74]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
push str..dmp
lea eax, [ebp - 0x74]
push eax
call esi
push ebx
push str.taskworkergj.exe
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x41e746
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
xor edx, edx
mov ecx, 0x1f4
div ecx
cmp edx, 3
jne 0x41e7ab
push edi
push 0x80000080
push 2
push edi
push edi
push 0x40000000
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41e78d
cmp dword [0x48ae60], edi
je 0x41e78d
mov esi, dword [ebp - 0x80]
push esi
push ebx
call fcn.0041d741
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x74]
push eax
call fcn.0041e15f
pop ecx
jmp 0x41e790
mov esi, dword [ebp - 0x80]
cmp esi, edi
je 0x41e7ab
cmp dword [0x48ae58], edi
je 0x41e7ab
mov edx, dword [esi + 4]
mov ecx, dword [esi]
lea eax, [ebp - 0x74]
push eax
call fcn.0041e3c5
pop ecx
mov ecx, dword [ebp + 0x194]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00445f93
add ebp, 0x198
leave
ret 4