joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411720
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b3cba
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e1370]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x38], ebx
push 0x4e74e0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
push 0x64
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0xff
mov dword [esp + 0x28], 0xa
mov dword [esp + 0x34], 1
call fcn.00490df2
add esp, 8
mov dword [esp + 0x44], eax
mov byte [esp + 0x38], 1
cmp eax, ebx
je 0x4117b5
lea ecx, [esp + 0x40]
push ecx
lea edi, [esp + 0x1c]
mov esi, eax
call fcn.00466eb0
jmp 0x4117b7
xor eax, eax
mov byte [esp + 0x38], bl
lea edi, [ebp + 0xc]
lea ebx, [esp + 0x44]
mov dword [esp + 0x44], eax
call fcn.00419b10
lea eax, [esp + 0x40]
mov esi, ebp
call fcn.00465950
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4117ee
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8

Function at 0x412720
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, 4
mov dword [esp + 8], eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
push str.EnableUE
push str.Software360Safe
push SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x412769
mov eax, 1
add esp, 0xc
ret
xor eax, eax
cmp dword [esp], eax
setne al
add esp, 0xc
ret

Function at 0x413130
Capabilities:
Create thread

Disassembly:
cmp dword [esi + 0x4c], 0
jne 0x41315c
cmp dword [esi + 4], 0
mov dword [esi + 0x4c], 1
jne 0x41315c
push 0
push 0
push esi
push 0x413110
push 0
push 0
call fcn.00491eac
add esp, 0x18
mov dword [esi + 4], eax
ret
Function at 0x413620
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b2382
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4e1370]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, esi
call fcn.00407400
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 + 0x14], edi
lea ecx, [esi + 0x54]
mov dword [esi], vtable.CCleanResultTip.0
mov dword [esi + 0x2c], vtable.CCleanResultTip.1.0
push ecx
mov dword [esi + 0x50], vtable.CAtlAdviser.0
call fcn.00443a00
mov dword [esi + 0x6c], 1
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
lea edx, [esi + 0x80]
push edx
mov byte [esp + 0x18], 5
call fcn.00443a00
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x414200
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
cmp dword [ebp + 8], 1
jne 0x414258
lea eax, [esp]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi + 0x30]
lea ecx, [esp + 8]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 4]
mov ecx, dword [esp]
push eax
push ecx
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x414258
mov eax, dword [esi + 0x30]
push 1
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 0x30]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x419110
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4b5f38
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x4e1370]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
lea eax, [esp + 8]
push str.safemon360SoftPrivMgr.exe
push eax
call fcn.0047b079
add esp, 8
mov dword [esp + 0x14], 0
mov eax, dword [esp + 8]
mov edi, eax
test eax, eax
je 0x419193
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41918f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.0047ea6b
add esp, 4
test eax, eax
jne 0x41917d
call fcn.0041b270
test eax, eax
je 0x41918f
mov ecx, dword [esp + 8]
push 5
push 0
push 0x4c6e4c
call fcn.0040fe10
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4191b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret

