joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c8a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415d89
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x41e008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 4], 0
test byte [esi + 0x3c], 1
je 0x40c928
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x40c8f3
mov eax, dword [esi + 0x30]
mov edx, dword [eax]
add edx, ecx
jmp 0x40c8fd
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x1c]
mov edx, dword [eax]
add edx, dword [ecx]
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
sub edx, eax
cmp edx, 0x1000
jb 0x40c91e
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c988
mov eax, ecx
push edx
push eax
call fcn.00412cba
add esp, 8
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [esi + 0x10]
mov dword [eax], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
and dword [esi + 0x3c], 0xfffffffe
mov dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x40ff59
Capabilities:
Terminate thread

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edi
mov edi, ecx
cmp dword [edi + 0x64], 0
je 0x40ff70
push dword [edi + 0x64]
call esi
cmp dword [edi + 0x70], 0
je 0x40ff7b
push dword [edi + 0x70]
call esi
xor ebp, ebp
cmp dword [edi + 0x78], ebp
je 0x410069
push 0x41e8f0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x78]
test al, 1
je 0x40ffa4
push dword [edi + 0x7c]
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov eax, dword [edi + 0x78]
test al, 2
je 0x40ffb8
push dword [edi + 0x80]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler]
mov eax, dword [edi + 0x78]
pop ecx
test al, 4
je 0x40ffc9
push dword [edi + 0x84]
call dword [sym.imp.VCRUNTIME140.dll__set_purecall_handler]
pop ecx
mov ebx, dword [0x41e908]
mov eax, dword [ebx + 4]
add eax, 0xfffffffc
cmp dword [eax], edi
jne 0x40ffde
mov dword [ebx + 4], eax
jmp 0x41002f
push str.warning:_removing_Breakpad_handler_out_of_order_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
pop ecx
push eax
call fcn.0040fc60
mov ebx, dword [0x41e908]
pop ecx
pop ecx
mov esi, dword [ebx]
mov eax, dword [ebx + 4]
cmp esi, eax
je 0x41002f
lea ebp, [esi + 4]
cmp dword [esi], edi
jne 0x410020
mov eax, dword [ebx + 4]
sub eax, ebp
push eax
push ebp
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
add dword [ebx + 4], 0xfffffffc
jmp 0x410026
add esi, 4
add ebp, 4
mov eax, dword [ebx + 4]
cmp esi, eax
jne 0x410006
xor ebp, ebp
mov ecx, dword [ebx]
cmp ecx, eax
jne 0x41005e
test ecx, ecx
je 0x41004e
mov edx, dword [ebx + 8]
sub edx, ecx
and edx, 0xfffffffc
call fcn.00403470
mov dword [ebx], ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], ebp
push 0xc
push ebx
call fcn.00412cba
pop ecx
pop ecx
mov dword [0x41e908], ebp
push 0x41e8f0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
cmp dword [edi + 0xc], ebp
jne 0x4100af
push 1
push dword [edi + 0x88]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi + 0x88]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
lea eax, [edi + 0x90]
mov dword [edi + 0x88], ebp
push eax
call ebx
push dword [edi + 0xa8]
call esi
push dword [edi + 0xac]
call esi
push 0x41e8ec
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4100c5
push 0x41e8f0
call ebx
lea ecx, [edi + 0xc0]
call fcn.00410a07
lea ecx, [edi + 0x40]
call fcn.00403100
lea ecx, [edi + 0x28]
call fcn.00403100
lea ecx, [edi + 0x10]
call fcn.00403100
mov ecx, dword [edi + 0xc]
pop edi
pop esi
pop ebp
pop ebx
test ecx, ecx
je 0x4100f9
push ecx
call fcn.00410a40
ret
Function at 0x410ca7
Capabilities:
Read pipe
Write file on windows
Write pipe

