joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4105f8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x47e010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040c185
mov dword [ebp - 0x14], eax
cmp dword [0x480378], esi
jne 0x4106eb
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x410678
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4107cb
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4107cb
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4107cb
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x480378], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x48037c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x480380], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x480388], eax
test eax, eax
je 0x4106e8
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x480384], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x410710
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x410703
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x410725
push 4
pop eax
jmp 0x4107cd
cmp dword [ebp - 0x14], esi
je 0x410725
push dword [0x480378]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41070a
mov eax, dword [0x480384]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x410783
cmp dword [0x480388], edi
je 0x410783
push eax
call ebx
push dword [0x480388]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x410783
test eax, eax
je 0x410783
call ecx
test eax, eax
je 0x410778
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x410778
test byte [ebp - 8], 1
jne 0x410783
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4107b3
mov eax, dword [0x48037c]
cmp eax, edi
je 0x4107b0
push eax
call ebx
test eax, eax
je 0x4107b0
call eax
mov esi, eax
test esi, esi
je 0x4107b0
mov eax, dword [0x480380]
cmp eax, edi
je 0x4107b0
push eax
call ebx
test eax, eax
je 0x4107b0
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x480378]
call ebx
test eax, eax
je 0x4107cb
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4107cd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a59e
mov esp, ebp
pop ebp
ret
Function at 0x1001cf50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100df320]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1001cf80
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x1001cfb0
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x1001cfb0
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x1001d0ab
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1001cfd9
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1001d00d
push dword [esi + 0x4c]
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x1001d06c
sub eax, 1
je 0x1001d06c
sub eax, 2
jne 0x1001d0ab
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.100345c0
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1001d08a
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1001d0ab
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x1001d0ab
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
Function at 0x411000
Capabilities:
Get system information on windows
Read file on windows
Write file on windows

