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

Disassembly:
push 0x14
mov eax, 0x467276
call fcn.0044befc
mov esi, dword [ebp + 0x14]
and dword [ebp - 4], 0
cmp dword [esi + 0x18], 8
lea edi, [esi + 4]
jb 0x43f436
mov eax, dword [edi]
jmp 0x43f438
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43f4a0
cmp dword [esi + 0x18], 8
jb 0x43f44d
mov eax, dword [edi]
jmp 0x43f44f
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x43f4a0
lea eax, [ebp - 0x14]
push eax
call fcn.00429cfb
pop ecx
mov byte [ebp - 4], 1
cmp dword [esi + 0x18], 8
mov ebx, dword [eax]
jb 0x43f479
mov edi, dword [edi]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
push ebx
push edi
push str.Failed_to_delete_fileName__S_:__S
mov esi, eax
call fcn.00409015
add esp, 0xc
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0040ebb7
mov ebx, dword [ebp + 0x10]
cmp dword [ebx + 0x18], 8
lea esi, [ebx + 4]
jb 0x43f4b0
mov eax, dword [esi]
jmp 0x43f4b2
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43f51a
cmp dword [ebx + 0x18], 8
jb 0x43f4c7
mov eax, dword [esi]
jmp 0x43f4c9
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x43f51a
lea eax, [ebp - 0x18]
push eax
call fcn.00429cfb
pop ecx
mov byte [ebp - 4], 2
cmp dword [ebx + 0x18], 8
mov edi, dword [eax]
jb 0x43f4f3
mov esi, dword [esi]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
push edi
push esi
push str.Failed_to_delete_path__S_:__S
mov esi, eax
call fcn.00409015
add esp, 0xc
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.0040ebb7
mov ecx, dword [ebp + 8]
xor eax, eax
cmp byte [ecx + 4], al
push 0
sete al
push 0
push str.SoftwareRobloxRegETags
add eax, 0x80000001
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00429e3b
mov eax, dword [ebp + 0xc]
add esp, 0x14
cmp dword [eax + 0x18], 8
jb 0x43f54e
mov eax, dword [eax + 4]
jmp 0x43f551
add eax, 4
push 1
push 0x470e7c
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040c948
lea esi, [ebp - 0x20]
call fcn.0040ca6b
call fcn.0044bfa1
ret 0x10

Function at 0x43ff83
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov esi, ecx
push 0
push dword [esi + 0x48]
mov byte [esi + 0x30], 1
call edi
push 0
push dword [esi + 0x40]
call edi
push 0
push dword [esi + 0x44]
call edi
push 0x43fe32
push 0x12c
push 1
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
ret
Function at 0x4409ef
Capabilities:
Allocate thread local storage

