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

Disassembly:
push 0xffffffffffffffff
push 0x48aa48
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x4ad0cc]
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 0x4ad8b8
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 0x4ad820
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, 0x496e6d
test bl, bl
mov dword [esp + 0x14], 0x48f5e0
mov edx, 0x4970e0
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 0x476ef3
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x476ee8
sub eax, esi
jmp 0x476ef5
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 0x476f3b
mov ecx, edx
lea esi, [ecx + 1]
jmp 0x476f30
mov al, byte [ecx]
inc ecx
test al, al
jne 0x476f30
sub ecx, esi
jmp 0x476f3d
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.00476ae0
add esp, 0x10
movzx ecx, byte [eax + 8]
push ecx
push 0x48f621
push str.PaddingByte
mov ecx, eax
mov byte [esp + 0x84], 8
call fcn.00476960
movzx ecx, byte [eax + 8]
push ecx
lea ecx, [esp + 0x20]
push ecx
push str.GroupSize
mov ecx, eax
call fcn.0045b720
movzx ecx, byte [eax + 8]
push ecx
lea ecx, [esp + 0x40]
push ecx
push str.Separator
mov ecx, eax
call fcn.00466240
movzx ecx, byte [eax + 8]
push ecx
lea ecx, [esp + 0x24]
push ecx
push str.Terminator
mov ecx, eax
call fcn.00466240
push 1
lea ecx, [esp + 0x1c]
push ecx
push str.Log2Base
mov ecx, eax
call fcn.0045b720
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 0x47701c
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 0x477055
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 0x477089
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