Disassembly:
sub esp, 0xf8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push edi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push str.one.txt
call esi
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0xc], edi
je 0x41115f
push 0
push 0x80
push 4
push 0
push 1
push 4
push str.two.txt
call esi
mov esi, eax
cmp esi, 0xffffffff
jne 0x411061
pop edi
mov eax, 1
pop esi
add esp, 0xf8
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LockFile]
nop
push 0
lea eax, [esp + 0x14]
push eax
push 0xc8
lea ecx, [esp + 0x4c]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4110d1
push 2
push 0
push 0
push esi
call ebx
mov edx, dword [esp + 0x10]
push 0
push edx
push 0
mov edi, eax
push edi
push esi
call ebp
mov ecx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x1c]
push eax
push ecx
lea edx, [esp + 0x4c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x10]
push 0
push eax
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_UnlockFile]
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x10], 0xc8
je 0x411070
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x38]
xor edx, edx
mov eax, 0x21c00
div ecx
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x40]
mov ebx, ecx
mov esi, eax
imul esi, ecx
push esi
push str.The_file_map_view_starts_at__ld_bytes_into_the_file._n
push edx
call edi
xor edx, edx
mov eax, 0x21c00
div ebx
lea eax, [esp + 0x4c]
add edx, 0x400
push edx
push str.The_file_map_view_is__ld_bytes_large._n
push eax
call edi
push 0x22000
lea ecx, [esp + 0x5c]
push str.The_file_mapping_object_is__ld_bytes_large._n
push ecx
call edi
mov edx, 0x21c00
sub edx, esi
push edx
lea eax, [esp + 0x68]
push str.The_data_is__d_bytes_into_the_view._n
push eax
call edi
add esp, 0x30
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0xf8
ret
Function at 0x42444f
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x429220
call fcn.00425340
mov edi, 0x94
mov eax, edi
call fcn.00425390
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x45dac4], ecx
mov eax, dword [esi + 4]
mov dword [0x45dad0], eax
mov edx, dword [esi + 8]
mov dword [0x45dad4], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x45dac8], esi
cmp ecx, 2
je 0x4244af
or esi, 0x8000
mov dword [0x45dac8], esi
shl eax, 8
add eax, edx
mov dword [0x45dacc], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x4244ea
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4244ea
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x424502
cmp eax, 0x20b
je 0x4244ef
mov dword [ebp - 0x1c], esi
jmp 0x424516
cmp dword [ecx + 0x84], 0xe
jbe 0x4244ea
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x424510
cmp dword [ecx + 0x74], 0xe
jbe 0x4244ea
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.004252ed
pop ecx
test eax, eax
jne 0x42452a
push 0x1c
call fcn.0042442b
pop ecx
call fcn.00425264
test eax, eax
jne 0x42453b
push 0x10
call fcn.0042442b
pop ecx
call fcn.0042514d
mov dword [ebp - 4], esi
call fcn.00424f4f
test eax, eax
jge 0x424554
push 0x1b
call fcn.00424406
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x45e274], eax
call fcn.00424e2d
mov dword [0x45dab4], eax
call fcn.00424d8b
test eax, eax
jge 0x42457a
push 8
call fcn.00424406
pop ecx
call fcn.00424b58
test eax, eax
jge 0x42458b
push 9
call fcn.00424406
pop ecx
call fcn.00424663
mov dword [ebp - 0x20], eax
cmp eax, esi
je 0x42459e
push eax
call fcn.00424406
pop ecx
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00424aef
mov dword [ebp - 0x68], eax
test byte [ebp - 0x38], 1
je 0x4245bf
movzx eax, word [ebp - 0x34]
jmp 0x4245c2
push 0xa
pop eax
push eax
push dword [ebp - 0x68]
push esi
push esi
call edi
push eax
call fcn.00422f80
mov edi, eax
mov dword [ebp - 0x6c], edi
cmp dword [ebp - 0x1c], esi
jne 0x4245e0
push edi
call fcn.0042479b
call fcn.004247bd
jmp 0x424612
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0042537b
ret
Function at 0x425622
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x45dd70], ebx
push esi
push edi
jne 0x4256a2
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4256dd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x45dd70], eax
je 0x4256dd
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x45dd74], eax
call esi
cmp dword [0x45dac4], 2
mov dword [0x45dd78], eax
jne 0x4256a2
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x45dd80], eax
je 0x4256a2
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x45dd7c], eax
mov eax, dword [0x45dd7c]
test eax, eax
je 0x4256e7
call eax
test eax, eax
je 0x4256ce
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x45dd80]
test eax, eax
je 0x4256ce
test byte [ebp - 8], 1
jne 0x4256e7
cmp dword [0x45dad0], 4
jb 0x4256e1
or byte [ebp + 0x12], 0x20
jmp 0x425706
xor eax, eax
jmp 0x425716
or byte [ebp + 0x12], 4
jmp 0x425706
mov eax, dword [0x45dd74]
test eax, eax
je 0x425706
call eax
mov ebx, eax
test ebx, ebx
je 0x425706
mov eax, dword [0x45dd78]
test eax, eax
je 0x425706
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x45dd70]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4287d5
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.00425390
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x42886a
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x45dac4]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x42886a
cmp eax, 1
je 0x428882
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x42886a
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x42883f
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x428866
xor eax, eax
inc eax
jmp 0x42889e
cmp esi, ebx
jae 0x42886e
xor eax, eax
jmp 0x42889e
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x45dac4]
jmp 0x428884
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4be630
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7c000]
push edi
jmp 0x4be64a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4be651
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4be640
mov eax, 1
add ebx, ebx
jne 0x4be663
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4be674
jne 0x4be693
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4be693
dec eax
add ebx, ebx
jne 0x4be680
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4be658
add ebx, ebx
jne 0x4be68f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4be6e5
xor ecx, ecx
sub eax, 3
jb 0x4be6ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4be71a
sar eax, 1
mov ebp, eax
jmp 0x4be6b6
add ebx, ebx
jne 0x4be6b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4be684
inc ecx
add ebx, ebx
jne 0x4be6c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4be684
add ebx, ebx
jne 0x4be6d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4be6c6
jne 0x4be6e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4be6c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4be704
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4be6f6
jmp 0x4be646
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4be704
add edi, ecx
jmp 0x4be646
pop esi
mov edi, esi
mov ecx, 0x379b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4be722
cmp byte [edi], 0x13
jne 0x4be722
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4be727
lea edi, [esi + 0xba000]
mov eax, dword [edi]
or eax, eax
je 0x4be79f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xcdaa8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xcdbfc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4be754
mov ecx, edi
jns 0x4be783
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xcdc00]
or eax, eax
je 0x4be799
mov dword [ebx], eax
add ebx, 4
jmp 0x4be771
call dword [esi + 0xcdc10]
mov ebp, dword [esi + 0xcdc04]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4be7d3
sub esp, 0xffffff80
jmp 0x4165c1
Function at 0x1058e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1058e1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1058e07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1058e06a
add dl, dl
jne 0x1058e089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1058e0dc
xor eax, eax
add dl, dl
jne 0x1058e096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1058e17d
add dl, dl
jne 0x1058e0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1058e0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1058e0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1058e0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1058e0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1058e075
mov eax, 1
add dl, dl
jne 0x1058e0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1058e0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1058e0e1
sub eax, ebx
mov ebx, 1
jne 0x1058e128
mov ecx, 1
add dl, dl
jne 0x1058e10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1058e119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1058e105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1058e075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1058e13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1058e14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1058e136
cmp eax, 0x7d00
jae 0x1058e16d
cmp eax, 0x500
jb 0x1058e168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1058e075
cmp eax, 0x7f
ja 0x1058e170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1058e075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1058e19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1058e075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x62e41ef0
Capabilities:
Log keystrokes via polling

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
mov edx, ecx
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x28
mov ebx, dword [ecx + 4]
mov esi, dword [ecx]
mov edi, dword [ecx + 8]
mov eax, dword [edx + 0x10]
mov ecx, dword [ecx + 0xc]
mov edx, dword [edx + 0x14]
cmp ebx, 2
je 0x62e41f50
cmp ebx, 0x100
jne 0x62e41f29
cmp edi, 0x14
je 0x62e41f70
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.comctl32.dll_DefSubclassProc]
sub esp, 0x10
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x18
mov dword [ebp - 0x1c], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], sym._CredDialogPasswordSubclassProc_24
mov dword [esp], esi
call dword [sym.imp.comctl32.dll_RemoveWindowSubclass]
mov ecx, dword [ebp - 0x1c]
sub esp, 0xc
jmp 0x62e41f29
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
mov dword [esp], esi
call dword [sym.imp.user32.dll_GetParent]
sub esp, 4
mov dword [ebp - 0x24], eax
mov dword [esp], 0x14
call dword [sym.imp.user32.dll_GetKeyState]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
sub esp, 4
test al, 1
je 0x62e41fb0
mov eax, dword [ebp - 0x24]
call sym._CredDialogShowCapsLockBalloon
mov ecx, dword [ebp - 0x1c]
jmp 0x62e41f29
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
call sym._CredDialogHideBalloonTip
mov ecx, dword [ebp - 0x1c]
jmp 0x62e41f29
Function at 0x62e42680
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x38
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
mov dword [ebp - 0x1c], eax
test byte [0x62e46018], 8
je 0x62e426e7
test eax, eax
mov ebx, str.TRUE
mov eax, str.FALSE
cmove ebx, eax
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.__s___s__n
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.CredUIConfirmCredentialsW
mov dword [esp + 4], 0x62e46018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
test esi, esi
je 0x62e42850
mov dword [esp], 0x62e46080
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ebx, dword [0x62e46160]
mov edi, dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 4
cmp ebx, 0x62e46160
jne 0x62e4272e
jmp 0x62e42840
mov ebx, dword [ebx]
cmp ebx, 0x62e46160
je 0x62e42840
mov eax, dword [ebx + 8]
mov dword [esp], esi
mov dword [esp + 4], eax
call edi
sub esp, 8
test eax, eax
jne 0x62e42720
mov eax, dword [ebp - 0x1c]
xor esi, esi
test eax, eax
jne 0x62e42868
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [edx + 4], eax
mov edx, dword [ebx]
mov dword [eax], edx
mov eax, dword [ebx + 8]
mov edx, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov eax, dword [ebx + 0x10]
sub esp, 0xc
cmp word [eax], 0
je 0x62e427d5
mov edx, eax
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x62e427b8
cmp eax, edx
je 0x62e427d5
lea esi, [esi]
mov ecx, eax
inc eax
mov byte [ecx], 0
cmp eax, edx
jne 0x62e427c8
mov eax, dword [ebx + 0x10]
mov edx, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
mov dword [esp], 0x62e46080
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, esi
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov esi, 0x490
jmp 0x62e42816
lea esp, [ebp - 0x10]
mov esi, 0x57
pop ecx
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov esi, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov dword [esp], esi
call sym._save_credentials
mov esi, eax
jmp 0x62e4274e
Function at 0x62e43f60
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x22c
mov eax, dword [0x62e46148]
test eax, eax
je 0x62e44018
mov dword [esp], ebx
call eax
mov dword [ebx + 8], eax
sub esp, 4
test eax, eax
jns 0x62e43fa0
mov eax, dword [ebx]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0x220]
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], 0x62e486d8
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], str.SystemRoot
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.SystemRoot
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
jmp 0x62e43f8c
mov dword [esp], str.atl100.dll
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
test eax, eax
je 0x62e4404d
mov dword [esp + 4], str.AtlCreateRegistrar
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x62e46148], eax
sub esp, 8
test eax, eax
jne 0x62e43f7d
mov dword [ebx + 8], 0x80004002
xor eax, eax
jmp 0x62e43f8e