joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44df60
Capabilities:
Create process on windows
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de1d8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x5246a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push 0x44
lea eax, [ebp - 0x64]
push edi
push eax
mov dword [ebp - 0x10], edi
call fcn.004b7180
mov esi, dword [ebp + 0xc]
add esp, 0xc
cmp byte [esi + 8], 0
mov dword [ebp - 0x64], 0x44
je 0x44dfb3
mov dword [ebp - 0x5c], 0x4e696c
xor ecx, ecx
cmp byte [esi + 1], cl
mov dword [ebp - 0x38], 1
setne cl
xor ebx, ebx
dec ecx
and ecx, 5
mov word [ebp - 0x34], cx
cmp dword [esi + 0xc], edi
je 0x44dfd6
mov ebx, 0x1000004
lea ecx, [ebp - 0x20]
call fcn.00412cd0
mov dword [ebp - 4], edi
cmp dword [esi + 4], edi
jne 0x44e05e
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 8
jb 0x44dff1
mov edi, dword [edi]
lea ecx, [ebp - 0x20]
call fcn.00426a60
push eax
movzx eax, byte [esi + 2]
lea edx, [ebp - 0x64]
push edx
push 0
push 0
push ebx
push eax
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x44e05e
mov eax, dword [esi + 0xc]
xor edi, edi
cmp eax, edi
je 0x44e08b
mov ecx, dword [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x44e081
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x20]
push 1
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne al
test al, al
je 0x44e05b
push 0xea60
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x44e05e
mov dword [ebp - 4], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00429650
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [esi], 0
je 0x44e09c
mov eax, dword [ebp - 0x20]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp + 0x10]
cmp esi, edi
je 0x44e0ad
lea ecx, [ebp - 0x20]
call fcn.0042f280
mov dword [esi], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00429650
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44eba0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
test edi, edi
je 0x44ebc8
call fcn.004074e0
cmp eax, 1
jl 0x44ebc8
mov dword [ebp - 4], 0x10000
jmp 0x44ebca
xor edi, edi
push 8
call fcn.00404fcd
mov edx, dword [ebp - 4]
mov ebx, dword [ebp + 0x10]
add esp, 4
push 0
mov esi, eax
mov eax, dword [ebp + 0xc]
push edx
push esi
push 0x44eb70
test ebx, ebx
push edi
setne cl
push 0
mov dword [esi], eax
mov byte [esi + 4], cl
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x44ec11
push esi
call fcn.00406d09
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x44ec20
pop edi
mov dword [ebx], eax
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44fd80
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de6f0
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x5246a8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
cmp byte [0x527134], bl
jne 0x44fe0d
push 0x11c
push ebx
lea eax, [ebp - 0x130]
push eax
call fcn.004b7180
add esp, 0xc
mov dword [ebp - 0x130], 0x11c
lea ecx, [ebp - 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x44fe06
mov eax, dword [ebp - 0x12c]
cmp eax, 6
jne 0x44fe2e
mov eax, dword [ebp - 0x128]
cmp eax, ebx
jne 0x44fe04
cmp word [ebp - 0x1c], bx
ja 0x44fe30
mov byte [0x527134], 1
mov al, byte [0x527133]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
jbe 0x44fe06
push str.bcrypt.dll
call fcn.00421c70
add esp, 4
test eax, eax
je 0x44fe06
push 0x4e9428
call fcn.00421c70
add esp, 4
test eax, eax
je 0x44fe06
mov dword [ebp - 4], ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x138], ebx
push ebx
push str.Microsoft_Primitive_Provider
push str.ECDH_P256
lea edx, [ebp - 0x134]
push edx
call sub.ncrypt.dll_BCryptOpenAlgorithmProvider
mov edi, eax
mov eax, dword [ebp - 0x134]
cmp eax, ebx
je 0x44fe8b
push ebx
push eax
call sub.ncrypt.dll_BCryptCloseAlgorithmProvider
push ebx
push str.Microsoft_Software_Key_Storage_Provider
lea eax, [ebp - 0x138]
push eax
call sub.ncrypt.dll_NCryptOpenStorageProvider
mov esi, eax
mov eax, dword [ebp - 0x138]
cmp eax, ebx
je 0x44feb5
push eax
call sub.ncrypt.dll_NCryptFreeObject
mov eax, dword [ebp - 0x138]
cmp edi, ebx
jne 0x44fedf
cmp esi, ebx
jne 0x44fedf
cmp dword [ebp - 0x134], ebx
je 0x44fedf
cmp eax, ebx
je 0x44fedf
mov eax, 1
mov byte [0x527133], al
mov dword [ebp - 4], 0xffffffff
jmp 0x44fe06
xor eax, eax
mov byte [0x527133], al
mov dword [ebp - 4], 0xffffffff
jmp 0x44fe06
Function at 0x450920
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de919
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5246a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], 1
cmp dword [edi], 0
jne 0x450a5b
lea esi, [edi + 8]
push 0x4e949c
push esi
call fcn.00441cc0
add esp, 8
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00444aa0
mov byte [ebp - 4], 2
push 0
push 0
call fcn.0040e4e0
mov eax, dword [0x527148]
add esp, 8
mov esi, 0x10
test eax, eax
je 0x450a34
cmp eax, 2
je 0x450a34
cmp dword [0x52716c], 0
jne 0x4509c0
mov ecx, dword [0x527170]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4509cb
mov ecx, dword [0x527168]
call fcn.0040e750
mov byte [ebp - 4], 3
call fcn.00450810
test al, al
je 0x450a0d
mov edx, dword [0x527150]
push 2
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x4509f6
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
push 0
lea ecx, [ebp - 0x30]
push ecx
push edx
push eax
mov eax, dword [0x527150]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 4], 2
cmp dword [0x52716c], 0
jne 0x450a29
mov ecx, dword [0x527170]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x450a34
mov ecx, dword [0x527168]
call fcn.0040e760
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], esi
jb 0x450a49
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00406d09
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0
mov eax, dword [edi + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 8]
call fcn.0043fb10
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.00401306
mov esp, ebp
pop ebp
ret
Function at 0x453390
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
push edi
mov esi, ecx
mov dword [ebp - 4], ebx
call fcn.00429700
test al, al
je 0x4533e5
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1388
push eax
call edi
mov eax, dword [esi]
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4533d4
cmp dword [ebp - 4], 0x103
jne 0x4533e5
mov edx, dword [esi]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esi]
push 0xffffffffffffffff
push eax
call edi
mov edi, dword [esi + 0x20]
cmp edi, ebx
je 0x4533ff
mov ecx, edi
call fcn.004543e0
push edi
call fcn.00406d09
add esp, 4
mov dword [esi + 0x20], ebx
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x453412
push eax
call fcn.00402cee
add esp, 4
mov dword [esi + 0x2c], ebx
mov edi, dword [esi + 0x20]
cmp edi, ebx
je 0x453429
mov ecx, edi
call fcn.004543e0
push edi
call fcn.00406d09
add esp, 4
mov eax, dword [esi + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x453452
cmp eax, 0xffffffff
je 0x453452
call fcn.00416220
mov eax, dword [esi + 0x18]
push eax
call edi
test eax, eax
jne 0x45344f
call fcn.00430d70
mov dword [esi + 0x18], ebx
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x453475
cmp eax, 0xffffffff
je 0x453475
call fcn.00416220
mov eax, dword [esi + 0x14]
push eax
call edi
test eax, eax
jne 0x453472
call fcn.00430d70
mov dword [esi + 0x14], ebx
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x453498
cmp eax, 0xffffffff
je 0x453498
call fcn.00416220
mov eax, dword [esi + 0x10]
push eax
call edi
test eax, eax
jne 0x453495
call fcn.00430d70
mov dword [esi + 0x10], ebx
mov ecx, esi
call fcn.00429650
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455b60
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 8], 0
call fcn.004074e0
cmp eax, 3
jl 0x455c93
push esi
push 0x4e698c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x455c92
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
push str.InitializeProcThreadAttributeList
push esi
call ebx
mov edi, eax
test edi, edi
je 0x455c90
push str.UpdateProcThreadAttribute
push esi
call ebx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x455c90
push str.DeleteProcThreadAttributeList
push esi
call ebx
test eax, eax
je 0x455c90
lea eax, [ebp - 4]
push eax
push 0
push 1
push 0
mov dword [ebp - 4], 0
call edi
mov eax, dword [ebp - 4]
test eax, eax
je 0x455c90
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x455c90
lea ecx, [ebp - 4]
push ecx
push 0
push 1
push ebx
call edi
test eax, eax
je 0x455c90
push 0
push 0
push 4
lea edx, [ebp + 0xc]
push edx
push 0x20000
push 0
push ebx
call dword [ebp - 0xc]
test eax, eax
je 0x455c90
push 0x44
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.004b7180
mov esi, dword [ebp + 0x30]
mov eax, dword [ebp + 0x2c]
add esp, 0xc
mov ecx, 0x11
lea edi, [ebp - 0x54]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x34]
push ecx
mov ecx, dword [ebp + 0x28]
lea edx, [ebp - 0x54]
push edx
mov edx, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x1c]
or edx, 0x1080000
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
mov dword [ebp - 0x54], 0x48
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov dword [ebp - 8], eax
pop edi
pop ebx
pop esi
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x455ee0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x515c10
push 0x40c710
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5246a8]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x19], 0
cmp dword [0x5271e8], 0
je 0x4560b1
cmp dword [0x5271ec], 0
je 0x4560b1
cmp dword [ebp + 0x14], 0
je 0x4560b1
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4560b1
cmp byte [eax], 0
je 0x4560b1
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4560b1
cmp byte [eax], 0
je 0x4560b1
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x4560b1
cmp dword [ebp + 0x18], 0
je 0x4560b1
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x4560b1
push 0
push 0x40
push ebx
call fcn.00412c40
add esp, 0xc
test al, al
je 0x4560b1
mov eax, 0x5a4d
cmp word [ebx], ax
jne 0x4560b1
mov edi, dword [ebx + 0x3c]
add edi, ebx
push 0
push pe_nt_image_headers32
push edi
call fcn.00412c40
add esp, 0xc
test al, al
je 0x4560b1
cmp dword [edi], 0x4550
jne 0x4560b1
mov esi, dword [edi + 0x80]
add esi, ebx
cmp esi, edi
jne 0x455ff3
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0xc]
push edi
call dword [0x5271ec]
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x456029
add eax, ebx
mov ecx, dword [ebp - 0x24]
push ecx
push edi
push eax
call dword [0x5271e8]
add esp, 0xc
test eax, eax
je 0x456029
add esi, 0x14
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x45600a
cmp dword [esi + 0xc], 0
je 0x455fdf
mov esi, dword [esi + 0x10]
add esi, ebx
mov dword [ebp - 0x24], esi
mov eax, dword [esi]
test eax, eax
je 0x4560b1
cmp eax, dword [ebp + 0x18]
jne 0x4560c6
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x20]
push edx
push 0x80
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x4560b1
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov byte [ebp - 0x19], 1
mov dword [ebp - 4], 0xfffffffe
jmp 0x456099
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x20]
push edx
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add esi, 4
jmp 0x456034
Function at 0x4561a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
xor esi, esi
call fcn.004074e0
cmp eax, 3
jge 0x456237
push 0x40
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.004b7180
add esp, 0xc
push 0x527724
mov dword [ebp - 0x48], 0x44
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edx, dword [ebp + 0xc]
cmp eax, 1
sete cl
mov byte [ebp - 3], cl
push edx
lea ecx, [ebp - 4]
call fcn.004560d0
test al, al
je 0x45622f
mov eax, dword [ebp + 0x34]
mov edx, dword [ebp + 0x2c]
push eax
mov eax, dword [ebp + 0x28]
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp + 0x24]
push edx
mov edx, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
or ecx, 0x1080000
push ecx
mov ecx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
lea ecx, [ebp - 4]
call fcn.00456140
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x456570
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x24]
push esi
mov esi, dword [ebp + 0x38]
push esi
test eax, eax
je 0x4565b3
mov ecx, dword [ebp + 0x34]
mov edx, dword [ebp + 0x30]
push ecx
mov ecx, dword [ebp + 0x2c]
push edx
mov edx, dword [ebp + 0x28]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call fcn.004562e0
add esp, 0x2c
test eax, eax
jne 0x4565e2
pop esi
pop ebp
ret
mov edx, dword [ebp + 0x34]
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x2c]
push edx
mov edx, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x18]
push 0
push eax
mov eax, dword [ebp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4565e2
pop esi
pop ebp
ret
cmp dword [ebp + 0x10], 0
mov eax, 0x101c01
mov dword [ebp + 0x24], 0x100c43
je 0x4565fc
mov eax, 0x1fffff
mov dword [ebp + 0x24], eax
mov ecx, dword [esi]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
mov edi, dword [ebp + 0xc]
push 1
push 0
push eax
push esi
push edi
push ecx
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x45662f
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
xor eax, eax
pop esi
pop ebp
ret
mov ecx, dword [ebp + 0x24]
mov edx, dword [esi + 4]
push 1
push 0
push ecx
lea eax, [esi + 4]
push eax
push edi
push edx
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
neg eax
pop edi
sbb eax, eax
pop ebx
neg eax
pop esi
pop ebp
ret
Function at 0x457750
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x5246a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x527178]
cmp byte [eax + 0x49], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov eax, str.AcrobatLogTransport2.exe
jne 0x45777e
mov eax, 0x4ec7c4
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00414970
xor ebx, ebx
add esp, 8
cmp dword [ebp - 0x2c], ebx
je 0x4578c5
cmp dword [ebp - 0x28], 8
mov eax, dword [ebp - 0x3c]
jae 0x4577a2
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4578c5
lea edx, [ebp - 0x3c]
push edx
push edi
call fcn.0045b070
add esp, 8
test al, al
jne 0x4577e7
cmp dword [ebp - 0x28], 8
jb 0x4577d4
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00406d09
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
xor ecx, ecx
push 1
mov word [ebp - 0x20], cx
mov edi, 7
push 0x4ec7c0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], ebx
call fcn.0040d610
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x20]
call fcn.0040d500
push 1
push 0x4ec7c0
lea ecx, [ebp - 0x20]
call fcn.0040d610
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.0045b070
add esp, 8
lea esi, [edi + 1]
test al, al
jne 0x45787e
cmp dword [ebp - 0xc], esi
jb 0x45784a
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00406d09
add esp, 4
xor edx, edx
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x20], dx
cmp dword [ebp - 0x28], esi
jb 0x4577d4
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00406d09
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
mov bl, 1
cmp dword [ebp - 0xc], esi
jb 0x457891
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00406d09
add esp, 4
xor edx, edx
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], 0
mov word [ebp - 0x20], dx
cmp dword [ebp - 0x28], esi
jb 0x4578b2
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00406d09
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x28], 8
jb 0x4577d4
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00406d09
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.00401306
mov esp, ebp
pop ebp
ret
Function at 0x457b80
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5246a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
push edi
mov edi, dword [ebp + 0xc]
je 0x457c16
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004b7180
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x457bbf
mov esi, dword [esi]
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x457c16
cmp eax, 0x104
ja 0x457c16
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x457be6
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x20c]
push edx
mov ecx, edi
call fcn.00406040
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor al, al
pop esi
call fcn.00401306
mov esp, ebp
pop ebp
ret
Function at 0x45a020
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x5246a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
xor al, al
cmp dword [esi + 0x10], 0
push edi
mov edi, dword [ebp + 0xc]
je 0x45a110
mov ecx, esi
call fcn.00417930
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45a121
mov ecx, esi
call fcn.00417930
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x45a121
push 0
push str.ime_shared
lea eax, [ebp - 0x3c]
push 0x25
push eax
call fcn.00420570
push 0
push str.ime_shared
lea ecx, [ebp - 0x20]
push 0x24
push ecx
call fcn.00420570
push ebx
push edi
lea edx, [ebp - 0x3c]
push esi
push edx
call fcn.00459c50
add esp, 0x30
test al, al
jne 0x45a0d1
push ebx
push edi
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00459c50
add esp, 0x10
test al, al
jne 0x45a0d1
push ebx
push edi
push esi
call fcn.00459d40
add esp, 0xc
test al, al
jne 0x45a0d1
xor bl, bl
jmp 0x45a0d3
mov bl, 1
mov esi, 8
cmp dword [ebp - 0xc], esi
jb 0x45a0e9
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00406d09
add esp, 4
xor edx, edx
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], 0
mov word [ebp - 0x20], dx
cmp dword [ebp - 0x28], esi
jb 0x45a10e
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00406d09
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.00401306
mov esp, ebp
pop ebp
ret

Function at 0x45ad40
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x45ad9a
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x45ad99
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push esi
call edi
test eax, eax
je 0x45ad98
push 0
push 0x45ad20
push ebx
call dword [sym.imp.USER32.dll_EnumThreadWindows]
push 0
push 0
push 0x12
push ebx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0x1388
push esi
call edi
test eax, eax
je 0x45ad98
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0xffffffffffffffff
push esi
call edi
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x45b2c0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5246a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x214]
push ecx
xor ebx, ebx
push esi
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x45b3b3
cmp eax, ebx
jne 0x45b310
cmp dword [ebp - 0x214], ebx
je 0x45b3b3
push ebx
push 1
push ebx
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
cmp esi, ebx
je 0x45b3b3
push edi
push 1
push ebx
push ebx
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, ebx
je 0x45b3ab
push 0x208
lea eax, [ebp - 0x20e]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x210], dx
call fcn.004b7180
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_GetMappedFileNameW
test eax, eax
je 0x45b3a4
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45b380
mov ecx, dword [ebp - 0x218]
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x210]
push edx
call fcn.00406040
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00401306
mov esp, ebp
pop ebp
ret