joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428a7a
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490dee
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [section..data]
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 edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor ebx, ebx
test byte [edi + 8], 0x20
mov dword [edi + 0xcc], ebx
je 0x428ca7
cmp byte [edi + 0x90], bl
jne 0x428ca7
cmp byte [edi], bl
je 0x428ca7
mov eax, dword [0x4c85f8]
push eax
push esi
call fcn.0040b8ab
add esp, 8
test eax, eax
je 0x428b22
mov ecx, dword [0x4c85fc]
push ecx
push esi
call fcn.0040b8ab
add esp, 8
test eax, eax
je 0x428b22
mov edx, dword [0x4c8600]
push edx
push esi
call fcn.0040b8ab
add esp, 8
test eax, eax
je 0x428b22
mov eax, dword [0x4c8604]
push eax
push esi
call fcn.0040b8ab
add esp, 8
test eax, eax
jne 0x428b2f
call fcn.0040658e
test al, al
jne 0x428ca7
lea ecx, [ebp - 0x80]
push ecx
call fcn.0043cdca
add esp, 4
mov eax, 7
xor edx, edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
push 1
push 0x49e3c0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.004051ab
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x428b7a
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.004051ab
mov eax, dword [ebp - 0x48]
mov esi, 8
cmp dword [ebp - 0x34], esi
jae 0x428ba3
lea eax, [ebp - 0x48]
push eax
sub esp, 0x1c
lea edx, [ebp - 0x80]
mov ecx, esp
mov dword [ebp - 0x94], esp
push edx
call fcn.0041c97f
lea eax, [ebp - 0x64]
push eax
call fcn.0042866b
add esp, 0x24
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00403c9c
lea ecx, [ebp - 0x64]
call fcn.0040a4bf
xor eax, eax
push 0x40
lea ecx, [ebp - 0xd4]
push ebx
push ecx
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0xd8], 0x44
call fcn.00402e70
mov edx, 1
add esp, 0xc
mov dword [ebp - 0xac], 1
mov word [ebp - 0xa8], dx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov eax, dword [ebp - 0x1c]
inc eax
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.004259f9
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x428c4a
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x58]
push eax
push 0x4a4594
inc ecx
push ecx
push esi
call fcn.00417c94
add esp, 0x10
lea edx, [ebp - 0x90]
push edx
lea eax, [ebp - 0xd8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea ecx, [ebp - 0x58]
mov dword [edi + 0xcc], 2
call fcn.0041c82d
lea ecx, [ebp - 0x48]
call fcn.0040a4bf
lea ecx, [ebp - 0x2c]
call fcn.0040a4bf
lea ecx, [ebp - 0x80]
call fcn.0040a4bf
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.0040330b
mov esp, ebp
pop ebp
ret
Function at 0x428ef1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
push eax
push 1
xor esi, esi
push esi
push str.SoftwarekingsoftOffice6.0CommonApplication_Settings
push 0x80000001
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x428f53
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
push esi
push esi
push str.oleForceShowSplash
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x428f49
xor ecx, ecx
cmp dword [ebp - 8], esi
setne cl
mov esi, ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4290dc
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490e3a
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
fldz
mov edi, ecx
fcomp qword [edi + 0x28]
fnstsw ax
test ah, 5
jnp 0x429353
test byte [0x4d0438], 1
jne 0x42914d
or dword [0x4d0438], 1
push 0x4a459a
push str.KHostSplashShow_updateDPISetting
mov ecx, 0x4d0434
mov dword [ebp - 4], 0
call fcn.00412505
mov dword [ebp - 4], 0xffffffff
mov al, byte [0x4cc84c]
test al, al
je 0x42918e
mov eax, dword [0x4d0434]
mov ecx, 1
mov word [ebp - 0x23c], cx
mov cx, word [0x4d0436]
movzx edx, cx
mov word [ebp - 0x23a], ax
movzx eax, ax
push edx
push eax
push 1
mov word [ebp - 0x238], cx
call fcn.0043a641
add esp, 0xc
fld1
lea ecx, [ebp - 0x234]
fstp qword [edi + 0x28]
push ecx
mov dword [ebp - 4], 1
call fcn.00404968
add esp, 4
mov esi, 8
push esi
push str.qt.conf
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
call fcn.004051ab
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x216]
push eax
mov word [ebp - 0x218], dx
call fcn.00402e70
mov eax, dword [ebp - 0x234]
add esp, 0xc
cmp dword [ebp - 0x220], esi
jae 0x4291f5
lea eax, [ebp - 0x234]
push eax
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push str.false
push str.DPIAware
push str.Support
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x218]
push str.true
push edx
call fcn.0040b8ab
add esp, 8
test eax, eax
je 0x429292
cmp dword [ebp - 0x220], esi
jb 0x429246
mov eax, dword [ebp - 0x234]
push eax
call fcn.00404f07
add esp, 4
mov dl, byte [0x4cc84c]
xor ecx, ecx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], cx
mov dword [ebp - 4], 0xffffffff
test dl, dl
je 0x429353
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x23a]
mov edx, dword [ebp - 0x23c]
push eax
push ecx
push edx
jmp 0x42934b
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x42922f
push 0x4a46f8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4292e7
lea ecx, [ebp - 0x234]
call fcn.0040a4bf
mov al, byte [0x4cc84c]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x429353
mov ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x23a]
mov eax, dword [ebp - 0x23c]
push ecx
push edx
push eax
jmp 0x42934b
call eax
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push esi
push 0
mov dword [ebp - 0x240], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
fild dword [ebp - 0x240]
lea ecx, [ebp - 0x234]
fdiv qword [0x4a46f0]
fstp qword [edi + 0x28]
call fcn.0040a4bf
mov cl, byte [0x4cc84c]
mov dword [ebp - 4], 0xffffffff
test cl, cl
je 0x429353
mov edx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x23a]
mov ecx, dword [ebp - 0x23c]
push edx
push eax
push ecx
call fcn.0043a652
add esp, 0xc
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.0040330b
mov esp, ebp
pop ebp
ret
Function at 0x42936e
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490e78
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
fld qword [0x4a4780]
xor ebx, ebx
mov dword [esi], vtable.KHostSplashShow.0
fstp qword [esi + 0x28]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 4
mov dword [esi + 0x30], ebx
push ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, esi
mov dword [esi + 4], eax
call fcn.004290dc
test byte [0x4d0440], 1
mov dword [ebp - 4], ebx
mov dword [esi], vtable.KWpsOfficeHostSplashShow.0
mov dword [esi + 0x50], ebx
jne 0x42941e
or dword [0x4d0440], 1
push 0x4a459a
push str.KWpsOfficeHostSplashShow
mov ecx, 0x4d043c
mov byte [ebp - 4], 1
call fcn.00412505
mov byte [ebp - 4], bl
mov al, byte [0x4cc84c]
test al, al
je 0x429456
mov eax, dword [0x4d043c]
mov ecx, 1
mov word [ebp - 0x18], cx
mov cx, word [0x4d043e]
movzx edx, cx
mov word [ebp - 0x16], ax
movzx eax, ax
push edx
push eax
push 1
mov word [ebp - 0x14], cx
call fcn.0043a641
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [esi + 0x48], cl
mov dword [esi + 0x4c], ebx
cmp cl, bl
je 0x42946b
mov edx, dword [eax + 8]
mov dword [esi + 0x4c], edx
xor ecx, ecx
cmp byte [eax + 1], bl
setne cl
mov dword [esi + 0x20], ecx
cmp dword [eax + 0x18c], ebx
jne 0x42948e
cmp dword [eax + 0x154], ebx
jne 0x42948e
cmp dword [eax + 0x140], ebx
je 0x429491
mov dword [esi + 0x20], ebx
mov dl, byte [0x4cc84c]
test dl, dl
je 0x4294af
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x16]
mov edx, dword [ebp - 0x18]
push eax
push ecx
push edx
call fcn.0043a652
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4296f1
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490ef9
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [section..data]
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 eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x23c], edi
mov byte [eax], 0
mov dword [ebp - 0x238], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov dword [ebp - 0x240], esi
mov word [esi], ax
lea ecx, [ebp - 0x234]
mov ebx, 1
push ecx
mov dword [ebp - 4], edi
mov dword [ebp - 0x23c], ebx
call fcn.00404968
add esp, 4
mov eax, dword [ebp - 0x224]
mov dword [ebp - 4], ebx
cmp eax, edi
jne 0x42978e
cmp dword [ebp - 0x220], 8
jb 0x4298a0
mov edx, dword [ebp - 0x234]
push edx
jmp 0x429898
mov edi, dword [ebp - 0x220]
mov ebx, dword [ebp - 0x234]
mov ecx, ebx
cmp edi, 8
jae 0x4297a7
lea ecx, [ebp - 0x234]
add eax, eax
cmp word [eax + ecx - 2], 0x5c
jne 0x4297df
mov ecx, ebx
cmp edi, 8
jae 0x4297be
lea ecx, [ebp - 0x234]
lea eax, [eax + ecx - 2]
movzx eax, word [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x234]
call fcn.0040be9e
mov edi, dword [ebp - 0x220]
mov ebx, dword [ebp - 0x234]
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x216]
push edx
mov word [ebp - 0x218], cx
call fcn.00402e70
add esp, 0xc
mov eax, ebx
cmp edi, 8
jae 0x42980a
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0040215c
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x4a4814
lea edx, [ebp - 0x218]
push 0x104
push edx
call fcn.0044ac2b
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x429888
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x429861
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
mov ecx, esi
call fcn.00403bac
mov edx, dword [ebp - 0x238]
mov byte [edx], 1
cmp dword [ebp - 0x220], 8
jb 0x4298a0
mov eax, dword [ebp - 0x234]
push eax
call fcn.00404f07
add esp, 4
mov eax, esi
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.0040330b
mov esp, ebp
pop ebp
ret 8

