joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402500
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
mov esi, edx
push ebx
lea ebx, [ebp - 0x110]
sub esp, 0x124
mov dword [esp + 4], ebx
mov dword [esp], 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
sub esp, 8
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [sym.imp.msvcrt.dll_strcat]
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40000000
call dword [sym.imp.kernel32.dll_CreateFileA]
sub esp, 0x1c
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0xacf
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 4], 0x581360
mov dword [esp + 8], eax
xor eax, eax
cmp ebx, 0xffffffff
setne al
mov dword [esp], eax
call fcn.00401dd0
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll_strlen]
lea edx, [ebp - 0x114]
mov dword [esp], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 4], esi
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x402890
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
mov esi, eax
xor edi, 1
push ebx
mov eax, dword fs:[0x18]
sub esp, 0x1c
mov dword [ebp - 0x10], ecx
mov dword [esp + 8], 0x158
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
add eax, 2
mov dword [esp + 0x14], 0xab
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], str._assembly_xmlns_urn:schemas_microsoft_com:asm.v1__manifestVersion_1.0___assemblyIdentity_version_1.0.0.0___name_Wine.Test__type_win32____assemblyIdentity___assembly_
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 0x10]
mov eax, 0xfffffeff
mov word [ebx], ax
sub esp, 0x18
test ecx, ecx
je 0x40292b
mov eax, ebx
lea edx, [ebx + 0x156]
lea esi, [esi]
nop
rol word [eax], 8
add eax, 2
cmp edx, eax
jne 0x402920
mov dword [esp + 4], 0
mov ecx, 0xab
lea edx, [ebx + edi*2]
mov eax, esi
mov dword [esp], 0
sub ecx, edi
add ecx, ecx
call fcn.004025f0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov esi, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, esi
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x403410
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x214]
push ebx
mov ebx, edx
sub esp, 0x248
mov dword [ebp - 0x23c], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x238], eax
mov dword [esp + 0x14], 0x104
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], str.bad.manifest
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
xor ecx, ecx
xor eax, eax
sub esp, 0x18
mov dword [ebp + eax - 0x230], ecx
add eax, 4
cmp eax, 0x1c
jb 0x40346b
mov dword [ebp - 0x22c], edi
mov ecx, 0xffffffff
mov eax, str.bad.manifest
xor edi, edi
mov dword [ebp - 0x234], 0x20
mov dword [esp + 4], ebx
mov dword [esp], str.testdep.manifest
mov edx, dword [ebp - 0x238]
call fcn.004025f0
lea eax, [ebp - 0x234]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateActCtxW]
mov ecx, dword [ebp - 0x23c]
sub esp, 4
mov ebx, eax
test ecx, ecx
je 0x4034d9
mov edx, dword [0x8f0770]
xor eax, eax
test edx, edx
setne al
mov edi, eax
call fcn.0057d110
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
or edx, edi
mov dword [eax + 0x10], edx
mov edi, dword fs:[0x18]
jmp 0x403548
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0x456
mov eax, dword [0x8f0770]
test eax, eax
jne 0x4035e0
cmp ebx, 0xffffffff
je 0x403608
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Unexpected_context_handle__p._n
mov dword [esp], 1
call fcn.00401dd0
call fcn.0057d110
shr dword [eax + 0x10], 1
call fcn.0057d110
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
je 0x403630
test esi, esi
jne 0x403500
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0x459
xor eax, eax
cmp ebx, 0xffffffff
sete al
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Unexpected_context_handle__p._n
mov dword [esp], eax
call fcn.00401dd0
cmp ebx, 0xffffffff
jne 0x403540
lea esi, [esi]
lea esi, [esi]
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0x45c
mov eax, dword [edi + 0x34]
mov dword [esp + 4], 0x581603
mov dword [esp + 8], eax
xor eax, eax
cmp dword [edi + 0x34], 0x36b1
sete al
mov dword [esp], eax
call fcn.00401dd0
jmp 0x403540
cmp ebx, 0xffffffff
je 0x403608
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Unexpected_context_handle__p._n
mov dword [esp], 0
call fcn.00401dd0
jmp 0x403540
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], str.Unexpected_context_handle__p._n
mov dword [esp], 1
call fcn.00401dd0
jmp 0x4035a0
cmp ebx, 0xffffffff
je 0x403641
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_ReleaseActCtx]
sub esp, 4
mov ebx, dword [sym.imp.kernel32.dll_DeleteFileA]
mov dword [esp], str.bad.manifest
call ebx
sub esp, 4
mov dword [esp], str.testdep.manifest
call ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x404850
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ecx, 0x11
mov ebp, esp
push edi
push esi
mov esi, eax
xor eax, eax
push ebx
lea ebx, [ebp - 0x258]
mov edi, ebx
sub esp, 0x288
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x26c]
mov dword [esp], eax
call fcn.0057d960
mov eax, dword [ebp - 0x26c]
mov edi, dword [eax]
mov dword [esp + 4], 0x581a38
mov dword [esp], edi
call dword [sym.imp.msvcrt.dll_strstr]
mov dword [esp + 8], edi
test eax, eax
je 0x4049c0
lea edi, [ebp - 0x110]
mov dword [esp + 4], 0x5810c8
mov dword [esp], edi
call fcn.00401020
mov eax, dword [ebp - 0x26c]
mov dword [esp + 0x10], esi
lea esi, [ebp - 0x214]
mov edx, dword [eax + 4]
mov dword [esp + 0xc], edx
mov eax, dword [eax]
mov dword [esp], esi
mov dword [esp + 8], eax
mov dword [esp + 4], str.__s___s_two_dll__d
call fcn.00401020
lea eax, [ebp - 0x268]
mov dword [ebp - 0x258], 0x44
mov dword [esp + 0x20], ebx
mov dword [esp + 4], esi
mov dword [esp], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
call dword [sym.imp.kernel32.dll_CreateProcessA]
sub esp, 0x28
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0x10d9
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp], ebx
mov dword [esp + 4], str.Could_not_create_process:__lu_n
mov dword [esp + 8], eax
call fcn.00401dd0
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0x10db
mov eax, dword [ebp - 0x268]
mov dword [esp], eax
call fcn.0057d980
mov eax, dword [ebp - 0x264]
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x268]
sub esp, 4
mov dword [esp], eax
call ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0x110]
mov dword [esp + 4], str._s.exe
mov dword [esp], edi
call fcn.00401020
jmp 0x4048b8
Function at 0x4049e0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x28
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc0000000
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateFileA]
sub esp, 0x1c
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0xae5
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.file_creation_failed__at__s__error__ld_n
mov dword [esp + 0xc], eax
xor eax, eax
cmp esi, 0xffffffff
setne al
mov dword [esp], eax
call fcn.00401dd0
mov dword [esp + 8], str.TESTDLL
mov dword [esp + 4], 0x581aa8
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_FindResourceA]
sub esp, 0xc
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0xae8
xor eax, eax
test ebx, ebx
setne al
mov dword [esp + 4], str.couldnt_find_resource_n
mov dword [esp], eax
call fcn.00401dd0
mov edi, dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [esp], 0
call edi
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LoadResource]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LockResource]
sub esp, 4
mov dword [ebp - 0x14], eax
mov dword [esp], 0
call edi
mov edx, dword [sym.imp.kernel32.dll_SizeofResource]
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [ebp - 0x18], edx
call edx
lea ecx, [ebp - 0x10]
sub esp, 8
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0xaeb
mov dword [esp], 0
call edi
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], eax
mov edx, dword [ebp - 0x18]
call edx
sub esp, 8
mov dword [esp + 4], str.couldnt_write_resource_n
cmp dword [ebp - 0x10], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00401dd0
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x405fe0
Capabilities:
Delete file

