joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4029b0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x42f180]
xor eax, ebp
mov dword [ebp + 0x8c], eax
mov eax, dword [ebp + 0x98]
push ebx
lea ecx, [ebp - 0x68]
push ecx
push 0x20019
xor ebx, ebx
push ebx
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x9c]
push str.SoftwarePythonPythonCore
push eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x402a04
xor eax, eax
jmp 0x402b41
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x3c]
push eax
push ebx
push dword [ebp - 0x68]
mov dword [ebp - 0x70], 0x50
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x402b35
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [ebp + 0xa0]
inc dword [ebp - 0x6c]
mov dword [ebp - 0x70], 0x50
cmp esi, ebx
je 0x402a77
cmp byte [esi], bl
je 0x402a77
lea eax, [ebp + 0x3c]
mov cl, byte [esi]
cmp cl, byte [eax]
jne 0x402a6a
cmp cl, bl
je 0x402a66
mov cl, byte [esi + 1]
cmp cl, byte [eax + 1]
jne 0x402a6a
inc esi
inc esi
inc eax
inc eax
cmp cl, bl
jne 0x402a4c
xor eax, eax
jmp 0x402a6f
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x402b13
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0x14]
push str.Python_Version__s__found_in_registry_
push eax
call esi
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0x64]
push str.SoftwarePythonPythonCore_sInstallPath
push eax
call esi
add esp, 0x18
lea eax, [ebp - 0x78]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402b13
push 0x10c
call fcn.00419282
mov esi, eax
pop ecx
mov dword [ebp - 0x80], 0x105
cmp esi, ebx
je 0x402b0a
lea eax, [ebp - 0x80]
push eax
push esi
push ebx
push ebx
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402b0a
lea eax, [ebp - 0x14]
push eax
push ebx
push 0x180
push dword [ebp - 0x74]
call edi
mov ecx, dword [ebp - 0x7c]
push esi
push eax
push 0x19a
push dword [ebp - 0x74]
mov dword [esi + 0x108], ecx
call edi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x3c]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x402a31
pop edi
pop esi
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x8c]
xor ecx, ebp
pop ebx
call fcn.00407875
add ebp, 0x90
leave
ret
Function at 0x4036c6
Capabilities:
Create process on windows
Resume thread
Self delete

Disassembly:
push ebp
lea ebp, [esp - 0x1e0]
sub esp, 0x260
mov eax, dword [0x42f180]
xor eax, ebp
mov dword [ebp + 0x1dc], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp + 0xd8]
push eax
xor edi, edi
push edi
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
lea eax, [ebp + 0xd8]
push eax
lea eax, [ebp - 0x2c]
push str._s.bat
push eax
call fcn.00419282
lea eax, [ebp - 0x2c]
push 0x425fc0
push eax
call fcn.00419282
mov ebx, eax
push str.:Repeat_n
push ebx
call fcn.00408778
lea eax, [ebp + 0xd8]
push eax
mov esi, str.del___s__n
push esi
push ebx
call fcn.00408778
lea eax, [ebp + 0xd8]
push eax
push str.if_exist___s__goto_Repeat_n
push ebx
call fcn.00408778
lea eax, [ebp - 0x2c]
push eax
push esi
push ebx
call fcn.00408778
add esp, 0x40
push ebx
call fcn.00408fa6
push 0x44
pop esi
push esi
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.004076c0
add esp, 0x10
xor eax, eax
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push 0x4253ac
push edi
push esi
push edi
push edi
push edi
lea eax, [ebp - 0x2c]
push eax
push edi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x54], 1
call dword [sym.imp.kernel32.dll_CreateProcessA]
test eax, eax
je 0x4037e7
mov esi, dword [sym.imp.kernel32.dll_SetThreadPriority]
push 0xfffffffffffffff1
push dword [ebp - 0x38]
call esi
push 0xf
call dword [sym.imp.kernel32.dll_GetCurrentThread]
push eax
call esi
push 0x80
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_SetPriorityClass]
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
call esi
push dword [ebp - 0x38]
call dword [sym.imp.kernel32.dll_ResumeThread]
push dword [ebp - 0x38]
call esi
mov ecx, dword [ebp + 0x1dc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407875
add ebp, 0x1e0
leave
ret

Function at 0x403989
Capabilities:
Delete file

Disassembly:
push esi
push 0x3a
push dword [esp + 0xc]
call fcn.00407290
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x40399f
pop esi
ret
inc esi
movsx eax, byte [esi]
push eax
call fcn.00419282
pop ecx
test eax, eax
jne 0x40399f
push esi
call dword [sym.imp.kernel32.dll_DeleteFileA]
pop esi
ret

Function at 0x4039b7
Capabilities:
Delete directory

Disassembly:
push esi
push 0x3a
push dword [esp + 0xc]
call fcn.00407290
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4039cd
pop esi
ret
inc esi
movsx eax, byte [esi]
push eax
call fcn.00419282
pop ecx
test eax, eax
jne 0x4039cd
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryA]
pop esi
ret
Function at 0x4044dd
Capabilities:
Delete file
Read .ini file

