joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4148c0
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f6a80
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5466b0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [0x54d210]
mov edx, dword [eax + 0xc]
mov ecx, 0x54d210
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x30]
push eax
push str.SOFTWARE360SoftMgrmessage
push 0x50f944
lea edi, [esp + 0x20]
call fcn.00404c10
mov edx, dword [0x54d210]
mov eax, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x54d210
mov dword [esp + 0x10], 0
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
mov ebx, 1
push str._s_clk__d
lea edi, [esp + 0x3c]
mov byte [esp + 0x34], bl
call fcn.00404c10
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
push esi
push edi
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x41499d
add dword [esp + 0x10], ebx
jmp 0x4149a1
mov dword [esp + 0x10], ebx
push esi
lea ebx, [esp + 0x14]
mov eax, edi
call fcn.0040fdb0
add esp, 4
or edx, 0xffffffff
test eax, eax
lea eax, [esi - 0x10]
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
jne 0x414a13
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4149d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4149f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0xc
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414a26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414a4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0xc
Function at 0x414d50
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ff978
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5466b0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [esp + 0x54]
xor ebx, ebx
push ebx
push 0x80
push 4
push ebx
push 5
push 0xc0000000
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x18], esi
cmp esi, 0xffffffff
je 0x414f00
lea ecx, [esp + 0x1c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x414ef9
cmp dword [esp + 0x20], ebx
jl 0x414ef9
mov eax, dword [esp + 0x1c]
jg 0x414dd1
cmp eax, ebx
jbe 0x414ef9
inc eax
push 0x54cfe0
push eax
call fcn.004cc21d
mov ebp, eax
add esp, 8
cmp ebp, ebx
je 0x414ef9
mov eax, dword [esp + 0x1c]
push ebx
lea edx, [esp + 0x18]
push edx
push eax
push ebp
push esi
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x414ef0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
mov byte [ecx + ebp], bl
call fcn.00417860
push str.decrypt
mov dword [esp + 0x4c], ebx
call fcn.00401f50
mov edx, str.MultiTip
mov ecx, eax
call fcn.00401fd0
add esp, 4
lea eax, [esp + 0x28]
push 0x548888
push eax
mov ecx, ebp
call fcn.00476848
add esp, 8
push 0x516644
mov esi, eax
call fcn.00401f50
mov edx, str.MultiTip
mov ecx, eax
call fcn.00401fd0
add esp, 4
cmp esi, ebx
je 0x414e71
push str.Decrypt_Faild
jmp 0x414ecf
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
je 0x414ee3
mov byte [esp + 0x54], bl
lea ebx, [esp + 0x54]
lea edi, [esp + 0x28]
call fcn.00417a60
push 0x516678
call fcn.00401f50
mov edx, str.MultiTip
mov ecx, eax
call fcn.00401fd0
mov edx, dword [esp + 0x3c]
add esp, 4
sub edx, dword [esp + 0x34]
jne 0x414eb4
call fcn.004cb4f7
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [eax + 0xc]
add ecx, 0x30
push edx
call eax
mov edi, eax
push str.exec_end
call fcn.00401f50
mov edx, str.MultiTip
mov ecx, eax
call fcn.00401fd0
add esp, 4
lea esi, [esp + 0x28]
call fcn.00417930
mov esi, dword [esp + 0x18]
push ebp
call fcn.004cc1ec
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 8
Function at 0x415960
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f8408
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5466b0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x54d210]
mov edx, dword [eax + 0xc]
mov ecx, 0x54d210
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], 0
mov eax, dword [esi + 0x1e0]
mov edx, dword [esi + 0x1c]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
push str.typemessagemsgtype_spopid_sact_dstatus_sid_sdetail_sc_s
lea edi, [esp + 0x2c]
call fcn.00404c10
mov edi, dword [esp + 0x2c]
add esp, 0x20
push edi
add esi, 0x16c
call fcn.0040b6a0
lea eax, [edi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415a0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x14
Function at 0x41a2f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360Safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a37b
lea ecx, [esp + 4]
push ecx
push esi
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [esp + 0x10]
push str.Path
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a355
sub eax, edx
sar eax, 1
je 0x41a37d
cmp word [esi + eax*2 - 2], 0x5c
je 0x41a37d
mov edx, 0x5c
mov word [esi + eax*2], dx
add esp, 0xc
ret
xor eax, eax
add esp, 0xc
ret

Function at 0x41a590
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
cmp dword [ebp + 8], 0xac
push ebx
push edi
jne 0x41a6e1
xor edi, edi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edi
cmp dword [esi + 0x3c], edi
je 0x41a5fd
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 8
call dword [sym.imp.USER32.dll_GetLastInputInfo]
cmp dword [esi + 0x38], edi
je 0x41a5fd
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp eax, dword [esi + 0x34]
jl 0x41a6e1
jg 0x41a5e9
cmp ecx, dword [esi + 0x30]
jbe 0x41a6e1
mov dword [esi + 0x38], edi
or eax, 0xffffffff
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x24]
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x41a5ec
mov ecx, dword [esi + 0x30]
and ecx, dword [esi + 0x34]
cmp ecx, 0xffffffff
jne 0x41a64f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [esi + 0x34]
mov ecx, eax
mov eax, dword [esi + 0x30]
sub ecx, eax
mov eax, dword [esi + 0x28]
cdq
sbb edi, ebx
cmp edi, edx
jl 0x41a6e1
jg 0x41a66f
cmp ecx, eax
jbe 0x41a6e1
cmp dword [esi + 0x3c], 0
je 0x41a6bf
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp eax, ebx
jl 0x41a6b0
jg 0x41a686
cmp ecx, dword [esi + 0x30]
jbe 0x41a6b0
mov edx, dword [esi + 0x24]
push 0
push 0
push 0x8098
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esi + 4]
push 0xac
push eax
call dword [sym.imp.USER32.dll_KillTimer]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [esi + 0x38], 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x24]
push 0
push 0
push 0x8098
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [esi + 4]
push 0xac
push edx
call dword [sym.imp.USER32.dll_KillTimer]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41a7a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4fc870
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push edi
mov eax, dword [0x5466b0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
call fcn.004085e0
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x24], 0
call fcn.00417170
mov edi, dword [esp + 0x28]
add edi, 4
lea ebx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.0042a100
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a825
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a845
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x18
ret 8
Function at 0x41b1e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4fc841
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5466b0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
mov eax, esi
call fcn.00430ff0
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor edi, edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], eax
mov dword [esp + 0x20], edi
mov dword [esi + 0x50], vtable.WTL::CMessageFilter.0
mov ebx, 1
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], vtable.CObjUI.0
mov dword [esi + 0x5c], ebx
mov byte [esp + 0x20], bl
lea ebp, [esi + 0x64]
mov ecx, ebx
mov dword [esi + 0x60], vtable.varobject.0
mov dword [esp + 0x14], ebp
call fcn.004012a0
cmp eax, edi
je 0x41b264
mov dword [eax], ebp
jmp 0x41b266
xor eax, eax
mov dword [ebp], eax
mov byte [esp + 0x20], 2
call fcn.00462ac4
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], edi
mov dword [esi], vtable.CMsgTipWnd.0
mov dword [esi + 0x2c], vtable.CMsgTipWnd.1.0
mov dword [esi + 0x50], vtable.CMsgTipWnd.2.0
mov dword [esi + 0x54], vtable.CMsgTipWnd.3.0
mov dword [esi + 0x60], vtable.CMsgTipWnd.4.0
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov byte [esp + 0x20], 6
mov edx, dword [0x54d210]
mov eax, dword [edx + 0xc]
mov ecx, 0x54d210
call eax
add eax, 0x10
mov dword [esi + 0x8c], eax
lea eax, [esi + 0x90]
push eax
mov byte [esp + 0x24], 7
call fcn.0042bc70
lea eax, [esi + 0xb0]
push eax
mov byte [esp + 0x24], 8
call fcn.0042b760
lea eax, [esi + 0xd0]
push eax
mov byte [esp + 0x24], 9
call fcn.0042bc70
lea eax, [esi + 0xf0]
push eax
mov byte [esp + 0x24], 0xa
call fcn.0042bc70
lea eax, [esi + 0x110]
push eax
mov byte [esp + 0x24], 0xb
call fcn.0042bc70
mov dword [esi + 0x130], edi
mov byte [esp + 0x20], 0xd
mov dword [esi + 0x134], 0x1e
mov dword [esi + 0x138], edi
mov dword [esi + 0x13c], edi
mov dword [esi + 0x140], edi
mov dword [esi + 0x144], edi
mov dword [esi + 0x148], edi
mov edx, dword [0x54d210]
mov eax, dword [edx + 0xc]
mov ecx, 0x54d210
call eax
add eax, 0x10
mov dword [esi + 0x14c], eax
lea eax, [esi + 0x150]
push eax
mov byte [esp + 0x24], 0xe
call fcn.0042bc70
lea eax, [esi + 0x178]
push eax
mov byte [esp + 0x24], 0xf
call fcn.0042bfd0
lea eax, [esi + 0x198]
push eax
mov byte [esp + 0x24], 0x10
call fcn.0042bfd0
mov byte [esp + 0x20], 0x11
fldz
lea ecx, [esi + 0x1d0]
fstp qword [esi + 0x1c8]
push ecx
mov dword [esi + 0x1b8], edi
mov dword [esi + 0x1bc], 0xffffffff
mov dword [esi + 0x1c0], 0xa
call fcn.0042bc70
mov dword [esi + 0x1f0], ebx
mov dword [esi + 0x1f4], ebx
mov dword [esi + 0x1f8], edi
mov dword [esi + 0x1fc], edi
mov dword [esi + 0x170], edi
mov dword [esi + 0x174], edi
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x41bd60
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi - 0x24]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41bd84
mov ecx, dword [esi - 0x24]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x41dcd0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x108
mov eax, dword [0x5466b0]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
mov esi, dword [esp + 0x110]
push edi
push 0x100
lea eax, [esp + 0x10]
push 0
push eax
mov edi, ecx
mov dword [esp + 0x14], 0
call fcn.004d7710
mov edx, dword [edi - 0x24]
add esp, 0xc
push 0x100
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push esi
lea ecx, [esp + 0x10]
call fcn.00417170
mov ecx, dword [esp + 0x10c]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.004cb38b
add esp, 0x108
ret 4