Disassembly:
push ebp
mov ecx, 0xffffffff
mov edx, str._assembly_xmlns_urn:schemas_microsoft_com:asm.v1__manifestVersion_1.0____assemblyIdentity_type_win32__name_testdep__version_6.5.4.3__processorArchitecture_x86____file_name_testlib.dll____file_name_testlib2.dll__hash_63c978c2b53d6cf72b42fb7308f9af12ab19ec53__hashalg_SHA1___windowClass_wndClass__windowClass__windowClass_wndClass2__windowClass___file___assembly_
mov ebp, esp
push esi
mov esi, eax
mov eax, str.test.manifest
push ebx
sub esp, 0xc
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004025f0
mov eax, str.test.manifest
call fcn.004031a0
mov ebx, eax
call fcn.0057d110
mov dword [eax + 4], esi
mov dword [eax], 0x58109f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 4], str.handle__INVALID_HANDLE_VALUE__error__lu_n
mov dword [esp + 8], eax
xor eax, eax
cmp ebx, 0xffffffff
setne al
mov dword [esp], eax
call fcn.00401dd0
mov dword [esp], str.test.manifest
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x407ad0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x10
mov eax, dword [eax + 0x45c]
test eax, eax
je 0x407af1
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ReleaseActCtx]
sub esp, 4
cmp byte [ebx + 0x104], 0
jne 0x407b28
cmp byte [ebx + 0x213], 0
jne 0x407b78
cmp byte [ebx + 0x323], 0
jne 0x407bcc
cmp byte [ebx], 0
jne 0x407c1c
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebx + 0x104]
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_DeleteFileA]
sub esp, 4
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0xe1e
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 8], edi
mov dword [esp + 4], str.DeleteFileA_failed_for__s:__ld_n
mov dword [esp + 0xc], eax
mov dword [esp], esi
call fcn.00401dd0
cmp byte [ebx + 0x213], 0
je 0x407b03
lea edi, [ebx + 0x213]
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_DeleteFileA]
sub esp, 4
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0xe23
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 8], edi
mov dword [esp + 4], str.DeleteFileA_failed_for__s:__ld_n
mov dword [esp + 0xc], eax
mov dword [esp], esi
call fcn.00401dd0
cmp byte [ebx + 0x323], 0
je 0x407b10
lea edi, [ebx + 0x323]
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_DeleteFileA]
sub esp, 4
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0xe28
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 8], edi
mov dword [esp + 4], str.DeleteFileA_failed_for__s:__ld_n
mov dword [esp + 0xc], eax
mov dword [esp], esi
call fcn.00401dd0
cmp byte [ebx], 0
je 0x407b19
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_RemoveDirectoryA]
sub esp, 4
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0xe2d
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 8], ebx
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.RemoveDirectoryA_failed_for__s:__ld_n
call fcn.00401dd0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x407de0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x687]
sub esp, 0x68c
mov dword [esp + 4], ebx
mov dword [esp], 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
sub esp, 8
mov dword [esp + 8], ebx
lea ebx, [ebp - 0x583]
mov dword [esp + 0xc], str.sxs_dll.dll
mov dword [esp + 4], 0x581385
mov dword [esp], ebx
call fcn.00401020
mov eax, ebx
call fcn.004049e0
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_LoadLibraryA]
xor ecx, ecx
mov edx, 0x58239d
sub esp, 4
mov esi, eax
lea eax, [ebp - 0x474]
call fcn.00404b90
test eax, eax
je 0x407ef4
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ActivateActCtx]
sub esp, 8
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0xeba
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp], edi
mov dword [esp + 4], str.ActivateActCtx_failed:__ld_n
mov dword [esp + 8], eax
call fcn.00401dd0
mov dword [esp], str.sxs_dll.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
sub esp, 4
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0xebd
xor eax, eax
test edi, edi
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], 0x5823d2
call fcn.00401dd0
mov eax, dword [ebp - 0x1c]
mov dword [esp], 0
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_DeactivateActCtx]
sub esp, 8
test esi, esi
je 0x407f04
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x407f17
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
cmp byte [ebp - 0x583], 0
jne 0x407f38
lea eax, [ebp - 0x474]
call fcn.00407ad0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_DeleteFileA]
sub esp, 4
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0xec9
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.DeleteFileA_failed_for__s:__ld_n
mov dword [esp + 0xc], eax
mov dword [esp], esi
call fcn.00401dd0
jmp 0x407f20
Function at 0x407f80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x583]
push ebx
lea ebx, [ebp - 0x88f]
sub esp, 0x89c
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x104
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
sub esp, 0xc
mov dword [esp], ebx
mov dword [esp + 4], 0x5c
call dword [sym.imp.msvcrt.dll_strrchr]
mov byte [eax + 1], 0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], str.sxs_dll.dll
mov dword [esp + 4], 0x581385
mov dword [esp], esi
call fcn.00401020
mov eax, esi
call fcn.004049e0
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_LoadLibraryA]
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x581b14
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ecx, 1
mov edx, 0x58239d
mov dword [ebp - 0x894], eax
sub esp, 8
lea eax, [ebp - 0x474]
call fcn.00404b90
test eax, eax
je 0x408122
call fcn.0057d110
lea edi, [ebp - 0x78b]
mov dword [eax], 0x58109f
mov dword [eax + 4], 0xe6a
xor eax, eax
mov dword [esp + 4], str.Libraries_are_the_same_n
cmp dword [ebp - 0x14], ebx
setne al
mov dword [esp], eax
call fcn.00401dd0
mov dword [esp], edi
mov dword [esp + 4], 0x104
call dword [ebp - 0x10]
sub esp, 8
call fcn.0057d110
mov edx, dword [sym.imp.msvcrt.dll_strcmp]
lea ecx, [ebp - 0x370]
mov dword [eax], 0x58109f
mov dword [eax + 4], 0xe6c
mov dword [esp + 4], ecx
mov dword [esp], edi
mov dword [ebp - 0x898], edx
call edx
lea ecx, [ebp - 0x370]
mov dword [esp + 8], edi
lea edi, [ebp - 0x687]
test eax, eax
mov dword [esp + 0xc], ecx
sete al
mov dword [esp + 4], str.Got__s__expected__s_n
movzx eax, al
mov dword [esp], eax
call fcn.00401dd0
mov dword [esp + 4], 0x104
mov dword [esp], edi
mov eax, dword [ebp - 0x894]
call eax
sub esp, 8
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0xe6e
mov dword [esp + 4], esi
mov dword [esp], edi
mov edx, dword [ebp - 0x898]
call edx
mov dword [esp + 0xc], esi
test eax, eax
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Got__s__expected__s_n
movzx eax, al
mov dword [esp], eax
call fcn.00401dd0
test ebx, ebx
je 0x408132
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x408145
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
cmp byte [ebp - 0x583], 0
jne 0x408168
lea eax, [ebp - 0x474]
call fcn.00407ad0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_DeleteFileA]
sub esp, 4
mov ebx, eax
mov eax, 0xe78
call fcn.004012e0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 8], esi
mov dword [esp + 4], str.DeleteFileA_failed_for__s:__ld_n
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call fcn.00401dd0
jmp 0x40814e
Function at 0x4081b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x88f]
sub esp, 0x89c
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x104
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
sub esp, 0xc
mov dword [esp], ebx
mov dword [esp + 4], 0x5c
call dword [sym.imp.msvcrt.dll_strrchr]
mov byte [eax + 1], 0
mov dword [esp + 8], ebx
lea ebx, [ebp - 0x583]
mov dword [esp + 0xc], str.sxs_dll.dll
mov dword [esp + 4], 0x581385
mov dword [esp], ebx
call fcn.00401020
mov eax, ebx
call fcn.004049e0
mov ecx, 1
mov edx, 0x58239d
lea eax, [ebp - 0x474]
call fcn.00404b90
test eax, eax
jne 0x408270
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x408248
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
cmp byte [ebp - 0x583], 0
jne 0x4083a8
lea eax, [ebp - 0x474]
call fcn.00407ad0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebx
lea edi, [ebp - 0x78b]
call dword [sym.imp.kernel32.dll_LoadLibraryA]
sub esp, 4
mov esi, eax
mov dword [esp + 4], 0x581b14
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
sub esp, 8
mov dword [ebp - 0x894], eax
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0xe92
xor eax, eax
mov dword [esp + 4], str.Libraries_are_the_same_n
cmp dword [ebp - 0x14], esi
setne al
mov dword [esp], eax
call fcn.00401dd0
mov dword [esp], edi
mov dword [esp + 4], 0x104
call dword [ebp - 0x10]
sub esp, 8
call fcn.0057d110
mov edx, dword [sym.imp.msvcrt.dll_strcmp]
lea ecx, [ebp - 0x370]
mov dword [eax], 0x58109f
mov dword [eax + 4], 0xe94
mov dword [esp + 4], ecx
mov dword [esp], edi
mov dword [ebp - 0x898], edx
call edx
lea ecx, [ebp - 0x370]
mov dword [esp + 8], edi
lea edi, [ebp - 0x687]
test eax, eax
mov dword [esp + 0xc], ecx
sete al
mov dword [esp + 4], str.Got__s__expected__s_n
movzx eax, al
mov dword [esp], eax
call fcn.00401dd0
mov dword [esp + 4], 0x104
mov dword [esp], edi
mov eax, dword [ebp - 0x894]
call eax
sub esp, 8
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0xe96
mov dword [esp + 4], ebx
mov dword [esp], edi
mov edx, dword [ebp - 0x898]
call edx
mov dword [esp + 0xc], ebx
test eax, eax
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Got__s__expected__s_n
movzx eax, al
mov dword [esp], eax
call fcn.00401dd0
test esi, esi
je 0x408235
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
jmp 0x408235
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_DeleteFileA]
sub esp, 4
mov esi, eax
mov eax, 0xea0
call fcn.004012e0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.DeleteFileA_failed_for__s:__ld_n
mov dword [esp + 0xc], eax
mov dword [esp], esi
call fcn.00401dd0
jmp 0x408255
Function at 0x414e00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov esi, dword fs:[0x18]
sub esp, 0x1c
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindFirstChangeNotificationA]
sub esp, 0xc
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x42
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.FindFirstChangeNotification_error:__ld_n
mov dword [esp + 8], eax
xor eax, eax
cmp ebx, 0xffffffff
setne al
mov dword [esp], eax
call fcn.00414890
lea eax, [ebp - 0xc]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x414d80
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateThread]
sub esp, 0x18
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x589a87
mov dword [eax + 4], 0x45
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.CreateThread_error:__ld_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00414890
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret