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

Disassembly:
push 0xffffffffffffffff
push 0x4879e8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x4aa0cc]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x80]
lea ecx, [esp + 0x13]
push ecx
push 0x4aa8b8
push str.InsertLineBreaks
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 4]
call eax
movzx ecx, byte [esp + 0x13]
test al, al
mov eax, dword [edi]
mov ebx, 1
cmovne ebx, ecx
lea ecx, [esp + 0x14]
push ecx
push 0x4aa820
mov eax, dword [eax + 4]
mov ecx, edi
push str.MaxLineLength
call eax
test al, al
mov dword [esp + 0x18], 6
mov ecx, 0x48
mov dword [esp + 0x30], 0xffffffff
cmovne ecx, dword [esp + 0x14]
mov eax, 0x493d3d
test bl, bl
mov dword [esp + 0x14], 0x48c5d0
mov edx, 0x493fb0
mov dword [esp + 0x34], 0
cmove edx, eax
mov dword [esp + 0x38], 0
xor eax, eax
test bl, bl
mov ebx, dword [esi + 0x4c]
cmovne eax, ecx
mov dword [esp + 0x1c], eax
test edx, edx
je 0x474343
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x474338
sub eax, esi
jmp 0x474345
xor eax, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov byte [esp + 0x20], 0
mov dword [esp + 0x78], 3
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
test edx, edx
je 0x47438b
mov ecx, edx
lea esi, [ecx + 1]
jmp 0x474380
mov al, byte [ecx]
inc ecx
test al, al
jne 0x474380
sub ecx, esi
jmp 0x47438d
xor ecx, ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
mov byte [esp + 0x3c], 0
push 0
lea eax, [esp + 0x18]
mov byte [esp + 0x7c], 7
push eax
lea eax, [esp + 0x6c]
push str.EncodingLookupArray
push eax
call fcn.00473f30
add esp, 0x10
movzx ecx, byte [eax + 8]
push ecx
push 0x48c611
push str.PaddingByte
mov ecx, eax
mov byte [esp + 0x84], 8
call fcn.00473db0
movzx ecx, byte [eax + 8]
push ecx
lea ecx, [esp + 0x20]
push ecx
push str.GroupSize
mov ecx, eax
call fcn.00458b60
movzx ecx, byte [eax + 8]
push ecx
lea ecx, [esp + 0x40]
push ecx
push str.Separator
mov ecx, eax
call fcn.004636b0
movzx ecx, byte [eax + 8]
push ecx
lea ecx, [esp + 0x24]
push ecx
push str.Terminator
mov ecx, eax
call fcn.004636b0
push 1
lea ecx, [esp + 0x1c]
push ecx
push str.Log2Base
mov ecx, eax
call fcn.00458b60
mov dword [esp + 0x58], vtable.CryptoPP::CombinedNameValuePairs.0
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], eax
mov eax, dword [ebx]
lea ecx, [esp + 0x58]
push 0xffffffffffffffff
push ecx
mov ecx, ebx
mov byte [esp + 0x80], 9
call dword [eax + 0x2c]
mov dword [esp + 0x58], vtable.CryptoPP::NameValuePairs.0
mov ecx, dword [esp + 0x68]
mov byte [esp + 0x78], 0xa
test ecx, ecx
je 0x47446c
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x50]
cmp eax, dword [esp + 0x50]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], vtable.CryptoPP::NameValuePairs.0
cmovae ecx, edx
mov byte [esp + 0x78], 3
mov edx, dword [esp + 0x54]
test edx, edx
je 0x4744a5
mov ecx, dword [ecx]
mov edi, edx
xor al, al
rep stosb byte es:[edi], al
push edx
call sub.MSVCR120.dll_free
add esp, 4
mov edx, dword [esp + 0x38]
mov dword [esp + 0x78], 0xffffffff
test edx, edx
je 0x4744d9
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x30]
cmp eax, dword [esp + 0x34]
lea esi, [esp + 0x34]
mov edi, edx
cmovae ecx, esi
xor al, al
push edx
mov ecx, dword [ecx]
rep stosb byte es:[edi], al
call sub.MSVCR120.dll_free
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x6c
ret 4