Disassembly:
sub esp, 0xa0
push ebx
mov ebx, ecx
push ebp
push esi
lea ebp, [ebx + 0x348]
cmp dword [ebp + 0x14], 8
jb 0x410cc1
mov ebp, dword [ebp]
mov esi, dword [ebx + 0x24]
push edi
mov edi, dword [ebx + 0x360]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x4c], eax
xorps xmm0, xmm0
lea eax, [ebx + 0x38]
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], eax
xor esi, esi
lea eax, [ebx + 0x3c]
mov dword [esp + 0x48], 1
mov dword [esp + 0x58], eax
lea eax, [ebx + 0x40]
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x60], eax
mov eax, dword [ebx + 0x20]
push esi
mov dword [esp + 0x68], eax
lea eax, [esp + 0x14]
push eax
push 0x34
lea eax, [esp + 0x20]
mov dword [esp + 0x74], esi
push eax
push 0x34
lea eax, [esp + 0x5c]
mov dword [esp + 0x80], esi
push eax
push dword [esp + 0xcc]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
movups xmmword [esp + 0x38], xmm0
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
movups xmmword [esp + 0x50], xmm0
mov dword [esp + 0x60], esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
pop edi
test eax, eax
je 0x410e1f
cmp dword [esp + 0x10], 2
jne 0x410e1f
cmp dword [esp + 0x14], esi
je 0x410e1f
cmp dword [esp + 0x30], esi
je 0x410e1f
cmp dword [esp + 0x34], esi
je 0x410e1f
cmp dword [esp + 0x38], esi
je 0x410e1f
push esi
lea eax, [esp + 0x10]
mov dword [esp + 0x80], esi
push eax
push 0x34
lea eax, [esp + 0x84]
mov dword [esp + 0x8c], esi
push eax
push dword [esp + 0xc0]
xorps xmm0, xmm0
mov dword [esp + 0x98], esi
movups xmmword [esp + 0x9c], xmm0
mov dword [esp + 0xbc], esi
movups xmmword [esp + 0xac], xmm0
mov dword [esp + 0x8c], 3
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x410e1f
mov ecx, dword [esp + 0x30]
mov al, 1
mov dword [ebx + 0x28], ecx
mov ecx, dword [esp + 0x34]
mov dword [ebx + 0x2c], ecx
mov ecx, dword [esp + 0x38]
mov dword [ebx + 0x30], ecx
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x34], ecx
jmp 0x410e21
xor al, al
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret 4
Function at 0x411190
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x416685
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x41e008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x1050
call fcn.00412c8a
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
push 0x1050
push 0
push esi
call sub.VCRUNTIME140.dll_memset
lea ecx, [esi + 0x44]
mov dword [esi], 0
mov eax, ecx
mov dword [esi + 4], 0
neg eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
lea edx, [esi + 0x1044]
mov dword [esi + 0x10], 0
and eax, 3
mov dword [esi + 0x14], 0
add esp, 0x10
mov dword [esi + 0x18], 0
add eax, ecx
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [ebp - 0x14], esi
mov dword [edx], 0
mov dword [esi + 0x1048], 0
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edx
mov byte [ebp - 4], 2
mov dword [esi + 0x104c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov dword [edi], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401016
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4010a6
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x4010a3
push 0x5c
push esi
call dword [sym.imp.MSVCR80.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4010a3
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40107c
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x401075
test ebp, ebp
je 0x401075
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x40107c
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x40109d
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x40109d
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x40102e
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x401bc8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x401bd7
pop dword [ebp - 8]
mov eax, 0x401bd7
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0xdff46598
add dword [ebp - 0x18], 0x6e5ddfb3
mov dword [ebp - 0x14], 0x4135bfbb
sub dword [ebp - 0x14], 0xf027376
mov dword [ebp - 0x10], 0x1a2ad95c
sub dword [ebp - 0x10], 0xcdde952e
mov dword [ebp - 0xc], 0x9b2c505f
sub dword [ebp - 0xc], 0x9b2c505f
lea eax, [ebp - 0x18]
push eax
mov eax, 0x20bc4c5f
sub eax, 0x207bdbff
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xab75d2ff
add dword [ebp - 0x18], 0xc8fc9657
mov dword [ebp - 0x14], 0x20c3a07b
sub dword [ebp - 0x14], 0xdf573f06
mov dword [ebp - 0x10], 0xb76ddc49
add dword [ebp - 0x10], 0xac019023
mov dword [ebp - 0xc], 0x9a9e6765
sub dword [ebp - 0xc], 0x9a9e6765
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x32947c0d
sub eax, 0x32540b0d
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3d6b7
push 0
call eax
mov ecx, 0x6361
xor ebx, ebx
add ebx, eax
mov esi, 0x97402f2d
sub esi, 0x96ff2f2d
add esi, dword [ebp - 8]
mov edi, 0x1c86eab1
add edi, 0xd842d52a
xor dword [ebp - 4], ecx
mov edx, dword [esi]
sub edx, edi
xor dword [ebp - 4], 0xc53a1488
mov dword [ebx], edx
mov dword [ebp - 4], 0x20851971
add ebx, 0x68ee0517
add ebx, 0x9711faed
add esi, 0x23f3e067
sub esi, 0x23f3e063
loop 0x401cf0
add eax, 0x49b47de3
add eax, 0xb64d0274
xor ebx, ebx
add ebx, eax
add eax, 0x1bfe068e
sub eax, 0x1bfe0689
mov ecx, 0x400000
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x769b1000
Capabilities:
Acquire credentials from windows credential manager

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x34
mov dword [ebp - 0x1c], edx
lea edx, [ebp - 0x14]
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_CredEnumerateW]
sub esp, 0x10
test eax, eax
je 0x769b10fe
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
test ebx, ebx
je 0x769b10f0
xor ebx, ebx
jmp 0x769b1088
mov edi, dword [ebp - 0x1c]
mov eax, dword [eax + 0x30]
cmp word [edi], 0
je 0x769b1119
mov dword [esp + 4], eax
mov dword [esp], edi
call sym._lstrcmpW_8
sub esp, 8
test eax, eax
je 0x769b1110
mov ecx, dword [ebp - 0x14]
lea esi, [esi]
add ebx, 1
cmp dword [ebp - 0x18], ebx
jbe 0x769b10f0
mov eax, dword [ecx + ebx*4]
lea esi, [ebx*4]
mov edx, dword [eax + 4]
lea edi, [edx - 1]
cmp edi, 1
jbe 0x769b1050
test byte [0x769b7040], 1
je 0x769b1080
mov dword [esp + 0x18], edx
add ebx, 1
mov dword [esp + 0x14], str.no_support_for_type__u_credentials_n
mov dword [esp + 0x10], 0x23f
mov dword [esp + 0xc], str.find_existing_credential
mov dword [esp + 8], 0x769b805d
mov dword [esp + 4], 0x769b7040
mov dword [esp], 0
call sym._ros_dbg_log
mov ecx, dword [ebp - 0x14]
cmp dword [ebp - 0x18], ebx
ja 0x769b1088
lea esi, [esi]
mov dword [esp], ecx
call dword [sym.imp.advapi32.dll_CredFree]
xor eax, eax
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + esi]
mov eax, dword [eax + 0x30]
mov dword [esp], eax
call sym._lstrlenW_4
mov ecx, dword [ebp - 0x14]
sub esp, 4
cmp eax, dword [ebp - 0x20]
jae 0x769b1080
mov edx, dword [ecx + esi]
mov eax, dword [edx + 0x18]
shr eax, 1
cmp eax, dword [ebp + 0xc]
jae 0x769b1080
mov eax, dword [edx + 0x30]
test byte [0x769b7040], 8
jne 0x769b11a9
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._lstrcpyW_8
mov ebx, dword [ebp - 0x14]
sub esp, 8
add esi, ebx
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._memmove
mov eax, dword [esi]
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, dword [eax + 0x18]
and eax, 0xfffffffe
mov word [esi + eax], dx
mov dword [esp], ebx
call dword [sym.imp.advapi32.dll_CredFree]
mov eax, 1
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._wine_dbgstr_wn
mov dword [esp + 0x14], str.found_existing_credential_for__s_n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x246
mov dword [esp + 0xc], str.find_existing_credential
mov dword [esp + 8], 0x769b805d
mov dword [esp + 4], 0x769b7040
mov dword [esp], 3
call sym._ros_dbg_log
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + esi]
mov eax, dword [eax + 0x30]
jmp 0x769b114d
Function at 0x769b1e30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
cmp ebx, 2
je 0x769b1e80
cmp ebx, 0x100
jne 0x769b1e54
cmp edi, 0x14
je 0x769b1ea0
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], esi
mov dword [esp + 0xc], eax
call sym._DefSubclassProc_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x18
mov eax, dword [ebp + 0x18]
mov dword [esp + 4], sym._CredDialogPasswordSubclassProc_24
mov dword [esp], esi
mov dword [esp + 8], eax
call sym._RemoveWindowSubclass_12
sub esp, 0xc
jmp 0x769b1e54
mov dword [esp], esi
call sym._GetParent_4
sub esp, 4
mov dword [ebp - 0x14], eax
mov dword [esp], 0x14
call sym._GetKeyState_4
sub esp, 4
test al, 1
je 0x769b1ed0
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x14]
call sym._CredDialogShowCapsLockBalloon
jmp 0x769b1e54
mov eax, dword [ebp + 0x1c]
lea ecx, [eax + 0x2c]
lea edx, [eax + 0x28]
mov eax, dword [ebp - 0x14]
call sym._CredDialogHideBalloonTip.isra.1
jmp 0x769b1e54
Function at 0x769b37e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x50]
sub esp, 0x5c
mov dword [esp], str.WARNING:_calling_stub_CredUICmdLinePromptForCredentialsA___n
call sym._DbgPrint
xor eax, eax
mov ecx, 0x12
mov dword [ebp - 0x58], 0x80000100
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [esp], eax
mov dword [ebp - 0x44], str.credui.dll
mov dword [ebp - 0x40], str.CredUICmdLinePromptForCredentialsA
mov dword [ebp - 0x48], 2
call sym._RtlRaiseException_4