Disassembly:
push 0x5c
mov eax, 0x461fec
call fcn.0044bf32
xor ebx, ebx
mov dword [ebp - 0x68], 0xc15730e2
mov dword [ebp - 0x64], 0x7f0725e3
mov byte [ebp - 0x60], bl
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x58], bl
mov eax, dword [0x498940]
cmp eax, dword [ebp - 0x68]
je 0x440b3d
mov edi, 0x498940
mov ecx, dword [ebp - 0x64]
mov edx, edi
xor eax, eax
lock cmpxchg dword [edx], ecx
cmp eax, ebx
je 0x440aa0
cmp byte [ebp - 0x60], bl
jne 0x440a86
xor ecx, ecx
mov eax, 0x498944
inc ecx
lock xadd dword [eax], ecx
mov eax, dword [0x498940]
mov byte [ebp - 0x60], 1
cmp eax, dword [ebp - 0x68]
je 0x440b3d
cmp dword [ebp - 0x5c], ebx
jne 0x440a86
cmp byte [ebp - 0x58], bl
jne 0x440a6d
lea ebx, [ebp - 0x58]
call fcn.00440996
xor ebx, ebx
lea eax, [ebp - 0x58]
push eax
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push eax
lea esi, [ebp - 0x5c]
call fcn.00413220
jmp 0x440a91
push 0xffffffffffffffff
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x498940]
cmp eax, dword [ebp - 0x68]
jne 0x440a27
jmp 0x440b3d
cmp dword [ebp - 0x5c], ebx
jne 0x440ad2
cmp byte [ebp - 0x58], bl
jne 0x440ab4
lea ebx, [ebp - 0x58]
call fcn.00440996
xor ebx, ebx
lea eax, [ebp - 0x58]
push eax
push ebx
push 0x100002
call dword [sym.imp.KERNEL32.dll_OpenEventA]
push eax
lea esi, [ebp - 0x5c]
call fcn.00413220
cmp dword [ebp - 0x5c], ebx
je 0x440adb
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
call fcn.00440e04
cmp byte [ebp - 0x60], bl
jne 0x440af5
xor ecx, ecx
mov eax, 0x498944
inc ecx
lock xadd dword [eax], ecx
mov byte [ebp - 0x60], 1
mov eax, dword [ebp - 0x68]
xchg dword [edi], eax
cmp dword [ebp - 0x5c], ebx
jne 0x440b34
mov eax, dword [0x498944]
cmp eax, 1
jle 0x440b2f
cmp byte [ebp - 0x58], bl
jne 0x440b18
lea ebx, [ebp - 0x58]
call fcn.00440996
xor ebx, ebx
lea eax, [ebp - 0x58]
push eax
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push eax
lea esi, [ebp - 0x5c]
call fcn.00413220
cmp dword [ebp - 0x5c], ebx
je 0x440b3d
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea eax, [ebp - 0x5c]
call fcn.0041323d
call fcn.0044bfb5
ret
Function at 0x441525
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0x20
mov eax, 0x465e8b
call fcn.0044befc
mov esi, dword [ebp + 8]
call fcn.00408164
xor edi, edi
push str.Failed_CryptAcquireContext
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
call fcn.00408177
push 0xf0000000
push 1
push edi
push edi
lea ebx, [esi + 0x1c]
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
cmp eax, edi
jne 0x44156e
lea eax, [ebp - 0x2c]
call fcn.00429ccd
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040948e
push str.Failed_CryptCreateHash
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00408177
lea eax, [esi + 0x20]
push eax
push edi
push edi
push 0x8003
mov byte [ebp - 4], 3
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
cmp eax, edi
jne 0x4415ad
lea eax, [ebp - 0x2c]
call fcn.00429ccd
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040948e
mov eax, esi
call fcn.0044bfa1
ret 4

Function at 0x4415f9
Capabilities:
Hash data via wincrypt

Disassembly:
push 0x428
mov eax, 0x46721b
call fcn.0044bf32
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x418], eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
mov ecx, dword [eax + 0x28]
neg ecx
sbb ecx, ecx
xor edi, edi
and ecx, 0xfffffffc
push edi
add ecx, 4
push eax
call fcn.00401767
push edi
call fcn.0042ba32
push 0x400
lea eax, [ebp - 0x414]
push eax
push esi
call fcn.0042bbd5
mov ebx, dword [esi + 4]
push str.Failed_CryptHashData
lea ecx, [ebp - 0x434]
call fcn.00408177
push edi
push ebx
lea eax, [ebp - 0x414]
push eax
mov eax, dword [ebp - 0x418]
mov dword [ebp - 4], edi
push dword [eax + 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
cmp eax, edi
jne 0x441685
lea eax, [ebp - 0x434]
call fcn.00429ccd
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x434]
call fcn.0040948e
cmp dword [esi + 4], edi
jg 0x441636
call fcn.0044bfb5
ret 4

