joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a720
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x432024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, str.E11173AE_6007_4a43_811E_6069470B72E6
lea edi, [ebp - 0x20]
xor ebx, ebx
call fcn.00402760
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x40a74e
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x40a778
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40a771
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0041f808
mov esp, ebp
pop ebp
ret

Function at 0x40a7a0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x432024]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.84B48DA1_935E_457d_9566_68C2222F9609
lea ecx, [ebp - 0x20]
xor edi, edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x40a7ce
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x40a7f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40a7f1
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0041f808
mov esp, ebp
pop ebp
ret
Function at 0x40b160
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
xor eax, eax
push str.ZwQueryInformationProcess
xor ebx, ebx
push str.ntdll.dll
mov dword [ebp - 8], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, ebx
je 0x40b220
mov eax, dword [ebp + 8]
push eax
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x40b229
push esi
push 0x18
lea ecx, [ebp - 0x20]
push ecx
push esi
push ebx
call edi
test eax, eax
jne 0x40b200
mov ecx, dword [ebp + 0x10]
test ecx, ecx
mov eax, dword [ebp - 0xc]
je 0x40b1d2
mov dword [ecx], eax
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40b204
mov edx, dword [ebp + 0xc]
push 0x104
push edx
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x40b204
mov edi, 1
jmp 0x40b207
mov edi, esi
jmp 0x40b207
mov edi, dword [ebp - 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
test esi, esi
je 0x40b217
push esi
call ebx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b240
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1440
call fcn.004242e0
mov eax, dword [0x432024]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov edx, dword [0x427bf4]
mov ecx, dword [str.__regrun]
push ebx
push esi
push edi
mov dword [ebp - 0x43c], eax
mov eax, dword [0x427bf8]
push 0x1f8
xor ebx, ebx
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x21c], ecx
mov ecx, dword [0x427bfc]
mov dword [ebp - 0x218], edx
mov dx, word [0x427c00]
lea eax, [ebp - 0x20a]
push ebx
push eax
mov dword [ebp - 0x210], ecx
mov word [ebp - 0x20c], dx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x208
lea ecx, [ebp - 0x42a]
push ebx
push ecx
mov word [ebp - 0x42c], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0xffc
lea edx, [ebp - 0x1438]
push ebx
push edx
mov dword [ebp - 0x143c], ebx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [ebp - 0x434], ebx
lea eax, [ebp - 0x434]
push eax
push 0x1000
lea ecx, [ebp - 0x143c]
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x40b38d
mov edi, dword [ebp - 0x434]
shr edi, 2
mov esi, ebx
je 0x40b38d
lea ecx, [ecx]
push 0x208
lea edx, [ebp - 0x42c]
push ebx
push edx
call sub.MSVCR80.dll_memset
mov edx, dword [ebp + esi*4 - 0x143c]
add esp, 0xc
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x42c]
push ecx
push edx
mov dword [ebp - 0x438], ebx
call fcn.0040b160
add esp, 0xc
test eax, eax
je 0x40b386
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.MSVCR80.dll__wcsupr]
add esp, 4
lea ecx, [ebp - 0x42c]
push str.EXPLORER.EXE
push ecx
call dword [sym.imp.MSVCR80.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x40b3b8
add esi, 1
cmp esi, edi
jb 0x40b320
mov ecx, dword [ebp - 0x43c]
push 0x1f4
call fcn.00412750
test al, al
je 0x40b2f4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041f808
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x438]
lea edx, [ebp - 0x430]
push edx
push eax
mov dword [ebp - 0x430], ebx
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
call fcn.00409ee0
test eax, eax
jne 0x40b3f1
mov edx, dword [ebp - 0x430]
lea ecx, [ebp - 0x21c]
push ecx
push edx
call fcn.00409f60
add esp, 8
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0041f808
mov esp, ebp
pop ebp
ret
Function at 0x40b410
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x122c
call fcn.004242e0
mov eax, dword [0x432024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x208
lea eax, [ebp - 0x216]
push ebx
push eax
xor esi, esi
mov word [ebp - 0x218], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0xffc
lea ecx, [ebp - 0x1224]
push ebx
push ecx
mov dword [ebp - 0x1228], ebx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea edx, [ebp - 0x224]
push edx
push 0x1000
lea eax, [ebp - 0x1228]
push eax
mov dword [ebp - 0x224], ebx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x40b55a
mov edi, dword [ebp - 0x224]
shr edi, 2
mov esi, ebx
je 0x40b50d
jmp 0x40b4a0
push 0x208
lea ecx, [ebp - 0x218]
push ebx
push ecx
call sub.MSVCR80.dll_memset
mov ecx, dword [ebp + esi*4 - 0x1228]
add esp, 0xc
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x218]
push eax
push ecx
mov dword [ebp - 0x220], ebx
call fcn.0040b160
add esp, 0xc
test eax, eax
je 0x40b506
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.MSVCR80.dll__wcsupr]
add esp, 4
lea eax, [ebp - 0x218]
push str.EXPLORER.EXE
push eax
call dword [sym.imp.MSVCR80.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x40b520
add esi, 1
cmp esi, edi
jb 0x40b4a0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041f808
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x220]
lea ecx, [ebp - 0x21c]
push ecx
push edx
mov dword [ebp - 0x21c], ebx
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov eax, dword [ebp - 0x21c]
push eax
call fcn.0040a390
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041f808
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041f808
mov esp, ebp
pop ebp
ret
Function at 0x40b570
Capabilities:
Enumerate process modules
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1444
call fcn.004242e0
mov eax, dword [0x432024]
xor eax, esp
mov dword [esp + 0x1440], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push 0x208
lea ecx, [esp + 0x102e]
push ebx
push ecx
mov dword [esp + 0x30], eax
xor esi, esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], 0x208
mov word [esp + 0x1034], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0xffc
lea edx, [esp + 0x30]
push ebx
push edx
mov dword [esp + 0x34], ebx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 1
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40b725
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x40b725
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x123c]
push edx
push ebx
push ebx
push str._QQPCTray
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40b725
lea eax, [esp + 0x10]
push eax
push 0x1000
lea ecx, [esp + 0x30]
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x40b6bd
mov edi, dword [esp + 0x10]
shr edi, 2
mov esi, ebx
je 0x40b6bd
push 0x208
lea edx, [esp + 0x102c]
push ebx
push edx
call sub.MSVCR80.dll_memset
mov edx, dword [esp + esi*4 + 0x34]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x102c]
push ecx
push edx
mov dword [esp + 0x20], ebx
call fcn.0040b160
add esp, 0xc
test eax, eax
je 0x40b6b6
lea eax, [esp + 0x1028]
push eax
call dword [sym.imp.MSVCR80.dll__wcsupr]
add esp, 4
lea ecx, [esp + 0x1028]
push str.EXPLORER.EXE
push ecx
call dword [sym.imp.MSVCR80.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x40b6ea
add esi, 1
cmp esi, edi
jb 0x40b653
mov ecx, dword [esp + 0x24]
push 0x3e8
call fcn.00412750
test al, al
je 0x40b630
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1440]
xor ecx, esp
call fcn.0041f808
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0040b740
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1440]
xor ecx, esp
call fcn.0041f808
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x144c]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0041f808
mov esp, ebp
pop ebp
ret
Function at 0x40be10
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x432024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x20]
xor ebx, ebx
call fcn.00402760
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x40be3b
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x40be65
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40be5e
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0041f808
mov esp, ebp
pop ebp
ret