Function at 0x769b3840
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x50]
sub esp, 0x5c
mov dword [esp], str.WARNING:_calling_stub_CredUICmdLinePromptForCredentialsW___n
call sym._DbgPrint
xor eax, eax
mov ecx, 0x12
mov dword [ebp - 0x58], 0x80000100
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [esp], eax
mov dword [ebp - 0x44], str.credui.dll
mov dword [ebp - 0x40], str.CredUICmdLinePromptForCredentialsW
mov dword [ebp - 0x48], 2
call sym._RtlRaiseException_4

Function at 0x769b38a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x50]
sub esp, 0x5c
mov dword [esp], str.WARNING:_calling_stub_CredUIConfirmCredentialsA___n
call sym._DbgPrint
xor eax, eax
mov ecx, 0x12
mov dword [ebp - 0x58], 0x80000100
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [esp], eax
mov dword [ebp - 0x44], str.credui.dll
mov dword [ebp - 0x40], str.CredUIConfirmCredentialsA
mov dword [ebp - 0x48], 2
call sym._RtlRaiseException_4

Function at 0x769b3900
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x50]
sub esp, 0x5c
mov dword [esp], str.WARNING:_calling_stub_CredUIParseUserNameA___n
call sym._DbgPrint
xor eax, eax
mov ecx, 0x12
mov dword [ebp - 0x58], 0x80000100
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [esp], eax
mov dword [ebp - 0x44], str.credui.dll
mov dword [ebp - 0x40], str.CredUIParseUserNameA
mov dword [ebp - 0x48], 2
call sym._RtlRaiseException_4

