Function at 0x10127400
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1017a0c8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, dword [esp + 0x28]
push edi
cmp esi, 0x1392
mov edi, ecx
jg 0x10127666
je 0x1012764e
cmp esi, 0xbcc
jg 0x1012755d
je 0x10127545
cmp esi, 0x7e4
jg 0x101274e8
je 0x101274d0
lea eax, [esi - 0x3ea]
cmp eax, 0x12
ja case.0x101277b6.7040
xor ecx, ecx
mov cl, byte [eax + 0x101278f0]
jmp dword [ecx*4 + 0x101278dc]
pop edi
mov eax, 0x4b0
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
pop edi
mov eax, 0x578
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
pop edi
mov eax, 0x5dc
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
pop edi
mov eax, 0x708
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
pop edi
mov eax, 0xd5c
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
mov eax, esi
sub eax, 0xbb8
je 0x1012752d
sub eax, 0xa
je 0x10127515
dec eax
jne case.0x101277b6.7040
pop edi
mov eax, 0x2afb
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
pop edi
mov eax, 0x2afa
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
pop edi
mov eax, 0x2af9
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
pop edi
mov eax, 0x2b66
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
cmp esi, 0xfa2
jg 0x101275f3
je 0x101275db
cmp esi, 0xc13
jg 0x101275b7
cmp esi, 0xc12
jge 0x1012759f
cmp esi, 0xbea
jne case.0x101277b6.7040
pop edi
mov eax, 0x2be8
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
pop edi
mov eax, 0x2e34
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
cmp esi, 0xfa1
jne case.0x101277b6.7040
pop edi
mov eax, 0x2ee1
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
pop edi
mov eax, 0x2ee2
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
mov eax, esi
sub eax, 0xfb5
je 0x10127636
dec eax
je 0x1012761e
dec eax
jne case.0x101277b6.7040
pop edi
mov eax, 0x3392
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
pop edi
mov eax, 0x332e
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
pop edi
mov eax, 0x332d
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
pop edi
mov eax, 0x7919
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
cmp esi, 0x1b78
jg 0x1012779f
je 0x10127787
cmp esi, 0x1b5a
jg 0x1012772a
je 0x10127712
cmp esi, 0x13b0
jg 0x101276ee
je 0x101276d6
mov eax, esi
sub eax, 0x139c
je 0x101276be
sub eax, 0xa
jne case.0x101277b6.7040
pop edi
mov eax, 0x7aa8
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
pop edi
mov eax, 0x79e0
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
pop edi
mov eax, 0x7b0c
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
cmp esi, 0x1b59
jne case.0x101277b6.7040
pop edi
mov eax, 0x1d971
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
pop edi
mov eax, 0x1d972
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
mov eax, esi
sub eax, 0x1b63
je 0x1012776f
dec eax
je 0x10127757
sub eax, 0x12
jne case.0x101277b6.7040
pop edi
mov eax, 0x222e0
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
pop edi
mov eax, 0x1da3a
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
pop edi
mov eax, 0x1da39
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
pop edi
mov eax, 0x22859
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
lea eax, [esi - 0x1b79]
cmp eax, 0x30
ja case.0x101277b6.7040
xor edx, edx
mov dl, byte [eax + 0x10127924]
jmp dword [edx*4 + 0x10127904]
pop edi
mov eax, 0x20149
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
pop edi
mov eax, 0x2014a
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
pop edi
mov eax, 0x201ae
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
pop edi
mov eax, 0x1da9d
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
pop edi
mov eax, 0x1da9e
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
pop edi
mov eax, 0x2285a
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
pop edi
mov eax, 0x228be
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
lea ecx, [esp + 8]
call fcn.10154190
push esi
lea eax, [esp + 0xc]
push str.The_AlgID__d__is_not_supported.
push eax
mov dword [esp + 0x30], 0
call fcn.101552a0
add esp, 0xc
lea ecx, [esp + 8]
push 0
push 0xffffffffffffffff
call fcn.10154a90
push eax
push str.getECSP_AlgID
push str.DSCryptoBase
push 0x3e6
push str.H:00.project01.MagicAPICAOSLib_srcDSCryptoDSCryptoBase.cpp
mov ecx, edi
call fcn.101272f0
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.10154250
mov ecx, dword [esp + 0x1c]
pop edi
or eax, 0xffffffff
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8