Disassembly:
mov eax, 0x1004
call fcn.00408e10
mov eax, dword [0x42f180]
xor eax, esp
mov dword [esp + 0x1000], eax
push ebx
push ebp
push esi
push edi
push dword [0x43292c]
mov edi, dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
mov ebp, 0x1000
push ebp
lea eax, [esp + 0x18]
push eax
mov ebx, 0x425524
push ebx
push str.title
mov esi, 0x425f40
push esi
call edi
push 0x50
pop ecx
lea eax, [esp + 0x10]
mov edx, 0x431140
call fcn.00419282
push dword [0x43292c]
lea eax, [esp + 0x14]
push ebp
push eax
push ebx
push str.info
push esi
call edi
mov ecx, ebp
lea eax, [esp + 0x10]
mov edx, 0x431580
call fcn.00419282
push dword [0x43292c]
push 0x50
push 0x4327c0
push ebx
push str.build_info
push esi
call edi
push dword [0x43292c]
mov ebp, dword [sym.imp.kernel32.dll_GetPrivateProfileIntA]
push 1
push str.target_compile
push esi
call ebp
push dword [0x43292c]
mov dword [0x431194], eax
push 1
push str.target_optimize
push esi
call ebp
push dword [0x43292c]
mov dword [0x431190], eax
push 0xa
push 0x432590
push ebx
push str.target_version
push esi
call edi
push dword [0x43292c]
push 0x50
push 0x4312c0
push ebx
push str.name
push str.metadata
call edi
push dword [0x43292c]
push 0x104
push 0x4311a0
push ebx
push str.install_script
push esi
call edi
push dword [0x43292c]
mov ebp, 0x431550
push 0xa
push ebp
push ebx
push str.user_access_control
push esi
call edi
push 6
mov edi, str.force
mov esi, ebp
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x40462b
call fcn.00419282
test eax, eax
je 0x404688
call fcn.00403547
test eax, eax
jne 0x404688
call fcn.00419282
jmp 0x4046cb
push 5
mov edi, str.auto
mov esi, ebp
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x404658
call fcn.00419282
test eax, eax
je 0x404688
call fcn.00403547
test eax, eax
jne 0x404688
call fcn.00419282
test eax, eax
je 0x404688
jmp 0x404621
cmp byte [0x431550], al
je 0x404688
push 5
mov edi, str.none
mov esi, ebp
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x404688
push eax
push str.oops
push str.Bad_user_access_control_value
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x431140
call fcn.00402766
push eax
mov dword [0x432580], eax
call fcn.00419282
pop ecx
pop ecx
push dword [0x432814]
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
mov eax, dword [0x43292c]
test eax, eax
je 0x4046bb
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov eax, dword [0x432930]
test eax, eax
je 0x4046cb
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x1010]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00407875
add esp, 0x1004
ret

