joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b8c0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [edi + 0x38]
test byte [eax], 8
jne 0x44b8d7
mov dword [0x572454], 0x6f
xor eax, eax
pop ecx
ret
push edi
mov edx, edi
call fcn.0044bfb0
add esp, 4
test eax, eax
je 0x44b8d3
lea ecx, [edi + 4]
push ecx
mov edx, edi
call fcn.0044bfb0
add esp, 4
test eax, eax
je 0x44b8d3
mov eax, dword [edi + 0x38]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x44b911
push 3
lea edx, [esp + 4]
push edx
push edi
call ecx
add esp, 0xc
jmp 0x44b926
mov eax, dword [eax + 0x38]
push eax
push 3
lea ecx, [esp + 8]
push 1
push ecx
call fcn.004f1680
add esp, 0x10
cmp eax, 3
je 0x44b939
mov dword [0x572454], 0x66
xor eax, eax
pop ecx
ret
mov dl, byte [esp]
movzx eax, dl
mov ecx, eax
shr ecx, 4
and ecx, 7
inc ecx
mov dword [edi + 8], ecx
movzx ecx, byte [esp + 1]
and eax, 7
push ebx
inc eax
push esi
mov dword [edi + 0xc], ecx
test dl, dl
jns 0x44ba27
mov ecx, eax
mov esi, 1
shl esi, cl
push 0
call fcn.0044c5a0
add esp, 4
mov dword [edi + 0x10], eax
test eax, eax
jne 0x44b989
pop esi
mov dword [0x572454], 0x6d
pop ebx
pop ecx
ret
xor ebx, ebx
cmp dword [eax], ebx
jle 0x44ba2e
xor esi, esi
mov eax, dword [edi + 0x38]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x44b9ae
push 3
lea edx, [esp + 0xc]
push edx
push edi
call ecx
add esp, 0xc
jmp 0x44b9c3
mov eax, dword [eax + 0x38]
push eax
push 3
lea ecx, [esp + 0x10]
push 1
push ecx
call fcn.004f1680
add esp, 0x10
cmp eax, 3
jne 0x44ba08
mov edx, dword [edi + 0x10]
mov eax, dword [edx + 8]
movzx ecx, byte [esp + 8]
mov byte [esi + eax], cl
mov edx, dword [edi + 0x10]
mov eax, dword [edx + 8]
movzx ecx, byte [esp + 9]
mov byte [eax + esi + 1], cl
mov edx, dword [edi + 0x10]
movzx ecx, byte [esp + 0xa]
mov eax, dword [edx + 8]
mov byte [eax + esi + 2], cl
mov edx, dword [edi + 0x10]
inc ebx
add esi, 3
cmp ebx, dword [edx]
jl 0x44b995
pop esi
mov eax, 1
pop ebx
pop ecx
ret
mov esi, dword [edi + 0x10]
call fcn.0044c620
pop esi
mov dword [edi + 0x10], 0
mov dword [0x572454], 0x66
xor eax, eax
pop ebx
pop ecx
ret
mov dword [edi + 0x10], 0
pop esi
mov eax, 1
pop ebx
pop ecx
ret

Function at 0x44ba40
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [edx + 0x38]
test byte [eax], 8
jne 0x44ba57
mov dword [0x572454], 0x6f
xor eax, eax
pop ecx
ret
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x44ba6d
push 1
lea eax, [esp + 7]
push eax
push edx
call ecx
add esp, 0xc
jmp 0x44ba82
mov ecx, dword [eax + 0x38]
push ecx
push 1
lea edx, [esp + 0xb]
push 1
push edx
call fcn.004f1680
add esp, 0x10
cmp eax, 1
je 0x44ba95
mov dword [0x572454], 0x66
xor eax, eax
pop ecx
ret
mov al, byte [esp + 3]
cmp al, 0x21
je 0x44bad3
cmp al, 0x2c
je 0x44bac6
cmp al, 0x3b
je 0x44bab9
mov dword [esi], 0
mov dword [0x572454], 0x6b
xor eax, eax
pop ecx
ret
mov dword [esi], 4
mov eax, 1
pop ecx
ret
mov dword [esi], 2
mov eax, 1
pop ecx
ret
mov dword [esi], 3
mov eax, 1
pop ecx
ret
Function at 0x44bde0
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 0x38]
test byte [eax], 8
jne 0x44bdfb
mov dword [0x572454], 0x6f
xor eax, eax
pop esi
pop ecx
ret
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x44be11
push 1
lea eax, [esp + 0xb]
push eax
push esi
call ecx
add esp, 0xc
jmp 0x44be26
mov ecx, dword [eax + 0x38]
push ecx
push 1
lea edx, [esp + 0xf]
push 1
push edx
call fcn.004f1680
add esp, 0x10
cmp eax, 1
je 0x44be3a
mov dword [0x572454], 0x66
xor eax, eax
pop esi
pop ecx
ret
movzx eax, byte [esp + 7]
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
call fcn.0044be50
pop esi
pop ecx
ret

