joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404a20
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov ecx, dword [ebp + 0xc]
push esi
lea eax, [ebp - 0x804]
push 0x7ff
push eax
push ecx
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov esi, eax
test esi, esi
jge 0x404a76
push 0x3d
push 0x451fc4
push 0x451ffc
push 0x452018
call fcn.0040b8a0
mov eax, dword [ebp + 8]
mov edx, dword [0x4804ec]
add esp, 0x10
mov dword [eax], edx
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 0x7fe
jl 0x404a9c
push 0x42
push 0x452028
push 0x452060
push 0x45207c
mov esi, 0x7ff
call fcn.0040b8a0
add esp, 0x10
mov byte [ebp + esi - 0x804], 0
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x804]
mov ecx, esi
push eax
call fcn.00436970
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x405520
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43eb68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebp - 0x18]
push 2
push eax
mov ecx, ebx
xor esi, esi
call fcn.0042ffe0
mov eax, dword [eax]
push 0x4527a0
push eax
call fcn.004236aa
add esp, 8
lea ecx, [ebp - 0x18]
test eax, eax
sete byte [ebp + 0xb]
call fcn.004368f0
mov al, byte [ebp + 0xb]
test al, al
je 0x40558b
push 2
push 0x5c
mov ecx, ebx
call fcn.00436f70
mov esi, eax
test esi, esi
jl 0x4056e1
inc esi
push esi
push 0x5c
mov ecx, ebx
call fcn.00436f70
mov edi, eax
test edi, edi
jge 0x4055a0
mov ecx, dword [ebx]
mov edi, dword [ecx - 8]
cmp esi, edi
je 0x4056e1
mov edx, dword [ebx]
cmp esi, dword [edx - 8]
jge 0x4056e1
lea eax, [ebp - 0x10]
push edi
push eax
mov ecx, ebx
call fcn.0042ffe0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4055d9
test al, 0x10
jne 0x405625
mov edx, dword [ebp - 0x10]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x40563c
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.004134c0
push 1
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00413530
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40561e
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.004368f0
lea esi, [edi + 1]
jmp 0x40558b
lea eax, [ebp - 0x20]
push eax
call fcn.0040ad00
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x1c]
push ecx
push 0x4527a8
push edx
mov byte [ebp - 4], 1
call fcn.00436ce0
push 0x4527a4
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
call fcn.00436c50
push esi
lea ecx, [ebp + 8]
mov bl, 3
push eax
push ecx
mov byte [ebp - 4], bl
call fcn.00436bc0
mov ecx, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 4
call fcn.00436a80
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.004368f0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004368f0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004368f0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.004368f0
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.004368f0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x405980
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ec00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push edi
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, eax
test edi, edi
jne 0x405a49
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.0040ad00
add esp, 4
mov esi, eax
push ebx
lea ecx, [ebp - 0x14]
push str.Can_not_delete_file
push ecx
mov dword [ebp - 4], edi
call fcn.00436ce0
push 0x4527fc
lea edx, [ebp - 0x10]
push eax
push edx
mov byte [ebp - 4], 1
call fcn.00436c50
push esi
push eax
lea eax, [ebp + 8]
mov bl, 2
push eax
mov byte [ebp - 4], bl
call fcn.00436bc0
mov ecx, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 3
call fcn.00436a80
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.004368f0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004368f0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004368f0
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.004368f0
mov eax, edi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x405af0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push 0x43ec18
push eax
lea eax, [ebp + 8]
mov dword fs:[0], esp
push esi
push 2
push eax
call fcn.0042ffe0
mov ecx, dword [ebp + 8]
push 0x45281c
push ecx
mov dword [ebp - 4], 0
call fcn.00423978
add esp, 8
test eax, eax
jne 0x405b56
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.004368f0
mov eax, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 2
jl 0x405b9e
cmp byte [eax + 1], 0x3a
jne 0x405b9e
push 0x452820
lea ecx, [ebp + 8]
call fcn.00436df0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
lea ecx, [ebp + 8]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
call fcn.004368f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.004368f0
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x405bc0
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 0
mov eax, dword [edi]
push 4
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x405bef
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x405c1a
mov eax, dword [edi]
mov dword [ebp + 8], 0
lea edx, [ebp + 8]
push 0
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x405c1a
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x405c2a
pop edi
pop esi
pop ebx
pop ebp
ret
test ebx, ebx
je 0x405c40
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x405c40
pop edi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
Function at 0x406190
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ecf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
mov esi, dword [ebp + 0x18]
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x4c]
mov edx, dword [ebp + 8]
rep stosd dword es:[edi], eax
mov eax, esi
mov ecx, dword [ebp + 0x14]
neg eax
sbb eax, eax
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp + 0x10]
and eax, 0x40
mov dword [ebp - 0x48], eax
mov eax, dword [edx]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x34], ecx
mov eax, dword [eax]
lea ecx, [ebp + 0x18]
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], 1
call fcn.00408720
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
lea ecx, [ebp + 0x18]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
call fcn.004088e0
cmp edi, ebx
mov dword [ebp + 0x18], ebx
jne 0x40622e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x18], eax
cmp esi, ebx
je 0x406299
cmp edi, ebx
je 0x406299
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4062a7
cmp dword [ebp + 0x1c], ebx
je 0x406282
mov ebx, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
push 0xff
push 0xffffffffffffffff
lea eax, [ebp - 0x14]
push 0
push eax
push 1
call ebx
test eax, eax
je 0x406268
cmp eax, 0x80
je 0x406268
xor esi, esi
jmp 0x40626d
mov esi, 1
push str.RfShellExecute
call fcn.00417240
add esp, 4
test esi, esi
je 0x406248
xor ebx, ebx
jmp 0x40628b
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp - 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4062a7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jne 0x406333
mov eax, dword [ebp + 8]
lea ecx, [ebp + 8]
push eax
push 0x452930
push ecx
call fcn.00436ce0
mov esi, dword [ebp + 0x24]
push eax
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.00436a80
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.004368f0
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x406333
lea edx, [ebp + 0xc]
push eax
push edx
call fcn.0040ad30
add esp, 8
push eax
lea eax, [ebp + 0x14]
mov ebx, 5
push 0x452940
push eax
mov dword [ebp - 4], ebx
call fcn.00436ce0
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00436e50
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], bl
call fcn.004368f0
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.004368f0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x406350
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ed48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov ecx, dword [eax]
push edi
mov edx, dword [ebx]
mov dword [ebp - 0x10], esp
push ecx
push edx
push str.___RfRunExeFile:_run_sExeName_s_sArgs_s_n
push str.RRE:__s__s_n
call fcn.0040b8a0
mov esi, dword [ebp + 0x18]
xor eax, eax
mov ecx, esi
lea edi, [ebp - 0x64]
add esp, 0x10
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov ecx, 0x11
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x64], 0x44
call fcn.00408720
push ebx
lea edx, [ebp - 0x1c]
push 0x452990
mov dword [ebp - 4], 0
push edx
mov byte [ebp - 4], 1
call fcn.00436ce0
push 0x45298c
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
call fcn.00436c50
mov ecx, dword [ebp + 0xc]
lea edx, [ebp + 0x18]
push ecx
push eax
push edx
mov byte [ebp - 4], 3
call fcn.00436bc0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.004368f0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.004368f0
cmp dword [0x4848bc], 6
jb 0x406442
lea ecx, [ebp - 0x64]
push esi
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebx]
neg ecx
sbb ecx, ecx
push edx
mov edx, dword [ebp + 0x18]
and ecx, 8
or ecx, 0x20
push 0
push ecx
push 0
push 0
push 0
push edx
push eax
jmp 0x406467
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
neg edx
sbb edx, edx
lea eax, [ebp - 0x64]
push esi
and edx, 8
push eax
mov eax, dword [ebp + 0x18]
push ecx
or edx, 0x20
push 0
push edx
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x40652c
lea ecx, [ebp - 0x20]
push eax
push ecx
call fcn.0040ad30
add esp, 8
mov esi, eax
push ebx
lea edx, [ebp + 0x14]
push str.Failed_to_run
push edx
mov byte [ebp - 4], 7
call fcn.00436ce0
push str._nReason:
push eax
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 8
push eax
call fcn.00436c50
push esi
lea ecx, [ebp + 0xc]
mov bl, 9
push eax
push ecx
mov byte [ebp - 4], bl
call fcn.00436bc0
mov ecx, dword [ebp + 0x1c]
push eax
mov byte [ebp - 4], 0xa
call fcn.00436a80
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.004368f0
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 8
call fcn.004368f0
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 7
call fcn.004368f0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.004368f0
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 1
call fcn.004368f0
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.004088e0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 1
call fcn.004368f0
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.004088e0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406600
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00423b10
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0xc]
push edi
mov eax, dword [esi]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
jne 0x406628
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 0x1000
jbe 0x406653
push 0x451
push str.C:p_roboform_6_9_9_roboformStringsRfFile.cpp
push 0x452a30
push 0x452a4c
call fcn.0040b8a0
add esp, 0x10
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi]
lea edx, [ebp - 0x1010]
push edx
push eax
push 0
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x40666f
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
lea ecx, [ebp - 8]
push eax
push ecx
lea edx, [ebp - 0x1010]
push 0x452a5c
push edx
mov dword [ebp - 8], 0
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x406699
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4066ba
mov esi, dword [ebp - 8]
cmp dword [esi], 0xfeef04bd
je 0x4066b3
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
test esi, esi
je 0x406707
mov ecx, esi
call fcn.00436860
lea eax, [ebp + 8]
lea ecx, [ebp - 4]
push eax
push ecx
lea edx, [ebp - 0x1010]
push str.StringFileInfo000004b0ProductName
push edx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x406707
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
push eax
push ecx
push eax
mov ecx, esi
call fcn.00436e70
push eax
call edi
push 0xffffffffffffffff
mov ecx, esi
call fcn.00436ef0
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x40674e
mov ecx, esi
call fcn.00436860
lea edx, [ebp + 8]
lea eax, [ebp - 4]
push edx
push eax
lea ecx, [ebp - 0x1010]
push str.StringFileInfo000004b0ProductVersion
push ecx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40674e
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
push eax
push edx
push eax
mov ecx, esi
call fcn.00436e70
push eax
call edi
push 0xffffffffffffffff
mov ecx, esi
call fcn.00436ef0
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x406795
mov ecx, esi
call fcn.00436860
lea eax, [ebp + 8]
lea ecx, [ebp - 4]
push eax
push ecx
lea edx, [ebp - 0x1010]
push str.StringFileInfo000004b0FileVersion
push edx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x406795
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
push eax
push ecx
push eax
mov ecx, esi
call fcn.00436e70
push eax
call edi
push 0xffffffffffffffff
mov ecx, esi
call fcn.00436ef0
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x406b50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
test eax, eax
push edi
mov dword [esi], 0
jle 0x406bb4
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x406baa
test al, 0x10
jne 0x406baa
push 0
push edi
call fcn.00405bc0
add esp, 8
test eax, eax
jne 0x406baa
push 1
push 1
push ebx
call fcn.00406b00
mov edx, dword [esi]
mov eax, dword [ebp + 0x10]
add esp, 0xc
inc edx
mov ecx, edx
mov dword [esi], edx
cmp ecx, eax
jge 0x406bb4
jmp 0x406b6c
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x407270
Capabilities:
Get file attributes
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442a08
push 0x423b60
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 - 0x1c], edi
mov dword [ebp - 0x24], edi
cmp dword [0x483d74], edi
jne 0x4073db
xor ebx, ebx
cmp dword [0x483d6c], edi
je 0x4072bc
push str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x483d74], edi
jne 0x4073af
cmp dword [0x483d6c], edi
jne 0x4072dd
call fcn.00407570
test eax, eax
je 0x4073b4
mov eax, dword [0x451140]
mov dword [ebp - 0x48], eax
mov eax, dword [0x48af10]
cmp eax, edi
jne 0x4073a1
xor esi, esi
cmp dword [0x48af14], edi
jne 0x40732e
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x407324
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x48af18], eax
mov dword [0x48af14], 1
mov eax, dword [0x48af18]
cmp eax, edi
je 0x407349
push str.ActivateActCtx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, edi
jne 0x407392
mov eax, dword [0x48af1c]
cmp eax, edi
jne 0x407384
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x40736e
mov ecx, dword [str.Kernel32.dll]
push ecx
call dword [0x4429b8]
jmp 0x40737b
mov edx, dword [0x4429c4]
push edx
call dword [0x4429bc]
cmp eax, edi
je 0x407392
mov dword [0x48af1c], eax
push str.ActivateActCtx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov eax, esi
mov dword [0x48af10], eax
cmp esi, edi
jne 0x4073a1
xor eax, eax
jmp 0x4073ab
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call eax
cmp eax, edi
je 0x4073b4
mov ebx, 1
cmp ebx, edi
jne 0x4073db
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7f
je 0x4073c8
cmp eax, 0x78
jne 0x4073d3
mov ebx, 1
mov dword [0x483d74], ebx
cmp ebx, edi
jne 0x4073db
xor eax, eax
jmp 0x4073e0
mov eax, 1
cmp eax, edi
jne 0x4073f9
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 4
mov dword [ebp - 4], edi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040742d
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40742d
Capabilities:
Get file attributes

