joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c7d10
Capabilities:
Check if file exists
Create process on windows
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5b6e4b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x615370]
xor eax, esp
mov dword [esp + 0x218], eax
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
push 0x208
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0058e300
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
push str.InstallLocation
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [esp + 0x1c]
push ecx
call esi
test eax, eax
je 0x4c7de7
push str.data360dzz.exe
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x1c]
push eax
call esi
test eax, eax
je 0x4c7de7
lea eax, [esp + 0x1c]
call fcn.00476860
test eax, eax
je 0x4c7de7
push 5
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4c7e77
lea edx, [esp + 0x10]
push str.SoftManager.exe
push edx
call fcn.0051640f
add esp, 8
mov dword [esp + 0x230], 0
mov eax, dword [esp + 0x10]
mov edi, eax
test eax, eax
je 0x4c7e50
push eax
call esi
test eax, eax
je 0x4c7e4c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.00515ed7
add esp, 4
test eax, eax
jne 0x4c7e31
call fcn.0044edc0
test eax, eax
je 0x4c7e4c
mov eax, dword [esp + 0x10]
push 5
push 0
push str._DOWNLOADSOFT104699003
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x230], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c7e77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.005886fc
add esp, 0x228
ret
Function at 0x4c8cc0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5b1c43
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x615370]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
mov dword [esp + 0x220], 0
mov eax, dword [esp + 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
lea ecx, [esp + 8]
push ecx
mov ecx, eax
call fcn.00406c20
push 0x208
lea edx, [esp + 0x10]
push 0
push edx
call fcn.0058e300
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ecx, dword [esp + 8]
push 0x5d4b20
push ecx
call fcn.0058a10b
add esp, 8
or esi, 0xffffffff
test eax, eax
jne 0x4c8ddb
mov eax, dword [esp + 0x228]
cmp dword [eax - 0xc], 0
jl 0x4c8ddb
lea edx, [esp + 0xc]
push edx
push eax
call fcn.0058913b
add esp, 8
test eax, eax
je 0x4c8ddb
sub eax, dword [esp + 0x228]
sar eax, 1
cmp eax, esi
je 0x4c8ddb
mov byte [esp + 0x220], 0
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c8db0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x220], esi
mov eax, dword [esp + 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x4c8dd7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4c8e2e
mov byte [esp + 0x220], 0
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c8e02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x220], esi
mov eax, dword [esp + 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x4c8e29
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.005886fc
add esp, 0x21c
ret 4

Function at 0x4c9000
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x615370]
xor eax, esp
mov dword [esp + 0x210], eax
xor eax, eax
push 0x206
mov dword [esp + 4], 0
push eax
lea ecx, [esp + 0x12]
push ecx
mov dword [esp + 0x10], 0x104
mov dword [esp + 0xc], 1
mov word [esp + 0x14], ax
call fcn.0058e300
add esp, 0xc
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 8]
push ecx
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360Game.exe
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4c907e
lea edx, [esp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [esp + 8]
test eax, eax
jne 0x4c9083
mov ecx, 0x5caac0
push esi
call fcn.00406c20
mov ecx, dword [esp + 0x210]
xor ecx, esp
mov eax, esi
call fcn.005886fc
add esp, 0x214
ret
Function at 0x4cb300
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5b5e00
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x34]
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x20], ebp
cmp ebp, ebx
je 0x4cb340
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
push ebp
call ecx
mov dword [esp + 0x2c], ebx
cmp ebp, ebx
je 0x4cb45f
cmp dword [edi + 4], ebx
je 0x4cb45f
mov esi, dword [ebp + 0xb4]
push esi
call fcn.004c7fc0
test eax, eax
je 0x4cb37b
mov dword [esp + 0x2c], 0xffffffff
mov edx, dword [ebp]
mov eax, dword [edx + 8]
push ebp
call eax
jmp 0x4cb474
mov byte [esp + 0x2c], 1
mov eax, dword [edi + 4]
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x38], ebx
mov ecx, dword [eax]
push esi
push eax
mov eax, dword [ecx + 0x3c]
call eax
mov esi, dword [esp + 0x34]
test eax, eax
je 0x4cb43c
cmp esi, ebx
je 0x4cb43c
lea ecx, [esp + 0x1c]
push ecx
mov ecx, str._select__
call fcn.00406c20
mov edi, eax
mov byte [esp + 0x2c], 2
mov edx, dword [esi]
mov eax, dword [edx + 0x3c]
push esi
call eax
lea ecx, [esp + 0x18]
push edi
push ecx
mov ebx, eax
call fcn.00406330
push eax
lea edx, [esp + 0x20]
push edx
mov ebx, 0x5d4acc
mov byte [esp + 0x3c], 3
call fcn.00406330
mov eax, dword [eax]
add esp, 0x10
push 5
push 0
push eax
push str.explorer
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x14]
call fcn.004066e0
lea ecx, [esp + 0x18]
call fcn.004066e0
lea ecx, [esp + 0x1c]
call fcn.004066e0
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4cb432
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x2c], 0xffffffff
jmp 0x4cb46b
mov byte [esp + 0x2c], bl
cmp esi, ebx
je 0x4cb44c
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov dword [esp + 0x2c], 0xffffffff
mov ecx, dword [ebp]
mov edx, dword [ecx + 8]
push ebp
call edx
jmp 0x4cb474
mov dword [esp + 0x2c], 0xffffffff
cmp ebp, ebx
je 0x4cb474
mov eax, dword [ebp]
mov ecx, dword [eax + 8]
push ebp
call ecx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
Function at 0x4cb510
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5b24c0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 8], esi
test esi, esi
je 0x4cb543
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov dword [esp + 0x18], 0
test esi, esi
je 0x4cb59c
mov eax, dword [edi + 4]
test eax, eax
je 0x4cb59c
mov dword [esp + 0xc], 0
mov byte [esp + 0x18], 1
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x30]
call eax
mov edx, dword [esi + 0xb4]
dec eax
push 1
push edi
mov ecx, eax
call fcn.004cc420
mov dword [esp + 0x18], 0xffffffff
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
add esp, 0x18
ret
mov dword [esp + 0x18], 0xffffffff
test esi, esi
je 0x4cb5b0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
add esp, 0x18
ret
Function at 0x4cb670
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5b1bc1
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x615370]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push esi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x18], edi
cmp edi, ebx
je 0x4cb6bd
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov dword [esp + 0x230], ebx
cmp edi, ebx
je 0x4cb7ff
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4cb7ff
mov ecx, dword [edi + 0xb4]
mov byte [esp + 0x230], 1
lea esi, [esp + 0xc]
push esi
mov dword [esp + 0x10], ebx
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x3c]
call eax
test eax, eax
mov eax, dword [esp + 0xc]
je 0x4cb7d7
cmp eax, ebx
je 0x4cb7d7
push 0x208
lea ecx, [esp + 0x20]
push ebx
push ecx
call fcn.0058e300
add esp, 0xc
push 1
push 0x10
lea edx, [esp + 0x24]
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push eax
call edx
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call fcn.00406c20
push eax
lea edx, [esp + 0x18]
push edx
mov ebx, 0x5d4b20
mov byte [esp + 0x238], 2
call fcn.00406330
mov eax, dword [eax]
add esp, 8
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [esp + 0x14]
call fcn.004066e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x230], 1
call fcn.004066e0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push eax
mov esi, eax
call edx
mov ebx, eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x3c]
push esi
call ecx
lea edx, [esp + 0x1c]
push edx
mov edx, ebx
mov ecx, eax
call fcn.00527b8c
mov byte [esp + 0x234], 0
mov eax, dword [esp + 0x10]
add esp, 4
test eax, eax
je 0x4cb7ca
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x230], 0xffffffff
jmp 0x4cb80e
mov byte [esp + 0x230], bl
cmp eax, ebx
je 0x4cb7ea
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x230], 0xffffffff
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
jmp 0x4cb816
mov dword [esp + 0x230], 0xffffffff
cmp edi, ebx
je 0x4cb816
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.005886fc
add esp, 0x228
ret
Function at 0x4d7330
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov ecx, dword [edi + 0x150]
test ecx, ecx
je 0x4d743e
cmp dword [edi + 0x154], 0
je 0x4d743e
cmp dword [edi + 0x158], 0
je 0x4d743e
sub eax, 0
je 0x4d740e
sub eax, 1
je 0x4d73fe
sub eax, 1
jne 0x4d743e
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push ebx
push 0
call edx
mov ecx, dword [edi + 0x154]
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push 0
call edx
mov ecx, dword [edi + 0x158]
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push 1
call edx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
sub eax, dword [0x62400c]
cmp eax, 0x2710
jbe 0x4d73cd
push esi
mov esi, dword [edi + 0x158]
call fcn.0043edf0
call ebx
mov dword [0x62400c], eax
pop esi
mov eax, dword [edi]
mov edx, dword [eax + 0xa4]
mov ecx, edi
call edx
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
pop ebx
test eax, eax
jne 0x4d743e
mov ecx, dword [edi + 0x158]
push eax
mov eax, dword [ecx]
mov edx, dword [eax + 0xfc]
call edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push 0
call edx
push 1
jmp 0x4d741c
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push 1
call edx
push 0
mov ecx, dword [edi + 0x154]
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
call edx
mov ecx, dword [edi + 0x158]
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push 0
call edx
ret

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

Disassembly:
mov ecx, dword [edi + 0x150]
test ecx, ecx
je 0x4d818e
cmp dword [edi + 0x154], 0
je 0x4d818e
cmp dword [edi + 0x158], 0
je 0x4d818e
sub eax, 0
je 0x4d815e
sub eax, 1
je 0x4d814e
sub eax, 1
jne 0x4d818e
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push ebx
push 0
call edx
mov ecx, dword [edi + 0x154]
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push 0
call edx
mov ecx, dword [edi + 0x158]
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push 1
call edx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
sub eax, dword [0x624010]
cmp eax, 0x2710
jbe 0x4d811d
push esi
mov esi, dword [edi + 0x158]
call fcn.0043edf0
call ebx
mov dword [0x624010], eax
pop esi
mov eax, dword [edi]
mov edx, dword [eax + 0xa4]
mov ecx, edi
call edx
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
pop ebx
test eax, eax
jne 0x4d818e
mov ecx, dword [edi + 0x158]
push eax
mov eax, dword [ecx]
mov edx, dword [eax + 0xfc]
call edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push 0
call edx
push 1
jmp 0x4d816c
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push 1
call edx
push 0
mov ecx, dword [edi + 0x154]
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
call edx
mov ecx, dword [edi + 0x158]
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push 0
call edx
ret
Function at 0x4d9050
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov ecx, dword [edi + 0x150]
test ecx, ecx
je 0x4d915e
cmp dword [edi + 0x154], 0
je 0x4d915e
cmp dword [edi + 0x158], 0
je 0x4d915e
sub eax, 0
je 0x4d912e
sub eax, 1
je 0x4d911e
sub eax, 1
jne 0x4d915e
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push ebx
push 0
call edx
mov ecx, dword [edi + 0x154]
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push 0
call edx
mov ecx, dword [edi + 0x158]
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push 1
call edx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
sub eax, dword [0x624014]
cmp eax, 0x2710
jbe 0x4d90ed
push esi
mov esi, dword [edi + 0x158]
call fcn.0043edf0
call ebx
mov dword [0x624014], eax
pop esi
mov eax, dword [edi]
mov edx, dword [eax + 0xa4]
mov ecx, edi
call edx
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
pop ebx
test eax, eax
jne 0x4d915e
mov ecx, dword [edi + 0x158]
push eax
mov eax, dword [ecx]
mov edx, dword [eax + 0xfc]
call edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push 0
call edx
push 1
jmp 0x4d913c
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push 1
call edx
push 0
mov ecx, dword [edi + 0x154]
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
call edx
mov ecx, dword [edi + 0x158]
mov eax, dword [ecx]
mov edx, dword [eax + 0xa8]
push 0
call edx
ret
Function at 0x4dee80
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5b5b53
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x615370]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x23c]
xor ebx, ebx
mov dword [esp + 0x230], ebx
mov eax, dword [0x621148]
mov edx, dword [eax + 0xc]
mov ecx, 0x621148
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov byte [esp + 0x230], 1
mov eax, dword [esp + 0x238]
push eax
mov dword [esp + 0x1c], ebx
call dword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
test eax, eax
jne 0x4def5b
mov ecx, dword [esp + 0x238]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4def5b
mov ecx, dword [esp + 0x238]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.00538230
add esp, 0xc
test eax, eax
je 0x4def3e
lea edx, [esp + 0x1c]
lea edi, [esp + 0x14]
call fcn.00406be0
jmp 0x4def57
cmp dword [esi - 0xc], ebx
jne 0x4def5b
lea eax, [esp + 0x238]
lea edi, [esp + 0x14]
call fcn.00406500
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
test eax, eax
je 0x4defbb
lea eax, [esi - 0x10]
mov byte [esp + 0x230], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4def89
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x230], 0xffffffff
mov eax, dword [esp + 0x238]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4defb7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4df023
mov ecx, dword [esp + 0x18]
push ebp
push ebp
push ecx
push esi
call fcn.005386b0
push eax
call fcn.00538720
mov edi, eax
lea eax, [esi - 0x10]
mov byte [esp + 0x230], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4deff3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x230], 0xffffffff
mov eax, dword [esp + 0x238]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4df021
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.005886fc
add esp, 0x220
ret
Function at 0x4df9b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b80eb
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push ebx
push str.XLiveInstallDlg
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x4dfa13
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4dfa13
lea eax, [ebx + 3]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.004df840
push 0x168
mov dword [esp + 0x3c], ebx
call fcn.005851c0
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x38], 1
cmp eax, ebx
je 0x4dfa48
mov edi, eax
call fcn.004e0d10
mov edi, eax
jmp 0x4dfa4a
xor edi, edi
mov byte [esp + 0x38], bl
mov dword [esp + 0x10], edi
cmp edi, ebx
je 0x4dfa5e
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
lea eax, [esi + 4]
lea ebx, [esp + 0x18]
mov ecx, edi
mov byte [esp + 0x38], 2
call fcn.004e0ea0
mov ebx, dword [ebp + 8]
push 0
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push 0x80080
push SysReAllocStringLen
push 0
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [esp + 0x2c], esp
push ebx
mov ecx, edi
mov dword [eax], 0
call fcn.00540910
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
push 5
push 1
push ebx
mov ecx, edi
call edx
cmp eax, 1
jne 0x4dfafb
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
lea eax, [esp + 0x20]
push eax
push esi
call fcn.004dfb30
mov byte [esp + 0x38], 0
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
lea esi, [esp + 0x18]
call fcn.004df690
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [esp + 0x38], 0
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
lea esi, [esp + 0x18]
call fcn.004df690
mov eax, 2
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4e01a0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5b21d0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 0xc]
xor ebx, ebx
sar eax, 2
xor esi, esi
cmp eax, ebx
jbe 0x4e0318
cmp esi, eax
jb 0x4e01e9
call fcn.00588c45
mov eax, dword [ebp + 0xc]
lea eax, [eax + esi*4]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0052fd70
add esp, 8
mov dword [esp + 0x24], ebx
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.00406c20
mov byte [esp + 0x24], 1
mov edx, dword [esp + 0x18]
push str..exe
push edx
call fcn.0058a10b
add esp, 8
cmp eax, ebx
je 0x4e026e
mov eax, dword [esp + 0x18]
push str..dll
push eax
call fcn.0058a10b
add esp, 8
cmp eax, ebx
je 0x4e026e
mov ecx, dword [esp + 0x18]
push str..tpi
push ecx
call fcn.0058a10b
add esp, 8
cmp eax, ebx
je 0x4e026e
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jmp 0x4e02b8
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4e0333
mov eax, dword [esp + 0x2c]
mov edi, eax
cmp eax, ebx
je 0x4e0333
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4e0333
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.00515ed7
add esp, 4
test eax, eax
jne 0x4e02ba
call fcn.0044edc0
cmp eax, ebx
je 0x4e0333
mov byte [esp + 0x24], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e02de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e0306
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 0xc]
inc esi
sar eax, 2
cmp esi, eax
jb 0x4e01e9
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
mov byte [esp + 0x24], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e0357
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e037f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4e031d