Function at 0x42a079
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax]
call edx
test eax, eax
je 0x42a0cd
cmp dword [esi + 8], 0
je 0x42a0ad
mov eax, dword [esi + 0x10]
push 0
push 0
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
lea edx, [esi + 0x10]
push edx
push 0
push esi
push 0x429ee2
push 0
push 0
mov dword [esi + 0xc], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
pop esi
ret
Function at 0x42ac4e
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491106
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [section..data]
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 eax, dword [ebp + 8]
mov esi, ecx
cmp dword [esi + 0x20], 0
mov dword [ebp - 0x4c], eax
mov ebx, 8
jne 0x42acd1
push 0x4c90d4
lea ecx, [ebp - 0x48]
push ecx
mov ecx, esi
call fcn.0042a624
cmp dword [eax + 0x14], ebx
jb 0x42aca3
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0x20], eax
cmp dword [ebp - 0x34], ebx
jb 0x42acc2
mov edx, dword [ebp - 0x48]
push edx
call fcn.00404f07
add esp, 4
cmp dword [esi + 0x20], 0
setne al
test al, al
je 0x42ad93
cmp byte [esi + 0x1c], 0
mov edi, esi
mov dword [ebp - 0x50], edi
jne 0x42acfe
mov eax, dword [esi + 0x20]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42acf3
cmp eax, 0x80
jne 0x42acf9
mov byte [esi + 0x1c], 1
jmp 0x42acfe
xor edi, edi
mov dword [ebp - 0x50], edi
push 0x4c90f0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0042a624
cmp dword [eax + 0x14], ebx
jb 0x42ad1c
mov eax, dword [eax]
mov edx, dword [ebp - 0x4c]
push eax
push edx
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0x24], eax
cmp dword [ebp - 0x18], ebx
jb 0x42ad43
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00404f07
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x42ad7b
cmp dword [esi + 0x24], 0
je 0x42ad7b
mov ecx, esi
call fcn.0042a741
mov bl, al
test edi, edi
je 0x42ad77
cmp byte [edi + 0x1c], 0
je 0x42ad77
mov ecx, dword [edi + 0x20]
push ecx
mov byte [edi + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov al, bl
jmp 0x42ad95
test edi, edi
je 0x42ad93
cmp byte [edi + 0x1c], 0
je 0x42ad93
mov edx, dword [edi + 0x20]
push edx
mov byte [edi + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor al, al
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.0040330b
mov esp, ebp
pop ebp
ret 4

Function at 0x42b6ab
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp edi, dword [ebp + 0xc]
je 0x42b6ee
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
push esi
mov eax, dword [edi]
push eax
push 0
push 0x1fffff
call ebx
mov esi, eax
test esi, esi
je 0x42b6e1
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add edi, 4
cmp edi, dword [ebp + 0xc]
jne 0x42b6bf
mov edi, dword [ebp + 8]
pop esi
pop ebx
test edi, edi
je 0x42b6fb
push edi
call fcn.00404f07
add esp, 4
pop edi
pop ebp
ret
Function at 0x42b6fe
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test ebx, ebx
je 0x42b7f9
cmp word [ebx], 0
je 0x42b7f9
test edi, edi
je 0x42b7f9
push esi
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
mov dword [ebp - 0x230], 0x22c
call fcn.00402e70
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x234], eax
cmp esi, 0xffffffff
jne 0x42b783
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040330b
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x230]
push ecx
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x42b7d5
lea edx, [ebp - 0x20c]
push ebx
push edx
call fcn.00406acb
add esp, 8
test eax, eax
jne 0x42b7c4
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x228], eax
je 0x42b7c4
lea ecx, [ebp - 0x228]
push ecx
mov ecx, edi
call fcn.00406b5c
lea edx, [ebp - 0x230]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42b794
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi]
xor ecx, ecx
cmp eax, dword [edi + 4]
pop esi
setne cl
pop edi
pop ebx
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040330b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0040330b
mov esp, ebp
pop ebp
ret
Function at 0x42c276
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491491
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [section..data]
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 esi, ecx
xor ebx, ebx
cmp dword [esi + 0x40], ebx
je 0x42c34f
mov edi, dword [esi + 0x3c]
lea eax, [ebp - 0x64]
push eax
lea ecx, [esi + 4]
call fcn.0042c198
mov dword [ebp - 4], ebx
lea esi, [ebx + 8]
cmp edi, ebx
je 0x42c335
cmp dword [ebp - 0x54], ebx
je 0x42c335
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x64]
push eax
push edi
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 1
call fcn.004366da
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], esi
jb 0x42c30c
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00404f07
add esp, 4
xor edx, edx
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.00435eed
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], bl
call fcn.00435e81
cmp dword [ebp - 0x50], esi
jb 0x42c401
mov eax, dword [ebp - 0x64]
push eax
call fcn.00404f07
add esp, 4
jmp 0x42c401
cmp dword [esi + 0x44], ebx
je 0x42c401
lea ecx, [ebp - 0xe0]
call fcn.0040a6d4
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [esi + 4]
mov dword [ebp - 4], 4
call fcn.0042c198
push eax
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 5
call fcn.0040adec
mov esi, 8
mov byte [ebp - 4], 4
cmp dword [ebp - 0x34], esi
jb 0x42c3a0
mov edx, dword [ebp - 0x48]
push edx
call fcn.00404f07
add esp, 4
lea ecx, [ebp - 0x2c]
xor eax, eax
push ecx
mov edi, 7
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
call fcn.0042cdac
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x42c3cb
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x18], esi
jb 0x42c3e3
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00404f07
add esp, 4
xor eax, eax
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], 0xffffffff
call fcn.0041ae80
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.0040330b
mov esp, ebp
pop ebp
ret
Function at 0x42c41d
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4914c1
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
xor edi, edi
push 0xc
mov dword [esi + 4], edi
call fcn.00404274
add esp, 4
cmp eax, edi
je 0x42c4c8
mov dword [esi], eax
mov dword [eax], eax
mov eax, dword [esi]
mov dword [eax + 4], eax
push 0xc
mov dword [ebp - 4], edi
mov dword [esi + 0x28], edi
call fcn.00404274
add esp, 4
cmp eax, edi
je 0x42c4a4
mov dword [esi + 0x24], eax
mov dword [eax], eax
mov eax, dword [esi + 0x24]
mov dword [eax + 4], eax
lea eax, [esi + 0xc]
push eax
mov dword [esi + 0x30], edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], edi
call fcn.0044a117
push 0x49a420
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x24], vtable.std::bad_alloc.0
call fcn.0044a300
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], edi
call fcn.0044a117
push 0x49a420
lea ecx, [ebp - 0x30]
push ecx
mov dword [ebp - 0x30], vtable.std::bad_alloc.0
call fcn.0044a300
int3