Function at 0x41e3a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f4ec8
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5466b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x30], 0
je 0x41e438
mov eax, dword [ecx + 0x30]
test eax, eax
jne 0x41e3d9
push 0x80004003
call fcn.004cb0d0
mov ecx, dword [esp + 0x1c]
push ecx
lea esi, [esp + 0x20]
call fcn.0040a4c0
mov dword [esp + 0x14], 0
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x41e438
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
push eax
push ecx
push esi
call edx
xor ecx, ecx
test eax, eax
sete cl
mov dword [esp + 0x14], 0xffffffff
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
mov edi, ecx
call eax
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0xc
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0xc

Function at 0x41e450
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f5108
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5466b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x30], 0
je 0x41e4e3
mov eax, dword [ecx + 0x30]
test eax, eax
jne 0x41e489
push 0x80004003
call fcn.004cb0d0
mov ecx, dword [esp + 0x1c]
push ecx
lea esi, [esp + 0xc]
call fcn.0040a4c0
mov dword [esp + 0x14], 0
mov esi, dword [esp + 8]
test esi, esi
je 0x41e4e3
mov edx, dword [esi]
mov ecx, dword [edx + 0x6c]
lea eax, [esp + 0x1c]
push eax
push esi
mov dword [esp + 0x24], 0
call ecx
mov dword [esp + 0x14], 0xffffffff
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x41e500
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f4ec8
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5466b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x30], 0
je 0x41e5dc
mov edx, dword [esp + 0x1c]
test edx, edx
jne 0x41e570
mov ecx, dword [ecx + 0x30]
test ecx, ecx
jne 0x41e545
push 0x80004003
call fcn.004cb0d0
mov edx, dword [esp + 0x24]
mov eax, dword [ecx]
mov eax, dword [eax + 0x5c]
push edx
mov edx, dword [esp + 0x24]
push edx
push ecx
call eax
neg eax
sbb eax, eax
inc eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0xc
mov eax, dword [ecx + 0x30]
test eax, eax
jne 0x41e581
push 0x80004003
call fcn.004cb0d0
push edx
lea esi, [esp + 0x20]
call fcn.0040a4c0
mov dword [esp + 0x14], 0
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x41e5dc
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x5c]
push edx
push eax
push esi
call ecx
xor edx, edx
test eax, eax
sete dl
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
mov edi, edx
call ecx
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0xc
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0xc