Function at 0x44184c
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x48e190]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0x110
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.0044b6b0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x44189f
cmp dword [ebp - 0x70], 2
jne 0x44189f
cmp dword [ebp - 0x7c], 6
jb 0x44189f
mov al, 1
jmp 0x4418a1
xor al, al
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.00447a6d
add ebp, 0x98
leave
ret
Function at 0x442178
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x464a3c
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x48e190]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
push edi
mov eax, dword [0x48e190]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push edi
xor ebx, ebx
push ebx
push 0x100001
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x278], ebx
cmp eax, ebx
je 0x442377
lea eax, [esp + 0x5c]
push eax
push 0x44211f
mov dword [esp + 0x64], edi
mov byte [esp + 0x68], bl
call dword [sym.imp.USER32.dll_EnumWindows]
mov byte [esp + 0x17], bl
cmp byte [esp + 0x60], bl
je 0x442344
mov edi, dword [esi + 8]
imul edi, edi, 0xa
mov byte [esi + 0x58], 1
mov dword [esp + 0x18], edi
cmp dword [esp + 0x18], 0
jle 0x442258
push 0x64
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x442232
mov byte [esp + 0x17], 1
dec dword [esp + 0x18]
mov eax, dword [esi + 0x10]
inc ebx
test eax, eax
je 0x44227d
push edi
lea ecx, [esi + 0x18]
push ebx
and eax, 0xfffffffe
push ecx
call dword [eax + 4]
add esp, 0xc
test al, al
je 0x442294
cmp byte [esp + 0x17], 0
je 0x442213
cmp byte [esp + 0x17], 0
jne 0x44236d
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x4422ac
lea esi, [esp + 0x34]
call fcn.0042ddf8
mov byte [esp + 0x278], 2
jmp 0x44228e
lea esi, [esp + 0x34]
call fcn.0042ddf8
mov byte [esp + 0x278], 1
push eax
call fcn.00435bc2
push 7
lea esi, [esp + 0x28]
call fcn.00427ced
push 0x481828
mov eax, esi
push eax
call fcn.0044bfd3
add esi, 0x40
and eax, 0xfffffffe
push esi
call dword [eax + 4]
pop ecx
push 8
mov esi, eax
call fcn.00447dc4
pop ecx
mov dword [esp + 0x18], eax
mov byte [esp + 0x278], 3
test eax, eax
je 0x4422e1
lea ecx, [esp + 0x62]
push ecx
push esi
push eax
call fcn.0044340d
mov esi, eax
jmp 0x4422e3
xor esi, esi
mov dword [esp + 0x20], esi
mov byte [esp + 0x278], 4
test esi, esi
je 0x442329
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call dword [eax + 4]
test al, al
jne 0x44239d
push 0x3e8
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x442322
mov byte [esp + 0x17], 1
cmp byte [esp + 0x17], 0
je 0x4422f3
mov byte [esp + 0x278], 0
test esi, esi
je 0x44233d
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
cmp byte [esp + 0x17], 0
jne 0x44236d
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x442361
cmp dword [esp + 0x18], 0x103
jne 0x44236d
push 0
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.00447a6d
mov esp, ebp
pop ebp
ret 4
cmp dword [esp + 0x18], 1
je 0x442329
push 1
lea esi, [esp + 0x28]
call fcn.00427d31
push 0x4817dc
mov eax, esi
jmp 0x4422a6
Function at 0x4423bb
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4653d2
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x185c
call fcn.0045b300
mov eax, dword [0x48e190]
xor eax, esp
mov dword [esp + 0x1858], eax
push ebx
push esi
push edi
mov eax, dword [0x48e190]
xor eax, esp
push eax
lea eax, [esp + 0x1870]
mov dword fs:[0], eax
lea eax, [esp + 0x38]
push eax
push 0x1000
lea eax, [esp + 0x4c]
mov edi, ecx
push eax
mov dword [esp + 0x38], edi
call sub.PSAPI.DLL_EnumProcesses
mov esi, dword [esp + 0x38]
push 4
shr esi, 2
call fcn.00447dc4
pop ecx
xor ecx, ecx
cmp eax, ecx
je 0x442437
lea edx, [esp + 0x14]
mov dword [eax], edx
jmp 0x442439
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1878], 1
cmp esi, ecx
jbe 0x442572
lea ebx, [esp + 0x44]
mov dword [esp + 0x34], esi
mov edi, 0x400
push dword [ebx]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esp + 0x30], eax
push edi
lea ecx, [esp + 0x1068]
push ecx
push eax
mov byte [esp + 0x1884], 2
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x442548
xor eax, eax
mov word [esp + 0x1862], ax
lea eax, [esp + 0x1064]
push eax
lea eax, [esp + 0x104c]
call fcn.00408201
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x1878], 3
cmp dword [eax + 0x74], 8
mov ecx, dword [eax + 0x70]
jb 0x4424cf
mov eax, dword [eax + 0x60]
jmp 0x4424d2
add eax, 0x60
push ecx
push eax
xor eax, eax
lea ecx, [esp + 0x1050]
call fcn.0040967a
cmp eax, 0xffffffff
je 0x442538
mov edx, dword [esp + 0x20]
test edx, edx
jne 0x4424f3
xor eax, eax
jmp 0x4424fc
mov eax, dword [esp + 0x28]
sub eax, edx
sar eax, 2
mov ecx, dword [esp + 0x24]
mov esi, ecx
sub esi, edx
sar esi, 2
cmp esi, eax
jae 0x442518
mov eax, dword [ebx]
mov dword [ecx], eax
add ecx, 4
mov dword [esp + 0x24], ecx
jmp 0x442538
mov esi, ecx
cmp edx, ecx
jbe 0x442523
call fcn.00447f91
mov eax, dword [esp + 0x14]
push esi
push eax
push ebx
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x24]
call fcn.00442631
push 0
push 1
lea esi, [esp + 0x1050]
call fcn.00409726
mov byte [esp + 0x1878], 1
cmp dword [esp + 0x30], 0
je 0x442561
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add ebx, 4
dec dword [esp + 0x34]
jne 0x442469
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov byte [edi + 0x58], 0
cmp dword [esp + 0x20], ebx
jbe 0x442585
call fcn.00447f91
mov esi, dword [esp + 0x20]
cmp esi, dword [esp + 0x24]
jbe 0x4425a2
call fcn.00447f91
jmp 0x4425a2
push dword [esi]
mov ecx, edi
call fcn.00442178
add esi, 4
cmp esi, ebx
jne 0x442596
cmp dword [esp + 0x20], 0
mov bl, byte [edi + 0x58]
je 0x4425ba
push dword [esp + 0x20]
call fcn.00447a62
pop ecx
push dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.00447a62
pop ecx
mov al, bl
mov ecx, dword [esp + 0x1870]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1858]
xor ecx, esp
call fcn.00447a6d
mov esp, ebp
pop ebp
ret
Function at 0x4431f9
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov ebx, ecx
test edi, edi
je 0x44325a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x44325a
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44322a
and al, 0x10
xor ecx, ecx
cmp al, 0x10
sete cl
mov eax, ecx
jmp 0x44325c
push edi
call dword [sym.imp.SHLWAPI.dll_StrDupW]
push 0x5c
mov esi, eax
push 0
push esi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
test eax, eax
je 0x443275
xor ecx, ecx
mov word [eax], cx
push esi
mov ecx, ebx
call fcn.004431f9
push esi
test eax, eax
jne 0x443262
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop edi
pop esi
pop ebx
ret 4
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x44325a
xor eax, eax
inc eax
jmp 0x44325c
Function at 0x44327a
Capabilities:
Timestomp file