Function at 0x769b3960
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x50]
sub esp, 0x5c
mov dword [esp], str.WARNING:_calling_stub_CredUIPromptForCredentialsA___n
call sym._DbgPrint
xor eax, eax
mov ecx, 0x12
mov dword [ebp - 0x58], 0x80000100
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [esp], eax
mov dword [ebp - 0x44], str.credui.dll
mov dword [ebp - 0x40], str.CredUIPromptForCredentialsA
mov dword [ebp - 0x48], 2
call sym._RtlRaiseException_4
Function at 0x769b39c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x50]
sub esp, 0x5c
mov dword [esp], str.WARNING:_calling_stub_DllCanUnloadNow___n
call sym._DbgPrint
xor eax, eax
mov ecx, 0x12
mov dword [ebp - 0x58], 0x80000100
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [esp], eax
mov dword [ebp - 0x44], str.credui.dll
mov dword [ebp - 0x40], str.DllCanUnloadNow
mov dword [ebp - 0x48], 2
call sym._RtlRaiseException_4

Function at 0x769b3a20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x50]
sub esp, 0x5c
mov dword [esp], str.WARNING:_calling_stub_DllGetClassObject___n
call sym._DbgPrint
xor eax, eax
mov ecx, 0x12
mov dword [ebp - 0x58], 0x80000100
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [esp], eax
mov dword [ebp - 0x44], str.credui.dll
mov dword [ebp - 0x40], str.DllGetClassObject
mov dword [ebp - 0x48], 2
call sym._RtlRaiseException_4