Function at 0x40d4c0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push edi
call edx
lea edi, [esi + 0xc]
push edi
push 0
push esi
push 0x40d510
push 0
push 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [edi], 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
test eax, eax
mov dword [esi + 8], eax
jne 0x40d504
mov dword [edi], eax
pop edi
pop esi
ret
pop edi
mov eax, 1
pop esi
ret
Function at 0x40eae0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
test eax, eax
push ebx
push esi
push edi
mov ebx, ecx
je 0x40eb94
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xc], esp
push eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [ebp - 0x30]
push eax
call fcn.004171d0
add esp, 0x20
cmp dword [eax + 0x18], 0x10
jb 0x40eb1c
mov ecx, dword [eax + 4]
mov dword [ebp - 4], ecx
jmp 0x40eb22
add eax, 4
mov dword [ebp - 4], eax
xor edx, edx
xor eax, eax
mov esi, dword [ebp - 4]
mov al, byte [esi]
dec esi
xor cl, cl
xor edx, eax
inc esi
and cl, 0x1f
movzx eax, byte [esi]
add cl, 5
test al, al
rol eax, cl
jne 0x40eb2e
xor eax, edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea esi, [ebx + 0x2c]
push esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x14]
push eax
lea edi, [ebx + 4]
call fcn.0040f710
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebx + 0xc]
add ebx, 8
test edi, edi
mov dword [ebp - 4], ecx
je 0x40eb7f
cmp edi, ebx
je 0x40eb85
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [ebp - 0x10]
cmp ebx, dword [ebp - 4]
jne 0x40eba2
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x80000000
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test edi, edi
jne 0x40ebac
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [edi + 4]
jne 0x40ebb7
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx + 0xc]
mov edx, dword [eax + 0x8c]
mov esi, dword [eax + 0x88]
mov edi, dword [eax + 0x90]
mov ebx, dword [eax + 0x94]
mov eax, dword [ebp - 0xc]
push eax
mov dword [ebp - 4], edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 4]
add eax, 0xffffffff
cmp eax, 3
ja case.default.0x40ebea
jmp dword [eax*4 + 0x40ec4c]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edi
push eax
push ecx
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push eax
push ebx
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push edi
push ecx
push edx
push ebx
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40ec60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
test eax, eax
push esi
push edi
jne 0x40ec74
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 4], esp
push eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [ebp - 0x28]
push eax
call fcn.004171d0
add esp, 0x20
cmp dword [eax + 0x18], 0x10
jb 0x40ec9d
mov ecx, dword [eax + 4]
mov dword [ebp - 4], ecx
jmp 0x40eca3
add eax, 4
mov dword [ebp - 4], eax
xor edx, edx
xor eax, eax
mov esi, dword [ebp - 4]
mov al, byte [esi]
dec esi
xor cl, cl
xor edx, eax
inc esi
and cl, 0x1f
movzx eax, byte [esi]
add cl, 5
test al, al
rol eax, cl
jne 0x40ecaf
xor eax, edx
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea esi, [ebx + 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0xc]
push eax
lea edi, [ebx + 4]
call fcn.0040f710
mov ecx, dword [ebp - 0xc]
test ecx, ecx
mov edi, dword [ebx + 0xc]
lea eax, [ebx + 8]
je 0x40ecfa
cmp ecx, eax
je 0x40ed00
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 8], edi
je 0x40ec6c
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40ee60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425618
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
sub esp, 0x1c
mov edi, ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [ebp - 0x2c]
push eax
call fcn.004171d0
add esp, 0x20
cmp dword [eax + 0x18], 0x10
jb 0x40eea9
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
jmp 0x40eeaf
add eax, 4
mov dword [ebp - 0x10], eax
xor edx, edx
xor eax, eax
mov esi, dword [ebp - 0x10]
mov al, byte [esi]
dec esi
xor cl, cl
xor edx, eax
inc esi
and cl, 0x1f
movzx eax, byte [esi]
add cl, 5
test al, al
rol eax, cl
jne 0x40eebb
xor eax, edx
mov ebx, eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp + 8]
push ebx
call fcn.0040ed20
test eax, eax
je 0x40eeff
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 0x14
push 0x98
call fcn.0041f81e
add esp, 4
mov esi, eax
push 0x3f
lea edx, [esi + 4]
push edi
push edx
call dword [sym.imp.MSVCR80.dll_wcsncpy]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x18]
add esp, 0xc
mov dword [esi + 0x88], eax
mov eax, dword [ebp + 0x14]
add edi, 0x2c
push edi
mov dword [esi], ebx
mov dword [esi + 0x84], 0
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x90], edx
mov dword [esi + 0x94], eax
mov dword [ebp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
add eax, 4
mov dword [ebp - 4], 0
call fcn.0040efb0
push edi
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4132a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x424c78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push edi
lea edi, [esi + 0x10]
push edi
mov dword [esp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x1c], 0
cmp dword [esi + 0xc], 0
jbe 0x4133d3
mov eax, dword [esi + 8]
mov edi, dword [eax + 4]
cmp edi, eax
jne 0x4132f0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [esi + 8]
jne 0x4132fb
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 8]
mov ebx, dword [eax + 4]
cmp ebx, eax
mov edi, dword [edi + 8]
jne 0x41330e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [esi + 8]
jne 0x41331e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [esi + 8]
je 0x41333a
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov dword [eax], ecx
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
push ebx
mov dword [edx + 4], eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
add dword [esi + 0xc], 0xffffffff
test edi, edi
je 0x4133c5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov eax, dword [esi + 0x6c]
push eax
push ecx
call fcn.00407180
mov ecx, eax
add esp, 4
xor eax, eax
call fcn.00410dc0
mov ecx, dword [edi + 0x88]
call ecx
call fcn.004239b0
test al, al
je 0x41338f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
push eax
push edi
push str.UnloadPlugins:_Name_:_ws__UnloadTime:__d
push 2
push str.D:jenkins_TrunkworkspaceMainline_SourceJob_2qqpcmgr_projFTCommonQMCommonLibDllQMFrameworkCorePluginManager.cpp
call fcn.00423d80
add esp, 0x14
mov edx, dword [edi + 0x80]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
push edi
mov dword [edi + 0x80], eax
mov dword [edi + 0x84], eax
mov dword [edi + 0x88], eax
mov dword [edi + 0x8c], eax
mov dword [edi + 0x90], eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esi + 0xc], 0
ja 0x4132e0
mov edi, dword [esp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x14]
pop edi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413570
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x425027
push eax
mov dword fs:[0], esp
sub esp, 0x278
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x5c], 8
jb 0x4135a2
mov eax, dword [edi + 0x48]
jmp 0x4135a5
lea eax, [edi + 0x48]
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0xc], ebx
je 0x4136b0
test byte [esp + 0x30], 0x10
jne 0x413695
lea edx, [esp + 0x5c]
push 0x2e
push edx
call dword [sym.imp.MSVCR80.dll_wcsrchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x413695
lea eax, [esi + 2]
push 0x42a5ac
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x413695
cmp word [esi + 8], ax
jne 0x413695
call fcn.00407300
mov esi, eax
add esi, 0x10
push esi
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x290], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [edi + 0x38]
mov byte [esp + 0x28c], 1
mov edi, dword [eax + 4]
mov eax, dword [edi + 4]
lea edx, [esp + 0x14]
push edx
push eax
push edi
call fcn.00407c10
mov ecx, dword [ebp + 8]
add ecx, 0x38
mov ebx, eax
call fcn.00407cb0
mov dword [edi + 4], ebx
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x14]
mov dword [eax], ebx
mov byte [esp + 0x28c], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push esi
mov dword [esp + 0x290], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [esp + 0xc]
mov edi, dword [ebp + 8]
lea ecx, [esp + 0x30]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4135c0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x284]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4