Function at 0x542459
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc8
mov esi, ecx
mov ecx, edx
mov edi, edx
call fcn.0053bce6
cmp eax, 0x70
je 0x542488
mov ecx, edi
call fcn.0053bce6
cmp eax, 0x50
jne 0x542f52
mov eax, dword [edi]
cmp dword [eax + 0x40], 0
jne 0x542f46
mov ecx, edi
mov dword [eax + 0x40], 0xffffffff
mov dword [eax + 0x4c], 0
mov ebx, eax
call fcn.0053bce6
mov ecx, edi
mov dword [esp + 0x9c], eax
call fcn.0053ec3c
test al, al
mov dword [esp + 0x14], ebx
je 0x5425ff
mov ecx, edi
call fcn.0053bce6
cmp eax, 0x7b
mov dword [esp + 0x3c], esi
jne 0x542685
mov eax, dword [esp + 0x14]
lea ebx, [esp + 0x40]
mov edx, edi
mov ecx, ebx
lea esi, [eax + 0x44]
call fcn.0053c0b1
mov eax, dword [ebx + 0x14]
movsd xmm0, qword [ebx + 0xc]
mov dword [esp + 0x90], eax
movsd qword [esp + 0x88], xmm0
mov ecx, edi
call fcn.0053ec3c
test al, al
je 0x54271c
mov ecx, edi
call fcn.0053bce6
cmp eax, 0x7d
je 0x54271c
mov ecx, edi
call fcn.0053bce6
mov ebx, eax
cmp eax, 0x80
jae 0x54255a
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x4c]
cmp edx, dword [ecx + 0x48]
jne 0x54254e
mov ecx, esi
call fcn.004b743a
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x4c]
mov eax, dword [ecx + 0x44]
mov byte [eax + edx], bl
inc edx
mov dword [ecx + 0x4c], edx
jmp 0x542505
mov eax, ebx
cmp ebx, 0x800
mov dword [esp + 0x40], 0
jae 0x542586
shr eax, 6
and bl, 0x3f
or al, 0xc0
or bl, 0x80
mov byte [esp + 0x40], al
mov byte [esp + 0x41], bl
mov eax, 2
jmp 0x5425e7
cmp ebx, 0x10000
jae 0x5425b5
shr eax, 0xc
or al, 0xe0
mov byte [esp + 0x40], al
mov eax, ebx
and bl, 0x3f
shr eax, 6
or bl, 0x80
and al, 0x3f
or al, 0x80
mov byte [esp + 0x41], al
mov byte [esp + 0x42], bl
mov eax, 3
jmp 0x5425e7
shr eax, 0x12
or al, 0xf0
mov byte [esp + 0x40], al
mov eax, ebx
shr eax, 0xc
and al, 0x3f
or al, 0x80
mov byte [esp + 0x41], al
mov eax, ebx
and bl, 0x3f
shr eax, 6
or bl, 0x80
and al, 0x3f
or al, 0x80
mov byte [esp + 0x42], al
mov eax, 4
mov byte [esp + 0x43], bl
lea eax, [esp + eax + 0x40]
mov ecx, esi
lea edx, [esp + 0x40]
push eax
call fcn.0059b928
add esp, 4
jmp 0x542505
mov eax, dword [ebx + 0x58]
mov dword [esp + 0x54], eax
movsd xmm0, qword [ebx + 0x50]
movsd qword [esp + 0x4c], xmm0
movsd xmm0, qword [ebx + 0x50]
movsd qword [esp + 0x40], xmm0
mov eax, dword [ebx + 0x58]
mov ebx, dword [edi + 8]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 4]
mov ecx, ebx
mov dword [esp + 8], eax
call fcn.0059c336
mov edi, eax
mov dword [esp + 4], edx
push ebx
push dword [esp + 0xc]
push eax
call fcn.0064a810
add esp, 0xc
movsd xmm1, qword [esp + 0x48]
movsd xmm0, qword [esp + 0x40]
mov eax, dword [esp + 4]
movsd qword [esi + 0x30], xmm1
movsd xmm1, qword [esp + 0x50]
movsd qword [esi + 0x28], xmm0
movsd qword [esi + 0x38], xmm1
mov dword [esi], 0xa
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ebx
mov ebx, dword [esp + 0x14]
jmp 0x542f01
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x58]
mov dword [esp + 0xc0], eax
movsd xmm0, qword [ecx + 0x50]
mov ecx, edi
movsd qword [esp + 0xb8], xmm0
call fcn.0053bce6
cmp eax, 0x5c
jne 0x5427e3
lea ecx, [esp + 0x40]
mov edx, edi
call fcn.0053c0b1
mov eax, dword [edi + 4]
mov edi, dword [edi + 8]
mov ecx, edi
mov dword [esp + 4], eax
call fcn.0059c336
mov ebx, eax
mov esi, edx
push edi
push dword [esp + 8]
push eax
call fcn.0064a810
add esp, 0xc
lea ecx, [esp + 0x40]
mov eax, dword [esp + 0x3c]
movsd xmm1, qword [ecx + 8]
movsd xmm0, qword [ecx]
mov dword [eax], 0x1f
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], esi
mov dword [eax + 0x24], edi
mov ebx, dword [esp + 0x14]
movsd qword [eax + 0x30], xmm1
movsd xmm1, qword [ecx + 0x10]
movsd qword [eax + 0x28], xmm0
movsd qword [eax + 0x38], xmm1
jmp 0x542f01
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 0x50]
cmp esi, dword [edi + 8]
jne 0x5427fc
lea eax, [ecx + 0x50]
mov ebx, dword [edi + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0xb4], ecx
mov ecx, esi
movsd xmm0, qword [eax]
movsd qword [esp + 0xac], xmm0
movsd xmm0, qword [eax]
movsd qword [esp + 0xa0], xmm0
mov eax, dword [eax + 8]
mov dword [esp + 0xa8], eax
call fcn.0059c336
mov edi, eax
mov dword [esp + 4], edx
push esi
push ebx
mov ebx, dword [esp + 0x1c]
push eax
call fcn.0064a810
add esp, 0xc
movsd xmm1, qword [esp + 0x48]
mov eax, dword [esp + 0x3c]
movsd xmm0, qword [esp + 0x40]
movsd xmm2, qword [esp + 0xa0]
mov ecx, dword [esp + 4]
movsd qword [eax + 0xc], xmm1
movsd xmm1, qword [esp + 0x50]
movsd qword [eax + 4], xmm0
movsd qword [eax + 0x14], xmm1
movsd xmm1, qword [esp + 0xa8]
movsd qword [eax + 0x28], xmm2
movsd qword [eax + 0x30], xmm1
movsd xmm1, qword [esp + 0xb0]
movsd qword [eax + 0x38], xmm1
mov dword [eax], 0xa
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], esi
jmp 0x542f01
mov ecx, edi
mov dword [esp + 4], eax
call fcn.0053ec3c
lea ecx, [esp + 0xb8]
xor eax, eax
jmp 0x542e7f
mov ecx, edi
call fcn.0053bce6
cmp eax, 0x7d
mov dword [esp + 0xa0], eax
jne 0x542f68
mov ecx, edi
call fcn.0053c16a
mov eax, dword [esp + 0x14]
lea esi, [esp + 0x40]
mov ecx, esi
mov edi, dword [eax + 0x44]
mov eax, dword [eax + 0x4c]
mov edx, edi
push 2
push 0x76c95c
mov dword [esp + 0x10], eax
push eax
call fcn.004aad00
add esp, 0xc
cmp dword [esi], 0
mov dword [esp + 0x84], edi
je 0x5429eb
mov ebx, dword [esp + 0x7c]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x78]
lea eax, [ebx - 1]
cmp edx, 0xffffffff
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 4], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], eax
je 0x542ade
mov edi, dword [esp + 0x5c]
lea ecx, [edi + eax]
cmp ecx, esi
jae 0x542c0b
mov eax, dword [esp + 0x48]
mov esi, ebx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x58]
sub esi, eax
mov dword [esp + 0x98], eax
lea eax, [ebx + ebx - 1]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x94], esi
lea eax, [eax + ebx*2 - 1]
mov dword [esp + 0x30], eax
mov esi, dword [esp + 0xc]
mov eax, 0
mov cl, byte [esi + ecx]
xor esi, esi
xor ebx, ebx
inc ebx
shld esi, ebx, cl
shl ebx, cl
test cl, 0x20
cmovne esi, ebx
cmovne ebx, eax
and esi, dword [esp + 0x1c]
and ebx, dword [esp + 0x20]
or ebx, esi
jne 0x542934
mov eax, dword [esp + 0x34]
add eax, edi
cmp eax, dword [esp + 4]
mov eax, dword [esp + 0x24]
jae 0x542c0b
mov ecx, dword [esp + 0x30]
xor edx, edx
xor esi, esi
mov cl, byte [ecx + edi]
add edi, eax
xor ebx, ebx
inc ebx
shld esi, ebx, cl
shl ebx, cl
test cl, 0x20
cmovne esi, ebx
cmovne ebx, edx
jmp 0x5428f4
mov eax, dword [esp + 0x18]
mov ecx, edx
cmp eax, edx
cmova ecx, eax
cmp ecx, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
jae 0x542975
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x28]
add eax, edi
mov ecx, dword [esp + 4]
lea ebx, [edi + esi]
cmp ebx, ecx
jae 0x542f20
mov ecx, dword [esp + 0x10]
mov bl, byte [ecx + esi]
cmp bl, byte [eax + esi]
jne 0x5429cb
inc esi
cmp dword [esp + 0x24], esi
jne 0x542953
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x38], edx
cmp edx, ecx
jae 0x542d08
dec ecx
cmp ecx, ebx
jae 0x542f0c
mov edx, ebx
mov ebx, dword [esp + 4]
lea esi, [ecx + edi]
mov eax, edi
cmp esi, ebx
jae 0x542f15
mov eax, dword [esp + 0x10]
mov bl, byte [eax + ecx]
mov eax, dword [esp + 0xc]
cmp bl, byte [eax + esi]
mov ebx, edx
mov edx, dword [esp + 0x38]
je 0x542981
add edi, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
jmp 0x5429d5
sub edi, dword [esp + 0x18]
xor edx, edx
lea edi, [edi + esi + 1]
mov eax, dword [esp + 0x2c]
lea ecx, [edi + eax]
cmp ecx, dword [esp + 4]
jb 0x5428d5
jmp 0x542c0b
cmp byte [esp + 0x4e], 0
jne 0x542c0b
cmp byte [esp + 0x4c], 0
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x44]
sete dl
mov dword [esp + 4], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 4]
test edi, edi
je 0x542a33
mov eax, dword [esp + 4]
sub eax, edi
jbe 0x542a2d
cmp byte [ecx + edi], 0xbf
jg 0x542a33
jmp 0x542f90
jne 0x542f90
test eax, eax
je 0x542c02
mov bl, byte [ecx + edi]
movzx esi, bl
test bl, bl
jns 0x542a98
mov eax, ecx
movzx ecx, byte [ecx + edi + 1]
and esi, 0x1f
and ecx, 0x3f
cmp bl, 0xdf
jbe 0x542a86
movzx eax, byte [eax + edi + 2]
shl ecx, 6
and eax, 0x3f
or eax, ecx
cmp bl, 0xf0
jb 0x542a8f
mov ebx, dword [esp + 0x10]
and esi, 7
shl eax, 6
shl esi, 0x12
movzx ecx, byte [ebx + edi + 3]
and ecx, 0x3f
or ecx, eax
or esi, ecx
mov ecx, ebx
jmp 0x542a98
shl esi, 6
or esi, ecx
mov ecx, eax
jmp 0x542a98
mov ecx, dword [esp + 0x10]
shl esi, 0xc
or esi, eax
test dl, 1
je 0x542d08
cmp esi, 0x110000
je 0x542c0b
cmp esi, 0x80
mov eax, 1
jb 0x542ad5
mov eax, 2
cmp esi, 0x800
jb 0x542ad5
cmp esi, 0x10000
mov eax, 4
sbb eax, 0
add edi, eax
xor edx, edx
jmp 0x542a12
mov edi, dword [esp + 0x5c]
lea ecx, [edi + eax]
cmp ecx, esi
jae 0x542c0b
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x58]
lea esi, [ebx + ebx - 1]
mov dword [esp + 0x34], esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
lea edx, [edx + ebx*2 - 1]
mov dword [esp + 0x30], edx
mov dword [esp + 0x18], eax
dec eax
mov dword [esp + 0x38], eax
mov esi, dword [esp + 0xc]
mov edx, ebx
mov cl, byte [esi + ecx]
xor esi, esi
xor ebx, ebx
mov eax, 0
inc ebx
shld esi, ebx, cl
shl ebx, cl
test cl, 0x20
cmovne esi, ebx
cmovne ebx, eax
and esi, dword [esp + 0x1c]
and ebx, dword [esp + 0x20]
or ebx, esi
jne 0x542b71
mov eax, dword [esp + 0x34]
lea ecx, [eax + edi]
cmp ecx, dword [esp + 4]
jae 0x542c0b
mov ecx, dword [esp + 0x30]
mov eax, edx
mov cl, byte [ecx + edi]
add edi, edx
jmp 0x542b2f
cmp dword [esp + 0x18], edx
mov ebx, edx
jae 0x542ba8
mov ecx, dword [esp + 0xc]
lea esi, [ecx + edi]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 4]
lea ebx, [edi + ecx]
cmp ebx, edx
jae 0x542f28
mov edx, dword [esp + 0x10]
mov bl, byte [edx + ecx]
cmp bl, byte [esi + ecx]
mov ebx, dword [esp + 0x24]
jne 0x542be8
inc ecx
cmp ebx, ecx
jne 0x542b84
mov ecx, dword [esp + 0x18]
sub ecx, 1
jb 0x542d08
cmp dword [esp + 0x38], ebx
jae 0x542f0c
mov eax, ebx
mov ebx, dword [esp + 4]
lea esi, [ecx + edi]
cmp esi, ebx
jae 0x542f15
mov edx, dword [esp + 0x10]
mov bl, byte [edx + ecx]
mov edx, dword [esp + 0xc]
cmp bl, byte [edx + esi]
mov ebx, eax
je 0x542bac
add edi, dword [esp + 0x28]
jmp 0x542bf0
sub edi, dword [esp + 0x18]
lea edi, [edi + ecx + 1]
mov ecx, dword [esp + 0x2c]
add ecx, edi
cmp ecx, dword [esp + 4]
jb 0x542b26
jmp 0x542c0b
test dl, 1
je 0x542d08
mov ebx, dword [esp + 0x84]
mov ecx, dword [esp + 8]
xor esi, esi
mov edi, ecx
lea edx, [ebx + esi]
sub edi, esi
cmp edi, 8
jae 0x542c37
test edi, edi
je 0x542c4d
xor eax, eax
cmp byte [edx + eax], 0x3a
je 0x542c53
inc eax
cmp edi, eax
jne 0x542c2a
jmp 0x542c4f
mov ecx, 0x3a
push edi
call fcn.004aaa80
mov ecx, dword [esp + 0xc]
add esp, 4
mov edi, edx
jmp 0x542c58
xor edi, edi
xor eax, eax
jmp 0x542c58
mov edi, eax
xor eax, eax
inc eax
cmp eax, 1
jne 0x542c7a
lea eax, [edi + esi + 1]
add edi, esi
cmp edi, ecx
jae 0x542c74
cmp byte [ebx + edi], 0x3a
mov esi, eax
jne 0x542c18
jmp 0x542d3e
cmp eax, ecx
mov esi, eax
jbe 0x542c18
xor edi, edi
mov esi, ecx
lea edx, [ebx + edi]
sub esi, edi
cmp esi, 8
jae 0x542c9b
test esi, esi
je 0x542cb1
xor eax, eax
cmp byte [edx + eax], 0x3d
je 0x542cb7
inc eax
cmp esi, eax
jne 0x542c8e
jmp 0x542cb3
mov ecx, 0x3d
push esi
call fcn.004aaa80
mov ecx, dword [esp + 0xc]
add esp, 4
mov esi, edx
jmp 0x542cbc
xor esi, esi
xor eax, eax
jmp 0x542cbc
mov esi, eax
xor eax, eax
inc eax
cmp eax, 1
jne 0x542cde
lea eax, [esi + edi + 1]
add esi, edi
cmp esi, ecx
jae 0x542cd8
cmp byte [ebx + esi], 0x3d
mov edi, eax
jne 0x542c7c
jmp 0x542d9f
cmp eax, ecx
mov edi, eax
jbe 0x542c7c
mov edi, ecx
call fcn.0059c336
mov dword [esp + 0x10], edx
push edi
push ebx
mov dword [esp + 0xc], eax
push eax
call fcn.0064a810
add esp, 0xc
mov al, 1
lea ecx, [esp + 0x88]
xor edx, edx
jmp 0x542e7f
mov esi, dword [esp + 0x84]
test edi, edi
je 0x542e12
cmp edi, dword [esp + 8]
jae 0x542e0c
cmp byte [esi + edi], 0xbf
jg 0x542e12
mov edx, dword [esp + 8]
mov ecx, esi
push 0x76c960
push edi
push 0
jmp 0x542faf
mov ecx, edi
call fcn.0059c336
mov dword [esp + 0x10], edx
push edi
push ebx
mov dword [esp + 0xc], eax
push eax
call fcn.0064a810
mov edx, dword [esp + 0x14]
add esp, 0xc
lea eax, [edi + 1]
mov esi, edx
sub esi, eax
jbe 0x542d6f
cmp byte [ebx + eax], 0xbf
jle 0x542fa6
mov ecx, esi
add ebx, eax
call fcn.0059c336
mov ecx, ebx
mov ebx, eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], esi
push esi
push ecx
push eax
call fcn.0064a810
add esp, 0xc
mov dl, 1
mov al, 2
lea ecx, [esp + 0x88]
jmp 0x542e7f
mov edx, ecx
mov ecx, ebx
push esi
call fcn.005436d7
add esp, 4
mov ecx, edx
mov dword [esp + 4], eax
mov edi, edx
call fcn.0059c336
mov dword [esp + 0x10], edx
push edi
push dword [esp + 8]
mov dword [esp + 0xc], eax
push eax
call fcn.0064a810
add esp, 0xc
mov edx, dword [esp + 8]
inc esi
mov ecx, ebx
push esi
call fcn.00543704
add esp, 4
mov ecx, edx
mov esi, eax
mov ebx, edx
call fcn.0059c336
mov dword [esp + 0xc], edx
mov dword [esp + 8], ebx
push ebx
mov ebx, eax
push esi
push eax
call fcn.0064a810
add esp, 0xc
mov al, 2
lea ecx, [esp + 0x88]
xor edx, edx
jmp 0x542e7f
jne 0x542d2b
mov ecx, edi
call fcn.0059c336
mov ebx, eax
mov dword [esp + 0x10], edx
push edi
push esi
push eax
call fcn.0064a810
add esp, 0xc
mov eax, edi
mov dword [esp + 4], ebx
add eax, 2
je 0x542e4a
mov edx, dword [esp + 8]
mov ecx, edx
sub ecx, eax
jbe 0x542e50
cmp byte [esi + eax], 0xbf
jg 0x542e56
jmp 0x542f9d
mov ecx, dword [esp + 8]
jmp 0x542e56
jne 0x542f9d
add esi, eax
mov ebx, ecx
call fcn.0059c336
mov dword [esp + 0xc], edx
mov dword [esp + 8], ebx
push ebx
mov ebx, eax
push esi
push eax
call fcn.0064a810
add esp, 0xc
mov al, 2
lea ecx, [esp + 0x88]
mov dl, 2
mov esi, dword [ecx + 8]
movsd xmm0, qword [ecx]
cmp dword [esp + 0x9c], 0x50
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x14]
movsd qword [esp + 0x40], xmm0
movsd xmm1, qword [esi + 0x50]
movsd qword [esp + 0x4c], xmm1
mov ecx, dword [esi + 0x58]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x3c]
movsd xmm2, qword [esp + 0x50]
movsd xmm1, qword [esp + 0x48]
movsd qword [ecx + 0x20], xmm0
movsd qword [ecx + 0x30], xmm2
movsd qword [ecx + 0x28], xmm1
mov byte [ecx + 4], al
mov byte [ecx + 5], dl
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x10]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], ebx
mov ebx, esi
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x1c], edx
sete byte [ecx + 0x38]
mov dword [ecx], 0x22
inc dword [ebx + 0x40]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, ebx
push 0x7f5ac4
jmp 0x542f3c
mov ecx, esi
mov edx, ebx
push 0x7f5ad4
jmp 0x542f3c
add edi, dword [esp + 0x28]
mov ebx, ecx
jmp 0x542f2e
add edi, dword [esp + 0x18]
mov ebx, edx
cmp ebx, edi
mov edx, ebx
cmova edi, ebx
mov ecx, edi
push 0x7f5ae4
call fcn.006521f0
add esp, 4
ud2
mov ecx, 0x76c93c
call fcn.00652520
ud2
mov ecx, str.assertion_failed:_self.char____p__self.char____P
mov edx, 0x3a
push 0x76c9ec
call fcn.006522d0
jmp 0x542f41
mov dword [esp + 0x40], 0
lea ecx, [esp + 0xa0]
mov edx, 0x76c81c
push 0x76c94c
lea eax, [esp + 0x44]
push eax
call fcn.00658118
add esp, 8
ud2
mov edx, dword [esp + 4]
push 0x7f5d70
push edx
push edi
jmp 0x542faf
mov ecx, esi
push 0x76c970
jmp 0x542fad
mov ecx, ebx
push 0x76c980
push edx
push eax
call fcn.00652800
add esp, 0xc
ud2