Function at 0x44be50
Capabilities:
Read file on windows

Disassembly:
push ecx
push edi
mov edi, dword [esi + 0x38]
cmp dword [edi + 0x3c], 0
mov eax, edi
je 0x44be6f
mov edx, dword [eax + 0x3c]
push 1
lea ecx, [esp + 0xb]
push ecx
push esi
call edx
add esp, 0xc
jmp 0x44be84
mov ecx, dword [eax + 0x38]
push ecx
push 1
lea edx, [esp + 0xf]
push 1
push edx
call fcn.004f1680
add esp, 0x10
cmp eax, 1
jne 0x44bed0
mov cl, byte [esp + 7]
test cl, cl
jbe 0x44bedf
lea eax, [edi + 0x44]
mov byte [eax], cl
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + 0x3c]
mov dword [ebx], eax
inc eax
test edx, edx
je 0x44beb2
movzx ecx, byte [esp + 7]
push ecx
push eax
push esi
call edx
add esp, 0xc
jmp 0x44bec7
mov edx, dword [ecx + 0x38]
movzx ecx, byte [esp + 7]
push edx
push ecx
push 1
push eax
call fcn.004f1680
add esp, 0x10
movzx edx, byte [esp + 7]
cmp eax, edx
je 0x44bee5
mov dword [0x572454], 0x66
xor eax, eax
pop edi
pop ecx
ret
mov dword [ebx], 0
mov eax, 1
pop edi
pop ecx
ret

Function at 0x44bfb0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x44bfca
push 2
lea eax, [esp + 4]
push eax
push edx
call ecx
add esp, 0xc
jmp 0x44bfdf
mov ecx, dword [eax + 0x38]
push ecx
push 2
lea edx, [esp + 8]
push 1
push edx
call fcn.004f1680
add esp, 0x10
cmp eax, 2
je 0x44bff2
mov dword [0x572454], 0x66
xor eax, eax
pop ecx
ret
mov ax, word [esp]
movzx ecx, ah
movzx edx, al
mov eax, dword [esp + 8]
shl ecx, 8
add ecx, edx
mov dword [eax], ecx
mov eax, 1
pop ecx
ret
Function at 0x44c010
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [esi + 0x38]
cmp dword [edi + 0x3c], 0
mov eax, edi
je 0x44c034
mov edx, dword [eax + 0x3c]
push 1
lea ecx, [esp + 0xf]
push ecx
push esi
call edx
add esp, 0xc
jmp 0x44c049
mov ecx, dword [eax + 0x38]
push ecx
push 1
lea edx, [esp + 0x13]
push 1
push edx
call fcn.004f1680
add esp, 0x10
cmp eax, 1
jne 0x44c096
mov cl, byte [esp + 0xb]
test cl, cl
jbe 0x44c0a6
lea eax, [edi + 0x44]
mov byte [eax], cl
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + 0x3c]
mov dword [ebp], eax
inc eax
test edx, edx
je 0x44c078
movzx ecx, byte [esp + 0xb]
push ecx
push eax
push esi
call edx
add esp, 0xc
jmp 0x44c08d
mov edx, dword [ecx + 0x38]
movzx ecx, byte [esp + 0xb]
push edx
push ecx
push 1
push eax
call fcn.004f1680
add esp, 0x10
movzx edx, byte [esp + 0xb]
cmp eax, edx
je 0x44c0b8
pop edi
mov dword [0x572454], 0x66
xor eax, eax
pop ebp
pop ecx
ret
mov dword [ebp], 0
mov byte [edi + 0x44], 0
mov dword [edi + 0x34], 0
pop edi
mov eax, 1
pop ebp
pop ecx
ret