Function at 0x41b270
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4b5f38
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4e1370]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
test edi, edi
jne 0x41b2a9
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b296
lea eax, [esp + 8]
push str.360Base.dll
push eax
call fcn.0047b079
mov dword [esp + 0x1c], 0
mov eax, dword [eax]
push eax
call fcn.0040d1a0
mov esi, eax
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b300
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x41b322
push edi
push 0x4e4548
xor esi, esi
call fcn.0047ebaa
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
mov eax, edi
call fcn.00487ec0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4b37cf
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4e1370]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
call fcn.0041b340
xor esi, esi
mov dword [esp + 0x14], esi
mov dword [edi], vtable.CPageImpl.0
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
lea eax, [edi + 0x14]
mov byte [esp + 0x14], 3
push eax
mov dword [edi + 0x10], vtable.CAtlAdviser.0
call fcn.00443a00
mov dword [edi + 0x2c], 1
mov dword [edi + 0x30], esi
lea ecx, [edi + 0x34]
push ecx
mov byte [esp + 0x18], 5
call fcn.00465830
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x41c420
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b22f1
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4e1370]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, esi
call fcn.00407400
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 [esp + 0x14], edi
lea eax, [esi + 0x54]
mov dword [esi], vtable.CPuritySureDlg.0
mov dword [esi + 0x2c], vtable.CPuritySureDlg.1.0
mov dword [esi + 0x4c], 0x515
push eax
mov dword [esi + 0x50], vtable.CAtlAdviser.0
call fcn.00443a00
mov dword [esi + 0x6c], 1
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov byte [esp + 0x14], 0xa
lea ecx, [esi + 0xa0]
push ecx
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
call fcn.00443a00
lea edx, [esi + 0xb8]
push edx
mov byte [esp + 0x18], 0xb
call fcn.00443a00
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd4], edi
call fcn.0041c920
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x41fbc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b4eaa
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4e1370]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
call fcn.00443a00
mov edx, dword [esp + 0x34]
push 0x3f
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x38], 0
call fcn.00441700
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0xc]
call fcn.0041fdb0
mov ecx, dword [esp + 0x40]
add esp, 4
lea edx, [esp + 8]
push edx
mov dword [ecx], eax
mov dword [esp + 0x30], 0xffffffff
call fcn.00443910
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
add esp, 0x2c
ret
Function at 0x42b330
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4b5d58
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4e1370]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
cmp dword [0x4e8740], 0
je 0x42b379
cmp dword [0x4e8744], 0
je 0x42b379
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
lea esi, [esp + 0xc]
call fcn.0042b310
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0xc]
mov edi, eax
test eax, eax
je 0x42b3bf
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42b3bb
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.0047ea6b
add esp, 4
test eax, eax
jne 0x42b3fa
call fcn.0040cff0
test eax, eax
jne 0x42b3fa
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b3e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x80004005
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x4e8744], eax
test eax, eax
jne 0x42b420
mov eax, dword [esp + 0xc]
call fcn.0040d0c0
mov dword [0x4e8744], eax
test eax, eax
je 0x42b433
push str.SomPlugin
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4e8740], eax
jmp 0x42b438
mov eax, dword [0x4e8740]
test eax, eax
jne 0x42b45d
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x42b3d7
push 0
push 0xffffffffffffffff
call eax
mov esi, eax
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b48d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x42d9e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b1ef9
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x4e1370]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
mov eax, dword [0x4e7464]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e7464
call edx
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x14], 0
mov eax, dword [ebx + 0x30]
mov dword [esp + 8], 1
test eax, eax
jne 0x42da54
cmp dword [ebx + 0x28], eax
je 0x42da4d
mov edx, 0x4c8bec
jmp 0x42da87
mov edx, 0x4c8bf8
jmp 0x42da87
cmp eax, 1
jne 0x42da60
mov edx, 0x4c8c04
jmp 0x42da87
cmp eax, 2
jne 0x42da6c
mov edx, 0x4c8c10
jmp 0x42da87
cmp eax, 3
jne 0x42da78
mov edx, 0x4c8c1c
jmp 0x42da87
mov edx, 0x4c8c28
cmp eax, 4
je 0x42da87
mov edx, 0x4c8c34
call fcn.004059e0
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret 4
Function at 0x430520
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x4b5cf8
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e1370]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x24]
mov edi, ecx
mov esi, edx
mov eax, dword [esi + 0x28]
test eax, eax
je 0x430626
xor ecx, ecx
mov dword [esp + 0x24], ecx
test eax, eax
je 0x430576
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push 0x4c8f68
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], 0
test ecx, ecx
je 0x430612
mov eax, dword [esi + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push edi
push eax
call edx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
je 0x4305b0
push 0x64
call ebx
mov eax, dword [esi + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push edi
push eax
call edx
test eax, eax
jne 0x43060e
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov edi, eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push eax
call edx
test eax, eax
je 0x4305ef
lea ebx, [ebx]
call esi
sub eax, edi
cmp eax, ebp
ja 0x4305ef
push 0x7d0
call ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push eax
call edx
test eax, eax
jne 0x4305d0
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x24]
test eax, eax
je 0x430607
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
jmp 0x430628
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
test ecx, ecx
je 0x430626
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4

Function at 0x430a00
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [ebp + 0xc], 0x3e8
push esi
jne 0x430a7a
call fcn.00437f50
push eax
call fcn.00437fc0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x48]
mov ecx, dword [eax + 4]
add esi, 0x30
push ecx
mov ecx, esi
call fcn.00431590
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], 0
mov dword [eax], eax
mov esi, dword [esi + 0x18]
mov dword [esi + 8], esi
call fcn.0042dea0
mov ecx, eax
call fcn.0042fae0
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x430a7a
call fcn.004460e0
mov edx, dword [eax + 0x48]
push esi
push 0x168
mov dword [esi], edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x18
Function at 0x430e00
Capabilities:
Get thread local storage value

Disassembly:
push edi
mov edi, dword [esp + 0xc]
cmp edi, 0x3e8
je 0x430e12
cmp edi, 0x64
jne 0x430e48
push esi
push 0x168
xor esi, esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x430e32
mov esi, dword [eax]
cmp edi, 0x64
jne 0x430e32
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
push esi
push edi
push 0x401
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
xor eax, eax
pop edi
ret 0x18

Function at 0x432040
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4b1e79
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e1370]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esi + 4], eax
mov dword [esi], vtable.CCleanSoftItem.0
mov edx, dword [0x4e7464]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e7464
lea edi, [esi + 8]
call eax
add eax, 0x10
mov dword [edi], eax
xor ebp, ebp
mov dword [esp + 0x30], ebp
mov edx, dword [0x4e7464]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e7464
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
mov byte [esp + 0x30], 1
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov edx, dword [0x4e7464]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e7464
call eax
add eax, 0x10
mov dword [esi + 0x18], eax
mov byte [esp + 0x30], 2
mov eax, dword [esi + 4]
mov dword [esi + 0x1c], ebp
cmp eax, ebp
je 0x4321d2
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push eax
call edx
cmp eax, ebp
jne 0x4320f0
xor ecx, ecx
jmp 0x432104
mov ecx, eax
lea ebx, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bp
jne 0x4320f5
sub ecx, ebx
sar ecx, 1
push eax
mov ebx, ecx
mov eax, edi
call fcn.00405920
call fcn.00432c20
push edi
call fcn.00432520
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
add esp, 4
cmp word [eax + ecx*2 - 2], 0x5c
je 0x432130
push 0x5c
call fcn.00432c80
mov eax, dword [esi + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
push eax
call fcn.00490c5c
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
add esp, 4
mov dword [esi + 0x10], eax
lea ecx, [esp + 0x14]
xor eax, eax
push ecx
mov word [esp + 0x18], ax
call edi
mov edx, 8
push 0x4c4788
mov word [esp + 0x18], dx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x1c], eax
cmp eax, ebp
jne 0x432194
mov eax, 0xa
push 0x8007000e
mov word [esp + 0x18], ax
mov dword [esp + 0x20], 0x8007000e
call fcn.004058d0
mov byte [esp + 0x30], 3
mov eax, dword [esi + 4]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x31
push eax
mov eax, dword [ecx + 0x5c]
call eax
test eax, eax
jne 0x4321cb
cmp word [esp + 0x14], 8
jne 0x4321cb
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x4321cb
push eax
call fcn.00490c5c
add esp, 4
mov dword [esi + 0x20], eax
lea ecx, [esp + 0x14]
push ecx
call edi
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
Function at 0x4337f0
Capabilities:
Get common file path