Function at 0x769b3a80
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x50]
sub esp, 0x5c
mov dword [esp], str.WARNING:_calling_stub_DllRegisterServer___n
call sym._DbgPrint
xor eax, eax
mov ecx, 0x12
mov dword [ebp - 0x58], 0x80000100
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [esp], eax
mov dword [ebp - 0x44], str.credui.dll
mov dword [ebp - 0x40], str.DllRegisterServer
mov dword [ebp - 0x48], 2
call sym._RtlRaiseException_4

Function at 0x769b3ae0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x50]
sub esp, 0x5c
mov dword [esp], str.WARNING:_calling_stub_DllUnregisterServer___n
call sym._DbgPrint
xor eax, eax
mov ecx, 0x12
mov dword [ebp - 0x58], 0x80000100
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [esp], eax
mov dword [ebp - 0x44], str.credui.dll
mov dword [ebp - 0x40], str.DllUnregisterServer
mov dword [ebp - 0x48], 2
call sym._RtlRaiseException_4
Function at 0x769b58d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
lea esi, [ebp + 0xc]
sub esp, 0x10
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], 0x769b8984
call sym._fwrite
mov eax, dword [ebp + 8]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.msvcrt.dll_vfprintf]
call sym._abort
lea esi, [esi]
Function at 0x1011629b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov dword [0x101410f0], 0x1abc
mov dword [ebp - 0x10], eax
call fcn.1011740a
xor ecx, ecx
mov dword [0x101410f4], 0x1154
mov edx, eax
mov dword [0x101410f0], 0x39b
mov esi, dword [eax + 0x3c]
mov dword [0x101410f4], 0x1475
mov esi, dword [eax + esi + 0x78]
mov dword [0x101410f0], 0x1dca
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov ebx, dword [eax + esi + 0x24]
mov dword [0x101410f4], 0x2b5d
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ecx
je 0x1011640f
jmp 0x10116371
xor eax, eax
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov edx, dword [ebp - 0x30]
add edx, 2
mov esi, dword [ebp - 0x18]
cmp ecx, esi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x28], eax
jae 0x1011640f
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + eax*4]
mov dword [0x101410f0], 0x2382
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edx
jmp 0x10116383
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
jmp 0x1011634b
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x46], cl
je 0x101163d4
mov eax, dword [ebp - 0x44]
add eax, 1
mov cl, byte [ebp - 0x45]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x46]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x40], eax
jne 0x10116383
mov al, byte [ebp - 0x46]
test al, 1
jne 0x101163e0
jmp 0x10116323
mov eax, dword [ebp - 0x30]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x101410f0], 0x25ff
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [0x101410f4], 0x26e3
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101164f7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x101410f0]
add esi, 0xffffea50
mov dword [0x101410f0], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x101165e8
mov eax, dword [ebp - 0x34]
mov dword [0x101410f0], 0x7c3
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x101410f4]
add ecx, 0x26c0
mov dword [0x101410f4], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.10116e3a
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [0x101410f4], 0x18b5
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x58], ecx
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0x40], ecx
mov dword [0x101410f0], 0x24db
add ecx, 0x1286
mov esi, dword [ebp - 0x38]
cmp esi, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
je 0x101165d7
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x10120ab4]
mov dh, byte [eax + 0x10120a85]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x101165e8
lea eax, [ebp - 0x24]
mov dword [0x101410f0], 0x108b
mov dword [0x101410f4], 0x1b8
mov dword [ebp - 0x44], eax
call fcn.10116431
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.101160e2
mov ecx, dword [0x101410f4]
add ecx, 0xfffff6fd
mov dword [0x101410f0], ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
je 0x101165e0
jmp 0x10116526