Function at 0x407875
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f180]
jne 0x40787f
repz ret
jmp fcn.0040bbd7
Function at 0x419282
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x419291
pop dword [ebp - 0x2c]
mov eax, 0x93345052
sub eax, 0x92f2bdc1
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x39004
push 0
mov eax, 0x843bed4
sub eax, 0x8016cbc
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x25b0ae84
sub ecx, 0x25b0798a
mov edx, eax
mov edi, 0xb6fb5655
sub edi, 0xb6b80255
add edi, dword [ebp - 0x2c]
mov esi, 0xe08a7b77
add esi, 0x862dd7e6
add dword [ebp - 0x20], edi
mov ebx, dword [edi]
sub dword [ebp - 0x14], edx
xor ebx, esi
xor dword [ebp - 0x28], edi
mov dword [edx], ebx
add edx, 4
add edi, 4
loop 0x4192f0
add eax, 0x7437f037
add eax, 0x8bc8d684
xor ebx, ebx
add ebx, eax
add eax, 0x2c517eb7
add eax, 0xd3ae814e
mov ecx, 0x400000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret
Function at 0x402bd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4130c4
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x41d008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov ecx, 0x41ec42
call fcn.00412f13
push 0xc
mov byte [ebp - 0x15], 0
call fcn.00411d04
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov byte [ebp - 4], 1
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0xffffffff
push str.GlobalMutex_6A2AC04F_55C7_4CCD_81C9_0FCFB9A16982
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebx, eax
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 8], eax
test ebx, ebx
je 0x402d70
cmp dword [esi], 0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
je 0x402ca7
mov eax, dword [esi + 4]
test eax, eax
je 0x402c98
push eax
call edi
mov dword [esi + 4], 0
mov eax, dword [esi]
test eax, eax
je 0x402ca7
push eax
call ebx
mov dword [esi], 0
mov eax, dword [ebp - 0x14]
sub esp, 0xc
mov ecx, esi
mov dword [esi], eax
push 4
call fcn.00409f50
cmp al, 1
jne 0x402d25
mov eax, dword [esi + 4]
test eax, eax
je 0x402d25
cmp dword [eax], 0x39767353
jne 0x402d25
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x402d67
cmp byte [eax + 4], 1
jne 0x402d67
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x402d1f
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x103
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x402d1c
cmp dword [ebp - 0x14], 0x103
jne 0x402d1c
push 1
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esi + 4]
test eax, eax
je 0x402d46
push eax
call edi
xor eax, eax
mov dword [esi + 4], 0
test eax, eax
je 0x402d46
push eax
call edi
mov dword [esi + 4], 0
mov eax, dword [esi]
test eax, eax
je 0x402d55
push eax
call ebx
mov dword [esi], 0
cmp byte [ebp - 0x15], 1
jne 0x402d6d
push ecx
mov ecx, esi
call fcn.00402de0
xor al, al
jmp 0x402dc1
mov byte [ebp - 0x15], 1
jmp 0x402d25
mov edi, dword [ebp - 0x1c]
sub esp, 0x14
mov ecx, esi
call fcn.00409e70
mov bl, al
cmp bl, 1
jne 0x402da9
sub esp, 0xc
mov ecx, esi
push 6
call fcn.00409f50
mov bl, al
cmp bl, 1
jne 0x402da9
mov eax, dword [esi + 4]
test eax, eax
je 0x402da1
mov dword [eax], 0x39767353
test edi, edi
je 0x402dbf
mov dword [edi], esi
jmp 0x402dbf
mov ecx, esi
call fcn.00409fa0
mov ecx, esi
call fcn.00409fd0
push ecx
mov ecx, esi
call fcn.00402de0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00411cf3
mov esp, ebp
pop ebp
ret
Function at 0x4081a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x41d008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov ecx, 0x41ec42
mov dword [ebp - 0x10], esi
call fcn.00412f13
xor edx, edx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], edx
test edi, edi
jne 0x4081ed
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411cf3
mov esp, ebp
pop ebp
ret 0x10
test byte [ebp + 0x14], 2
je 0x408281
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x408209
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor edx, edx
mov ecx, dword [ebx + 0x38]
mov esi, dword [ecx]
cmp esi, ecx
je 0x408229
mov eax, dword [esi + 8]
cmp dword [eax], edi
je 0x408221
mov esi, dword [esi]
cmp esi, ecx
jne 0x408212
jmp 0x408229
mov edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x40823a
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [ebp - 0xc]
cmp edx, 1
jne 0x408273
mov eax, dword [esi + 8]
add eax, 4
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
cmp ebx, 1
jne 0x408294
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 8]
add eax, 4
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
jmp 0x408292
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x10]
jmp 0x40828b
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
test byte [ebp + 0x14], 1
je 0x4082a1
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ecx, dword [ebp - 4]
cmp ebx, 1
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.00411cf3
mov esp, ebp
pop ebp
ret 0x10
Function at 0x408ca0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x41d008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov ecx, 0x41ec42
push edi
mov edi, dword [ebp + 8]
call fcn.00412f13
mov eax, dword [esi + 0x1c]
mov dword [ebp - 8], 0
test eax, eax
jne 0x408ce3
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411cf3
mov esp, ebp
pop ebp
ret 0xc
push ebx
mov ebx, dword [ebp + 0x10]
test bl, 2
je 0x408d3b
cmp dword [esi + 0x24], 0
je 0x408d3b
push 0x14
call fcn.00411d04
add esp, 4
mov dword [eax], 0
push 0x408bf0
push eax
push dword [ebp + 0xc]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
push edi
mov dword [eax + 0x10], esi
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteFileEx]
push 1
push 1
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SleepEx]
jmp 0x408d4e
push 0
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
test bl, 1
pop ebx
je 0x408d5d
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ecx, dword [ebp - 4]
cmp edi, 1
pop edi
sete al
xor ecx, ebp
pop esi
call fcn.00411cf3
mov esp, ebp
pop ebp
ret 0xc
Function at 0x408ee0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4139c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x41d008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov ecx, 0x41ec42
mov ebx, dword [ebp + 0xc]
call fcn.00412f13
mov eax, dword [edi + 0x10]
test eax, eax
je 0x408f2d
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [edi + 4], 0
je 0x408f48
mov eax, dword [edi + 0x10]
test eax, eax
je 0x408f41
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
jmp 0x4090bd
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push ebx
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [0x41d7ec], 0
mov esi, eax
mov dword [ebp - 0x30], esi
je 0x409059
push ecx
mov ecx, 0x41d7ec
call fcn.0040eb20
mov eax, dword [0x41d7ec]
cmp byte [eax + 0x54], 0
je 0x409059
cmp dword [eax + 0x58], 5
jb 0x409059
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push dword [ebp - 0x14]
push esi
push 0x4176e0
push eax
call fcn.0040f940
add esp, 0x10
lea eax, [ebp - 0x2c]
mov ecx, 0x41d7ec
push 0x39
push str.RC::DmAvCore::RCImplThreadPoolSimple::Excute
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_vbaselib_src_rcimplthreadpoolsimple.cpp
push eax
push 5
call fcn.0040f420
test bl, bl
je 0x409002
lea eax, [ebp - 0x2c]
mov ecx, 0x41d7ec
push eax
call fcn.0040f750
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x409045
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40903b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40903b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00411fb1
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp byte [ebp + 0x10], 0
je 0x409071
test esi, esi
je 0x40906a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
jmp 0x4090ad
mov ebx, dword [edi + 8]
lea ecx, [ebp - 0x30]
push ecx
mov eax, dword [ebx + 4]
push eax
push ebx
mov dword [ebp - 0x34], eax
call fcn.004084a0
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [edi + 0xc]
sub ecx, eax
cmp ecx, 1
jae 0x4090a1
push str.list_T__too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [ebx + 4], edx
mov dword [eax], edx
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4090bb
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00411cf3
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40da10
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [0x41d008]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
mov ebp, ecx
mov dword [esp + 0xc], eax
push edi
mov edi, dword [esp + 0x20]
mov ecx, 0x41ec42
call fcn.00412f13
mov esi, dword [esp + 0x24]
xor ebx, ebx
cmp dword [ebp + 0x10], 0xffffffff
je 0x40da92
mov ecx, 0x100000
nop dword [eax + eax]
cmp esi, 0x100000
mov dword [esp + 0x14], 0
push 0
mov eax, esi
cmova eax, ecx
lea ecx, [esp + 0x18]
push ecx
push eax
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x14]
add ebx, ecx
test eax, eax
je 0x40da92
test ecx, ecx
je 0x40da8e
add edi, ecx
sub esi, ecx
mov ecx, 0x100000
jne 0x40da50
xor eax, eax
jmp 0x40da97
mov eax, 1
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x40daa1
mov dword [ecx], ebx
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00411cf3
add esp, 0xc
ret 0xc
Function at 0x40e0d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x41b620
push 0x412436
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x41d008]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov ecx, 0x41ec42
call fcn.00412f13
mov dword [ebp - 0x28], 0
xor edi, edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x2c], edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x20], 0x100
mov eax, dword [esi]
mov esi, dword [eax + 0x28]
mov dword [ebp - 0x40], esi
test esi, esi
jne 0x40e145
xor eax, eax
jmp 0x40e2bb
mov dword [ebp - 4], ebx
push 0x417c1c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e286
push 1
push dword [ebp - 0x34]
call eax
test eax, eax
je 0x40e286
push str.AllocateAndInitializeSid
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e286
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x24]
push ecx
call eax
test eax, eax
je 0x40e286
push str.GetLengthSid
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e286
push dword [ebp - 0x28]
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x40e286
push str.InitializeAcl
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e286
push 2
push dword [ebp - 0x30]
push edi
call eax
test eax, eax
je 0x40e286
push str.AddAccessAllowedAce
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e286
push dword [ebp - 0x28]
push 0x10000000
push 2
push edi
call eax
test eax, eax
je 0x40e286
push 0x417c3c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x40e286
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x40e26f
push 0
push ecx
push 1
push dword [ebp - 0x34]
call eax
test eax, eax
je 0x40e25c
mov ebx, 1
mov dword [ebp - 0x38], ebx
cmp dword [ebp - 0x2c], 0
je 0x40e26c
jmp 0x40e286
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x30]
push 0
push edi
push 1
push dword [ebp - 0x34]
call eax
mov ecx, 1
test eax, eax
cmovne ebx, ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.0040e2e2
test ebx, ebx
jne 0x40e2b9
test edi, edi
je 0x40e2ab
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor edi, edi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x40e2b9
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00411cf3
mov esp, ebp
pop ebp
ret 0xc