Function at 0x44c0d0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [eax + 0x38]
xor ebx, ebx
push edi
mov ecx, esi
cmp dword [esi + 0x3c], ebx
je 0x44c0f2
push 1
lea edx, [esp + 0x13]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
add esp, 0xc
jmp 0x44c107
mov edx, dword [ecx + 0x38]
push edx
push 1
lea eax, [esp + 0x17]
push 1
push eax
call fcn.004f1680
add esp, 0x10
movzx ecx, byte [esp + 0xf]
mov eax, 1
shl eax, cl
mov dword [esi + 8], ecx
inc ecx
mov edx, 1
mov dword [esi + 0xc], eax
inc eax
mov dword [esi + 0x10], eax
inc eax
shl edx, cl
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov eax, 0x1002
mov byte [esi + 0x44], bl
mov dword [esi + 0x28], ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
lea edi, [esi + 0x2144]
mov dword [esi + 0x1c], edx
mov ecx, 0x1000
rep stosd dword es:[edi], eax
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x44c4b0
Capabilities:
Read file on windows

Disassembly:
mov cl, byte [esi]
push ebp
mov ebp, dword [esp + 8]
push edi
test cl, cl
jne 0x44c559
mov ecx, dword [ebx + 0x38]
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x44c4d5
push 1
push esi
push ebx
call eax
add esp, 0xc
jmp 0x44c4e6
mov eax, dword [ecx + 0x38]
push eax
push 1
push 1
push esi
call fcn.004f1680
add esp, 0x10
cmp eax, 1
je 0x44c4fa
pop edi
mov dword [0x572454], 0x66
xor eax, eax
pop ebp
ret
mov al, byte [esi]
test al, al
jne 0x44c50f
pop edi
mov dword [0x572454], 0x70
xor eax, eax
pop ebp
ret
mov ecx, dword [ebx + 0x38]
mov edx, dword [ecx + 0x3c]
lea edi, [esi + 1]
test edx, edx
je 0x44c529
movzx ecx, al
push ecx
push edi
push ebx
call edx
add esp, 0xc
jmp 0x44c53c
mov edx, dword [ecx + 0x38]
push edx
movzx eax, al
push eax
push 1
push edi
call fcn.004f1680
add esp, 0x10
mov cl, byte [esi]
movzx edx, cl
cmp eax, edx
jne 0x44c4eb
mov al, byte [edi]
mov byte [edi], 2
mov byte [ebp], al
dec cl
pop edi
mov byte [esi], cl
mov eax, 1
pop ebp
ret
mov al, byte [esi + 1]
movzx edx, al
mov dl, byte [edx + esi]
inc al
dec cl
pop edi
mov byte [ebp], dl
mov byte [esi + 1], al
mov byte [esi], cl
mov eax, 1
pop ebp
ret
Function at 0x44d600
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x50df06
mov eax, dword fs:[0]
push eax
sub esp, 0x33c
mov eax, dword [0x56957c]
xor eax, esp
mov dword [esp + 0x338], eax
push ebx
push edi
mov eax, dword [0x56957c]
xor eax, esp
push eax
lea eax, [esp + 0x348]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
push 0x20019
xor edi, edi
push edi
push str.SoftwareMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [esp + 0xc]
cmp eax, edi
je 0x44d66d
cmp ebx, edi
je 0x44d66d
xor eax, eax
jmp 0x44d771
push 0x206
lea edx, [esp + 0x142]
xor ecx, ecx
push edi
push edx
mov word [esp + 0x148], cx
call fcn.004f2770
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x140]
push ecx
lea edx, [esp + 0x1c]
push edx
push edi
push str.ProgramFilesDir
push ebx
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x44d764
lea ecx, [esp + 0x18]
call fcn.004174b0
lea eax, [esp + 0x13c]
lea edx, [esp + 0x18]
call fcn.00417710
cmp byte [esp + 0x134], 0
lea eax, [esp + 0x24]
jne 0x44d6e7
mov eax, dword [esp + 0x20]
add eax, 4
mov edx, esi
call fcn.00417710
cmp byte [esp + 0x134], 0
mov edi, vtable.t_str.0
mov dword [esp + 0x18], edi
jne 0x44d719
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
cmp eax, ecx
je 0x44d719
push eax
call fcn.004ed7b6
add esp, 4
lea ecx, [esp + 0x18]
call fcn.004174b0
mov eax, str.Internet_ExplorerIEXPLORE.exe
lea edx, [esp + 0x18]
call fcn.00417710
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.0041e2f0
cmp byte [esp + 0x134], 0
mov dword [esp + 0x18], edi
jne 0x44d75f
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
cmp eax, ecx
je 0x44d75f
push eax
call fcn.004ed7b6
add esp, 4
mov edi, 1
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [esp + 0x348]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.004ecddb
add esp, 0x348
ret
Function at 0x44f560
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x68
push ebx
push ebp
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
xor ebp, ebp
cmp eax, ebp
je 0x44f5a5
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x20], ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x44f5a5
push 2
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_MonitorFromRect]
cmp eax, ebp
jne 0x44f5d6
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
jne 0x44f5c4
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 2
push ecx
push edx
call dword [sym.imp.USER32.dll_MonitorFromPoint]
lea ecx, [esp + 0x48]
push ecx
push eax
mov dword [esp + 0x50], 0x28
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x44f610
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esi], edx
mov edx, dword [esp + 0x68]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
pop edi
pop ebp
pop ebx
add esp, 0x68
ret
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebp
call edi
push 1
mov ebx, eax
call edi
xor ecx, ecx
xor edx, edx
mov dword [esi], ecx
mov dword [esi + 4], edx
push ebp
mov dword [esi + 8], ebx
push 0x54d67c
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ebx
mov dword [esi + 0xc], eax
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebp
je 0x44f680
lea ecx, [esp + 0x38]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.USER32.dll_SubtractRect]
pop edi
pop ebp
pop ebx
add esp, 0x68
ret
Function at 0x450360
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
cmp dword [ebp + 8], 0x10a
push esi
push edi
mov esi, ecx
jne case.0x450386.2
mov eax, dword [esi + 8]
cmp eax, 5
ja case.0x450386.2
jmp dword [eax*4 + 0x4504f0]
mov ecx, dword [esi + 0x28]
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0x58]
mov eax, dword [esp + 0xc]
mov edx, dword [esi + 0x54]
lea edi, [ecx + 8]
cmp eax, edi
mov dword [esp + 8], edx
jle 0x4503ba
sub eax, 8
mov dword [esp + 0xc], eax
jmp 0x4503d9
mov dword [esp + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 8]
mov dword [esi + 0x1c0], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 8], 4
cmp byte [esi + 0x1d0], 0
jne 0x4503e6
mov cl, 1
jmp 0x4503f0
cmp byte [esi + 0x1d1], 0
setne cl
movzx ecx, cl
neg ecx
sbb ecx, ecx
and ecx, 0x40
or ecx, 0x414
push ecx
mov ecx, dword [esp + 0x18]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
sub ecx, edx
push ecx
push eax
push edx
mov edx, dword [esi + 0x28]
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
mov ecx, esi
call edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
call edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp byte [esi + 0xc], 0
jne 0x450457
push 0
mov byte [esi + 0xc], 1
call fcn.004ee71e
add esp, 4
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
cmp byte [esi + 0x20], 0
mov edi, 4
je 0x4504ce
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push eax
push ecx
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x45049e
mov dword [esi + 8], 5
jmp 0x4504ce
cmp dword [esi + 8], 5
jne 0x4504cb
mov eax, dword [esi + 0x1c4]
test eax, eax
je 0x4504ce
cmp eax, 0x3e8
je 0x4504cb
mov dword [esi + 0x1c4], 0x3e8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x1c0], eax
mov dword [esi + 8], edi
cmp dword [esi + 8], edi
jne case.0x450386.2
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
mov ecx, esi
call edx
test al, al
je case.0x450386.2
mov dword [esi + 8], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x450ed0
Capabilities:
Hide graphical window