Disassembly:
push 0x48
mov eax, 0x465d43
call fcn.0044bec9
mov edi, ecx
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push ebx
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
lea esi, [ebp - 0x54]
push str.SetFileModTime_couldnt_open__S
mov dword [ebp - 4], ebx
call fcn.0042c7fe
pop ecx
pop ecx
xor ecx, ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x10], 0xffffffff
setne cl
cmp ecx, ebx
jne 0x4432cc
call fcn.00429ccd
push ebx
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.0040948e
push dword [ebp + 8]
lea esi, [ebp - 0x54]
push str.SetFileModTime_failed_GetFileTime:__S
call fcn.0042c7fe
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 2
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
cmp eax, ebx
jne 0x443312
mov eax, esi
call fcn.00429ccd
push ebx
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.0040948e
push dword [ebp + 8]
lea esi, [ebp - 0x54]
push str.SetFileModTime_failed_DosDateTimeToFileTime:__S
call fcn.0042c7fe
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push edi
shr edi, 0x10
push edi
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
cmp eax, ebx
jne 0x443352
mov eax, esi
call fcn.00429ccd
push ebx
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.0040948e
push dword [ebp + 8]
lea esi, [ebp - 0x54]
push str.SetFileModTime_failed_LocalFileTimeToFileTime:__S
call fcn.0042c7fe
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
cmp eax, ebx
jne 0x443391
mov eax, esi
call fcn.00429ccd
push ebx
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.0040948e
push dword [ebp + 8]
lea esi, [ebp - 0x54]
push str.SetFileModTime_failed_SetFileTime:__S
call fcn.0042c7fe
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 5
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x4433d7
mov eax, esi
call fcn.00429ccd
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.0040948e
cmp dword [ebp - 0x10], ebx
je 0x4433f0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0044bfa1
ret 4