Function at 0x42c8ff
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0
mov esi, ecx
mov ecx, dword [ebp + 8]
push ecx
push 0x42c5c8
push 0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp + 8], eax
test eax, eax
je 0x42c968
push edi
mov edi, dword [esi + 0x24]
mov eax, dword [edi + 4]
lea edx, [ebp + 8]
push edx
push eax
push edi
lea ecx, [esi + 0x24]
call fcn.00432246
mov ecx, dword [esi + 0x28]
mov edx, 0x3ffffffe
sub edx, ecx
cmp edx, 1
jae 0x42c95b
push str.list_T__too_long
call fcn.0044948a
inc ecx
mov dword [esi + 0x28], ecx
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x42de0c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49194e
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push 0x206
lea ecx, [ebp - 0x23e]
xor eax, eax
push edi
push ecx
mov dword [ebp - 0x260], edi
mov word [ebp - 0x240], ax
call fcn.00402e70
add esp, 0xc
lea edx, [ebp - 0x240]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [ebp - 0x248], 7
mov dword [ebp - 0x24c], edi
mov word [ebp - 0x25c], ax
push 0xf
lea edx, [ebp - 0x38]
xor ecx, ecx
push edx
mov dword [ebp - 4], edi
mov word [ebp - 0x38], cx
mov dword [ebp - 0x36], eax
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0044adf9
lea eax, [ebp - 0x38]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x42decc
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x25c]
call fcn.00403bac
lea ecx, [ebp - 0x38]
push 0xf
push ecx
mov edx, ecx
push edx
call fcn.0044adf9
lea eax, [ebp - 0x38]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x42df02
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x25c]
call fcn.004051ab
push 4
push str..exe
lea ecx, [ebp - 0x25c]
call fcn.004051ab
cmp dword [ebp - 0x248], 8
mov eax, dword [ebp - 0x25c]
jae 0x42df48
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x240]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
lea eax, [ebp - 0x240]
mov word [esi], dx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x42df6e
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x240]
push eax
mov ecx, esi
call fcn.00403bac
cmp dword [ebp - 0x248], 8
jb 0x42dfa4
mov ecx, dword [ebp - 0x25c]
push ecx
call fcn.00404f07
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040330b
mov esp, ebp
pop ebp
ret