Disassembly:
cmp dword [0x483d74], edi
jne 0x407522
xor ebx, ebx
cmp dword [ebp - 0x1c], edi
sete bl
cmp ebx, edi
je 0x407450
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
jmp 0x407453
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x24]
mov eax, dword [0x48af20]
test eax, eax
jne 0x40750f
xor esi, esi
mov eax, dword [0x48af14]
test eax, eax
jne 0x4074a0
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x407496
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x48af18], eax
mov dword [0x48af14], 1
mov eax, dword [0x48af18]
test eax, eax
je 0x4074bb
push str.DeactivateActCtx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x407504
mov eax, dword [0x48af1c]
test eax, eax
jne 0x4074f6
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x4074e0
mov ecx, dword [str.Kernel32.dll]
push ecx
call dword [0x4429b8]
jmp 0x4074ed
mov edx, dword [0x4429c4]
push edx
call dword [0x4429bc]
test eax, eax
je 0x407504
mov dword [0x48af1c], eax
push str.DeactivateActCtx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov eax, esi
mov dword [0x48af20], eax
test esi, esi
je 0x407514
push edi
push 0
call eax
test ebx, ebx
je 0x407522
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
ret
Function at 0x407953
Capabilities:
Get file attributes

Disassembly:
mov edi, dword [ebp - 0x28]
mov eax, dword [0x48af20]
test eax, eax
jne 0x407a06
xor esi, esi
mov eax, dword [0x48af14]
test eax, eax
jne 0x4079a0
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x407996
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x48af18], eax
mov dword [0x48af14], 1
mov eax, dword [0x48af18]
test eax, eax
je 0x4079b7
push str.DeactivateActCtx
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x4079fb
mov eax, dword [0x48af1c]
test eax, eax
jne 0x4079f1
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x4079db
mov eax, dword [str.Kernel32.dll]
push eax
call dword [0x4429b8]
jmp 0x4079e8
mov ecx, dword [0x4429c4]
push ecx
call dword [0x4429bc]
test eax, eax
je 0x4079fb
mov dword [0x48af1c], eax
push str.DeactivateActCtx
push eax
call ebx
mov esi, eax
mov eax, esi
mov dword [0x48af20], eax
test esi, esi
je 0x407a0b
push edi
push 0
call eax
ret

Function at 0x407a10
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x48af14]
push ebx
push esi
xor esi, esi
test eax, eax
push edi
jne 0x407a53
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x407a49
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x48af18], eax
mov dword [0x48af14], 1
mov eax, dword [0x48af18]
mov edi, dword [ebp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x407a6f
push edi
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x407aab
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
jne 0x407aa0
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
mov eax, dword [ebp + 8]
je 0x407a90
mov ecx, dword [eax + 8]
push ecx
call dword [eax]
jmp 0x407a97
mov edx, dword [eax + 0xc]
push edx
call dword [eax + 4]
test eax, eax
je 0x407aab
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