Function at 0x4434aa
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [ecx]
mov edx, eax
xor edx, dword [esp + 4]
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edi + edx*4]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edi + edx*4]
pop esi
mov dword [ecx + 8], eax
mov eax, dword [esp + 4]
ret
Function at 0x447a6d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48e190]
jne 0x447a77
repz ret
jmp fcn.0044f36c

Function at 0x45b5cc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004502c9
and dword [ebp - 4], 0
cmp dword [0x49880c], 0
mov ebx, eax
jne 0x45b67d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45b72e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x46e548
push edi
call esi
test eax, eax
je 0x45b72e
push eax
call fcn.00450257
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x49880c], eax
call esi
push eax
call fcn.00450257
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x498810], eax
call esi
push eax
call fcn.00450257
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x498814], eax
call esi
push eax
call fcn.00450257
pop ecx
mov dword [0x49881c], eax
test eax, eax
je 0x45b67d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00450257
pop ecx
mov dword [0x498818], eax
mov eax, dword [0x498818]
cmp eax, ebx
je 0x45b6d5
cmp dword [0x49881c], ebx
je 0x45b6d5
push eax
call fcn.004502d2
push dword [0x49881c]
mov esi, eax
call fcn.004502d2
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x45b6d5
test edi, edi
je 0x45b6d5
call esi
test eax, eax
je 0x45b6cc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45b6cc
test byte [ebp - 0xc], 1
jne 0x45b6d5
or dword [ebp + 0x10], 0x200000
jmp 0x45b70e
mov eax, dword [0x498810]
cmp eax, ebx
je 0x45b70e
push eax
call fcn.004502d2
pop ecx
test eax, eax
je 0x45b70e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x45b70e
mov eax, dword [0x498814]
cmp eax, ebx
je 0x45b70e
push eax
call fcn.004502d2
pop ecx
test eax, eax
je 0x45b70e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x49880c]
call fcn.004502d2
pop ecx
test eax, eax
je 0x45b72e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45b730
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100c0e4
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1032246
call fcn.0102edc8
sub esp, 0x1c
push esi
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString_3
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call sub.MFC42u.DLL_CString::CString_3
mov esi, 0x104
push esi
push esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x100c140
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], al
call fcn.0102d8a6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0102d8a6
jmp 0x100c2bc
push ebx
push edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::ReleaseBuffer
push 0xc404
lea ecx, [ebp - 0x1c]
call sub.MFC42u.DLL_CString::LoadStringW
push 0x10021cc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call sub.MFC42u.DLL_operator
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_operator_1
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CString::operator
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.0102d8a6
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0102d8a6
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call sub.MFC42u.DLL_CString::CString_3
push 0xc406
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call sub.MFC42u.DLL_CString::LoadStringW
push 0x753b
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::LoadStringW
mov edi, 0x80000001
push edi
push dword [ebp - 0x14]
push 0
push dword [ebp - 0x18]
call fcn.0102aeb1
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CString::CString_3
push 0x79e2
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call sub.MFC42u.DLL_CString::LoadStringW
push 0xc418
lea ecx, [ebp - 0x24]
call sub.MFC42u.DLL_CString::LoadStringW
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push 0xc405
push eax
call sub.MFC42u.DLL_AfxFormatString1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call sub.MFC42u.DLL_operator_1
mov byte [ebp - 4], 8
mov eax, dword [eax]
mov ebx, dword [ebp - 0x18]
push edi
push eax
push esi
push esi
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push 0x1001e40
push ebx
call fcn.0102ad28
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.0102d8a6
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CString::ReleaseBuffer
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.0102d8a6
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.0102d8a6
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0102d8a6
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0102d8a6
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.0102d8a6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0102d8a6
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret