Function at 0x101529f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x101a86ce
mov eax, dword fs:[0]
push eax
sub esp, 0x360
mov eax, dword [0x1026d48c]
xor eax, esp
mov dword [esp + 0x35c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1026d48c]
xor eax, esp
push eax
lea eax, [esp + 0x374]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3a8]
mov edi, dword [esp + 0x3a4]
mov ebx, dword [esp + 0x384]
mov ebp, dword [esp + 0x390]
mov esi, dword [esp + 0x39c]
push str.deriveKey_pfx
push eax
lea ecx, [esp + 0xd0]
mov dword [esp + 0x3c], edi
call fcn.10061630
mov ecx, edi
mov dword [esp + 0x37c], 0
call fcn.10017ff0
lea ecx, [esp + 0x5c]
call fcn.100182e0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x37c], 1
mov dword [esp + 0x2c], 0
call fcn.1006eda0
lea ecx, [esp + 0x78]
mov byte [esp + 0x37c], 2
call fcn.1006eda0
push esi
mov byte [esp + 0x380], 3
call fcn.1007c810
add esp, 4
push esi
lea ecx, [esp + 0x100]
mov dword [esp + 0x3c], eax
call fcn.10010ff0
push 0x101fbfe8
lea ecx, [esp + 0x100]
mov byte [esp + 0x380], 4
call fcn.10013020
test al, al
je 0x10152b75
push str.sha1
lea ecx, [esp + 0x100]
call fcn.10013020
test al, al
je 0x10152b0e
mov dword [esp + 0x18], 0x14
jmp 0x10152b7d
push str.sha256
lea ecx, [esp + 0x100]
call fcn.10013020
test al, al
je 0x10152b2d
mov dword [esp + 0x18], 0x20
jmp 0x10152b7d
push str.sha384
lea ecx, [esp + 0x100]
call fcn.10013020
test al, al
je 0x10152b51
mov esi, 0x80
mov dword [esp + 0x18], 0x30
jmp 0x10152b82
push str.sha512
lea ecx, [esp + 0x100]
call fcn.10013020
test al, al
je 0x10152b04
mov esi, 0x80
mov dword [esp + 0x18], 0x40
jmp 0x10152b82
mov dword [esp + 0x18], 0x10
mov esi, 0x40
lea ecx, [esp + 0xa0]
call fcn.100182e0
mov ecx, ebx
mov byte [esp + 0x37c], 5
mov byte [esp + 0xb8], 1
call fcn.1000bf70
push eax
lea ecx, [esp + 0xa4]
call fcn.1001b160
lea ecx, [esp + 0xa0]
call fcn.100f6330
cmp eax, 2
jne 0x10152be4
mov ecx, ebx
call fcn.1000c960
test al, al
je 0x10152be4
cmp byte [esp + 0x38c], 0
je 0x10152be4
lea ecx, [esp + 0xa0]
call fcn.10017ff0
call fcn.100eee40
test al, al
je 0x10152bf9
lea ecx, [esp + 0xa0]
call fcn.10019490
mov ecx, ebp
call fcn.100f6330
mov edi, eax
lea ecx, [esp + 0xa0]
mov dword [esp + 0x3c], edi
call fcn.100f6330
cmp byte [esp + 0x388], 0
mov ecx, eax
mov dword [esp + 0x20], ecx
je 0x10152c33
cmp ecx, 0x40
jle 0x10152c33
mov dword [esp + 0x20], 0x40
mov ecx, dword [esp + 0x20]
lea eax, [edi + esi - 1]
cdq
idiv esi
mov ebx, eax
imul ebx, esi
test ecx, ecx
je 0x10152c51
lea eax, [ecx + esi - 1]
cdq
idiv esi
imul eax, esi
mov dword [esp + 0x2c], eax
test esi, esi
mov eax, dword [esp + 0x2c]
lea edi, [ebx + eax]
mov dword [esp + 0x28], edi
jle 0x10152c79
mov ecx, dword [esp + 0x394]
push esi
push ecx
lea edx, [esp + 0x178]
push edx
call fcn.1018fc10
add esp, 0xc
add edi, 0x200
push edi
call fcn.10017110
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x30], edi
je 0x10152d61
lea ecx, [esp + 0xbc]
call fcn.10061b60
mov ecx, ebp
mov byte [esp + 0x37c], 6
mov dword [esp + 0xc4], edi
call fcn.1008bea0
lea ecx, [esp + 0xa0]
mov ebp, eax
call fcn.1008bea0
mov ecx, edi
xor edi, edi
test ebx, ebx
mov dword [esp + 0x24], eax
jle 0x10152ce9
mov eax, edi
cdq
idiv dword [esp + 0x3c]
add edi, 1
add ecx, 1
cmp edi, ebx
mov al, byte [edx + ebp]
mov byte [ecx - 1], al
jl 0x10152cd2
mov ebx, dword [esp + 0x2c]
xor edi, edi
test ebx, ebx
jle 0x10152d0e
mov eax, edi
cdq
idiv dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add edi, 1
add ecx, 1
cmp edi, ebx
mov dl, byte [edx + eax]
mov byte [ecx - 1], dl
jl 0x10152cf3
lea ecx, [esp + 0x40]
call fcn.100182e0
lea eax, [esi + 0x201]
push eax
mov byte [esp + 0x380], 7
call fcn.10017110
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x24], ebx
jne 0x10152ddd
lea ecx, [esp + 0x40]
mov byte [esp + 0x37c], 6
call fcn.10018a90
lea ecx, [esp + 0xbc]
mov byte [esp + 0x37c], 5
call fcn.10061ba0
lea ecx, [esp + 0xa0]
mov byte [esp + 0x37c], 4
call fcn.10018a90
lea ecx, [esp + 0xfc]
mov byte [esp + 0x37c], 3
call fcn.10011070
lea ecx, [esp + 0x78]
mov byte [esp + 0x37c], 2
call fcn.1006eee0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x37c], 1
call fcn.1006eee0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x37c], 0
call fcn.10018a90
lea ecx, [esp + 0xc8]
mov dword [esp + 0x37c], 0xffffffff
call fcn.100616a0
xor al, al
jmp 0x10153155
lea ecx, [esp + 0xd4]
call fcn.10061b60
lea ecx, [esp + 0xe0]
mov byte [esp + 0x37c], 8
mov dword [esp + 0xdc], ebx
call fcn.100182e0
movzx ecx, byte [0x1026fd7b]
mov dl, byte [0x1026fdad]
mov al, byte [0x1026fdac]
mov byte [esp + 0x1f], cl
movzx ecx, byte [0x1026fd7a]
mov byte [esp + 0x37c], 9
mov byte [esp + 0x17], dl
mov byte [esp + 0x15], al
mov byte [esp + 0x16], cl
mov byte [0x1026fd7b], 1
mov byte [0x1026fdad], 1
mov byte [0x1026fdac], 1
mov byte [0x1026fd7a], 1
lea ecx, [esp + 0x40]
call fcn.10017ff0
push esi
lea edx, [esp + 0x174]
push edx
lea ecx, [esp + 0x48]
call fcn.10019380
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.10019380
lea ecx, [esp + 0x5c]
call fcn.10017ff0
mov edi, dword [esp + 0x38]
lea edx, [esp + 0x5c]
push edx
push edi
lea ecx, [esp + 0x48]
call fcn.100f6330
push eax
lea ecx, [esp + 0x4c]
call fcn.1008bea0
push eax
call fcn.1007de20
mov eax, dword [esp + 0x3a8]
add esp, 0x10
cmp eax, 1
jle 0x10152f07
lea ebp, [eax - 1]
lea ecx, [ecx]
lea ecx, [esp + 0x40]
call fcn.10017ff0
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x44]
call fcn.1001b160
lea ecx, [esp + 0x5c]
call fcn.10017ff0
lea ecx, [esp + 0x5c]
push ecx
push edi
lea ecx, [esp + 0x48]
call fcn.100f6330
push eax
lea ecx, [esp + 0x4c]
call fcn.1008bea0
push eax
call fcn.1007de20
add esp, 0x10
sub ebp, 1
jne 0x10152ec0
mov edi, dword [esp + 0x3a0]
mov ebp, dword [esp + 0x18]
cmp edi, ebp
lea ecx, [esp + 0x5c]
jle 0x10153058
push ebp
call fcn.1008bea0
mov ecx, dword [esp + 0x38]
push eax
call fcn.10019380
sub edi, ebp
lea ecx, [esp + 0x5c]
mov dword [esp + 0x3a0], edi
call fcn.1008bea0
xor ecx, ecx
test esi, esi
mov edi, eax
jle 0x10152f5d
mov eax, ecx
cdq
idiv dword [esp + 0x18]
add ecx, 1
cmp ecx, esi
mov dl, byte [edx + edi]
mov byte [ebx + ecx - 1], dl
jl 0x10152f48
push esi
lea eax, [esp + 0x7c]
push ebx
push eax
call fcn.1006fcd0
lea ecx, [esp + 0x84]
push ecx
mov edx, ecx
push 1
push edx
call fcn.1006f3e0
add esp, 0x18
cmp dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
jle 0x10152e51
mov ebp, dword [esp + 0x30]
push esi
lea eax, [esp + 0x90]
push ebp
push eax
call fcn.1006fcd0
lea ecx, [esp + 0x98]
push ecx
lea edx, [esp + 0x88]
push edx
mov eax, ecx
push eax
call fcn.100712d0
add esp, 0x18
lea ecx, [esp + 0xe0]
call fcn.10017ff0
lea ecx, [esp + 0xe0]
push ecx
lea edx, [esp + 0x90]
push edx
call fcn.10072e00
add esp, 8
lea ecx, [esp + 0xe0]
call fcn.100f6330
lea ecx, [esp + 0xe0]
mov edi, eax
call fcn.1008bea0
cmp edi, esi
mov ebx, eax
jle 0x10153030
add ebx, 1
push esi
push ebx
push ebp
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x20]
add eax, esi
add ebp, esi
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x20], eax
jl 0x10152f95
mov ebx, dword [esp + 0x24]
jmp 0x10152e51
jge 0x10153006
mov eax, esi
sub eax, edi
push eax
push 0
push ebp
call fcn.1018fc10
mov ecx, dword [esp + 0x3c]
sub ecx, edi
add ecx, esi
add ecx, dword [esp + 0x2c]
push edi
push ebx
push ecx
call sub.MSVCR80.dll_memcpy
add esp, 0x18
jmp 0x10153011
push edi
call fcn.1008bea0
mov ecx, dword [esp + 0x38]
push eax
call fcn.10019380
movzx edx, byte [esp + 0x1f]
mov cl, byte [esp + 0x15]
mov al, byte [esp + 0x17]
mov byte [0x1026fd7b], dl
movzx edx, byte [esp + 0x16]
mov byte [0x1026fdac], cl
lea ecx, [esp + 0xe0]
mov byte [0x1026fdad], al
mov byte [0x1026fd7a], dl
mov byte [esp + 0x37c], 8
call fcn.10018a90
lea ecx, [esp + 0xd4]
mov byte [esp + 0x37c], 7
call fcn.10061ba0
lea ecx, [esp + 0x40]
mov byte [esp + 0x37c], 6
call fcn.10018a90
lea ecx, [esp + 0xbc]
mov byte [esp + 0x37c], 5
call fcn.10061ba0
lea ecx, [esp + 0xa0]
mov byte [esp + 0x37c], 4
call fcn.10018a90
lea ecx, [esp + 0xfc]
mov byte [esp + 0x37c], 3
call fcn.10011070
lea ecx, [esp + 0x78]
mov byte [esp + 0x37c], 2
call fcn.1006eee0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x37c], 1
call fcn.1006eee0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x37c], 0
call fcn.10018a90
lea ecx, [esp + 0xc8]
mov dword [esp + 0x37c], 0xffffffff
call fcn.100616a0
mov al, 1
mov ecx, dword [esp + 0x374]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x35c]
xor ecx, esp
call fcn.1018f87e
add esp, 0x36c
ret