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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50d9a4
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x5732cc]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
push edi
mov eax, dword [0x5732cc]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov esi, ecx
lea ecx, [esp + 0x14]
push ecx
push 0x574f4c
push str.InsertLineBreaks
mov ecx, edi
mov byte [esp + 0x20], 1
call edx
mov eax, dword [edi]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x18]
push ecx
push 0x574d30
push str.MaxLineLength
mov ecx, edi
mov dword [esp + 0x24], 0x48
call edx
mov al, byte [esp + 0x14]
mov ecx, 0x5422ec
test al, al
jne 0x407e24
mov ecx, 0x5422ee
mov ebx, dword [esi + 0x44]
movzx eax, al
neg eax
sbb eax, eax
and eax, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x20], 6
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], edx
cmp ecx, edx
je 0x407e6d
mov eax, ecx
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x407e60
sub eax, esi
xor edx, edx
jmp 0x407e6f
xor eax, eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov byte [esp + 0x48], 0
mov dword [esp + 0x268], 3
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
cmp ecx, edx
je 0x407ea5
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x407e98
sub eax, esi
xor edx, edx
jmp 0x407ea7
xor eax, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
mov byte [esp + 0x24], 0
push edx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x68]
push str.EncodingLookupArray
push edx
call fcn.004048e0
add esp, 0x10
mov ecx, eax
mov esi, str.PaddingByte
lea eax, [esp + 0xa8]
call fcn.00408610
lea ecx, [esp + 0x1c]
push ecx
mov edx, str.GroupSize
lea esi, [esp + 0x78]
mov ecx, eax
call fcn.00408670
push eax
lea eax, [esp + 0x28]
mov ecx, str.Separator
lea esi, [esp + 0x15c]
mov byte [esp + 0x26c], 0xa
call fcn.004086a0
mov edx, eax
push str.Terminator
lea eax, [esp + 0x4c]
lea esi, [esp + 0x1b4]
mov byte [esp + 0x26c], 0xb
call fcn.004086c0
lea edx, [esp + 0xcc]
push edx
push eax
lea edx, [esp + 0x28]
mov ecx, str.Log2Base
mov byte [esp + 0x270], 0xc
call fcn.004086e0
mov byte [esp + 0x268], 0xd
mov dword [esp + 0x3c], vtable.CryptoPP::CombinedNameValuePairs.0
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
push 0xffffffffffffffff
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebx
call edx
lea esi, [esp + 0xdc]
mov byte [esp + 0x268], 0xe
call fcn.00408380
mov byte [esp + 0x268], 0xc
mov ebx, vtable.CryptoPP::AlgorithmParametersBase.0
mov dword [esp + 0xcc], ebx
call fcn.004db233
test al, al
jne 0x407fe1
cmp byte [esp + 0xd4], al
je 0x407fe1
cmp byte [esp + 0xd5], al
jne 0x407fe1
mov eax, dword [esp + 0xd0]
push eax
lea ecx, [esp + 0x230]
call fcn.00402920
push 0x56b624
lea ecx, [esp + 0x230]
push ecx
call fcn.004db4d1
lea esi, [esp + 0x1b0]
mov byte [esp + 0x268], 0xb
call fcn.00408380
lea edi, [esp + 0x158]
mov byte [esp + 0x268], 0xa
call fcn.00408280
lea esi, [esp + 0x84]
mov byte [esp + 0x268], 0xf
call fcn.00408110
mov byte [esp + 0x268], 9
mov dword [esp + 0x74], ebx
call fcn.004db233
test al, al
jne 0x408061
cmp byte [esp + 0x7c], al
je 0x408061
cmp byte [esp + 0x7d], al
jne 0x408061
mov edx, dword [esp + 0x78]
push edx
lea ecx, [esp + 0x230]
call fcn.00402920
push 0x56b624
lea eax, [esp + 0x230]
push eax
call fcn.004db4d1
lea esi, [esp + 0xa8]
mov byte [esp + 0x268], 8
call fcn.00408110
mov byte [esp + 0x268], 7
mov dword [esp + 0x60], ebx
call fcn.004db233
test al, al
jne 0x4080b9
cmp byte [esp + 0x68], al
je 0x4080b9
cmp byte [esp + 0x69], al
jne 0x4080b9
mov ecx, dword [esp + 0x64]
push ecx
lea ecx, [esp + 0x230]
call fcn.00402920
push 0x56b624
lea edx, [esp + 0x230]
push edx
call fcn.004db4d1
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
push eax
push 0
push esi
call fcn.004dba80
push esi
call fcn.004dbb8e
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
push ecx
push 0
push esi
call fcn.004dba80
push esi
call fcn.004dbb8e
add esp, 0x20
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.004db901
mov esp, ebp
pop ebp
ret 4