Disassembly:
mov eax, esi
call fcn.00451080
test eax, eax
jne 0x450ede
xor al, al
ret
mov eax, dword [eax + 0x14c]
push 8
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [esi + 0x1d0], 0
je 0x450eff
cmp byte [esi + 0x1d1], 0
je 0x450f33
cmp byte [esi + 0x1c8], 0
je 0x450f1a
mov ecx, dword [esi + 0x28]
push 0x53
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
jmp 0x450f2d
mov edx, dword [esi + 0x28]
push 0x257
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp byte [esi + 0x1d0], 0
je 0x450f58
cmp byte [esi + 0x1d1], 0
je 0x450f58
mov eax, dword [esi + 0x28]
push 0
push 0xa
push 0x10a
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov al, 1
ret
Function at 0x458730
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x513bb6
mov eax, dword fs:[0]
push eax
sub esp, 0x938
mov eax, dword [0x56957c]
xor eax, esp
mov dword [esp + 0x934], eax
push ebp
push esi
push edi
mov eax, dword [0x56957c]
xor eax, esp
push eax
lea eax, [esp + 0x948]
mov dword fs:[0], eax
mov eax, dword [esp + 0x958]
mov dword [esp + 0x18], eax
mov byte [esp + 0x14], 0
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x950], 0
call fcn.0041dc00
mov ecx, dword [esp + 0x95c]
push ecx
lea edi, [esp + 0x20]
lea ecx, [esp + 0x14]
mov byte [esp + 0x954], 1
call fcn.00458510
add esp, 4
test al, al
jne 0x4587f7
lea ecx, [esp + 0x10]
call fcn.00416870
cmp byte [esp + 0x138], 0
mov dword [esp + 0x1c], vtable.t_str.0
jne 0x45898d
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
cmp eax, edx
je 0x45898d
push eax
call fcn.004ed7b6
add esp, 4
jmp 0x45898d
cmp byte [esp + 0x138], 0
lea eax, [esp + 0x28]
jne 0x458809
mov eax, dword [esp + 0x24]
lea esi, [eax + 4]
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0x14e]
push ecx
mov word [esp + 0x150], ax
call fcn.004f2770
add esp, 0xc
push 0x577990
push esi
call fcn.004eea16
add esp, 8
test eax, eax
jne 0x4587c3
mov eax, 0x4000
test word [0x577996], ax
jne 0x458880
cmp byte [esp + 0x138], 0
mov dword [esp + 0x1c], vtable.t_str.0
jne 0x45898d
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
cmp eax, ecx
je 0x45898d
push eax
call fcn.004ed7b6
add esp, 4
jmp 0x45898d
push esi
push str._s.
lea edx, [esp + 0x14c]
call fcn.00411b30
add esp, 8
push 0x577740
lea edx, [esp + 0x148]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x458984
mov ecx, 0x546720
mov eax, 0x57776c
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4588e6
test dx, dx
je 0x4588e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4588e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4588c0
xor eax, eax
jmp 0x4588eb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x458969
mov ecx, 0x546724
mov eax, 0x57776c
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x458926
test dx, dx
je 0x458922
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x458926
add eax, 4
add ecx, 4
test dx, dx
jne 0x458900
xor eax, eax
jmp 0x45892b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x458969
mov edi, dword [esp + 0x18]
mov ecx, 0x57776c
call fcn.004589c0
test al, al
jne 0x458969
push 0x57776c
push esi
push 0x54672c
lea edx, [esp + 0x150]
call fcn.00411b30
add esp, 0xc
lea eax, [esp + 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x577740
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4588b3
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x1c]
call fcn.00417650
lea ecx, [esp + 0x10]
call fcn.004163d0
mov ecx, dword [esp + 0x948]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x934]
xor ecx, esp
call fcn.004ecddb
add esp, 0x944
ret 8
Function at 0x45b330
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x50efcc
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x56957c]
xor eax, esp
mov dword [esp + 0x450], eax
push ebp
push esi
push edi
mov eax, dword [0x56957c]
xor eax, esp
push eax
lea eax, [esp + 0x464]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x474]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x262]
push ecx
mov word [esp + 0x264], ax
call fcn.004f2770
add esp, 0xc
lea edx, [esp + 0x258]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 0x258]
push 0x5c
push eax
call fcn.004ef180
lea ecx, [esp + 0x260]
add esp, 8
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x45b3c0
sub ecx, esi
mov edx, eax
lea esi, [esp + 0x258]
sar ecx, 1
sub edx, esi
sar edx, 1
dec ecx
cmp edx, ecx
jne 0x45b3e6
xor ecx, ecx
mov word [eax], cx
lea ecx, [esp + 0x10]
call fcn.004174b0
lea eax, [esp + 0x258]
lea edx, [esp + 0x10]
call fcn.00417710
cmp byte [esp + 0x12c], 0
lea eax, [esp + 0x1c]
jne 0x45b411
mov eax, dword [esp + 0x18]
add eax, 4
mov edx, ebx
call fcn.00417710
cmp byte [esp + 0x12c], 0
mov dword [esp + 0x10], vtable.t_str.0
jne 0x45b442
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
cmp eax, edx
je 0x45b442
push eax
call fcn.004ed7b6
add esp, 4
lea ecx, [esp + 0x134]
call fcn.004174b0
lea edi, [esp + 0x134]
mov eax, ebp
call fcn.00464a00
cmp byte [esp + 0x250], 0
lea esi, [esp + 0x140]
jne 0x45b474
mov esi, dword [esp + 0x13c]
lea ecx, [esp + 0x10]
call fcn.004174b0
lea eax, [esi + 4]
lea edx, [esp + 0x10]
call fcn.00417710
cmp byte [esp + 0x12c], 0
lea eax, [esp + 0x1c]
jne 0x45b49b
mov eax, dword [esp + 0x18]
cmp word [eax + 4], 0x2e
jne 0x45b4b0
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
call fcn.0041f1b0
jmp 0x45b4bc
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebx
call fcn.0041e2f0
cmp byte [esp + 0x12c], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x10], esi
jne 0x45b4e4
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
cmp eax, edx
je 0x45b4e4
push eax
call fcn.004ed7b6
add esp, 4
lea ecx, [esp + 0x10]
call fcn.004174b0
mov eax, str..ssf
lea edx, [esp + 0x10]
call fcn.00417710
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
call fcn.0041f1b0
cmp byte [esp + 0x12c], 0
mov dword [esp + 0x10], esi
jne 0x45b52a
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
cmp eax, ecx
je 0x45b52a
push eax
call fcn.004ed7b6
add esp, 4
cmp byte [esp + 0x250], 0
mov dword [esp + 0x134], esi
jne 0x45b556
mov eax, dword [esp + 0x13c]
lea edx, [esp + 0x140]
cmp eax, edx
je 0x45b556
push eax
call fcn.004ed7b6
add esp, 4
mov ecx, dword [esp + 0x464]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x450]
xor ecx, esp
call fcn.004ecddb
add esp, 0x460
ret
Function at 0x45de00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50d410
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x56957c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov byte [esp + 0x14], bl
mov dword [esp + 0x10], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], fcn.004ed893
mov dword [esp + 0x20], fcn.004ee443
mov dword [esp + 0x24], fcn.004ed7b6
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 0x1fff8
mov dword [esp + 0x18], vtable.t_heap.0
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x48], 1
push str.UserManager
mov dword [esp + 0x20], ebx
mov esi, 0x544b54
call fcn.00405400
add esp, 4
mov ecx, eax
call fcn.004a6fd0
test al, al
je 0x45dea6
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x45dea6
mov esi, dword [eax + 4]
jmp 0x45deaf
lea ecx, [esp + 0x10]
call fcn.00416480
mov edx, dword [esp + 0x40]
mov eax, esi
call fcn.00417710
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], vtable.allocator_unsigned_char__class_TAllocDefault_.0
cmp eax, ebx
je 0x45dee7
mov edi, edi
mov ecx, dword [eax + 4]
push eax
mov dword [esp + 0x2c], ecx
call dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
add esp, 4
cmp eax, ebx
jne 0x45ded0
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], ebx
call fcn.004163d0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret