Function at 0x47a510
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x545de8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5ac020]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
push edi
mov eax, dword [0x5ac020]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x524]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
mov esi, dword [eax + 8]
mov eax, dword [eax + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x14], ecx
mov ecx, dword [edx]
mov eax, dword [eax]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi]
lea esi, [edi + 0xa0]
mov dword [esp + 0x10], ecx
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.00468cb0
test eax, eax
je 0x47a666
cmp dword [esi + 0x78], 0
mov eax, dword [esp + 0x14]
mov dword [esi + 0xec], 1
mov dword [esi + 0xf0], eax
mov dword [esi + 0xe8], 0xa
jne 0x47a666
push esi
mov ecx, edi
mov dword [esi + 0x80], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x5c], 0x2711
mov dword [esi + 0x60], 1
mov dword [esi + 0x78], edi
mov dword [esi + 0x64], 0x180
call fcn.004c8fc0
test eax, eax
jne 0x47a63b
xorps xmm0, xmm0
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
movdqu xmmword [esi + 0x68], xmm0
jmp 0x47a666
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x68], eax
add eax, dword [esp + 0x18]
mov dword [esi + 0x70], eax
lea eax, [ecx + 0x18]
push 0
mov dword [esi + 0x74], eax
mov eax, dword [esi]
push 0
mov dword [esi + 0x6c], ecx
mov ecx, esi
push 0xbc8
call dword [eax + 0x10]
push str.AES_128
lea ecx, [esp + 0x24]
call fcn.00401fc0
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
mov ecx, esi
cmovae eax, dword [esp + 0x20]
push eax
call fcn.004d8da0
push str.AES_256
lea ecx, [esp + 0x24]
call fcn.00401fc0
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
mov ecx, esi
cmovae eax, dword [esp + 0x20]
push eax
call fcn.004d8da0
push str.Twofish_128
lea ecx, [esp + 0x24]
call fcn.00401fc0
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
mov ecx, esi
cmovae eax, dword [esp + 0x20]
push eax
call fcn.004d8da0
push str.Twofish_256
lea ecx, [esp + 0x24]
call fcn.00401fc0
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
mov ecx, esi
cmovae eax, dword [esp + 0x20]
push eax
call fcn.004d8da0
mov eax, dword [edi + 0x524]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x1c]
mov esi, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
mov ecx, dword [ecx]
mov dword [esp + 0x18], ecx
mov ecx, dword [edx]
mov eax, dword [eax]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi]
lea esi, [edi + 0x210]
mov dword [esp + 0x1c], ecx
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.00468cb0
test eax, eax
je 0x47a7e9
cmp dword [esi + 0x78], 0
mov eax, dword [esp + 0x18]
mov dword [esi + 0xec], 1
mov dword [esi + 0xf0], eax
mov dword [esi + 0xe8], 0xa
jne 0x47a7e9
push esi
mov ecx, edi
mov dword [esi + 0x80], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x5c], 0x2712
mov dword [esi + 0x60], 1
mov dword [esi + 0x78], edi
mov dword [esi + 0x64], 0x180
call fcn.004c8fc0
test eax, eax
jne 0x47a7be
xorps xmm0, xmm0
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
movdqu xmmword [esi + 0x68], xmm0
jmp 0x47a7e9
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov dword [esi + 0x68], eax
add eax, dword [esp + 0x14]
mov dword [esi + 0x70], eax
lea eax, [ecx + 0x18]
push 0
mov dword [esi + 0x74], eax
mov eax, dword [esi]
push 0
mov dword [esi + 0x6c], ecx
mov ecx, esi
push 0xbc8
call dword [eax + 0x10]
push 0x583f10
lea ecx, [esp + 0x24]
call fcn.00401fc0
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
mov ecx, esi
cmovae eax, dword [esp + 0x20]
push eax
call fcn.004d8da0
mov eax, dword [edi + 0x524]
mov ecx, dword [eax + 0x30]
mov edx, dword [eax + 0x2c]
mov esi, dword [eax + 0x28]
mov eax, dword [eax + 0x24]
mov ecx, dword [ecx]
mov dword [esp + 0x18], ecx
mov ecx, dword [edx]
mov eax, dword [eax]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi]
lea esi, [edi + 0x380]
mov dword [esp + 0x1c], ecx
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.00468cb0
test eax, eax
je 0x47a900
cmp dword [esi + 0x78], 0
mov eax, dword [esp + 0x18]
mov dword [esi + 0xec], 1
mov dword [esi + 0xf0], eax
mov dword [esi + 0xe8], 0xa
jne 0x47a900
push esi
mov ecx, edi
mov dword [esi + 0x80], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x5c], 0x2713
mov dword [esi + 0x60], 1
mov dword [esi + 0x78], edi
mov dword [esi + 0x64], 0x180
call fcn.004c8fc0
test eax, eax
jne 0x47a8d5
xorps xmm0, xmm0
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
movdqu xmmword [esi + 0x68], xmm0
jmp 0x47a900
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov dword [esi + 0x68], eax
add eax, dword [esp + 0x14]
mov dword [esi + 0x70], eax
lea eax, [ecx + 0x18]
push 0
mov dword [esi + 0x74], eax
mov eax, dword [esi]
push 0
mov dword [esi + 0x6c], ecx
mov ecx, esi
push 0xbc8
call dword [eax + 0x10]
push 0x583f40
lea ecx, [esp + 0x24]
call fcn.00401fc0
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
mov ecx, esi
cmovae eax, dword [esp + 0x20]
push eax
call fcn.004d8da0
push str.SHA_256
lea ecx, [esp + 0x24]
call fcn.00401fc0
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
mov ecx, esi
cmovae eax, dword [esp + 0x20]
push eax
call fcn.004d8da0
push str.SHA_512
lea ecx, [esp + 0x24]
call fcn.00401fc0
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
mov ecx, esi
cmovae eax, dword [esp + 0x20]
push eax
call fcn.004d8da0
mov ecx, edi
call fcn.0047a9e0
test eax, eax
jne 0x47a981
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xd4]
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x34], 8
jb 0x47a99c
push dword [esp + 0x20]
call fcn.0051d3d0
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret 8