Disassembly:
push ecx
push ebp
mov ebp, ecx
mov eax, dword [ebp + 4]
test eax, eax
je 0x43392c
mov ecx, dword [ebp + 8]
cmp dword [ecx - 0xc], 0
push edi
lea edi, [ebp + 8]
jne 0x43392b
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x28]
call eax
mov edx, eax
call fcn.004059e0
mov ecx, dword [edi]
cmp dword [ecx - 0xc], 0
je 0x43392b
call fcn.00432c20
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jl 0x433850
push 0x4c8f88
push eax
call fcn.004915bc
add esp, 8
test eax, eax
je 0x433850
sub eax, dword [edi]
sar eax, 1
je 0x433860
push 0x4c8f90
push 0x4c8f88
push edi
call fcn.00432930
mov eax, dword [edi]
mov edx, dword [eax - 0xc]
cmp word [eax + edx*2 - 2], 0x5c
je 0x433874
push 0x5c
call fcn.00432c80
cmp word [0x4e96d0], 0
push ebx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
jne 0x4338af
push 0x4e96d0
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.AppData_
push 0x4e96d0
call esi
test eax, eax
je 0x4338af
xor ecx, ecx
mov word [eax + 0x12], cx
mov eax, 0x4e96d0
mov ebx, 3
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4338c0
mov ecx, dword [edi]
sub eax, edx
sar eax, 1
cmp dword [ecx - 0xc], eax
jbe 0x4338e7
push 0x4e96d0
push ecx
call esi
test eax, eax
je 0x4338e7
mov ebx, 5
mov eax, dword [edi]
movzx ecx, word [eax]
xor edx, edx
test cx, cx
je 0x433929
add eax, 2
cmp cx, 0x5c
jne 0x433918
cmp word [eax], cx
jne 0x43390a
add eax, 2
cmp word [eax], 0x5c
je 0x433901
cmp word [eax], 0
je 0x433929
cmp edx, ebx
jge 0x433926
inc edx
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x4338f3
pop esi
pop ebx
pop edi
pop ebp
pop ecx
ret
mov dword [ebp + 0x24], eax
pop esi
pop ebx
pop edi
pop ebp
pop ecx
ret
Function at 0x436c40
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4b33b6
mov eax, dword fs:[0]
push eax
mov eax, 0x1884
call fcn.004a65a0
mov eax, dword [0x4e1370]
xor eax, esp
mov dword [esp + 0x187c], eax
push ebx
push ebp
push esi
mov eax, dword [0x4e1370]
xor eax, esp
push eax
lea eax, [esp + 0x1894]
mov dword fs:[0], eax
mov eax, dword [esp + 0x18a4]
mov esi, ecx
push esi
mov dword [esp + 0x28], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x436ded
lea eax, [edi + 0x2c]
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x20], 1
push 1
push 1
lea ebp, [edi + 0x28]
xor ebx, ebx
push ebp
mov dword [esp + 0x18a8], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x436cd2
mov ecx, dword [esp + 0x1c]
push ecx
jmp 0x436de7
push 0x1858
lea edx, [esp + 0x38]
push ebx
push edx
call fcn.00494b20
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
add esp, 0xc
lea edx, [esp + 0x34]
push edx
push esi
push eax
mov eax, dword [ecx + 8]
call eax
test eax, eax
je 0x436cc8
jmp 0x436d00
push 1
push 1
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x436cc8
push 0x4e74e0
push 0x48
call fcn.00490df2
add esp, 8
cmp eax, ebx
je 0x436d29
call fcn.00437320
jmp 0x436d2b
xor eax, eax
push eax
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.004371e0
mov byte [esp + 0x189c], 1
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x436d7e
lea eax, [esp + 0x34]
call fcn.00437460
test eax, eax
je 0x436d7e
lea eax, [esp + 0x14]
push eax
push edi
call fcn.004370d0
test eax, eax
jne 0x436d7e
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2c]
push edx
lea ebx, [edi + 0x44]
call fcn.0044b250
xor ebx, ebx
push 0x1858
lea eax, [esp + 0x38]
push ebx
push eax
call fcn.00494b20
mov byte [esp + 0x18a8], bl
mov esi, dword [esp + 0x24]
add esp, 0xc
cmp esi, ebx
je 0x436dc9
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x436dc9
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x436dc9
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x436d00
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x1894]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x187c]
xor ecx, esp
call fcn.0049021b
add esp, 0x1890
ret 4