Function at 0x41e600
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f5108
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5466b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x30], 0
je 0x41e693
mov eax, dword [ecx + 0x30]
test eax, eax
jne 0x41e639
push 0x80004003
call fcn.004cb0d0
mov ecx, dword [esp + 0x1c]
push ecx
lea esi, [esp + 0xc]
call fcn.0040a4c0
mov dword [esp + 0x14], 0
mov esi, dword [esp + 8]
test esi, esi
je 0x41e693
mov edx, dword [esi]
mov ecx, dword [edx + 0x60]
lea eax, [esp + 0x1c]
push eax
push esi
mov dword [esp + 0x24], 0
call ecx
mov dword [esp + 0x14], 0xffffffff
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x41e6b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f50d8
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5466b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
xor edi, edi
cmp dword [ecx + 0x30], edi
je 0x41e737
mov eax, dword [ecx + 0x30]
cmp eax, edi
jne 0x41e6ea
push 0x80004003
call fcn.004cb0d0
mov ecx, dword [esp + 0x20]
push ecx
lea esi, [esp + 0x24]
call fcn.0040a4c0
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x20]
cmp esi, edi
je 0x41e737
mov edi, dword [esp + 0x1c]
mov edx, dword [esi]
mov eax, dword [edx + 0x40]
push edi
push esi
call eax
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8
mov eax, dword [esp + 0x1c]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8
Function at 0x421650
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4ff278
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5466b0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4216de
test esi, esi
jne 0x4216a7
xor eax, eax
mov ebx, eax
push esi
mov eax, edi
call fcn.00408500
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4216b0
sub eax, edx
sar eax, 1
mov ebx, eax
push esi
mov eax, edi
call fcn.00408500
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
push str._theme_
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov ebx, eax
test ebx, ebx
je 0x4217c7
lea eax, [esp + 0x20]
push str.datamsgtip_theme
push eax
call fcn.0045b533
add esp, 8
mov dword [esp + 0x18], 0
call fcn.00407fc0
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42173b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi]
mov edx, dword [eax - 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov esi, 0x104
sub edx, esi
or ecx, edx
jge 0x42175f
mov ecx, esi
mov eax, edi
call fcn.00408460
mov eax, dword [edi]
cmp dword [eax - 8], esi
jge 0x421770
push 0x80070057
call fcn.00408810
mov dword [eax - 0xc], esi
mov ecx, dword [edi]
add ebx, 0xe
push ebx
xor edx, edx
push eax
mov word [ecx + 0x208], dx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x4217a0
push ecx
push eax
call fcn.004cba0b
add esp, 8
test eax, eax
jl 0x421766
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x421766
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
xor edx, edx
mov word [ecx + eax*2], dx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x8c]
push esi
push ecx
push str._s_s
call fcn.00404c10
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4