Function at 0x7921b9d0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x84
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
test byte [0x7922a3f8], 8
jne 0x7921ba20
test esi, esi
je 0x7921b9fc
test ebx, ebx
je 0x7921b9fc
cmp dword [ebx], 0x64
je 0x7921bae0
mov dword [esp], 0x57
call sym._SetLastError_4
xor eax, eax
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
test esi, esi
je 0x7921bc20
mov eax, esi
shr eax, 0x10
je 0x7921bc02
movzx eax, byte [esi + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [esi + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [esi + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [esi + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [esi + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [esi + 8]
mov dword [esp + 0x10], eax
movzx eax, word [esi + 6]
mov dword [esp + 0xc], eax
movzx eax, word [esi + 4]
mov dword [esp + 8], eax
mov eax, dword [esi]
mov dword [esp], 0x7922c180
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], str._s__x__p_n
mov dword [esp + 0x10], 0xf5
mov dword [esp + 0xc], str.WintrustAddActionID
mov dword [esp + 8], 0x7922c1f9
mov dword [esp + 4], 0x7922a3f8
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x7921b9eb
mov eax, esi
lea edx, [ebp - 0x5e]
call sym._WINTRUST_Guid2Wstr
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov edx, str.Initialization_
mov dword [esp], eax
lea eax, [ebp - 0x5e]
call sym._WINTRUST_WriteProviderToReg.isra.0
mov ecx, dword [ebx + 0x14]
mov edx, str.Message_
mov esi, eax
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
lea eax, [ebp - 0x5e]
call sym._WINTRUST_WriteProviderToReg.isra.0
test eax, eax
je 0x7921bb1e
mov esi, eax
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x20]
mov edx, str.Signature_
mov dword [esp], eax
lea eax, [ebp - 0x5e]
call sym._WINTRUST_WriteProviderToReg.isra.0
test eax, eax
je 0x7921bb3a
mov esi, eax
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x2c]
mov edx, str.Certificate_
mov dword [esp], eax
lea eax, [ebp - 0x5e]
call sym._WINTRUST_WriteProviderToReg.isra.0
test eax, eax
je 0x7921bb56
mov esi, eax
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x38]
mov edx, str.CertCheck_
mov dword [esp], eax
lea eax, [ebp - 0x5e]
call sym._WINTRUST_WriteProviderToReg.isra.0
test eax, eax
je 0x7921bb72
mov esi, eax
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x44]
mov edx, str.FinalPolicy_
mov dword [esp], eax
lea eax, [ebp - 0x5e]
call sym._WINTRUST_WriteProviderToReg.isra.0
test eax, eax
je 0x7921bb8e
mov esi, eax
mov eax, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
mov edx, str.DiagnosticPolicy_
mov dword [esp], eax
lea eax, [ebp - 0x5e]
call sym._WINTRUST_WriteProviderToReg.isra.0
mov ecx, dword [ebx + 0x5c]
mov edx, str.Cleanup_
mov edi, eax
mov eax, dword [ebx + 0x60]
mov dword [esp], eax
lea eax, [ebp - 0x5e]
test edi, edi
jne 0x7921bbe0
call sym._WINTRUST_WriteProviderToReg.isra.0
test eax, eax
jne 0x7921bbe9
test esi, esi
jne 0x7921bc2c
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
call sym._WINTRUST_WriteProviderToReg.isra.0
test eax, eax
je 0x7921bc2a
mov dword [esp], eax
call sym._SetLastError_4
xor eax, eax
sub esp, 4
cmp dword [ebp + 0xc], 1
setne al
jmp 0x7921ba0d
mov dword [esp + 4], esi
mov dword [esp], 0x7922c171
call sym._wine_dbg_sprintf
jmp 0x7921ba95
mov eax, 0x7922c16a
jmp 0x7921ba95
mov esi, edi
mov eax, esi
jmp 0x7921bbe9