Function at 0x5132e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63117e
mov eax, dword fs:[0]
push eax
sub esp, 0x3f0
mov eax, dword [0x717f80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3f8], ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x138]
mov edi, dword [ebp + 0x18]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
push str.loadMimeHeaderText
mov dword [ebp - 0x3ec], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x34], eax
movq qword [ebp - 0x138], xmm0
mov dword [ebp - 0x130], 0
call fcn.004b2490
test esi, esi
mov dword [ebp - 4], 0
mov eax, str._r_n_r_n
cmovne eax, esi
mov esi, dword [ebp - 0x3f8]
mov dword [ebp - 0x3f4], eax
lea ecx, [esi + 0xc]
call fcn.004c7a40
cmp dword [ebp - 0x3ec], 0
mov dword [esi + 8], 0
je 0x515f0f
cmp byte [edi + 0x12d], 0
je 0x5133ae
push dword [ebp + 0x10]
mov ecx, edi
push str.alreadyKnownCodePage
call fcn.004b2d90
push dword [ebp - 0x34]
mov ecx, edi
push str.charsetClue
call fcn.004b3100
push 0x74
lea eax, [ebp - 0x374]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x374]
call fcn.00494a40
push 0x74
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xa8]
call fcn.00494a40
push dword [ebp - 0x3f4]
mov byte [ebp - 4], 2
push dword [ebp - 0x3ec]
call fcn.00477e70
add esp, 8
test eax, eax
jne 0x513565
push 0x683ab0
push dword [ebp - 0x3ec]
call fcn.00477e70
add esp, 8
mov dword [ebp - 0x14], eax
test eax, eax
je 0x51348e
mov eax, dword [edi]
mov ecx, edi
push str.Found_LFCRLF_to_terminate_MIME_header__but_not_CRLFCRLF.
call dword [eax + 0x18]
push 0x680040
push dword [ebp - 0x3ec]
call fcn.00477e70
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x14]
test ecx, ecx
je 0x513458
cmp ecx, eax
cmovb eax, ecx
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x3ec]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0xa8]
call fcn.00495ba0
lea ecx, [ebp - 0xa8]
call fcn.0049d3b0
lea ecx, [ebp - 0xa8]
call fcn.0049cd70
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x513565
push 0x683af0
push dword [ebp - 0x3ec]
call fcn.00477e70
add esp, 8
mov dword [ebp - 0x14], eax
test eax, eax
je 0x51350a
mov eax, dword [edi]
mov ecx, edi
push str.Found_CRLFCR_to_terminate_MIME_header__but_not_CRLFCRLF.
call dword [eax + 0x18]
push 0x680040
push dword [ebp - 0x3ec]
call fcn.00477e70
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x14]
test ecx, ecx
je 0x5134d8
cmp ecx, eax
cmovb eax, ecx
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x3ec]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0xa8]
call fcn.00495ba0
lea ecx, [ebp - 0xa8]
call fcn.0049d3b0
lea ecx, [ebp - 0xa8]
call fcn.0049cd70
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x513565
push 0x680040
push dword [ebp - 0x3ec]
call fcn.00477e70
add esp, 8
mov dword [ebp - 0x14], eax
test eax, eax
je 0x5137a5
mov eax, dword [edi]
mov ecx, edi
push str.Found_LFLF_to_terminate_MIME_header__but_not_CRLFCRLF.
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x3ec]
mov eax, dword [ebp - 0x14]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0xa8]
call fcn.00495ba0
lea ecx, [ebp - 0xa8]
call fcn.0049d3b0
lea ecx, [ebp - 0xa8]
call fcn.0049cd70
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x3ec]
mov dword [ebp - 0x14], eax
je 0x5135d1
lea ecx, [ebp - 0xa8]
call fcn.004992a0
test eax, eax
jne 0x5135d1
push dword [ebp - 0x14]
lea ecx, [ebp - 0xa8]
push dword [ebp - 0x3ec]
call fcn.00495ba0
push 0x6dce1c
lea ecx, [ebp - 0xa8]
call fcn.004970c0
test al, al
jne 0x5135d1
cmp byte [edi + 0x12d], al
je 0x5135bb
mov eax, dword [edi]
mov ecx, edi
push str.No_CRLFs_found_in_header.__Converting_line_endings_to_CRLF.
call dword [eax + 0x18]
lea ecx, [ebp - 0xa8]
call fcn.0049d3b0
lea ecx, [ebp - 0xa8]
call fcn.0049cd70
lea ecx, [ebp - 0xa8]
call fcn.00499300
push 0x6427e0
push eax
mov dword [ebp - 0x14], eax
call fcn.00477e70
add esp, 8
test eax, eax
jne 0x515837
push 0x646348
push dword [ebp - 0x14]
call fcn.00477e70
add esp, 8
test eax, eax
jne 0x515837
push 0x6427e4
push dword [ebp - 0x14]
call fcn.00477e70
add esp, 8
test eax, eax
jne 0x515837
push 0x646344
push dword [ebp - 0x14]
call fcn.00477e70
add esp, 8
test eax, eax
jne 0x515837
push eax
lea ecx, [ebp - 0xa8]
call fcn.004995f0
mov cl, byte [edi + 0x12d]
test al, al
jne 0x51581e
test cl, cl
je 0x513667
mov eax, dword [edi]
mov ecx, edi
push str.Header_contains_8bit_chars
call dword [eax + 0x18]
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
test eax, eax
jne 0x5136c2
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
call fcn.004b4b10
add esp, 0xc
mov byte [ebp - 0x3ed], al
cmp byte [edi + 0x12d], 0
je 0x5136b7
movzx ecx, al
push ecx
push str.bValidUtf8
mov ecx, edi
call fcn.004b2d90
mov al, byte [ebp - 0x3ed]
test al, al
je 0x5136c2
mov dword [esi + 8], 0xfde9
cmp dword [esi + 8], 0
jne 0x515555
push str.windows_125
lea ecx, [ebp - 0xa8]
call fcn.004970f0
test al, al
je 0x513a73
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
call fcn.0049ead0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 4
call fcn.004b57d0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 5
call fcn.00499300
push str.windows_125
push eax
call fcn.00479450
add esp, 8
mov dword [ebp - 0x3f4], eax
test eax, eax
je 0x513e5d
cmp byte [edi + 0x12d], 0
je 0x513754
mov edx, dword [edi]
mov ecx, edi
push str.Detecting_windows_125_code_page.
call dword [edx + 0x18]
mov eax, dword [ebp - 0x3f4]
mov al, byte [eax + 0xb]
cmp al, 0x30
jne 0x51381f
push edi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x4e2
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x513e5d
mov dword [esi + 8], 0x4e2
jmp 0x513e5d
cmp byte [edi + 0x12d], 0
je 0x5137ba
mov eax, dword [edi]
mov ecx, edi
push str.No_end_of_header_double_CRLF_found.
call dword [eax + 0x18]
push dword [ebp - 0x3ec]
lea ecx, [ebp - 0x374]
call fcn.00494f80
lea ecx, [ebp - 0x374]
call fcn.0049d3b0
lea ecx, [ebp - 0x374]
call fcn.0049cd70
lea ecx, [ebp - 0x374]
call fcn.00499300
push dword [ebp - 0x3f4]
mov dword [ebp - 0x3ec], eax
push eax
call fcn.00477e70
add esp, 8
test eax, eax
jne 0x5135d1
push dword [ebp - 0x3ec]
lea ecx, [ebp - 0xa8]
call fcn.00494f80
jmp 0x5135d1
cmp al, 0x31
jne 0x513869
push edi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x4e3
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x513e5d
mov dword [esi + 8], 0x4e3
jmp 0x513e5d
cmp al, 0x32
jne 0x5138b3
push edi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x4e4
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x513e5d
mov dword [esi + 8], 0x4e4
jmp 0x513e5d
cmp al, 0x33
jne 0x5138fd
push edi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x4e5
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x513e5d
mov dword [esi + 8], 0x4e5
jmp 0x513e5d
cmp al, 0x34
jne 0x513947
push edi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x4e6
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x513e5d
mov dword [esi + 8], 0x4e6
jmp 0x513e5d
cmp al, 0x35
jne 0x513991
push edi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x4e7
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x513e5d
mov dword [esi + 8], 0x4e7
jmp 0x513e5d
cmp al, 0x36
jne 0x5139db
push edi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x4e8
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x513e5d
mov dword [esi + 8], 0x4e8
jmp 0x513e5d
cmp al, 0x37
jne 0x513a25
push edi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x4e9
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x513e5d
mov dword [esi + 8], 0x4e9
jmp 0x513e5d
cmp al, 0x38
jne 0x513e5d
push edi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x4ea
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x513e5d
mov dword [esi + 8], 0x4ea
jmp 0x513e5d
push str.iso_8859_
lea ecx, [ebp - 0xa8]
call fcn.004970f0
test al, al
je 0x513d52
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
call fcn.0049ead0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 6
call fcn.004b57d0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 7
call fcn.00499300
push str.iso_8859_
push eax
call fcn.00479450
add esp, 8
mov dword [ebp - 0x3f4], eax
test eax, eax
je 0x513e5d
cmp byte [edi + 0x12d], 0
je 0x513afb
mov edx, dword [edi]
mov ecx, edi
push str.Detecting_iso_8859__code_page.
call dword [edx + 0x18]
mov eax, dword [ebp - 0x3f4]
mov al, byte [eax + 9]
cmp al, 0x31
jne 0x513b48
push edi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x6faf
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x513e5d
mov dword [esi + 8], 0x6faf
jmp 0x513e5d
cmp al, 0x32
jne 0x513b92
push edi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x6fb0
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x513e5d
mov dword [esi + 8], 0x6fb0
jmp 0x513e5d
cmp al, 0x33
jne 0x513bdc
push edi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x6fb1
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x513e5d
mov dword [esi + 8], 0x6fb1
jmp 0x513e5d
cmp al, 0x34
jne 0x513c26
push edi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x6fb2
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x513e5d
mov dword [esi + 8], 0x6fb2
jmp 0x513e5d
cmp al, 0x35
jne 0x513c70
push edi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x6fb3
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x513e5d
mov dword [esi + 8], 0x6fb3
jmp 0x513e5d
cmp al, 0x36
jne 0x513cba
push edi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x6fb4
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x513e5d
mov dword [esi + 8], 0x6fb4
jmp 0x513e5d
cmp al, 0x37
jne 0x513d04
push edi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x6fb5
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x513e5d
mov dword [esi + 8], 0x6fb5
jmp 0x513e5d
cmp al, 0x38
jne 0x513e5d
push edi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x6fb6
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x513e5d
mov dword [esi + 8], 0x6fb6
jmp 0x513e5d
push str.koi8_r
lea ecx, [ebp - 0xa8]
call fcn.004970f0
test al, al
je 0x513dda
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
call fcn.0049ead0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 8
call fcn.004b57d0
push edi
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x5182
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x513e5d
mov dword [esi + 8], 0x5182
jmp 0x513e5d
push str.koi8_u
lea ecx, [ebp - 0xa8]
call fcn.004970f0
test al, al
je 0x513e74
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
call fcn.0049ead0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0xa
call fcn.004b57d0
push edi
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x556a
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x513e5d
mov dword [esi + 8], 0x556a
lea ecx, [ebp - 0x12c]
call fcn.004b5810
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0049ecf0
cmp dword [esi + 8], 0
jne 0x515555
push str.GB2312
push dword [ebp - 0x3ec]
call fcn.00479450
add esp, 8
test eax, eax
je 0x513f51
lea ecx, [ebp - 0x12c]
call fcn.004b57d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049ead0
push 0x138
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0xd
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.004b2580
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x3a8
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x513f2f
mov dword [esi + 8], 0x3a8
lea ecx, [ebp - 0x270]
call fcn.004b26a0
lea ecx, [ebp - 0x30]
call fcn.0049ecf0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.004b5810
cmp dword [esi + 8], 0
jne 0x515555
push 0x647928
push dword [ebp - 0x3ec]
call fcn.00479450
add esp, 8
test eax, eax
je 0x51402e
lea ecx, [ebp - 0x12c]
call fcn.004b57d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049ead0
push 0x138
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x10
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.004b2580
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x3a4
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x51400c
mov dword [esi + 8], 0x3a4
lea ecx, [ebp - 0x270]
call fcn.004b26a0
lea ecx, [ebp - 0x30]
call fcn.0049ecf0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.004b5810
cmp dword [esi + 8], 0
jne 0x515555
push str.Windows_31J
push dword [ebp - 0x3ec]
call fcn.00479450
add esp, 8
test eax, eax
je 0x51410b
lea ecx, [ebp - 0x12c]
call fcn.004b57d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049ead0
push 0x138
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x13
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.004b2580
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x3a4
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x5140e9
mov dword [esi + 8], 0x3a4
lea ecx, [ebp - 0x270]
call fcn.004b26a0
lea ecx, [ebp - 0x30]
call fcn.0049ecf0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.004b5810
cmp dword [esi + 8], 0
jne 0x515555
push 0x683d00
push dword [ebp - 0x3ec]
call fcn.00479450
add esp, 8
test eax, eax
je 0x5141e8
lea ecx, [ebp - 0x12c]
call fcn.004b57d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049ead0
push 0x138
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x16
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.004b2580
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x3b5
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x5141c6
mov dword [esi + 8], 0x3b5
lea ecx, [ebp - 0x270]
call fcn.004b26a0
lea ecx, [ebp - 0x30]
call fcn.0049ecf0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.004b5810
cmp dword [esi + 8], 0
jne 0x515555
push str.windows_874
push dword [ebp - 0x3ec]
call fcn.00479450
add esp, 8
test eax, eax
je 0x5142c5
lea ecx, [ebp - 0x12c]
call fcn.004b57d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049ead0
push 0x138
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x19
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.004b2580
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x36a
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x5142a3
mov dword [esi + 8], 0x36a
lea ecx, [ebp - 0x270]
call fcn.004b26a0
lea ecx, [ebp - 0x30]
call fcn.0049ecf0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.004b5810
cmp dword [esi + 8], 0
jne 0x515555
push str.big5
push dword [ebp - 0x3ec]
call fcn.00479450
add esp, 8
test eax, eax
je 0x5143a2
lea ecx, [ebp - 0x12c]
call fcn.004b57d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049ead0
push 0x138
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x1c
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.004b2580
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x3b6
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x514380
mov dword [esi + 8], 0x3b6
lea ecx, [ebp - 0x270]
call fcn.004b26a0
lea ecx, [ebp - 0x30]
call fcn.0049ecf0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.004b5810
cmp dword [esi + 8], 0
jne 0x515555
push 0x64797c
push dword [ebp - 0x3ec]
call fcn.00479450
add esp, 8
test eax, eax
je 0x51447f
lea ecx, [ebp - 0x12c]
call fcn.004b57d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049ead0
push 0x138
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x1f
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.004b2580
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x20
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x3a8
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x51445d
mov dword [esi + 8], 0x3a8
lea ecx, [ebp - 0x270]
call fcn.004b26a0
lea ecx, [ebp - 0x30]
call fcn.0049ecf0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.004b5810
cmp dword [esi + 8], 0
jne 0x515555
push str.euc_kr
push dword [ebp - 0x3ec]
call fcn.00479450
add esp, 8
test eax, eax
je 0x51455c
lea ecx, [ebp - 0x12c]
call fcn.004b57d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049ead0
push 0x138
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x22
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.004b2580
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x23
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0xcaed
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x51453a
mov dword [esi + 8], 0xcaed
lea ecx, [ebp - 0x270]
call fcn.004b26a0
lea ecx, [ebp - 0x30]
call fcn.0049ecf0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.004b5810
cmp dword [esi + 8], 0
jne 0x515555
push str.iso_8859_
push dword [ebp - 0x3ec]
call fcn.00479450
add esp, 8
test eax, eax
je 0x514c69
cmp dword [esi + 8], 0
jne 0x515555
push str.iso_8859_2
push dword [ebp - 0x3ec]
call fcn.00479450
add esp, 8
test eax, eax
je 0x51465e
lea ecx, [ebp - 0x12c]
call fcn.004b57d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049ead0
push 0x138
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x25
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.004b2580
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x26
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x6fb0
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x51463c
mov dword [esi + 8], 0x6fb0
lea ecx, [ebp - 0x270]
call fcn.004b26a0
lea ecx, [ebp - 0x30]
call fcn.0049ecf0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.004b5810
cmp dword [esi + 8], 0
jne 0x515555
push str.iso_8859_3
push dword [ebp - 0x3ec]
call fcn.00479450
add esp, 8
test eax, eax
je 0x51473b
lea ecx, [ebp - 0x12c]
call fcn.004b57d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049ead0
push 0x138
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x28
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.004b2580
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x29
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x6fb1
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x514719
mov dword [esi + 8], 0x6fb1
lea ecx, [ebp - 0x270]
call fcn.004b26a0
lea ecx, [ebp - 0x30]
call fcn.0049ecf0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.004b5810
cmp dword [esi + 8], 0
jne 0x515555
push str.iso_8859_4
push dword [ebp - 0x3ec]
call fcn.00479450
add esp, 8
test eax, eax
je 0x514818
lea ecx, [ebp - 0x12c]
call fcn.004b57d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049ead0
push 0x138
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x2b
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.004b2580
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x2c
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x6fb2
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x5147f6
mov dword [esi + 8], 0x6fb2
lea ecx, [ebp - 0x270]
call fcn.004b26a0
lea ecx, [ebp - 0x30]
call fcn.0049ecf0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.004b5810
cmp dword [esi + 8], 0
jne 0x515555
push str.iso_8859_5
push dword [ebp - 0x3ec]
call fcn.00479450
add esp, 8
test eax, eax
je 0x5148f5
lea ecx, [ebp - 0x12c]
call fcn.004b57d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049ead0
push 0x138
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x2e
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.004b2580
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x2f
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x6fb3
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x5148d3
mov dword [esi + 8], 0x6fb3
lea ecx, [ebp - 0x270]
call fcn.004b26a0
lea ecx, [ebp - 0x30]
call fcn.0049ecf0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.004b5810
cmp dword [esi + 8], 0
jne 0x515555
push str.iso_8859_6
push dword [ebp - 0x3ec]
call fcn.00479450
add esp, 8
test eax, eax
je 0x5149d2
lea ecx, [ebp - 0x12c]
call fcn.004b57d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049ead0
push 0x138
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x31
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.004b2580
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x32
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x6fb4
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x5149b0
mov dword [esi + 8], 0x6fb4
lea ecx, [ebp - 0x270]
call fcn.004b26a0
lea ecx, [ebp - 0x30]
call fcn.0049ecf0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.004b5810
cmp dword [esi + 8], 0
jne 0x515555
push str.iso_8859_7
push dword [ebp - 0x3ec]
call fcn.00479450
add esp, 8
test eax, eax
je 0x514aaf
lea ecx, [ebp - 0x12c]
call fcn.004b57d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049ead0
push 0x138
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x34
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.004b2580
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x35
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x6fb5
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x514a8d
mov dword [esi + 8], 0x6fb5
lea ecx, [ebp - 0x270]
call fcn.004b26a0
lea ecx, [ebp - 0x30]
call fcn.0049ecf0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.004b5810
cmp dword [esi + 8], 0
jne 0x515555
push str.iso_8859_8
push dword [ebp - 0x3ec]
call fcn.00479450
add esp, 8
test eax, eax
je 0x514b8c
lea ecx, [ebp - 0x12c]
call fcn.004b57d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049ead0
push 0x138
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x37
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.004b2580
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x38
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x6fb6
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x514b6a
mov dword [esi + 8], 0x6fb6
lea ecx, [ebp - 0x270]
call fcn.004b26a0
lea ecx, [ebp - 0x30]
call fcn.0049ecf0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.004b5810
cmp dword [esi + 8], 0
jne 0x515555
push str.iso_8859_9
push dword [ebp - 0x3ec]
call fcn.00479450
add esp, 8
test eax, eax
je 0x514c69
lea ecx, [ebp - 0x12c]
call fcn.004b57d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x39
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049ead0
push 0x138
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x3a
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.004b2580
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x3b
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x6fb7
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x514c47
mov dword [esi + 8], 0x6fb7
lea ecx, [ebp - 0x270]
call fcn.004b26a0
lea ecx, [ebp - 0x30]
call fcn.0049ecf0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.004b5810
cmp dword [esi + 8], 0
jne 0x515555
push str.windows_125
push dword [ebp - 0x3ec]
call fcn.00479450
add esp, 8
test eax, eax
je 0x515376
cmp dword [esi + 8], 0
jne 0x515555
push str.windows_1250
push dword [ebp - 0x3ec]
call fcn.00479450
add esp, 8
test eax, eax
je 0x514d6b
lea ecx, [ebp - 0x12c]
call fcn.004b57d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x3c
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049ead0
push 0x138
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x3d
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.004b2580
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x3e
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x4e2
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x514d49
mov dword [esi + 8], 0x4e2
lea ecx, [ebp - 0x270]
call fcn.004b26a0
lea ecx, [ebp - 0x30]
call fcn.0049ecf0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.004b5810
cmp dword [esi + 8], 0
jne 0x515555
push str.windows_1251
push dword [ebp - 0x3ec]
call fcn.00479450
add esp, 8
test eax, eax
je 0x514e48
lea ecx, [ebp - 0x12c]
call fcn.004b57d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x3f
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049ead0
push 0x138
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x40
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.004b2580
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x41
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x4e3
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x514e26
mov dword [esi + 8], 0x4e3
lea ecx, [ebp - 0x270]
call fcn.004b26a0
lea ecx, [ebp - 0x30]
call fcn.0049ecf0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.004b5810
cmp dword [esi + 8], 0
jne 0x515555
push str.windows_1252
push dword [ebp - 0x3ec]
call fcn.00479450
add esp, 8
test eax, eax
je 0x514f25
lea ecx, [ebp - 0x12c]
call fcn.004b57d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x42
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049ead0
push 0x138
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x43
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.004b2580
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x44
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x4e4
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x514f03
mov dword [esi + 8], 0x4e4
lea ecx, [ebp - 0x270]
call fcn.004b26a0
lea ecx, [ebp - 0x30]
call fcn.0049ecf0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.004b5810
cmp dword [esi + 8], 0
jne 0x515555
push str.windows_1253
push dword [ebp - 0x3ec]
call fcn.00479450
add esp, 8
test eax, eax
je 0x515002
lea ecx, [ebp - 0x12c]
call fcn.004b57d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x45
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049ead0
push 0x138
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x46
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.004b2580
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x47
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x4e5
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x514fe0
mov dword [esi + 8], 0x4e5
lea ecx, [ebp - 0x270]
call fcn.004b26a0
lea ecx, [ebp - 0x30]
call fcn.0049ecf0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.004b5810
cmp dword [esi + 8], 0
jne 0x515555
push str.windows_1254
push dword [ebp - 0x3ec]
call fcn.00479450
add esp, 8
test eax, eax
je 0x5150df
lea ecx, [ebp - 0x12c]
call fcn.004b57d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x48
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049ead0
push 0x138
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x49
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.004b2580
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x4a
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x4e6
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x5150bd
mov dword [esi + 8], 0x4e6
lea ecx, [ebp - 0x270]
call fcn.004b26a0
lea ecx, [ebp - 0x30]
call fcn.0049ecf0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.004b5810
cmp dword [esi + 8], 0
jne 0x515555
push str.windows_1255
push dword [ebp - 0x3ec]
call fcn.00479450
add esp, 8
test eax, eax
je 0x5151bc
lea ecx, [ebp - 0x12c]
call fcn.004b57d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x4b
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049ead0
push 0x138
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x4c
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.004b2580
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x4d
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x4e7
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x51519a
mov dword [esi + 8], 0x4e7
lea ecx, [ebp - 0x270]
call fcn.004b26a0
lea ecx, [ebp - 0x30]
call fcn.0049ecf0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.004b5810
cmp dword [esi + 8], 0
jne 0x515555
push str.windows_1256
push dword [ebp - 0x3ec]
call fcn.00479450
add esp, 8
test eax, eax
je 0x515299
lea ecx, [ebp - 0x12c]
call fcn.004b57d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x4e
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049ead0
push 0x138
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x4f
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.004b2580
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x50
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x4e8
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x515277
mov dword [esi + 8], 0x4e8
lea ecx, [ebp - 0x270]
call fcn.004b26a0
lea ecx, [ebp - 0x30]
call fcn.0049ecf0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.004b5810
cmp dword [esi + 8], 0
jne 0x515555
push str.windows_1257
push dword [ebp - 0x3ec]
call fcn.00479450
add esp, 8
test eax, eax
je 0x515376
lea ecx, [ebp - 0x12c]
call fcn.004b57d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x51
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049ead0
push 0x138
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x52
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.004b2580
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x53
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x4e9
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x515354
mov dword [esi + 8], 0x4e9
lea ecx, [ebp - 0x270]
call fcn.004b26a0
lea ecx, [ebp - 0x30]
call fcn.0049ecf0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.004b5810
cmp dword [esi + 8], 0
jne 0x515555
push str.koi8_
push dword [ebp - 0x3ec]
call fcn.00479450
add esp, 8
test eax, eax
je 0x515555
cmp dword [esi + 8], 0
jne 0x515555
push str.koi8_r
push dword [ebp - 0x3ec]
call fcn.00479450
add esp, 8
test eax, eax
je 0x515478
lea ecx, [ebp - 0x12c]
call fcn.004b57d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x54
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049ead0
push 0x138
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x55
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.004b2580
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x56
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x5182
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x515456
mov dword [esi + 8], 0x5182
lea ecx, [ebp - 0x270]
call fcn.004b26a0
lea ecx, [ebp - 0x30]
call fcn.0049ecf0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.004b5810
cmp dword [esi + 8], 0
jne 0x515555
push str.koi8_u
push dword [ebp - 0x3ec]
call fcn.00479450
add esp, 8
test eax, eax
je 0x515555
lea ecx, [ebp - 0x12c]
call fcn.004b57d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x57
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049ead0
push 0x138
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x58
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.004b2580
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x59
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x556a
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x515533
mov dword [esi + 8], 0x556a
lea ecx, [ebp - 0x270]
call fcn.004b26a0
lea ecx, [ebp - 0x30]
call fcn.0049ecf0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.004b5810
cmp byte [edi + 0x12d], 0
je 0x515572
mov eax, dword [esi + 8]
test eax, eax
je 0x515572
push eax
push str.DetectedCodePage
mov ecx, edi
call fcn.004b2d90
cmp dword [esi + 8], 0
jne 0x515994
mov ecx, dword [ebp - 0x34]
call fcn.004992a0
test eax, eax
je 0x5155ed
push 0x84
lea eax, [ebp - 0x12c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x12c]
call fcn.004a54b0
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 0x5a
call fcn.00499300
push eax
lea ecx, [ebp - 0x12c]
call fcn.004a5670
lea ecx, [ebp - 0x12c]
call fcn.004a5590
push dword [ebp - 0x34]
mov ecx, edi
mov dword [esi + 8], eax
push str.usingCharsetClue
call fcn.004b3100
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.004a5520
cmp dword [esi + 8], 0
jne 0x515994
lea ecx, [ebp - 0xa8]
call fcn.00499300
mov cl, byte [eax]
test cl, cl
je 0x51563e
cmp cl, 0xc3
je 0x515612
cmp cl, 0xc2
jne 0x515618
inc eax
cmp byte [eax], 0x80
jae 0x515622
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x515608
jmp 0x51563e
cmp byte [edi + 0x12d], 0
je 0x515637
mov eax, dword [edi]
mov ecx, edi
push str.Probably_utf_8
call dword [eax + 0x18]
mov dword [esi + 8], 0xfde9
cmp dword [esi + 8], 0
jne 0x515994
cmp byte [edi + 0x12d], 0
je 0x51565d
mov eax, dword [edi]
mov ecx, edi
push str.No_code_page_detected_yet__check_to_see_if_header_is_valid_ANSI...
call dword [eax + 0x18]
call sub.KERNEL32.dll_GetACP
lea ecx, [ebp - 0x12c]
mov dword [esi + 8], eax
call fcn.004b57d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x5b
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049ead0
push edi
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x5c
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
lea ecx, [ebp - 0x12c]
call fcn.004b5880
mov cl, byte [edi + 0x12d]
test al, al
jne 0x515766
test cl, cl
je 0x5156de
mov eax, dword [edi]
mov ecx, edi
push str.Not_ANSI__checking_some_common_code_pages...
call dword [eax + 0x18]
push edi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x6faf
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
test al, al
je 0x515720
mov dword [esi + 8], 0x6faf
jmp 0x515802
push edi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
push 0xfde9
push 0x6fb0
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
xor ecx, ecx
mov edx, 0x6fb0
test al, al
cmovne ecx, edx
mov dword [esi + 8], ecx
jmp 0x515802
test cl, cl
je 0x515776
mov eax, dword [edi]
mov ecx, edi
push str.All_of_the_bytes_are_valid_ANSI_chars.
call dword [eax + 0x18]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x34], 0
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00497600
cmp byte [edi + 0x12d], 0
je 0x5157be
push dword [ebp - 0x34]
mov ecx, edi
push str.num_8bit_chars
call fcn.004b2d90
push dword [ebp - 0x14]
mov ecx, edi
push str.num_improbable_ansi
call fcn.004b2d90
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
cmp ecx, 3
ja 0x5157ce
cmp eax, 1
jae 0x5157dd
cmp ecx, 0xa
ja 0x5157d8
cmp eax, 3
jae 0x5157dd
cmp eax, 4
jb 0x5157e4
mov dword [esi + 8], 0xfde9
cmp byte [edi + 0x12d], 0
je 0x515802
cmp dword [esi + 8], 0xfde9
jne 0x515802
mov eax, dword [edi]
mov ecx, edi
push str.Using_utf_8_because_of_improbable_ANSI_bytes...
call dword [eax + 0x18]
lea ecx, [ebp - 0x30]
call fcn.0049ecf0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.004b5810
jmp 0x515994
test cl, cl
je 0x51599d
mov eax, dword [edi]
mov ecx, edi
push str.Header_is_entirely_7_bit_with_no_Q_or_B_encodings
call dword [eax + 0x18]
jmp 0x51599d
cmp byte [edi + 0x12d], 0
je 0x51584c
mov eax, dword [edi]
mov ecx, edi
push str.Header_contains_Q_B_encodings.
call dword [eax + 0x18]
push 0x64791c
push dword [ebp - 0x14]
call fcn.00477e70
add esp, 8
test eax, eax
je 0x51597f
add eax, 2
push 0x3f
push eax
mov dword [ebp - 0x3f4], eax
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [ebp - 0x34], eax
test eax, eax
je 0x51596f
push 0x74
lea eax, [ebp - 0x11c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x11c]
call fcn.00494a40
mov eax, dword [ebp - 0x3f4]
mov ecx, dword [ebp - 0x34]
sub ecx, eax
mov byte [ebp - 4], 3
push ecx
push eax
lea ecx, [ebp - 0x11c]
call fcn.00495ba0
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.005330a0
add esp, 8
mov dword [esi + 8], eax
cmp byte [edi + 0x12d], 0
je 0x5158e7
push eax
push str.QBEncodingCharset
mov ecx, edi
call fcn.004b2d90
push 0
lea ecx, [ebp - 0xa8]
call fcn.004995f0
test al, al
jne 0x51595e
cmp byte [edi + 0x12d], al
je 0x51590c
mov eax, dword [edi]
mov ecx, edi
push str.Header_also_contains_8bit_chars.
call dword [eax + 0x18]
push 0
lea ecx, [ebp - 0xa8]
call fcn.004992a0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00499300
push eax
call fcn.004b4b10
add esp, 0xc
mov byte [ebp - 0x3ed], al
cmp byte [edi + 0x12d], 0
je 0x515953
movzx ecx, al
push ecx
push str.bValidUtf8
mov ecx, edi
call fcn.004b2d90
mov al, byte [ebp - 0x3ed]
test al, al
je 0x51595e
mov dword [esi + 8], 0xfde9
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 2
call fcn.00494a90
jmp 0x515994
cmp byte [edi + 0x12d], 0
je 0x515994
push str.Did_not_find__Q__for_Q_encoding
jmp 0x51598d
cmp byte [edi + 0x12d], 0
je 0x515994
push str.Did_not_find___for_Q_encoding
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
cmp dword [esi + 8], 0xc42c
jne 0x515a03
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0x42241b
push eax
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x14], 0x42281b
call fcn.004970c0
test al, al
jne 0x5159d1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004970c0
test al, al
je 0x515a03
cmp byte [edi + 0x12d], 0
je 0x5159e6
mov eax, dword [edi]
mov ecx, edi
push str.Detected_raw_iso_2022_jp_in_header.
call dword [eax + 0x18]
push edi
push 0xfde9
push 0xc42e
lea ecx, [ebp - 0xa8]
mov dword [esi + 8], 0xfde9
call fcn.00497120
cmp byte [edi + 0x12d], 0
je 0x515a1b
push dword [esi + 8]
mov ecx, edi
push str.FinalCodePageDecision
call fcn.004b2d90
xorps xmm0, xmm0
mov dword [ebp - 0x274], 0
lea ecx, [ebp - 0x28c]
movq qword [ebp - 0x27c], xmm0
movups xmmword [ebp - 0x28c], xmm0
call fcn.004c67b0
push 0x74
lea eax, [ebp - 0x3e8]
mov byte [ebp - 4], 0x5d
push 0
push eax
mov byte [ebp - 0x274], 1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x3e8]
call fcn.00494a40
push 0x6dce1c
lea ecx, [ebp - 0x3e8]
mov byte [ebp - 4], 0x5e
call fcn.00494f80
push 0x186a0
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0xa8]
call fcn.0049caf0
push 0x74
lea eax, [ebp - 0x300]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x300]
call fcn.00494a40
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0x5f
call fcn.004c73a0
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x3fc], ecx
mov dword [ebp - 0x3f4], eax
test ecx, ecx
jle 0x515d63
nop dword [eax + eax]
push eax
lea ecx, [ebp - 0x28c]
call fcn.004c7230
mov dword [ebp - 0x34], eax
test eax, eax
je 0x515d3c
push 5
push 0x683f48
mov ecx, eax
call fcn.00499300
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
je 0x515d3c
cmp byte [edi + 0x12d], 0
je 0x515b2e
push dword [ebp - 0x34]
mov ecx, edi
push str.MimeHeader_rawLine
call fcn.004b3100
mov ecx, dword [ebp - 0x34]
push 0
call fcn.00496cb0
cmp al, 0x20
je 0x515d2e
cmp al, 9
je 0x515d2e
lea ecx, [ebp - 0x300]
call fcn.004992a0
test eax, eax
je 0x515d0d
call fcn.0057e7e0
mov dword [ebp - 0x3ec], eax
test eax, eax
je 0x515d57
push 0
lea ecx, [ebp - 0x300]
call fcn.004995f0
test al, al
jne 0x515cb8
cmp dword [esi + 8], 0xfde9
je 0x515cb8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0xbfbbef
push eax
lea ecx, [ebp - 0x300]
call fcn.004970c0
test al, al
je 0x515bdc
push 0x6dcd69
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x300]
call fcn.0049ab90
cmp byte [edi + 0x12d], 0
je 0x515cd4
mov eax, dword [edi]
mov ecx, edi
push str.Detected_utf_8_BOM_in_header_field.
call dword [eax + 0x18]
jmp 0x515cb8
cmp byte [edi + 0x12d], 0
je 0x515c00
push dword [esi + 8]
mov ecx, edi
push str.detectedCodePage
call fcn.004b2d90
mov eax, dword [edi]
mov ecx, edi
push str.Converting_header_field_to_utf_8__1_
call dword [eax + 0x18]
cmp dword [esi + 8], 0
jne 0x515c1b
push 0xfde9
lea ecx, [ebp - 0x300]
call fcn.004972c0
jmp 0x515cb8
lea ecx, [ebp - 0x12c]
call fcn.004b57d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x60
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049ead0
push edi
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x61
push eax
lea ecx, [ebp - 0x300]
call fcn.004992a0
push eax
lea ecx, [ebp - 0x300]
call fcn.00499300
push eax
push 0xfde9
push dword [esi + 8]
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
lea ecx, [ebp - 0x300]
call fcn.0049eab0
lea ecx, [ebp - 0x30]
call fcn.0046e290
push eax
lea ecx, [ebp - 0x30]
call fcn.004a2ca0
push eax
lea ecx, [ebp - 0x300]
call fcn.00495ba0
lea ecx, [ebp - 0x30]
call fcn.0049ecf0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0x5f
call fcn.004b5810
cmp byte [edi + 0x12d], 0
je 0x515cd4
lea eax, [ebp - 0x300]
mov ecx, edi
push eax
push str.unfoldedHeaderField1
call fcn.004b3100
mov ecx, dword [ebp - 0x3ec]
lea eax, [esi + 0x2c]
push edi
push eax
lea eax, [ebp - 0x300]
push eax
call fcn.0057fe20
test al, al
je 0x515cff
push edi
push dword [ebp - 0x3ec]
mov ecx, esi
call fcn.005113b0
jmp 0x515d0d
push dword [ebp - 0x3ec]
call fcn.00477310
add esp, 4
lea ecx, [ebp - 0x300]
call fcn.0049eab0
mov ecx, dword [ebp - 0x34]
call fcn.00499300
push eax
lea ecx, [ebp - 0x300]
call fcn.00494f80
jmp 0x515d3c
push dword [ebp - 0x34]
lea ecx, [ebp - 0x300]
call fcn.00494d10
mov eax, dword [ebp - 0x3f4]
inc eax
mov dword [ebp - 0x3f4], eax
cmp eax, dword [ebp - 0x3fc]
jl 0x515ae0
jmp 0x515d63
mov eax, dword [edi]
mov ecx, edi
push str.Out_of_memory_allocating_MimeField.
call dword [eax + 0x14]
lea ecx, [ebp - 0x300]
call fcn.004992a0
test eax, eax
je 0x515ed8
cmp byte [edi + 0x12d], 0
je 0x515d9d
mov esi, dword [edi]
lea ecx, [ebp - 0x300]
call fcn.00499300
push eax
push str.unfoldedHeaderField2
mov ecx, edi
call dword [esi + 0x2c]
mov esi, dword [ebp - 0x3f8]
call fcn.0057e7e0
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x515dba
mov eax, dword [edi]
mov ecx, edi
push str.Out_of_memory_for_MimeField
call dword [eax + 0x14]
jmp 0x515ed8
push 0
lea ecx, [ebp - 0x300]
call fcn.004995f0
test al, al
jne 0x515ea8
cmp dword [esi + 8], 0xfde9
je 0x515ea8
cmp byte [edi + 0x12d], al
je 0x515df0
mov eax, dword [edi]
mov ecx, edi
push str.Converting_header_field_to_utf_8__2_
call dword [eax + 0x18]
cmp dword [esi + 8], 0
jne 0x515e0b
push 0xfde9
lea ecx, [ebp - 0x300]
call fcn.004972c0
jmp 0x515ea8
lea ecx, [ebp - 0x12c]
call fcn.004b57d0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x62
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
call fcn.0049ead0
push edi
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x63
push eax
lea ecx, [ebp - 0x300]
call fcn.004992a0
push eax
lea ecx, [ebp - 0x300]
call fcn.00499300
push eax
push 0xfde9
push dword [esi + 8]
lea ecx, [ebp - 0x12c]
call fcn.004b5a20
lea ecx, [ebp - 0x300]
call fcn.0049eab0
lea ecx, [ebp - 0x30]
call fcn.0046e290
push eax
lea ecx, [ebp - 0x30]
call fcn.004a2ca0
push eax
lea ecx, [ebp - 0x300]
call fcn.00495ba0
lea ecx, [ebp - 0x30]
call fcn.0049ecf0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0x5f
call fcn.004b5810
mov ecx, dword [ebp - 0x34]
lea eax, [esi + 0x2c]
push edi
push eax
lea eax, [ebp - 0x300]
push eax
call fcn.0057fe20
test al, al
je 0x515ecd
push edi
push dword [ebp - 0x34]
mov ecx, esi
call fcn.005113b0
jmp 0x515ed8
push dword [ebp - 0x34]
call fcn.00477310
add esp, 4
lea ecx, [ebp - 0x300]
call fcn.00494a90
lea ecx, [ebp - 0x3e8]
call fcn.00494a90
lea ecx, [ebp - 0x28c]
call fcn.004c6b10
lea ecx, [ebp - 0xa8]
call fcn.00494a90
lea ecx, [ebp - 0x374]
call fcn.00494a90
lea ecx, [ebp - 0x138]
call fcn.004b2630
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00622073
mov esp, ebp
pop ebp
ret 0x14