joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47bc20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557978
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5c5244]
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
cmp dword [edi + 0x2c8], 0
je 0x47bc8e
push 3
call fcn.004977e0
add esp, 4
test eax, eax
jne 0x47bc8e
push str._zhushou__try_pop_mini::exist_flag_and_inst_hours_less_than_72
call fcn.00492250
add esp, 4
push 0
push 0
push 1
push 0
push str.master_take_lessthan_3day
call fcn.00430130
mov ecx, eax
call fcn.004cfd30
jmp 0x47bdcf
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.0046fd00
mov dword [ebp - 4], 0
push dword [ebp - 0x2c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47bcaf
jmp 0x47bcbe
push dword [ebp - 0x2c]
call fcn.004cf4a0
add esp, 4
test eax, eax
jne 0x47bcfe
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47bce0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0
push 1
push 0
push str.mininews_invalid_path
call fcn.00430130
mov ecx, eax
call fcn.004cfd30
jmp 0x47bdcf
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47bd20
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0042df90
mov ecx, eax
call fcn.0044a770
test eax, eax
je 0x47bd3c
mov ecx, eax
call fcn.004473e0
cmp eax, 0xffffffff
jne 0x47bd60
call fcn.00445d30
cmp eax, 1
jne 0x47bd60
push 0
push 0
push eax
push 0
push str.lds_type_clear
call fcn.00430130
mov ecx, eax
call fcn.004cfd30
jmp 0x47bdcf
call fcn.004457b0
mov ecx, eax
call fcn.0044bbd0
push dword [0x5c45ec]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00419490
mov dword [ebp - 4], 5
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.004eea60
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00421df0
test esi, esi
je 0x47bdbe
push 0
push 0
push 1
push 0
push str.has_param_no_mininews
call fcn.00430130
mov ecx, eax
call fcn.004cfd30
jmp 0x47bdcf
mov ecx, dword [edi + 0x208]
test ecx, ecx
je 0x47bdcf
mov eax, dword [ecx]
push 0
call dword [eax + 8]
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.004da3bd
mov esp, ebp
pop ebp
ret
Function at 0x47e430
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558000
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5c5244]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [ebp + 0x1c], 0
jne 0x47e5dc
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 0x40]
mov ebx, dword [ebp + 0x10]
mov dword [ebp + 0x1c], eax
cmp ecx, 0x113
jne 0x47e4b7
push ebx
lea ecx, [esi + 0x40]
mov dword [esi + 0x40], 1
call fcn.00476f20
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
cmp dword [esi + 0x40], 0
mov eax, dword [ebp + 0x1c]
je 0x47e4b4
mov dword [esi + 0x40], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x40], eax
cmp ecx, 0x113
jne 0x47e5dc
mov dword [esi + 0x24], 1
cmp ebx, 0x17d4
jne 0x47e598
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push ebx
push dword [esi + 4]
call edi
push 0
push dword [esi + 0x34]
lea eax, [ebp + 0x1c]
mov dword [ebp + 0xc], 0
push eax
mov ecx, esi
call fcn.00470130
mov dword [ebp - 4], 0
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0x10]
mov dword [ebp + 0x10], 4
push eax
push str.auto_elapse
push dword [ebp + 0x1c]
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x47e53e
cdq
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
push dword [esi + 0x34]
mov ecx, esi
call fcn.00471df0
test eax, eax
je 0x47e56b
push 0x17d6
push dword [esi + 4]
call edi
push 0
push dword [esi + 0x38]
push 0x17d6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x47e574
push 0
mov ecx, esi
call fcn.00472640
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47e5c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x47e5c9
cmp ebx, 0x17d5
jne 0x47e5ae
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 1
jmp 0x47e5c2
cmp ebx, 0x17d6
jne 0x47e5c9
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
mov ecx, esi
call fcn.00477440
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
cmp dword [esi + 0x24], 0
jne 0x47e49b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x481c80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559188
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x5c5244]
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, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], esi
mov dword [ebp - 4], 1
lea eax, [ebp - 0x21c]
push eax
push 0x20219
push esi
push str.SOFTWARELudashi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x21c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x481d7a
mov esi, dword [ebp - 0x21c]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x228], esi
push eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x224], 0x200
push eax
push 0
push str.VendorID
push esi
mov dword [ebp - 0x21c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x481d7a
mov eax, dword [ebp - 0x230]
cmp eax, 1
je 0x481d5f
cmp eax, 2
jne 0x481d7a
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x481d8b
test al, 1
jne 0x481d7a
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x481d94
call fcn.004287b0
mov ecx, eax
test ecx, ecx
je 0x481e20
jmp 0x481da4
xor eax, eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.0042b850
jmp 0x481dd4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 2
mov ecx, edi
push 0x56c9a8
call fcn.0042d870
test al, al
jne 0x481dd0
push 0
push 0x56c9a8
mov ecx, edi
call fcn.00429710
mov byte [ebp - 4], 1
mov dword [ebp - 0x22c], 1
mov byte [ebp - 4], 0
test esi, esi
je 0x481df7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x228], 0
mov eax, edi
mov dword [ebp - 0x224], 0
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.004da3bd
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004225f0
int3
Function at 0x482530
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559290
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5c5244]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp + 8]
push dword [esi + 0x14]
call fcn.0042b850
mov dword [ebp - 4], 0
or ebx, 0xffffffff
cmp dword [esi + 4], 2
mov dword [ebp - 0x14], 0
jne 0x4825f3
mov eax, dword [edi + 0x11c]
cmp dword [eax - 0xc], 0
je 0x4825f3
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00493c10
add esp, 8
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x11c]
test eax, eax
je 0x48267a
push eax
push dword [ebp - 0x10]
call fcn.0051070a
add esp, 8
test eax, eax
jne 0x4825d5
push 1
push dword [edi + 0x118]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4825f3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x482609
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [edi + 0x114]
test ecx, ecx
je 0x482622
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov ecx, dword [edi + 0x114]
add edi, 0xf0
test ecx, ecx
je 0x482647
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [edi + 0x24], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x482666
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 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 4
push 0x80004005
call fcn.004225f0
int3
Function at 0x484850
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559c4b
mov eax, dword fs:[0]
push eax
mov eax, 0x10630
call fcn.004da530
mov eax, dword [0x5c5244]
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]
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0x5c4a1c
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea eax, [ebp - 0x420]
push eax
push str.CLSID_sInprocServer32
lea eax, [ebp - 0x628]
push 0x104
push eax
call fcn.00440620
add esp, 0x10
call fcn.00433300
neg eax
sbb esi, esi
xor edi, edi
and esi, 0x100
mov dword [ebp - 0x10638], edi
or esi, 0x20019
mov dword [ebp - 0x10634], edi
mov dword [ebp - 0x10630], edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x1062c]
push eax
push esi
push edi
lea eax, [ebp - 0x628]
mov dword [ebp - 0x1062c], edi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4849a0
mov edi, dword [ebp - 0x1062c]
and esi, 0x300
push 0x208
mov dword [ebp - 0x10634], eax
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x10638], edi
push eax
mov dword [ebp - 0x10634], esi
call fcn.004f39e0
add esp, 0xc
mov dword [ebp - 0x1062c], 0x208
lea eax, [ebp - 0x1062c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x1063c]
push eax
push 0
push 0x56c9a8
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4849a0
mov eax, dword [ebp - 0x1063c]
cmp eax, 1
je 0x484985
cmp eax, 2
jne 0x4849a0
mov eax, dword [ebp - 0x1062c]
test eax, eax
je 0x4849e8
test al, 1
jne 0x4849a0
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x4849f1
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x4849be
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10638], 0
mov eax, esi
mov dword [ebp - 0x10634], 0
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.004da3bd
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov word [ebp - 0x218], ax
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x484a4f
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea ecx, [ebp - 0x218]
push ecx
push eax
call esi
test eax, eax
je 0x484a4f
push 0xfffe
lea eax, [ebp - 0x10628]
push 0
push eax
call fcn.004f39e0
add esp, 0xc
lea eax, [ebp - 0x10628]
push 0x7fff
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x10628]
push eax
push dword [ebx]
call esi
test eax, eax
jne 0x4849a0
mov esi, 1
jmp 0x4849a2
Function at 0x48b6d0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b8cc
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5c5244]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea eax, [esi + 8]
mov dword [esi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 4
lea ecx, [esi + 0x34]
mov dword [esi + 0x24], vtable.SiteAnnimation::Iwindow.0
mov dword [esi], vtable.CLayeredWndBase_class_PowerSaveTips_.0
mov dword [esi + 0x24], vtable.CLayeredWndBase_class_PowerSaveTips_.1.0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 1
call fcn.004666f0
mov byte [ebp - 4], 5
mov dword [esi + 0x5c], 0
mov dword [ebp - 4], 6
lea ecx, [esi + 0x64]
mov dword [esi], vtable.PowerSaveTips.0
mov dword [esi + 0x24], vtable.PowerSaveTips.1.0
call fcn.00457fb0
mov byte [ebp - 4], 7
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x48ec50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x48ec7a
mov eax, dword [esi + 0x48]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x48eca6
push 1
mov ecx, esi
call fcn.0048e700
pop esi
pop ebp
ret 8
cmp dword [esi + 0x2c], 0
push edi
je 0x48ec86
mov edi, dword [esi + 0x34]
jmp 0x48ec89
mov edi, dword [esi + 0x30]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48eca5
test edi, edi
je 0x48eca5
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
ret 8

Function at 0x48ecb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push esi
mov esi, dword [ebp + 8]
je 0x48ece1
mov eax, dword [esi + 0x24]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x48ed0d
push 1
lea ecx, [esi - 0x24]
call fcn.0048e700
mov eax, 1
pop esi
pop ebp
ret 0xc
cmp dword [esi + 8], 0
push edi
je 0x48eced
mov edi, dword [esi + 0x10]
jmp 0x48ecf0
mov edi, dword [esi + 0xc]
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48ed0c
test edi, edi
je 0x48ed0c
push 0
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov eax, 1
pop esi
pop ebp
ret 0xc

Function at 0x492980
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d46f
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5c5244]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea eax, [esi + 8]
mov dword [esi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 4
lea ecx, [esi + 0x28]
mov dword [esi], vtable.CTrayIcon.0
call fcn.004426c0
mov byte [ebp - 4], 5
lea ecx, [esi + 0x2c]
call fcn.004426c0
mov byte [ebp - 4], 6
lea ecx, [esi + 0x30]
call fcn.004426c0
mov byte [ebp - 4], 7
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x492c50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d5d8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5c5244]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x34], 0
je 0x492c97
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x492cee
push dword [ebp + 8]
lea eax, [esi + 0x20]
push eax
push 0x5c4c60
push 0x5c6e70
push 0x5ce33c
call fcn.00423fd0
movzx edi, ax
add esp, 0x14
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x10], edi
test eax, eax
jne 0x492d0d
call fcn.004b2594
mov dword [esi + 0x14], eax
test eax, eax
jne 0x492d0d
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
mov dword [esi + 0x34], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push eax
call fcn.004b2696
test di, di
je 0x492ce3
lea edi, [esi + 8]
test edi, edi
je 0x492dbc
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [edi + 4], eax
mov dword [ebp - 0x18], 0x5c6e74
mov byte [ebp - 0x14], 0
mov dword [ebp - 4], 0
push 0x5c6e74
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x5c6e8c]
mov dword [edi + 8], eax
mov byte [ebp - 0x14], 1
mov dword [0x5c6e8c], edi
mov dword [ebp - 4], 0xffffffff
push 0x5c6e74
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x5c6cac]
mov eax, dword [0x5c6cb4]
mov edx, dword [0x5c6ca8]
sub eax, ecx
push 0
push dword [0x5ce340]
mov byte [ebp - 0x14], 0
push esi
push dword [ebp + 8]
push eax
mov eax, dword [0x5c6cb0]
sub eax, edx
push eax
mov eax, dword [ebp - 0x10]
push ecx
push edx
push 0x56000000
push 0
movzx eax, ax
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
jmp 0x492ce3
push 1
push 0xc0000005
call fcn.004216b0
int3
Function at 0x4936a0
Capabilities:
Check if file exists
Create directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2a0c
call fcn.004da530
mov eax, dword [0x5c5244]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x800
lea eax, [ebp - 0xa0c]
push 0
push eax
call fcn.004f39e0
add esp, 0xc
lea eax, [ebp - 0xa0c]
push 1
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0xa0c]
push 0x56f6b0
push eax
push eax
call esi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0xa0c]
push eax
call ebx
test eax, eax
jne 0x49372c
push eax
lea eax, [ebp - 0xa0c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0xa0c]
push eax
push str.Create_directory_:__s
call fcn.00492250
add esp, 8
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004f39e0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x800
lea eax, [ebp - 0x120c]
push 0
push eax
call fcn.004f39e0
add esp, 0xc
lea eax, [ebp - 0xa0c]
push 0x57cf28
push eax
lea eax, [ebp - 0x120c]
push eax
call esi
push 0x800
lea eax, [ebp - 0x220c]
push 0
push eax
call fcn.004f39e0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x56f054
push eax
lea eax, [ebp - 0x220c]
push eax
call esi
lea eax, [ebp - 0x120c]
push eax
call ebx
test eax, eax
je 0x4937e7
lea eax, [ebp - 0x120c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x120c]
push eax
push str.Delete__s
call fcn.00492250
add esp, 8
push 0
lea eax, [ebp - 0x220c]
push eax
lea eax, [ebp - 0x120c]
push eax
push 0
lea eax, [ebp - 0x220c]
push eax
push 0x56f6b0
call fcn.004972f0
push 0x800
lea eax, [ebp - 0x2a0c]
push 0
push eax
call fcn.004f39e0
add esp, 0x24
lea eax, [ebp - 0x20c]
push str.uninst.exe
push eax
lea eax, [ebp - 0x2a0c]
push eax
call esi
push 0x800
lea eax, [ebp - 0x1a0c]
push 0
push eax
call fcn.004f39e0
add esp, 0xc
lea eax, [ebp - 0xa0c]
push 0x57d094
push eax
lea eax, [ebp - 0x1a0c]
push eax
call esi
lea eax, [ebp - 0x1a0c]
push eax
call ebx
pop esi
pop ebx
test eax, eax
je 0x493890
lea eax, [ebp - 0x1a0c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x1a0c]
push eax
push str.Delete__s
call fcn.00492250
add esp, 8
push 0
lea eax, [ebp - 0x2a0c]
push eax
lea eax, [ebp - 0x1a0c]
push eax
push 0
lea eax, [ebp - 0x2a0c]
push eax
push 0x57d0a8
call fcn.004972f0
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
mov eax, 1
call fcn.004da3bd
mov esp, ebp
pop ebp
ret
Function at 0x493c10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d74d
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x5c5244]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x22c], 0
call fcn.00430a50
mov ecx, eax
test ecx, ecx
je 0x493d1b
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
push dword [edi]
mov dword [ebp - 0x22c], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x493cfe
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [edi]
movups xmmword [ebp - 0x20], xmm0
call fcn.00437dc0
push 0x208
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.004f39e0
push 0x104
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00437b20
lea ecx, [ebp - 0x228]
add esp, 0x20
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x493ce0
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00429710
mov eax, esi
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.004da3bd
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004225f0
int3